Mobile-SDK-Android icon indicating copy to clipboard operation
Mobile-SDK-Android copied to clipboard

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

Open gauravguptathinksys opened this issue 3 years ago • 2 comments

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

gauravguptathinksys avatar Jan 06 '22 14:01 gauravguptathinksys

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 avatar Jan 06 '22 14:01 dji-dev

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

°°°

dji-dev avatar Jan 07 '22 09:01 dji-dev