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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Thursday, January 10, 2013 - 11:56 pm


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


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@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. ;)


PS: Feel free to file bug reports if it's really broken.
Linux-audio-dev mailing list

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Ubuntu: gstreamer1.0 MP3 playback broken?, Adrian Knoth, (Thu Jan 10, 11:56 pm)
Re: [LAD] Ubuntu: gstreamer1.0 MP3 playback broken?, Adrian Knoth, (Fri Jan 11, 6:03 pm)