[LAD] Ubuntu: gstreamer1.0 MP3 playback broken?

Adrian Knoth adi at drcomp.erfurt.thur.de
Thu Jan 10 23:56:08 UTC 2013


Hi!

Any Ubuntu users around, "quantal" or "raring" release? If so, could you
test if your gstreamer1.0 installation can play MP3s?

Recipe:

    1. Install everything with gstreamer1.0* in its name, maybe
       $ sudo apt-get install gstreamer1.0* does the trick

       If you want finer control, I guess
         gstreamer1.0-plugins-base gstreamer1.0-plugins-bad
         gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
         gstreamer1.0-libav gstreamer1.0-tools

       is the proper set of packages.

    2. Run the pipeline:

       $ gst-launch-1.0 uridecodebin uri=file:///path/to/foo.mp3 ! fakesink

Instead of "fakesink", you can also try "autoaudiosink" or the even more
complex "audioconvert ! audioresample ! jackaudiosink", but that's
actually not the question.

In the good case, it looks like this:

adi at chopin:~$ gst-launch-1.0 uridecodebin uri=file:///tmp/foo.mp3 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 2085409390 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


In the bad case, you'll get error messages about codecs or a pipeline
that doesn't want to preroll.


Any feedback would be highly appreciated, it'd save me from installing
Ubuntu into a VM. ;)



TIA

PS: Feel free to file bug reports if it's really broken.


More information about the Linux-audio-dev mailing list