DJI-Mobile-SDK-Tutorials / Android-VideoStreamDecodingSample

This sample project demonstrates how to use FFmpeg for video frame parsing and to use MediaCodec for hardware decoding on DJI Products.
MIT License
170 stars 81 forks source link

How can I check the JNI to connect the android plantform #35

Open johnsonrobot opened 6 years ago

johnsonrobot commented 6 years ago

First, this is instruction. void sendDataToDecoder(byte[] videoBuffer, int size) it is succeeded to decode the data and display in TextureView. Can I get the image data from videoBuffer? Use the videoBuffer to do the image processing.

Second, How do I use the getYuvDataCallback instruction to get Yuv Data? Can I anyone help me and suggest?