flv demux failures on YouTube 240p FLV audio tracks
Dave Milici
davemilici at sbcglobal.net
Thu May 23 22:53:41 PDT 2013
Tim, Thanks very much for that tip. I don't think libmad was in our OE Qt4 build, nor recognize the others you mentioned.
I figured there had to be some secret to getting playbin2 auto-plugging to work, so I'll check out the ranking option when back at the lab.
Regards,
--DaveM
--- On Wed, 5/22/13, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> From: Tim-Philipp Müller <t.i.m at zen.co.uk>
> Subject: Re: flv demux failures on YouTube 240p FLV audio tracks
> To: gstreamer-devel at lists.freedesktop.org
> Date: Wednesday, May 22, 2013, 2:46 PM
> On Tue, 2013-05-21 at 22:25 -0700,
> Dave Milici wrote:
>
> > I have a followup finding and question after
> experimenting with a
> > playbin2 example with both video-sink and audio-sink
> components.
> >
> > Modifying some of the gstreamer custom playbin
> examples, I found that
> > if I explicitly add an "ffdec_mp3" element to custom
> "audio-sink" bin,
> > I can get audio and video streams to play.
> >
> > What I'm confused about is whether adding a decoder
> element to a head
> > of a "sink" bin is the appropriate thing to do in this
> case. Is that
> > expected protocol?
>
> It's not :)
>
> > Wouldn't it be more logical to add the decoder element
> to the "src" pad
> > of the flv demuxer? Is there an example of fixing up
> incomplete demuxer
> > connections?
>
> Yes, indeed. The reason that doesn't happen is that
> ffdec_mp3 has no
> rank, for various reasons. If you had either the 'mad' mp3
> decoder
> installed, or the mpg123audiodec mp3 decoder, or the
> (free/FLOSS)
> flump3dec decoder, then an mp3 decoder should be plugged
> after the
> demuxer by playbin/uridecodebin automatically. You can also
> change the
> rank of ffdec_mp3 to something like GST_RANK_MARGINAL, so
> that it gets
> autoplugged. You can do that by changing the gst-ffmpeg
> source code and
> recompile the plugin, or by looking up the ffdec_mp3 plugin
> feature from
> the registry in your application, and then set the plugin
> feature rank
> there (after gst_init, before creating your pipeline).
>
> 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