[gst-devel] RE : Re: AMR caps incompatibility between muxer and encoder
Benoit Fouet
benoit.fouet at purplelabs.com
Wed Oct 25 11:11:01 CEST 2006
SP GLE wrote:
> Hi,
> 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 :)
-- Ben
> Thanks.
>
>
> --- Benoit Fouet <benoit.fouet at purplelabs.com> a écrit :
>
>
>> Hi
>>
>> SP GLE wrote:
>>
>>> Hi,
>>> I'm trying to link an 'amrnbenc' element and a 'ffmux_mov',
>>> amrnbenc SRC caps are
>>> Capabilities:
>>> audio/AMR
>>> rate: 8000
>>> channels: 1
>>>
>>> ffmux_mov SINK Caps are
>>> audio/x-amr-nb
>>> rate: [ 8000, 96000 ]
>>> channels: [ 1, 2 ]
>>>
>>> so linking seems incompatible, how can i link these elements ? Is
>>>
>> there
>>
>>> 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
>>>
>>> Thanks.
>>>
>>>
>> 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
> http://fr.answers.yahoo.com
>
> -------------------------------------------------------------------------
> 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
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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