Issue with decodebin element

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Apr 4 11:27:16 PDT 2013


On Thu, 2013-04-04 at 21:02 +0300, Tonu Jaansoo wrote:

Hi,

> Maybe this is similar issue. There is a mp3 decoder, but uridecodebin does not know about it:
> 
> Plays:
> $ gst-launch-1.0.exe filesrc location="/c/tests/sax.mp3"  ! mpegaudioparse ! avdec_mp3 ! audioresample ! audioconvert ! portaudiosink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstAudioSinkClock
> 
> Don't play:
> $ gst-launch-1.0.exe uridecodebin uri="file:///C:/tests/sax.mp3" ! audioresampl
> e ! audioconvert ! portaudiosink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Missing element: MPEG-1 Layer 3 (MP3) decoder

It's because avdec_mp3 currently has a rank of 0/NONE, which means it
won't get autoplugged. Use 'mad' or 'mpg123audiodec' or 'flump3dec' for
now.

We should probably enable it now that the libav audio decoders have been
rewritten on top of the new audio decoder base class.

Cheers
 -Tim



More information about the gstreamer-devel mailing list