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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -