dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
978 stars 580 forks source link

how to control frame rate and resolution after getting video byte array #1087

Open gauravguptathinksys opened 2 years ago

gauravguptathinksys commented 2 years ago

we are getting video bytearray

mReceivedVideoDataListener = VideoDataListener { videoBuffer, size -> // here I want to use ffmpeg to reduce frame rate and resolution //

}

could you please help

dji-dev commented 2 years ago

Agent comment from DJI SDK in Zendesk ticket #58893:

尊敬的开发者,感谢您联系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 #58893:

Dear Client Thank you for contacting DJI.

I can only offer you the solution of using SDK interface to change frame rate and resolution by calling camera.setVideoResolutionAndFrameRate. For how to reduce it in FFMPEG, this is out of my expertise and I am not able to help you.

Hopefully our solution can help you. Kindly Regards, DJI Developer Support

°°°