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 4.11.1
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 usegit clone
. If you want to clone only latest commit, you can use--depth 1
option ofgit clone
.
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.
DJI is looking for all kinds of Software Engineers to continue building the Future of Possible. Available positions in Shenzhen, China and around the world. If you are interested, please send your resume to software-sz@dji.com. For more details, and list of all our global offices, please check https://we.dji.com/jobs_en.html.
DJI 招软件工程师啦,based在深圳,如果你想和我们一起把DJI产品做得更好,请发送简历到 software-sz@dji.com. 详情请浏览 https://we.dji.com/zh-CN/recruitment.