[MPlayer-dev-eng] An audio file demuxer ???

Alban Bedel albeu at free.fr
Wed Feb 13 17:08:26 CET 2002


Hi all,

just for fun (and knowledge) I writed an audio file demuxer. It can "demux" mp3 and
wav file. It appear that the mp3 decoder is VERY GOOD. Top give a very cool 0% of
CPU usage while it give 7-8% to mpg123. To benchmark I removed the sleep
used to wait that the audio buffer is empty and compared with mpg123.

mpg123 -w /dev/null :
        User time (seconds): 21.80
        System time (seconds): 0.15
        Percent of CPU this job got: 85%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:25.74

mplayer -ao pcm -aofile /dev/null -quiet
        User time (seconds): 18.68
        System time (seconds): 0.69
        Percent of CPU this job got: 87%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:22.07

Pretty good, no ? And mplayer is a little longer to start than mpg123. This
test was done with a vbr mp3 (average rate 160Kbps) of 5 min 26 sec.
Does a such demuxer have a chance to be accepted in CVS ?
	Albeu



More information about the MPlayer-dev-eng mailing list