video-sdk-samples | Samples demonstrating how to use various APIs | Video Utils library

 by   NVIDIA C++ Version: Current License: No License

kandi X-RAY | video-sdk-samples Summary

kandi X-RAY | video-sdk-samples Summary

video-sdk-samples is a C++ library typically used in Video, Video Utils applications. video-sdk-samples has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Samples demonstrating how to use various APIs of NVIDIA Video Codec SDK
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              video-sdk-samples has a low active ecosystem.
              It has 272 star(s) with 94 fork(s). There are 21 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              video-sdk-samples has no issues reported. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of video-sdk-samples is current.

            kandi-Quality Quality

              video-sdk-samples has 0 bugs and 0 code smells.

            kandi-Security Security

              video-sdk-samples has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              video-sdk-samples code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              video-sdk-samples does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              video-sdk-samples releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of video-sdk-samples
            Get all kandi verified functions for this library.

            video-sdk-samples Key Features

            No Key Features are available at this moment for video-sdk-samples.

            video-sdk-samples Examples and Code Snippets

            No Code Snippets are available at this moment for video-sdk-samples.

            Community Discussions

            QUESTION

            Decode an H264 stream using the VideoToolbox API (kVTVideoDecoderBadDataErr)
            Asked 2020-Jun-24 at 15:46

            my goal is to encode the main framebuffer of my Windows machine using nvenc and stream its content to my iPad using the VideoToolbox API

            The code I use to encode the h264 stream is basically a copy/paste of https://github.com/NVIDIA/video-sdk-samples/tree/master/nvEncDXGIOutputDuplicationSample the only change is that instead of writing to a file, I do send the data

            For the decoding I do use https://github.com/zerdzhong/SwfitH264Demo/blob/master/SwiftH264/ViewController.swift#L71

            The encoding work perfectly when I write all the contents to a file, I am able to use a h264->mp4 online converter without issue, the problem is that the decoder gives me the error kVTVideoDecoderBadDataErr in the function decompressionSessionDecodeFrameCallback

            So for what I tried:

            • Firsly using an h264 analyzer I found that the frame order are: 7/8/5/5/5/5/1...
            • I found that nvenc does encode the frames 7/8/5/5/5/5 in only one packet
            • I did try to separate this packet into multiple ones using the sequence (0x00 0x00 0x00 0x01), it gave me the frames 7/8/5 separately
            • As you can see I only got one 5 frame which is around 100KB, the H264 analyzer said that there are four 5 frames (which are something like 40KB, 20KB, 30KB, 10KB)
            • Using a hex file viewer I saw that the sequence separating those 5 frames were (0x00 0x00 0x01) instead, tried to also separate them but I got the exact same VideoToolbox error while decompressing

            here is the code I use to separate and send the frames: The protocol is simply PACKET_SIZE->PACKET_DATA The swift code is able to read the NALU types so I am confident that this is not the issue

            ...

            ANSWER

            Answered 2020-Jun-24 at 15:46

            Alright so as weird as it sounds, my code does work on the simulator but not on my iPad pro. In the end it does work so I'll still mark it as the correct answer

            Source https://stackoverflow.com/questions/62499298

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install video-sdk-samples

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/NVIDIA/video-sdk-samples.git

          • CLI

            gh repo clone NVIDIA/video-sdk-samples

          • sshUrl

            git@github.com:NVIDIA/video-sdk-samples.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link