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
169 stars 80 forks source link

MSDK 4.16 or DJI Mini 2 Support? #79

Closed Waffle1434 closed 1 year ago

Waffle1434 commented 2 years ago

I don't see the mini 2 model mentioned in DJIVideoStreamDecoder.java, is the Mini 2 supported?

dji-dev commented 2 years ago

Agent comment from DJI SDK in Zendesk ticket #61286:

尊敬的开发者,感谢您联系DJI 大疆创新 由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

Dear developer, thank you for contacting DJI. Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

°°°

DJI-William commented 2 years ago

This is out of date, our latest SDK does support DJI Mini 2, we havn't update the DJIVideoStreamDecoder.java to this demo. This is just a demostration of how to decoding the video stream.

Waffle1434 commented 2 years ago

Thanks for the quick response. I already have a prototype app working with the latest MSDK 4.16. However, I am experiencing pretty bad LiveFeed latency (400 milliseconds vs the DJI Fly App's 200ms) even in the best case scenario less than 1ft away from the remote, so I was really hoping something like this may alleviate the video lag.

DJI-William commented 2 years ago

DJI FLY and MSDK are using different video stream decoding code, and MSDK is very out of date so the perforamce would be worse than DJI FLY. I will inform the dev team about this issue but no guarantee because they are busy at other things.

alzin commented 1 year ago

Are there any updates on this topic?

DJI-William commented 1 year ago

@alzin We have added MAVIC_MINI, DJI_MINI_SE and DJI_MINI_2 to https://github.com/DJI-Mobile-SDK-Tutorials/Android-VideoStreamDecodingSample/tree/sdk_releases/4.16.2