[MPlayer-dev-eng] Make ffmpeg MPEG1/2 decoder the default?

Compn tempn at twmi.rr.com
Mon Feb 18 21:52:12 CET 2008


my unscientific bench, ran each test a few times to get it cached
picked the lowest for each.

mplayer sample.mpg -nosound -quiet -benchmark -vfm
amd duron 900mhz
MPlayer dev-SVN-r25045-3.4.5 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) processor (Family: 6, Model: 4, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

libmpeg2:
BENCHMARKs: VC:   3.723s VO:   6.178s A:   0.000s Sys:   4.910s =   14.811s
BENCHMARK%: VC: 25.1367% VO: 41.7122% A:  0.0000% Sys: 33.1510% = 100.0000%
ffmpeg2:
BENCHMARKs: VC:   4.198s VO:   5.837s A:   0.000s Sys:   4.866s =   14.901s
BENCHMARK%: VC: 28.1726% VO: 39.1719% A:  0.0000% Sys: 32.6555% = 100.0000%

libmpeg2 mpeg1:
BENCHMARKs: VC:   0.070s VO:   3.289s A:   0.000s Sys:   5.033s =    8.392s
BENCHMARK%: VC:  0.8341% VO: 39.1921% A:  0.0000% Sys: 59.9738% = 100.0000%
ffmpeg1:
BENCHMARKs: VC:   0.100s VO:   3.273s A:   0.000s Sys:   5.019s =    8.392s
BENCHMARK%: VC:  1.1916% VO: 39.0014% A:  0.0000% Sys: 59.8070% = 100.0000%

libmpeg2mpeg1:
BENCHMARKs: VC:   0.030s VO:   0.000s A:   0.000s Sys:   1.372s =    1.402s
BENCHMARK%: VC:  2.1398% VO:  0.0000% A:  0.0000% Sys: 97.8602% = 100.0000%
ffmpeg1:
BENCHMARKs: VC:   0.040s VO:   0.000s A:   0.000s Sys:   1.362s =    1.402s
BENCHMARK%: VC:  2.8531% VO:  0.0000% A:  0.0000% Sys: 97.1469% = 100.0000%




MPlayer dev-SVN-r25992-3.3 (C) 2000-2008 MPlayer Team
AltiVec found
CPU: PowerPC
1ghz ppc g4

libmpeg2 mpeg1:
BENCHMARKs: VC:   0.127s VO:   0.697s A:   0.000s Sys:   0.026s =    0.850s
BENCHMARK%: VC: 14.8828% VO: 82.0270% A:  0.0000% Sys:  3.0902% = 100.0000%
ffmpeg1 (it used swscaler with my filters, strange)
BENCHMARKs: VC:   0.109s VO:   0.927s A:   0.000s Sys:   0.027s =    1.063s
BENCHMARK%: VC: 10.2515% VO: 87.1856% A:  0.0000% Sys:  2.5629% = 100.0000%




mplayer BACK_BICEPS-01.mpg -nosound -benchmark -vo null -frames
800 -quiet -vfm ffmpeg
MPlayer dev-SVN-r25283-3.4.5 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1700MHz (Family: 15, Model: 0, Stepping: 10)
SSE supported but disabled
SSE2 supported but disabled

libmpeg2 mpeg1:
BENCHMARKs: VC:   0.010s VO:   0.000s A:   0.000s Sys:   8.031s =    8.041s
BENCHMARK%: VC:  0.1244% VO:  0.0000% A:  0.0000% Sys: 99.8756% = 100.0000%
ffmpeg1:
BENCHMARKs: VC:   0.010s VO:   0.000s A:   0.000s Sys:   8.021s =    8.031s
BENCHMARK%: VC:  0.1245% VO:  0.0000% A:  0.0000% Sys: 99.8755% = 100.0000%

libmpeg2:
BENCHMARKs: VC:   0.080s VO:   0.000s A:   0.000s Sys:  10.034s =   10.114s
BENCHMARK%: VC:  0.7910% VO:  0.0000% A:  0.0000% Sys: 99.2090% = 100.0000%
ffmpeg2:
BENCHMARKs: VC:   0.151s VO:   0.000s A:   0.000s Sys:  10.023s =   10.174s
BENCHMARK%: VC:  1.4842% VO:  0.0000% A:  0.0000% Sys: 98.5158% = 100.0000%

libmpeg2:
BENCHMARKs: VC:   0.100s VO:   0.000s A:   0.000s Sys:   8.532s =    8.632s
BENCHMARK%: VC:  1.1585% VO:  0.0000% A:  0.0000% Sys: 98.8415% = 100.0000%
ffmpeg2:
BENCHMARKs: VC:   0.170s VO:   0.000s A:   0.000s Sys:   8.522s =    8.692s
BENCHMARK%: VC:  1.9558% VO:  0.0000% A:  0.0000% Sys: 98.0442% = 100.0000%




celeron 900:
D:\>mplayer dvd:// -dvd-device GOD_HATES_CARTOONS -nosound -benchmark -quiet -vo null -frames 2000 -vfm libmpeg2
MPlayer Sherpya-SVN-r24537-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.

libmpeg2:
BENCHMARKs: VC:  22.331s VO:   0.010s A:   0.000s Sys:  20.080s =   42.421s
ffmpeg2:
BENCHMARKs: VC:  22.282s VO:   0.010s A:   0.000s Sys:  20.119s =   42.411s

-compn



More information about the MPlayer-dev-eng mailing list