[gstreamer-bugs] [Bug 385061] Fairly high CPU usage when decoding (~6-15 times slower compared to mplayer)

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Dec 12 11:18:14 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=385061

  GStreamer | don't know | Ver: 0.10.3





------- Comment #7 from Sebastian Dröge  2006-12-12 19:16 UTC -------
Every test is called 4 times and the average real time is used.

mplayer -quiet -vo null -vc null -ao pcm:file=/dev/null test.mp3: ~16.63s
mplayer -quiet -vo null -vc null -ao pcm:file=/dev/null test.ogg: ~6.47s


gst-launch-0.10 filesrc location=test.mp3 ! decodebin ! fakesink silent=true:
~6.77s
gst-launch-0.10 filesrc location=test.mp3 ! decodebin ! audioresample !
"audio/x-raw-int,rate=48000" ! fakesink silent=true: (one run) 3:21
gst-launch-0.10 filesrc location=test.mp3 ! ffdemux_mp3 ! ffdec_mp3 ! fakesink
silent=true: ~6.96s
gst-launch-0.10 filesrc location=test.ogg ! decodebin ! fakesink silent=true:
~6.92s
gst-launch-0.10 filesrc location=test.ogg ! decodebin ! audioresample !
audioconvert ! "audio/x-raw-int,rate=48000" ! fakesink silent=true: (one run)
3:17


So the evil one here seems to be audioresample (my soundcard can only do
48khz)... and in general we're as fast as mplayer when it comes to decoding,
even much faster when decoding via ffmpeg's mp3 decoder for some reason
(probably older ffmpeg in mplayer).


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list