[MPlayer-users] ogg... was converting wma to mp3

gabor farkas gabor at realtime.sk
Fri Apr 12 18:10:02 CEST 2002


On Fri, 2002-04-12 at 11:22, Goetz Waschk wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Am Freitag, 12. April 2002, 16:54:26 Uhr MET, schrieb gabor farkas:
> > gabucino told me that i didn't rtfm so i couldn't find the info about
> > ogg being slower 
> > now my reply :-) :
> 
> > i tried mpg123 vs. ogg123 and watching top... i know it's not really a
> > precise measuring system :-)
> 
> > mpg123....0.2  -  0.7% processor-time
> > ogg123... 0.3  -  1.5% processor-time
> > 
> > so yes, ogg123 is slower ( but 5 times ? )
> Hi, 
> 
> maybe it's a better test to write a mp3 and an ogg file as a wave file and
> measure the time it takes:
> time mpg123 -w test.wav test.mp3
> 
> and something similar with ogg123

ok, i made the tests:
thunderbyte 1ghz, 3*128Mb( don't want to calculate :-)
mpg123 : -q ( don't display anything) -t ( no output, just decompress)
ogg123 : the same
input: prodigy_no_good_128kbps.mp3 and the same file converted to ogg,
length: 6:18

the results : 
mpg123 : 4.095sec approx
ogg123 : 6.98sec approx

so let's sey 1.5 or 2x faster.


if you wan't to see the output from time:
-------------------------------------------------------
[gabor at wintermute test]$ time ogg123 -q -d null
prodigy_no_good_128kbps.ogg 
6.69user 0.24system 0:06.94elapsed 99%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (331major+251minor)pagefaults 0swaps
[gabor at wintermute test]$ time ogg123 -q -d null
prodigy_no_good_128kbps.ogg 
6.77user 0.19system 0:06.95elapsed 100%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (331major+251minor)pagefaults 0swaps
[gabor at wintermute test]$ time ogg123 -q -d null
prodigy_no_good_128kbps.ogg 
6.66user 0.26system 0:07.04elapsed 98%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (331major+251minor)pagefaults 0swaps
[gabor at wintermute test]$ time ogg123 -q -d null
prodigy_no_good_128kbps.ogg 
6.74user 0.19system 0:06.94elapsed 99%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (331major+251minor)pagefaults 0swaps
----------------------------------------------------------
[gabor at wintermute test]$ time mpg123 -q -t prodigy_no_good_128kbps.mp3 
4.07user 0.01system 0:04.09elapsed 99%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (1622major+51minor)pagefaults 0swaps
[gabor at wintermute test]$ time mpg123 -q -t prodigy_no_good_128kbps.mp3 
4.07user 0.02system 0:04.10elapsed 99%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (1622major+51minor)pagefaults 0swaps
[gabor at wintermute test]$ time mpg123 -q -t prodigy_no_good_128kbps.mp3 
4.09user 0.00system 0:04.10elapsed 99%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (1622major+51minor)pagefaults 0swaps
[gabor at wintermute test]$ time mpg123 -q -t prodigy_no_good_128kbps.mp3 
4.09user 0.00system 0:04.09elapsed 99%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (1622major+51minor)pagefaults 0swaps
-------------------------------------------------------------


bye,
gabor

> 
> CU
> 
> -- 
>    Götz Waschk <> student of computer science  <> university Rostock    
>  http://wwwstud.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
>                          --> Logout Fascism! <--
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users





More information about the MPlayer-users mailing list