[gst-devel] RE : Re: AMR caps incompatibility between muxer and encoder
benoit.fouet at purplelabs.com
Wed Oct 25 11:11:01 CEST 2006
SP GLE wrote:
> thanks for your answer, but if i change the amr decoder (amrnbdec) i
> also have to change :
> qtdemux, amrnbdec, rtpamrpay, rtpamrdepay,...
i don't think so. as far as i know, only the amr dec/enc lpugin is
handling audio/AMR data, so if you change it there, it chould be ok to
make the stuf work.
> gst-ffmpeg and amr elements seems to handle the same thing with two
> different names, 'audio/AMR' and 'audio/x-amr-nb'.
that's true, and that's why the caps intersection is NULL
> Is it possible to 'force' negotiation to handle differents encoding
> names in capabilities as the same entity, something like an adapter.
you can make a basic plugin which just copies data on its sink pad to
its source pad, with only the caps that change, but i really think this
is not the right thing to do :)
> --- Benoit Fouet <benoit.fouet at purplelabs.com> a écrit :
>> SP GLE wrote:
>>> I'm trying to link an 'amrnbenc' element and a 'ffmux_mov',
>>> amrnbenc SRC caps are
>>> rate: 8000
>>> channels: 1
>>> ffmux_mov SINK Caps are
>>> rate: [ 8000, 96000 ]
>>> channels: [ 1, 2 ]
>>> so linking seems incompatible, how can i link these elements ? Is
>>> a way to change capabilities ?
>>> failed negotiation between pads is attached for the following cmd :
>>> GST_DEBUG=4 GST_DEBUG_NO_COLOR=1 gst-launch audiotestsrc !
>>> audioconvert ! amrnbenc ! ffmux_mov ! filesink location=/tmp/f.mov
>> you have to change the source code of amr decoder, so that it is
>> audio/x-amr-nb too on its sink pad.
>> then compile and install back the library, and this should be ok :)
>> Hope that helps,
>> -- Ben
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
More information about the gstreamer-devel