[gst-devel] AMR caps incompatibility between muxer and encoder

Benoit Fouet benoit.fouet at purplelabs.com
Wed Oct 25 10:50:38 CEST 2006


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





More information about the gstreamer-devel mailing list