[MPlayer-dev-eng] non-free and undistributable files in tremor/

Diego Biurrun diego at biurrun.de
Wed Aug 2 11:21:16 CEST 2006


On Sun, Jul 30, 2006 at 06:12:28AM -0400, Rich Felker wrote:
> On Sun, Jul 30, 2006 at 09:47:19AM +0200, Michael Niedermayer wrote:
> > 
> > On Sun, Jul 30, 2006 at 02:51:50AM +0200, Diego Biurrun wrote:
> > [...]
> > > The tremor subdirectory weighs in at 440k, libvorbisidec.a at 125k.
> > > FFmpeg can now decode Vorbis natively.  Time to run some benchmarks I
> > > would say.
> > 
> > yes, and some profiling / benchmarking the indivdual parts and then
> > someone should take the faster parts and clean them up and port them
> > to lavc
> 
> imo the faster part is using integers, which iirc the lavc
> implementation does not do...

Then again, CPUs today are not necessarily faster at doing integer
compared to float computations.  But let's not restart this silly topic.

I sat down and did some benchmarks on my K6-III 500, Debian stable
system with all services except getty instances stopped, running Linux
2.4.32 and MPlayer r19262.  I used the following two samples to test,
the first is 10 minutes long, the second 70 minutes

ftp://ftp.openbsd.org/pub/OpenBSD/songs/song37.ogg
http://jdolan.dyndns.org/jaydolan/choons/Jay%20Dolan%20-%20Live%20(6-17-04).ogg

I compared the internal tremor decoder with the FFmpeg Vorbis decoder
and internal tremor with --enable-tremor-low.  Below are the results.

It seems like ffvorbis still has some ground to cover.  Now if somebody
could sit down and optimize it...

Diego


./mplayer -quiet -benchmark -ao pcm:fast:file=/dev/null song37.ogg
BENCHMARKs: VC:   0.000s VO:   0.000s A:  30.408s Sys:   0.094s =   30.502s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.6914% Sys:  0.3086% = 100.0000%

./mplayer -quiet -benchmark -afm ffmpeg -ao pcm:fast:file=/dev/null song37.ogg
BENCHMARKs: VC:   0.000s VO:   0.000s A:  36.171s Sys:   0.103s =   36.274s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.7156% Sys:  0.2844% = 100.0000%

--enable-tremor-low:
./mplayer -quiet -benchmark -ao pcm:fast:file=/dev/null song37.ogg
BENCHMARKs: VC:   0.000s VO:   0.000s A:  26.837s Sys:   0.097s =   26.934s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.6407% Sys:  0.3593% = 100.0000%



./mplayer -quiet -benchmark -ao pcm:fast:file=/dev/null Jay Dolan - Live (6-17-04).ogg
BENCHMARKs: VC:   0.000s VO:   0.000s A: 181.655s Sys:   0.680s =  182.335s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.6272% Sys:  0.3728% = 100.0000%

./mplayer -quiet -benchmark -afm ffmpeg -ao pcm:fast:file=/dev/null Jay Dolan - Live (6-17-04).ogg
BENCHMARKs: VC:   0.000s VO:   0.000s A: 237.350s Sys:   0.710s =  238.060s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.7018% Sys:  0.2982% = 100.0000%

--enable-tremor-low:
./mplayer -quiet -benchmark -ao pcm:fast:file=/dev/null Jay Dolan - Live (6-17-04).ogg
BENCHMARKs: VC:   0.000s VO:   0.000s A: 160.065s Sys:   0.785s =  160.850s
BENCHMARK%: VC:  0.0000% VO:  0.0000% A: 99.5118% Sys:  0.4882% = 100.0000%



More information about the MPlayer-dev-eng mailing list