Android-VideoStreamDecodingSample | sample project demonstrates how to use FFmpeg | Video Utils library

 by   DJI-Mobile-SDK-Tutorials C Version: v4.15 License: MIT

kandi X-RAY | Android-VideoStreamDecodingSample Summary

kandi X-RAY | Android-VideoStreamDecodingSample Summary

Android-VideoStreamDecodingSample is a C library typically used in Video, Video Utils applications. Android-VideoStreamDecodingSample has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This sample code demonstrates how to use FFmpeg for video frame parsing and to use the MediaCodec for hardware decoding. It will help to parse video frames and decode the raw video stream data from DJI Camera and output the YUV data.

            kandi-support Support

              Android-VideoStreamDecodingSample has a low active ecosystem.
              It has 160 star(s) with 77 fork(s). There are 23 watchers for this library.
              It had no major release in the last 6 months.
              There are 49 open issues and 40 have been closed. On average issues are closed in 127 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of Android-VideoStreamDecodingSample is v4.15

            kandi-Quality Quality

              Android-VideoStreamDecodingSample has no bugs reported.

            kandi-Security Security

              Android-VideoStreamDecodingSample has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              Android-VideoStreamDecodingSample is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              Android-VideoStreamDecodingSample releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.

            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 Android-VideoStreamDecodingSample
            Get all kandi verified functions for this library.

            Android-VideoStreamDecodingSample Key Features

            No Key Features are available at this moment for Android-VideoStreamDecodingSample.

            Android-VideoStreamDecodingSample Examples and Code Snippets

            No Code Snippets are available at this moment for Android-VideoStreamDecodingSample.

            Community Discussions

            Trending Discussions on Android-VideoStreamDecodingSample


            FFmpeg: what does av_parser_parse2 do?
            Asked 2018-Jun-28 at 16:15

            When sending h264 data for frame decoding, it seems like a common method is to first call av_parser_parse2 from the libav library on the raw data.

            I looked for documentation but I couldn't find anything other than some example codes. Does it group up packets of data so that the resulting data starts out with NAL headers so it can be perceived a frame?

            The following is a link to a sample code that uses av_parser_parse2:


            I would appreciate if anyone could explain those library details to me or link me resources for better understanding.

            Thank you.



            Answered 2018-Jun-25 at 13:32

            DJI's video transmission does not guarantee the data in each packet belongs to a single video frame. Mostly a packet contains only part of the data needed for a single frame. It also does not guarantee that a packet contains data from one frame and not two consecutive frames. Android's MediaCodec need to be queued with buffers, each holding the full data for a single frame. This is where av_parser_parse2() comes in. It gathers packets until it can find enough data for a full frame. This frame is then sent to MediaCodec for decoding.


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


            No vulnerabilities reported

            Install Android-VideoStreamDecodingSample

            This repository uses Git Large File Storage (git lfs) for JNI lib storage. Please install git lfs from here. After git lfs installation, you can clone or pull just like normal repository. Click here for more information on git lfs. NOTE: You CANNOT use DOWNLOAD feature because it does not automatically pull from git lfs. Please use git clone. If you want to clone only latest commit, you can use --depth 1 option of git clone.


            We’d love to hear your feedback on this demo and tutorial.
            Find more information at:

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

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone DJI-Mobile-SDK-Tutorials/Android-VideoStreamDecodingSample

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Video Utils Libraries


            by obsproject


            by videojs


            by bilibili


            by FFmpeg


            by iina

            Try Top Libraries by DJI-Mobile-SDK-Tutorials


            by DJI-Mobile-SDK-TutorialsJava


            by DJI-Mobile-SDK-TutorialsJava


            by DJI-Mobile-SDK-TutorialsJava


            by DJI-Mobile-SDK-TutorialsC++


            by DJI-Mobile-SDK-TutorialsJava