How to get raw preview data from Camera object at least 15 frames per second in Android?

后端 未结 6 1348
忘了有多久
忘了有多久 2020-11-30 19:32

I need to obtain raw preview data from Camera object at least 15 frame per second, but I can only get a frame in 110 milliseconds which means I can get only

6条回答
  •  囚心锁ツ
    2020-11-30 20:29

    In my understanding, Android does not allow user to a set a fixed framerate, nor guarantee the value of fps that you specify will be respected is due to the frame exposure time which is set by the camera hardware or firmware. The frame rate you observe may be a function of lighting conditions. For example, a certain phone may give you a 30fps preview rate in a day light but only 7 fps if you are filming in a low light condition.

提交回复
热议问题