Problem in programming gstrtpbin pipeline

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem in programming gstrtpbin pipeline

Puneeth
Hi All,

         I m facing some problem to write a program for below pipeline.

sudo gst-launch --gst-debug=2  gstrtpbin name=rtpbin udpsrc port=5000 \
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-string=(string)H264,pt=(int)96" \
! rtpbin.recv_rtp_sink_0 rtpbin. ! queue max-size-buffers=150 ! rtph264depay ! h264parse access-unit=1 ! ffdec_h264 ! \
ffmpegcolorspace ! ximagesink \
udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! \
udpsink host=172.16.10.246 port=5005 sync=false async=false \
udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)44100,encoding-name=(string)AC3,pt=(int)96" port=5002 ! \
 rtpbin.recv_rtp_sink_1 rtpbin. ! queue max-size-buffers=150 ! rtpac3depay ! ac3parse ! ffdec_ac3 ! queue ! audioconvert ! volume volume=10 ! \
audioresample quality=10 ! alsasink udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 rtpbin.send_rtcp_src_1 ! \
udpsink port=5007 host=172.16.10.246 sync=false async=false

I m confused to link rtpbin. to queue i tried to connect recv_rtp_src_0 to queue instead of rtpbin. in pipeline but not able to succeed may be there is some other way to link those pads so kindly help me to sort out this problem suggest me any API for this, thanks in advance.