[gst-devel] mad problem

Thomas Vander Stichele thomas at apestaart.org
Fri Jan 23 01:47:01 CET 2004


El jue, 22-01-2004 a las 18:57, Ronald Bultje escribió:
> On Thu, 2004-01-22 at 18:10, in7y118 at public.uni-hamburg.de wrote:
> > The correct way to fix this is to use filesrc ! audio/mpeg, mpegversion=(int)
> > 1, layer=(int)3 ! mad

Well, no -  I want GStreamer to tell me what the layer is, not have to
tell GStreamer what the layer is.  Anyway, I don't know the layer of the
file, which is why I want GStreamer to tell me in the first place.

> > Or maybe filesrc ! typefind ! mad

Will try that - but as a generic solution, it does suck that I have to
add lots of format-specific code to basically detect some stream
properties.

> mp3parse (gst-plugins/gst/mpegaudioparse/) does layer detection.

Out-of-the-box-question - if mp3parse can, why can't mad ? It seems to
me like mp3parse can because it sets the layer on its src pads, while
mad sets it on the sink pad ? Or should that not matter at all ?

Thomas


Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
Whenever we meet you say you've changed
Like it's some gift you're not the same
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/






More information about the gstreamer-devel mailing list