Fixed frame rate using android Camera2 api

六月ゝ 毕业季﹏ 提交于 2019-12-12 17:15:53

问题


I'm very new to android. I'm trying to develop an application using android camera2 api and i want to maintain a steady frame rate for that. I could not find any example on how to achieve a fixed frame rate.

By experimenting i can see that application gets around 5-7 FPS. but it's varying. A detailed method to get a fixed frame rate is highly appreciated. Thanks in advance.


回答1:


Have you set the AE target FPS range to what you want? What resolution are you trying to read?

On LEGACY-level devices, higher resolutions may run slow due to format conversion in the guts of the camera legacy stack.



来源:https://stackoverflow.com/questions/35208873/fixed-frame-rate-using-android-camera2-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!