Skip to content

DJI-Mobile-SDK-Tutorials/Android-VideoStreamDecodingSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android-VideoStreamDecodingSample

Introduction

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.

Requirements

  • Android Studio 2.0+
  • Android System 4.2+
  • DJI Android SDK 4.15

IMPORTANT: Install git lfs

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.

Explanation

For this sample code's explanation, please refer to https://developer.dji.com/mobile-sdk/documentation/sample-code/index.html.

Feedback

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.

License

Android-VideoStreamDecodingSample is available under the MIT license. Please see the LICENSE file for more info.

Join Us

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.

About

This sample project demonstrates how to use FFmpeg for video frame parsing and to use MediaCodec for hardware decoding on DJI Products.

Resources

License

Stars

Watchers

Forks

Packages

No packages published