[MPlayer-dev-eng] [PATCH] remove mp3lib

compn tempn at twmi.rr.com
Wed Sep 21 17:12:44 CEST 2011


On Wed, 21 Sep 2011 16:49:25 +0200, Erik Auerswald wrote:
>Could you test the speed of mp3 decoding on your systems?
>
>Options to use:
>
># for mp3lib
>-benchmark -vo null -ao null -afm mp3lib
>
># for ffmp$WHATEVER
>-benchmark -vo null -vo null -afm ffmpeg
>
>You might need to additionally add -format s16le to force the same output
>format for a fair comparison.

p4 1.5ghz:
MPlayer Sherpya-SVN-r33574-4.2.5 (C) 2000-2011 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (Family: 15, Model: 1, Stepping: 2)
extended cpuid-level: 4
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0

mplayer 220_ziria_-_the_summer-mod.mp3 -afm mp3lib -benchmark -ao pcm:file=NUL
BENCHMARKs: VC:   0.000s VO:   0.000s A:   2.212s Sys:   0.208s =    2.420s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 91.4050% Sys:  8.5950% = 100.0000%

mplayer 220_ziria_-_the_summer-mod.mp3  -benchmark -ao pcm:file=NUL
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
BENCHMARKs: VC:   0.000s VO:   0.000s A:   7.115s Sys:   0.219s =    7.334s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 97.0139% Sys:  2.9861% = 100.0000%

mp3lib is the clear winner on my p4 1.5ghz on windows
(NUL = windows for /dev/null)



amd 3500:
mplaye 220_ziria_-_the_summer-mod.mp3 -noautosub -nocache -ao pcm:fast:file=NUL -benchmark

MPlayer SVN-r33713-4.2.4 (C) 2000-2011 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 47, Stepping: 0)
extended cpuid-level: 24
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0


Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
BENCHMARKs: VC:   0.000s VO:   0.000s A:   1.880s Sys:   0.072s =    1.952s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 96.3115% Sys:  3.6885% = 100.0000%

with -afm mp3lib
mp3lib: using 3DNow!Ex optimized decore!
BENCHMARKs: VC:   0.000s VO:   0.000s A:   0.956s Sys:   0.059s =    1.015s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 94.1872% Sys:  5.8128% = 100.0000%

still ~2x faster on my windows amd box.


this is internal mp3lib, didnt test external mp3lib.

-compn


More information about the MPlayer-dev-eng mailing list