Default can someone make a getPreviewFpsRange tester?

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: http://developer.android.com/referen...te%28double%29

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.
Parameters
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?