can receive and send videostream in gstrtpbin in one pipeline and how to do that?

Thomas Greenwood tcdgreenwood at hotmail.com
Wed Mar 6 08:46:51 PST 2013


I haven't done this exactly, but I have received an RTP stream from one endpoint and sent to another successfully.  I think the issue you have is that you're only using a single gstrtpbin that you are trying to use for both directions at once - try using one for sending and another one for receiving.
Perhaps you could also try writing separate sender and receiver commands and then merge them.  When merging you need to ensure that the elements are not named the same thing.

I hope this of some help.
> Date: Tue, 5 Mar 2013 18:20:38 -0800 (PST)
> From: zgd <zhuangzhida1989 at gmail.com>
> To: gstreamer-devel at lists.freedesktop.org
> Subject: can receive and send videostream in  gstrtpbin in one
> 	pipeline and	how to do that?
> Message-ID: <1362536438496-4658910.post at n4.nabble.com>
> Content-Type: text/plain; charset=us-ascii
> 
> Hello, I want to use gstrtpbin to receive and send videostream simultaneously
> . can I use one rtpbin to do this ? I try to do this and the following is my
> pipeline:
>  gst-launch -v gstrtpbin name=rtpbin \
>   v4l2src ! video/x-raw-yuv,width=640,height=480,framerate=15/1 ! videorate
> ! ffmpegcolorspace ! x264enc ! rtph264pay ! rtpbin.send_rtp_sink_0 \
>     rtpbin.send_rtp_src_0 ! udpsink port=5000 host=192.168.1.220
> name=vrtpsink\
>     rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=192.168.1.220 sync=false
> async=false name=vrtcpsink \
>     udpsrc port=5003 name=vrtpsrc ! rtpbin.recv_rtcp_sink_0 \
>     udpsrc port=5000
> caps="application/x-rtp,media=video,clock-rate=90000,encoding-name=H264" !
> rtpbin.recv_rtp_sink_1 rtbin. ! rtph264depay ! ffdec_h264 ! xvimagesink \
>     udpsrc port=5001 ! rtbin.recv_rtcp_sink_1  \
>     rt.send_rtcp_src_1 ! udpsink port=5003 host=192.168.1.220 sync=false
> async=false \
> but it seems that it does't work and I grab the network packet and don't
> find the packet it send. What's the problem? What should I do .
>    Thanks.
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130306/f093eb14/attachment.html>


More information about the gstreamer-devel mailing list