java - Can you record two MediaRecorder video streams at once? -


we looking @ writing android app , need create 2 copies of video record. each 1 require different settings (dimensions, etc). 1 'high quality' version (1280x720, high bitrate) , 1 'low quality' version (480x360, lower bitrate). both mp4 files.

we have found using mediarecorder record higher quality version , using ffmpeg convert video afterwards lower quality version excruciatingly slow. getting speeds of 6 minutes 22 second video converted!

so possible have 2 instances of mediarecorder @ once stream captured , encoded file on-the-fly, saving need encode after it's completed?

alternatively there other suggestions how can achieve this, or maximise ffmpeg's performance?


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -