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

M300 遥控器上解码花屏,编解码 #75

Open stacker10 opened 2 years ago

stacker10 commented 2 years ago

初始化MediaCodec时,设置surface为null codec.configure(format, null, null, 0); 在解码的时候,获取一帧数据 Image image = codec.getOutputImage(outIndex); 将这帧image存为图片

同样的代码在华为Mate30手机上面可以正常存储显示,在M300遥控器上面保存的这帧数据出现花屏。

请问M300遥控器硬件是否支持硬解码,或者哪些编解码格式,输出数据类型是什么

dji-dev commented 2 years ago

Agent comment from DJI SDK in Zendesk ticket #51720:

尊敬的开发者,感谢您联系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-dev commented 2 years ago

Agent comment from William Wong in Zendesk ticket #51720:

最近也有其他用户提出这个问题,是否有时候从遥控器解码出来的yuv数据会花屏,但是同样的程序从手机里走出来就正常?我们正在定位这个问题,初步怀疑是智能遥控器的问题。

°°°

dji-dev commented 2 years ago

Agent comment from William Wong in Zendesk ticket #51720:

这个问题解决了,4.16版本就会恢复正常。

°°°