[gst-devel] rtp, speex and udp

Wim Taymans wim.taymans at gmail.com
Tue Dec 11 19:10:33 CET 2007


On Tue, 2007-12-11 at 15:11 -0200, Felipe Coutinho wrote:
>         Hello, I'm trying to run these pipelines:
>         

The speex rtp payloader/depayloader can only work with mono audio
(encoding-params=1) currently. No idea why that is but you must use mono
audio only for now.

Wim 

>         1:  gst-launch -v alsasrc ! speexenc ! rtpspeexpay ! udpsink 
>         2:  GST_DEBUG=2 gst-launch -v udpsrc caps="application/x-rtp,
>         media=(string)audio, payload=(int)110, clock-rate=(int)44100,
>         encoding-name=(string)SPEEX, encoding-params=(string)2" !
>         rtpspeexdepay ! speexdec ! alsasink 
>         
>         But there is a problem at the second pipe:
>         0:00:00.083932000 12113 0x804e070 ERROR
>         GST_PIPELINE ./grammar.y:462:gst_parse_perform_link: it wasn't
>         possible link udpsrc0 a rtpspeexdepay0
>         ATENÇÃO: conexão errônea: não foi possível ligar udpsrc0 a
>         rtpspeexdepay0 
>         
>         Any one can help me? Here the caps of the first pipe:
>         
>         /pipeline0/alsasrc0.src: caps = audio/x-raw-int,
>         endianness=(int)1234, signed=(boolean)true, width=(int)16,
>         depth=(int)16, rate=(int)44100, channels=(int)2 
>         A conexão está viva e não necessita PREROLL ...
>         Deixando a conexão em PLAYING ...
>         New clock: GstAudioSrcClock
>         /pipeline0/speexenc0: last-message = "Warning: speex is
>         optimized for 8, 16 and 32 KHz" 
>         /pipeline0/speexenc0.sink: caps = audio/x-raw-int,
>         endianness=(int)1234, signed=(boolean)true, width=(int)16,
>         depth=(int)16, rate=(int)44100, channels=(int)2
>         /pipeline0/speexenc0.src: caps = audio/x-speex,
>         streamheader=(buffer)<
>         5370656578202020312e312e31320000000000000000000000000000010000005000000044ac0000020000000400000002000000ffffffff800200000000000001000000000000000000000000000000, 1f000000456e636f6465642077697468204753747265616d6572205370656578656e630000000001 > 
>         /pipeline0/rtpspeexpay0.sink: caps = audio/x-speex,
>         streamheader=(buffer)<
>         5370656578202020312e312e31320000000000000000000000000000010000005000000044ac0000020000000400000002000000ffffffff800200000000000001000000000000000000000000000000, 1f000000456e636f6465642077697468204753747265616d6572205370656578656e630000000001 > 
>         /pipeline0/rtpspeexpay0.src: caps = application/x-rtp,
>         media=(string)audio, payload=(int)110, clock-rate=(int)44100,
>         encoding-name=(string)SPEEX, ssrc=(guint)3347462463,
>         clock-base=(guint)269400180, seqnum-base=(guint)15205,
>         encoding-params=(string)2 
>         /pipeline0/udpsink0.sink: caps = application/x-rtp,
>         media=(string)audio, payload=(int)110, clock-rate=(int)44100,
>         encoding-name=(string)SPEEX, ssrc=(guint)3347462463,
>         clock-base=(guint)269400180, seqnum-base=(guint)15205,
>         encoding-params=(string)2 
>         
>         -- 
>         Felipe Leal Coutinho
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________ 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