[MPlayer-dev-eng] -vc ffmpeg2 speedup trick

Bohdan Horst nexus at irc.pl
Sat Sep 4 20:35:38 CEST 2004


On Sat, Sep 04, 2004 at 01:40:09PM +0200, Michael Niedermayer wrote:
> Hi
> 
> -lavdopts fast 
> this does completly skip the calculations needed for fliping coeff[63] LSB, it 
> also does a few other tricks, like assuming YUV 4:2:0 and the default inter 
> quant matrix

in my tests speedup is very little (or I am doing smth wrong):


MPlayer dev-CVS-040903-22:33-3.3.3 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 498.9 MHz (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE


VIDEO:  MPEG1  352x288  (aspect 8)  25,000 fps  2400,0 kbps (300,0 kbyte/s)
-vo xv -nosound -benchmark -vfm ffmpeg -frames 1000
BENCHMARKs: VC:   4,567s VO:   2,310s A:   0,000s Sys:   1,340s =    8,218s
BENCHMARKs: VC:   4,562s VO:   2,331s A:   0,000s Sys:   1,333s =    8,226s
BENCHMARKs: VC:   4,637s VO:   2,290s A:   0,000s Sys:   1,312s =    8,238s
-vo xv -nosound -benchmark -vfm ffmpeg -frames 1000 -lavdopts fast
BENCHMARKs: VC:   4,523s VO:   2,319s A:   0,000s Sys:   1,307s =    8,149s
BENCHMARKs: VC:   4,545s VO:   2,311s A:   0,000s Sys:   1,317s =    8,172s
BENCHMARKs: VC:   4,496s VO:   2,359s A:   0,000s Sys:   1,310s =    8,165s

VIDEO:  MPEG2  720x576  (aspect 2)  25,000 fps  4117,6 kbps (514,7 kbyte/s)
-vo xv -nosound -benchmark -vfm ffmpeg -frames 1000
BENCHMARKs: VC:  16,569s VO:   8,535s A:   0,000s Sys:   2,129s =   27,234s
BENCHMARKs: VC:  16,589s VO:   8,565s A:   0,000s Sys:   2,114s =   27,268s
BENCHMARKs: VC:  16,587s VO:   8,541s A:   0,000s Sys:   2,109s =   27,237s
-vo xv -nosound -benchmark -vfm ffmpeg -frames 1000 -dr
BENCHMARKs: VC:  17,413s VO:   8,595s A:   0,000s Sys:   2,118s =   28,127s
BENCHMARKs: VC:  17,480s VO:   8,614s A:   0,000s Sys:   2,091s =   28,185s
BENCHMARKs: VC:  17,511s VO:   8,560s A:   0,000s Sys:   2,136s =   28,207s
-vo xv -nosound -benchmark -vfm ffmpeg -frames 1000 -lavdopts fast
BENCHMARKs: VC:  16,265s VO:   8,574s A:   0,000s Sys:   2,117s =   26,956s
BENCHMARKs: VC:  16,301s VO:   8,569s A:   0,000s Sys:   2,069s =   26,939s
BENCHMARKs: VC:  16,316s VO:   8,562s A:   0,000s Sys:   2,116s =   26,994s
-vo xv -nosound -benchmark -vfm ffmpeg -frames 1000 -lavdopts fast -dr
BENCHMARKs: VC:  17,178s VO:   8,523s A:   0,000s Sys:   2,118s =   27,819s
BENCHMARKs: VC:  17,207s VO:   8,604s A:   0,000s Sys:   2,122s =   27,933s
BENCHMARKs: VC:  17,165s VO:   8,605s A:   0,000s Sys:   2,096s =   27,866s

regards

-- 
Bohdan 'Nexus' Horst




More information about the MPlayer-dev-eng mailing list