[gstreamer-bugs] [Bug 385061] New: 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 06:00:09 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

           Summary: Fairly high CPU usage when decoding (~6-15 times slower
                    compared to mplayer)
           Product: GStreamer
           Version: 0.10.3
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at ubuntu.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
GStreamer seems to be fairly slow compared to mplayer when decoding a mp3...
almost 7 times slower. This is with latest releases of everything (and
pre-releases of ugly/ffmpeg) and happens on all kinds of different hardware and
older versions too. See
https://launchpad.net/distros/ubuntu/+source/gstreamer0.10/+bug/73744 for more
informations and times...

Bye

time gst-launch-0.10 filesrc location=foo.mp3 ! decodebin ! alsasink
real    4m33.095s
user    0m13.876s
sys     0m0.556s

time gst-launch-0.10 filesrc location=foo.mp3 ! ffdemux_mp3 ! ffdec_mp3 !
alsasink
real    4m33.239s
user    0m13.260s
sys     0m0.580s

time mplayer -ao alsa foo.mp3 (using ffmpeg mp3 decoder)
real    4m34.673s
user    0m1.768s
sys     0m0.152s

time mplayer -ao alsa foo.ogg
real    4m27.382s
user    0m1.000s
sys     0m0.120s

time gst-launch-0.10 filesrc location=foo.ogg ! decodebin ! audioconvert !
alsasink
real    4m27.834s
user    0m17.364s
sys     0m0.668s


>From the Ubuntu bug report:

mplayer:
real 3m9.331s
user 0m0.444s
sys 0m0.132s

gstreamer:
real 3m0.855s
user 0m12.177s
sys 0m1.372s

Bye


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




More information about the Gstreamer-bugs mailing list