Remove All Ads from XDA
Honor 9 Lite

can someone make a getPreviewFpsRange tester?

8 posts
Thanks Meter: 1
By bingo99, Junior Member on 12th June 2014, 05:47 PM
Post Reply Email Thread
it would be interesting to see how fast the S5 can actually record video, especially at lower resolutions

the built in "slow motion" "1/8" mode would suggest its capturing at 240fps at 1280x720? Somehow I doubt that.

But who knows what its capable of at 640x480..might be able to capture insanely fast and we could have a really cool high speed video app.

The SDK says:

public void setCaptureRate (double fps)
Added in API level 11

Set video frame capture rate. This can be used to set a different video frame capture rate than the recorded video's playback rate. This method also sets the recording mode to time lapse. In time lapse video recording, only video is recorded. Audio related parameters are ignored when a time lapse recording session starts, if an application sets them.
fps Rate at which frames should be captured in frames per second. The fps can go as low as desired. However the fastest fps will be limited by the hardware. For resolutions that can be captured by the video camera, the fastest fps can be computed using getPreviewFpsRange(int[]). For higher resolutions the fastest fps may be more restrictive. Note that the recorder cannot guarantee that frames will be captured at the given rate due to camera/encoder limitations. However it tries to be as close as possible.

Can this be taken at face value? I.e. can you really see what the phone will max out at fps-wise at a given resolution?

Could someone make an app to do this test and show how fast it can capture at various resolutions?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes