[MPlayer-dev-eng] MPEG-1/2 decoding benchmarks
Michael Niedermayer
michaelni at gmx.at
Mon Apr 18 16:47:13 CEST 2005
Hi
On Monday 18 April 2005 15:06, Diego Biurrun wrote:
> Hi everybody!
>
> Some time ago I promised to benchmark libmpeg2 0.3.1 vs 0.4.0 and here
> are the numbers finally. I've included FFmpeg as well while I was at
> it.
>
> I repeated every benchmark run 10 times and took the best result.
> Since the process is (supposedly) deterministic, this should be a fair
> measurement. I used "-quiet -vo null -nosound -benchmark" as common
> options for all runs, they are left out below. I ran the benchmarks
> on the (framebuffer) console and stopped all processes except syslogd,
> klogd and getty while running the benchmarks, no console output was
> generated, I used
>
> mplayer <options> <file> | grep BENCHMARK >> results
>
> to record the benchmarking results. For FFmpeg I also benchmarked
> with "-lavdopts idct=4 and "-lavdopts fast".
>
> I used 1.0pre7 for the libmpeg2 0.4.0 and FFmpeg benchmarks, for
> libmpeg2 0.3.1 I used pre7 as well but replaced the libmpeg2 directory
> and vd_libmpeg2.c with the version from the 20040801 CVS snapshot, a
> day before the upgrade.
>
> The movies I used can be found in
>
> http://mplayerhq.hu/~diego/benchmarks/
>
> they were:
>
> bomb.mpeg - MPEG-1 176x144
> heist60.mpeg - MPEG-1 352x240
> dvd.mpeg - MPEG-2 720x576
>
> I tested on two different systems, my desktop and notebook
>
> desktop:
> 500MHz AMD K6-III+
> 512MB SD-RAM 133
>
> notebook:
> 1500MHz G4 with AltiVec
> 512MB PC2700 (333MHz) DDR SDRAM
>
> If you have further suggestions or things I should do differently,
> speak up. I _could_ also test on a Pentium MMX 233, but I doubt the
maybe try a different gcc version, i didnt benchmark ffmpeg with 2.95 lately,
but with 3.3 ffmpeg beats libmpeg2 by 10% on many files like
matrixbench_mpeg2.mpg, while on others it lost miserably by a similar amount
CPU: Advanced Micro Devices Duron Spitfire (Family: 6, Stepping: 1)
mplayer -benchmark -nosound -quiet -vo null ~/matrixbench_mpeg2.mpg -vc
mpeg12
BENCHMARKs: VC: 45.662s VO: 0.036s A: 0.000s Sys: 3.309s = 49.007s
BENCHMARKs: VC: 45.820s VO: 0.037s A: 0.000s Sys: 3.389s = 49.246s
ffmpeg12
BENCHMARKs: VC: 40.860s VO: 0.024s A: 0.000s Sys: 3.958s = 44.842s
BENCHMARKs: VC: 40.701s VO: 0.024s A: 0.000s Sys: 3.887s = 44.612s
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping:
1)
mpeg12:
BENCHMARKs: VC: 75.501s VO: 0.053s A: 0.000s Sys: 6.823s = 82.377s
ffmpeg12:
BENCHMARKs: VC: 71.496s VO: 0.038s A: 0.000s Sys: 6.954s = 78.488s
[...]
--
Michael
"nothing is evil in the beginning. Even Sauron was not so." -- Elrond
More information about the MPlayer-dev-eng
mailing list