[FFmpeg-devel] [PATCH] wmapro decoder

Sascha Sommer saschasommer
Sun Sep 6 19:39:57 CEST 2009


Hi,

On Sonntag, 6. September 2009, Diego Biurrun wrote:
> On Sun, Sep 06, 2009 at 11:00:10AM +0200, Sascha Sommer wrote:
> > The MAX_AUDIO_FRAMESIZE chang is no longer required.
>
> Do you have performance numbers for this decoder compared to the binary?
>

Pentium M 1,6 GHz, frequency scaling disabled. Not sure if there is a better 
way to benchmark. Fastest run out of 5 subsequent runs:

http://samples.mplayerhq.hu/A-codecs/WMA9/wmapro/

mplayer -ao pcm -benchmark Beethovens nionde symfoni (Scherzo)-1.wma

BENCHMARKs: VC:   0.000s VO:   0.000s A:   0.533s Sys:   0.055s =    0.588s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 90.6408% Sys:  9.3592% = 100.0000%

mplayer -ao pcm -benchmark Beethovens nionde symfoni (Scherzo)-1.wma -afm dmo

BENCHMARKs: VC:   0.000s VO:   0.000s A:   0.943s Sys:   0.058s =    1.001s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 94.1802% Sys:  5.8198% = 100.0000%

mplayer -ao pcm -benchmark -ac ffwmaproSO  Beethovens nionde symfoni 
(Scherzo)-1.wma (the linspire libwma3.so)

BENCHMARKs: VC:   0.000s VO:   0.000s A:  10.067s Sys:   0.055s =   10.122s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.4528% Sys:  0.5472% = 100.0000%

Beethovens nionde symfoni (Scherzo)-2.wma
BENCHMARKs: VC:   0.000s VO:   0.000s A:   0.482s Sys:   0.058s =    0.541s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 89.1862% Sys: 10.8138% = 100.0000%

BENCHMARKs: VC:   0.000s VO:   0.000s A:   0.726s Sys:   0.059s =    0.785s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 92.4922% Sys:  7.5078% = 100.0000%

BENCHMARKs: VC:   0.000s VO:   0.000s A:   9.744s Sys:   0.057s =    9.801s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.4140% Sys:  0.5860% = 100.0000%

New Stories (Highway Blues)-1.wma
BENCHMARKs: VC:   0.000s VO:   0.000s A:   0.664s Sys:   0.071s =    0.735s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 90.3835% Sys:  9.6165% = 100.0000%

BENCHMARKs: VC:   0.000s VO:   0.000s A:   1.184s Sys:   0.070s =    1.254s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 94.3816% Sys:  5.6184% = 100.0000%

BENCHMARKs: VC:   0.000s VO:   0.000s A:  12.100s Sys:   0.068s =   12.168s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.4440% Sys:  0.5560% = 100.0000%

New Stories (Highway Blues)-2.wma
BENCHMARKs: VC:   0.000s VO:   0.000s A:   0.555s Sys:   0.066s =    0.621s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 89.3683% Sys: 10.6317% = 100.0000%

BENCHMARKs: VC:   0.000s VO:   0.000s A:   0.852s Sys:   0.061s =    0.913s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 93.3143% Sys:  6.6857% = 100.0000%

BENCHMARKs: VC:   0.000s VO:   0.000s A:  10.884s Sys:   0.064s =   10.948s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.4123% Sys:  0.5877% = 100.0000%

WMVHDsplash.wmv -novideo
BENCHMARKs: VC:   0.000s VO:   0.000s A:   0.400s Sys:   0.052s =    0.452s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 88.5194% Sys: 11.4806% = 100.0000%

(dmo decoder outputs a 2 channel downmix while the other decoders output all 6 
channels individually)
BENCHMARKs: VC:   0.000s VO:   0.000s A:   0.989s Sys:   0.016s =    1.005s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 98.3755% Sys:  1.6245% = 100.0000%

BENCHMARKs: VC:   0.000s VO:   0.000s A:   8.072s Sys:   0.051s =    8.123s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.3674% Sys:  0.6326% = 100.0000%

Regards

Sascha



More information about the ffmpeg-devel mailing list