[MPlayer-dev-eng] [RFC] internal library copies

Loren Merritt lorenm at u.washington.edu
Wed Apr 7 02:07:23 CEST 2010


On Sat, 27 Mar 2010, Reimar Döffinger wrote:
> On Thu, Mar 25, 2010 at 07:09:56PM +0100, Diego Biurrun wrote:
>> On Wed, Mar 17, 2010 at 07:50:08PM +0100, Reimar Döffinger wrote:
>>>
>>> Hm? IIRC FFmpeg was a lot slower originally and even now is still a bit slower.
>>> And upstream is a lot slower, so it seems to me that removing it would remove
>>> the fastest decoder available.
>>> Not that I mind much.
>>
>> Hmm, you disabled liba52.  Can somebody provide numbers?  I think FFmpeg
>> was faster, even for my K6-III...
>
> These are the numbers I got back then:
> As of 2010-01-04 mplayer/ffmpeg-mt:
> $ time mplayer -nocache -novideo -vc null -vo null \
> -ao pcm:fast:nowaveheader:file=/dev/null -benchmark /path/to/file.mkv
>
> 2ch/224kbps/-aid 0
> liba52: real    0m10.027s user   0m9.433s sys   0m0.424s
> ffac3:  real    0m11.079s user  0m10.289s sys   0m0.532s
> 6ch/448kbps->downmix 2ch/-aid 1 -channels 2
> liba52: real    0m17.246s user  0m16.269s sys   0m0.564s
> ffac3:  real    0m19.884s user  0m18.873s sys   0m0.536s
> 6ch/448kbps->6ch/-aid 1 -channels 6
> liba52: real    0m26.187s user  0m24.410s sys   0m0.816s
> ffac3:  real    0m27.093s user  0m25.790s sys   0m0.808s

MPlayer r30194 (2010-01-04)
gcc-4.3.2
Intel Core2 e6600 (Conroe) 64bit

$ time mplayer -nocache -novideo -vc null -vo null \
-ao pcm:fast:nowaveheader:file=/dev/null -benchmark /path/to/file.mkv

2ch/192kbps
liba52: 13.82u 0.12s 13.98r
ffac3:  10.40u 0.12s 10.62r
6ch/448kbps->downmix 2ch
liba52: 24.87u 0.21s 25.10r
ffac3:  20.55u 0.23s 21.13r
6ch/448kbps->6ch
liba52: 37.58u 0.30s 38.03r
ffac3:  28.51u 0.28s 29.08r

--Loren Merritt


More information about the MPlayer-dev-eng mailing list