Hi all!
I am developing an app and need to record video with stable FPS.
My app records a video and a text file while the user presses a button to go through a list of items. The app records in the text file the time of the presses of the button, in order for me to split the video based on these recorded times.
The time recorded comes from a System.UptimeMillis() - varInitialTime each time the button is pressed.
I am using MediaRecorder and have tried recording with many different configs, like using Timelapse profile, disabling sound, setting framerate option on media recorder and others. The Timelapse profile should record with fixed fps, and yet it recorded with variable fps.
I tried also using JavaCV for android, but looks like the E1 can't handle it, as it lagged hard in the few times it opened.
I searched the XDA forums and other android resources on the net to no avail.
So, is it possible to force the MediaRecorder (or similar) to record with a stable fps? Are there any workarounds for this problem?
I am developing an app and need to record video with stable FPS.
My app records a video and a text file while the user presses a button to go through a list of items. The app records in the text file the time of the presses of the button, in order for me to split the video based on these recorded times.
The time recorded comes from a System.UptimeMillis() - varInitialTime each time the button is pressed.
I am using MediaRecorder and have tried recording with many different configs, like using Timelapse profile, disabling sound, setting framerate option on media recorder and others. The Timelapse profile should record with fixed fps, and yet it recorded with variable fps.
I tried also using JavaCV for android, but looks like the E1 can't handle it, as it lagged hard in the few times it opened.
I searched the XDA forums and other android resources on the net to no avail.
So, is it possible to force the MediaRecorder (or similar) to record with a stable fps? Are there any workarounds for this problem?
Aucun commentaire:
Enregistrer un commentaire