[gst-devel] mad problem
in7y118 at public.uni-hamburg.de
in7y118 at public.uni-hamburg.de
Thu Jan 22 09:11:02 CET 2004
The correct way to fix this is to use filesrc ! audio/mpeg, mpegversion=(int)
1, layer=(int)3 ! mad
Or maybe filesrc ! typefind ! mad
It's a problem that happens when you connect an element that doesn't know a
thing about its caps (filesrc) to an element that does some kind of
autodetection on variable caps (mad's layer detection). The core will just
fixate it somehow so it fits.
Benjamin
Quoting Thomas Vander Stichele <thomas at apestaart.org>:
> Hi,
>
> [gst-cvs] [thomas at otto gst-plugins]$ gst-launch -t -v filesrc
> location=/home/thomas/gst/media/good/south.mp3 ! mad
> RUNNING pipeline ...
> /pipeline0/filesrc0.src: caps = audio/mpeg, mpegversion=(int)1,
> layer=(int)1
> /pipeline0/mad0.sink: caps = audio/mpeg, mpegversion=(int)1,
> layer=(int)1
>
> The file is actually layer 3, not 1. If someone can tell me where to
> fix this, I'll do it. But I'm not sure if it's possible to set
> negotiation after decoding the stream.
>
> Thomas
>
> Dave/Dina : future TV today ! - http://www.davedina.org/
> <-*- thomas (dot) apestaart (dot) org -*->
> You know well
> Just never tell
> If someone's got a secret hell
> <-*- thomas (at) apestaart (dot) org -*->
> URGent, best radio on the net - 24/7 ! - http://urgent.fm/
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list