Problem with playbin and "Missing element: MPEG-1 Layer 3 (MP3) decoder"
szollinger at control4.com
Thu Apr 25 13:39:34 PDT 2013
Bumping up the ranking worked great for me as I can now have playbin auto play my mp3. I don't know if I would have figured the ranking issue out on my own. Thanks a ton for your help.
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:
> /usr/lib/gstreamer-1.0# gst-launch-1.0 -v playbin
> 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.
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel