[gst-devel] Issue in vorbisdec

Wim Taymans wim.taymans at gmail.com
Thu Feb 10 14:05:57 CET 2011


On 02/10/2011 02:02 PM, Puneeth wrote:
>
> Hi All,
>
>           I m facing some problem when i  m using vorbis decoder with
> gstrtpbin with the below pipeline.
> Client
>         sudo gst-launch gstrtpbin name=rtpbin udpsrc
> caps="application/x-rtp,channels=1,media=(string)audio,clock-rate=(int)44100,encoding-name=(string)VORBIS,payload=(int)96,encoding-params=(string)1"
> port=5002 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtpvorbisdepay ! vorbisdec !
> audioconvert ! volume volume=10 ! audioresample quality=10 ! alsasink udpsrc
> port=5003 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink
> port=5007 host=127.0.0.1 sync=false async=false
>

You are missing the configuration string in the RTP caps.

Wim


> WARNING: from element
> /GstPipeline:pipeline0/GstRtpVorbisDepay:rtpvorbisdepay0: Could not decode
> stream.
> Additional debug info:
> gstrtpvorbisdepay.c(584): gst_rtp_vorbis_depay_process ():
> /GstPipeline:pipeline0/GstRtpVorbisDepay:rtpvorbisdepay0:
> Could not switch codebooks
>
> Server
>
> sudo gst-launch gstrtpbin name=rtpbin alsasrc ! audioconvert ! audioresample
> ! vorbisenc ! rtpvorbispay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 !
> udpsink port=5002 host=172.16.10.71 rtpbin.send_rtcp_src_0 ! udpsink
> port=5003 host=172.16.10.71 sync=false async=false udpsrc port=5007 !
> rtpbin.recv_rtcp_sink_0
>
> Please kindly anyone help me to resolve this issue. But i m able to listen
> with the below pipeline.
>
> gst-launch alsasrc ! audioconvert ! vorbisenc ! rtpvorbispay !
> rtpvorbisdepay ! vorbisdec ! audioconvert ! alsasink
>
> Thank u in advance.


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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