mandyGao / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Mp4 recording at high resolutions (1920x1080) lags badly. Lower resolutions work fine. #478

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Choose a high resolution 1920x1080 for video recording, and the output video 
lags and stutters badly. Its unusable.
2.
3.

What is the expected output? What do you see instead?
Good quality output, like the output from MediaRecorder in Android.

What version of the product are you using? On what operating system?
JavaCV for Android. FFmpegFrameRecorder.java.

Please provide any additional information below.
Using lower resolutions (upto 1280x720) works fine. When using higher 
resolution, say 1920x1080, the recorded video stutters and audio lags. I am 
looking for any solution that can work. 

I am guessing that the problem is the SD card write. Is it possible to write to 
a memory file, for example, and dump to SD card every so often?

Thanks.

Original issue reported on code.google.com by jineshj...@gmail.com on 27 Jul 2014 at 10:52

GoogleCodeExporter commented 8 years ago
AFAIK, FFmpeg does not support hardware acceleration. Please report upstream, 
and let us know when the support has been added, thanks!

Original comment by samuel.a...@gmail.com on 30 Jul 2014 at 11:21