[FFmpeg-user] Encoding a 3gp file eats up cpu and does not successfully encode
Jeff Isenhart
jeffi at well-fx.com
Tue Jan 22 18:45:35 CET 2013
Hi,
Having a strange issue when converting a 3pg file to an mp4, the encoding (for a 27 second input file) is taking WAY too long and I end up getting a "Received signal 2: terminating." message.
1st attempt @ ffmpeg command:
ffmpeg -i AndroidXoomVid.3gp -vcodec libx264 -vprofile baseline -preset slow -b:v 250k -crf 22 -maxrate 250k -bufsize 500k -threads 0 -acodec libfaac -ac 2 -ar 44100 -ab 96k AndroidXoomVid.mp4
Ate up cpu and kept getting vbv underflow messages.
2nd attempt, removing maxrate and bufsize:
ffmpeg -i AndroidXoomVid.3gp -vcodec libx264 -vprofile baseline -preset slow -b:v 250k -crf 22 -threads 0 -acodec libfaac -ac 2 -ar 44100 -ab 96k AndroidXoomVid.mp4
result: Ate up the cpu, output file appears to just be a snapshot of the first frame. Tail of the output:
*** 4452 dup!59 drop=0
frame=310908 fps=119 q=32.0 size= 121277kB time=00:00:04.10 bitrate=241732.7kbiframe=310908 fps=117 q=32766.0 Lsize= 122510kB time=00:00:04.20 bitrate=238792.1kbits/s dup=310811 drop=0
video:121251kB audio:35kB subtitle:0 global headers:0kB muxing overhead 1.008521%
[libx264 @ 0x1e427a0] frame I:1244 Avg QP:17.19 size: 72026
[libx264 @ 0x1e427a0] frame P:309664 Avg QP:21.23 size: 112
[libx264 @ 0x1e427a0] mb I I16..4: 33.6% 0.0% 66.4%
[libx264 @ 0x1e427a0] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.8% 0.0% 0.1% 0.0% 0.0% skip:99.1%
[libx264 @ 0x1e427a0] coded y,uvDC,uvAC intra: 68.8% 94.1% 84.9% inter: 0.0% 0.7% 0.0%
[libx264 @ 0x1e427a0] i16 v,h,dc,p: 22% 10% 5% 63%
[libx264 @ 0x1e427a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 14% 7% 12% 13% 10% 14% 9% 9%
[libx264 @ 0x1e427a0] i8c dc,h,v,p: 46% 21% 24% 9%
[libx264 @ 0x1e427a0] ref P L0: 91.2% 4.8% 2.6% 0.7% 0.7%
[libx264 @ 0x1e427a0] kb/s:287530.09
Received signal 2: terminating.
More information about the ffmpeg-user
mailing list