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.
- Android Studio 2.0+
- Android System 4.2+
- DJI Android SDK 3.3
For this sample code's explanation, please refer to https://developer.dji.com/mobile-sdk/documentation/sample-code/index.html.
We’d love to hear your feedback on this demo and tutorial.
Please use Github Issue or email oliver.ou@dji.com when you meet any problems of using this demo. At a minimum please let us know:
- Which DJI Product you are using?
- Which Android Device and Android system version you are using?
- Which Android Studio version you are using?
- A short description of your problem includes debugging logs or screenshots.
- Any bugs or typos you come across.
Android-VideoStreamDecodingSample is available under the MIT license. Please see the LICENSE file for more info.