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

Mike F paziu at yahoo.com
Mon Jul 9 00:14:42 CEST 2012


> Closing in. On Windows 0.10.2, 0.10.4 & 0.11.1 all have more or less the
> same speed.
> 
> ffmpeg version 0.10.4
>   built on Jul  8 2012 21:26:30 with gcc 4.6.2
> frame= 6012 fps=376 q=24.4 Lsize=   12813kB time=00:04:00.48
>     bitrate= 436.5kbits/s    
> 
> ffmpeg version 0.11.1
>   built on Jul  8 2012 21:48:15 with gcc 4.6.2
> frame= 6012 fps=376 q=24.4 Lsize=   12813kB time=00:04:00.48
>     bitrate= 436.5kbits/s    
> 
> ffmpeg version 0.11.1.git
>   built on Jul  8 2012 20:43:35 with gcc 4.6.2
> frame= 6012 fps=311 q=24.4 Lsize=   12813kB time=00:04:00.48
>     bitrate= 436.5kbits/s    
> 
> 376 fps versus 311 fps. The same 20% difference.
> Are there any milestones in between 0.11.1 and the trunk, that
> I can test?
> 
> Jan
> 

This is not an answer to your question, but to be 100% sure I re-ran mine, I do not see basically any difference on my system....  fps=447 - before about the same... seems OS / minigw related or 

you adding --enable-libx264 which enables encoding via x264 - when using -vcodec flv,  x264 is not being used - this is another thing different between our systems  - I doubt, but there is sometimes strange things happening in this world.
my build:
--enable-libx264 : x264 core 122 r2184 5c85e0a


and again flv:


# 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 -threads 5 output_git0807.flv
ffmpeg version N-42344-g99622f6 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul  8 2012 17:29:33 with gcc 4.5.2
  configuration: --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
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  0.101 /  3.  0.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg @ 0x1c1d120] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'MOV001.MOD':                                                                                                                                                                    
  Duration: 00:04:00.44, start: 0.919744, bitrate: 1732 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 352x288 [SAR 12:11 DAR 4:3], 3000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 128 kb/s
[graph 0 input from stream 0:0 @ 0x1c23e20] w:352 h:288 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:12/11 sws_param:flags=2
[output stream 0:0 @ 0x1c22860] No opaque field provided
[Parsed_scale_0 @ 0x1c23ac0] w:352 h:288 fmt:yuv420p sar:12/11 -> w:384 h:288 fmt:yuv420p sar:1/1 flags:0x4                                                                                           
[graph 1 input from stream 0:1 @ 0x1d49540] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[auto-inserted resampler 0 @ 0x1d5f8a0] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:flt r:44100Hz
Output #0, flv, to 'output_git0807.flv':
  Metadata:
    encoder         : Lavf54.15.102
    Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 384x288 [SAR 1:1 DAR 4:3], q=2-31, 320 kb/s, 1k tbn, 25 tbc
    Stream #0:1: Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz, stereo, flt, 96 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> flv)
  Stream #0:1 -> #0:1 (ac3 -> aac)
Press [q] to stop, [?] for help
[mpeg2video @ 0x1c235c0] warning: first frame is no keyframe
frame= 6012 fps=447 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%


More information about the ffmpeg-user mailing list