muxing overhead error when converting a video via ffmpeg -
i'm using ffmpeg converting videos on site. i'm converting videos flv . if upload flv , has not problem if upload other file type except flv , shows me error :
ffmpeg version 0.7.11, copyright (c) 2000-2011 ffmpeg developers built on jul 26 2013 01:58:02 gcc 4.4.7 20120313 (red hat 4.4.7-3) configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb libavutil 50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale 0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 seems stream 0 codec frame rate differs container frame rate: 2997.00 (2997/1) -> 14.99 (15000/1001) input #0, avi, 'uploads/v_37.avi': metadata: title : aj mclean - teenage wildlife encoder : lavf52.16.0 duration: 00:04:17.19, start: 0.000000, bitrate: 470 kb/s stream #0.0: video: mpeg4, yuv420p, 640x480 [par 1:1 dar 4:3], 14.98 fps, 14.99 tbr, 14.99 tbn, 2997 tbc stream #0.1: audio: mp3, 22050 hz, stereo, s16, 128 kb/s warning: bitrate parameter set low. takes bits/s argument, not kbits/s [buffer @ 0x2137ae0] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [scale @ 0x2139da0] w:640 h:480 fmt:yuv420p -> w:320 h:240 fmt:yuv420p flags:0x4 output #0, flv, 'uploads/aaa.flv': metadata: title : aj mclean - teenage wildlife encoder : lavf52.111.0 stream #0.0: video: flv, yuv420p, 320x240 [par 1:1 dar 4:3], q=2-31, 200 kb/s, 1k tbn, 14.99 tbc stream #0.1: audio: libmp3lame, 22050 hz, stereo, s16, 0 kb/s stream mapping: stream #0.0 -> #0.0 stream #0.1 -> #0.1 press [q] stop, [?] frame= 26 fps= 0 q=2.0 lsize= 80kb time=00:00:01.73 bitrate= 375.7kbits/s video:64kb audio:14kb global headers:0kb muxing overhead 2.339835%
last line : muxing overhead 2.339835%
the final file 1 second video ( doesn't make different how long video , of them become 1 second video )
what problem ? ffmpeg code convert video :
echo passthru("$ffmpegpath -i uploads/$file -ar 22050 -ab 32 -f flv -s 320×240 uploads/aaa.flv 2>&1");
thanks
thanks
warning: bitrate parameter set low. takes bits/s argument, not kbits/s
you can't store audio in 32 bits per second. change -ab 32k
(assuming want 32 kbits/s, still extremely low) , work expect.
i don't think problem has muxing overhead.
Comments
Post a Comment