[FFmpeg-user] Speed differences, was: The Magic Microsecond

Mike F paziu at yahoo.com
Sun Jul 8 18:34:33 CEST 2012


>> 3. Any explanation why the newest FFmpeg is slower than the
>>    r32754?
> 
> Talking to myself: I compiled the FFmpeg that came with MPlayer-1.1
> and Zeranoe's 20120706 on Win7pro with the same configure options.
> 
> The speed differences are huge.
> 

> Jan Ehrhardt in ffmpeg.user (Sat, 07 Jul 2012 22:54:47 +0200):

Your original question was about newest being slower than r32754
I compared with your mpeg2 sample:
----------------------------------------- v10.2

# ~/src/ffmpeg-0.10.2/ffmpeg-0.10.2/ffmpeg -y -i MOV001.MOD -vf scale=384:288 -aspect 4:3 -sws_flags bicubic -vcodec flv -b:v 320k -strict -2 -acodec aac -ab 96k -ar 44100 output10.flv

ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers

--enable-x11grab --enable-libfaac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-avfilter --disable-debug --disable-static --cpu=core2 --enable-sram
frame= 6012 fps=448 q=24.4 Lsize=   12813kB time=00:04:00.48 bitrate= 436.5kbits/s    
video:9746kB audio:2801kB global headers:0kB muxing overhead 2.121697%

----------------------------------------- dev git from about aweek ago or so

# ffmpeg -i MOV001.MOD -vf scale=384:288 -aspect 4:3 -sws_flags bicubic -vcodec flv -b:v 320k -strict -2 -acodec aac -ab 96k -ar 44100 output.flv
ffmpeg version N-42170-g71e5a14 Copyright (c) 2000-2012 the FFmpeg developers
--enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-gpl --enable-nonfree --enable-libpulse --enable-libv4l2 --enable-x11grab --enable-libfaac --enable-libfreetype --enable-libmp3lame  -enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-avfilter --disable-debug --disable-static --cpu=core2 --enable-sram
frame= 6012 fps=443 q=24.4 Lsize=   12813kB time=00:04:00.48 bitrate= 436.5kbits/s                                                                                                                     
video:9746kB audio:2802kB subtitle:0 global headers:0kB muxing overhead 2.121790%

------------------------------------------ today's dev git
# ~/src/ffmpeg.git/070812/ffmpeg/ffmpeg -y -i MOV001.MOD -vf scale=384:288 -aspect 4:3 -sws_flags bicubic -vcodec flv -b:v 320k -strict -2 -acodec aac -ab 96k -ar 44100 output_git0807.flv
ffmpeg version N-42344-g99622f6 Copyright (c) 2000-2012 the FFmpeg developers
--enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-gpl --enable-nonfree --enable-libpulse --enable-libv4l2 --enable-x11grab --enable-libfaac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-avfilter --disable-debug --disable-static --cpu=core2 --enable-sram
frame= 6012 fps=443 q=24.4 Lsize=   12813kB time=00:04:00.48 bitrate= 436.5kbits/s                                                                                                                     
video:9746kB audio:2802kB subtitle:0 global headers:0kB muxing overhead 2.121790%

I see 5 fps difference.. ~ 1% slower, but as you see in the conf, I need more "stuff" in the git versions for troubleshooting my current "headache"


Mike


More information about the ffmpeg-user mailing list