Problem with playbin and "Missing element: MPEG-1 Layer 3 (MP3) decoder"
Scott Zollinger
szollinger at control4.com
Thu Apr 25 10:16:48 PDT 2013
Awesome. I will consider both options (I am preferring bumping the rank though). Thank you very much.
-----Original Message-----
From: gstreamer-devel-bounces+szollinger=control4.com at lists.freedesktop.org [mailto:gstreamer-devel-bounces+szollinger=control4.com at lists.freedesktop.org] On Behalf Of Tim-Philipp Müller
Sent: Thursday, April 25, 2013 11:14 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: Problem with playbin and "Missing element: MPEG-1 Layer 3 (MP3) decoder"
On Thu, 2013-04-25 at 17:02 +0000, Scott Zollinger wrote:
Hi Scott,
> /usr/lib/gstreamer-1.0# gst-launch-1.0 -v playbin
> uri=file:///var/log/small1.mp3
> Missing element: MPEG-1 Layer 3 (MP3) decoder
> Any thoughts on where/what to look for to allow playbin to
> automatically set up a stream? The fact that it can’t detect a
> decoder for the mp3 (even though avdec_mp3 is available) makes me
> think I am missing some setup or setting for the plugins to be
> property register with gstreamer. Any suggestions would be greatly
> appreciated. Thanks.
gst-inspect-1.0 avdec_mp3 will show you that it has a rank of 0, which means playbin and decodebin won't consider it for autoplugging. This is mostly for historical reasons, we should probably retest and reconsider this and give this element a rank.
You need to install either the 'mad' element/plugin from gst-plugins-ugly (note: GPL run-time license), or the mpg123audiodec element from gst-plugins-bad. Or change the gst-libav source code to give avdec_mp3 a rank of GST_RANK_SECONDARY or so.
Cheers
-Tim
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list