问题
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