[gst-devel] streaming to two different receivers with gstrtpbin
Marlène Hildebrand-Ehrhardt
marlene.hildebrandehrhardt at gmail.com
Mon Jun 8 15:27:18 CEST 2009
Hi!
I need some help for a streaming pipeline. I have a video stream, and I
would like to send it to two different receivers, using RTP/RTCP and
gstrtpbin. For the moment, I have a pipeline like this :
./gst-launch gstrtpbin name=rtpbin udpsrc port=5000 caps="application/x-rtp,
media=(string)video" ! .recv_rtp_sink gstrtpsession name=session
.recv_rtp_src ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
port=6000 sync=false async=false host=127.0.0.1 udpsrc port=5001
caps="application/x-rtcp" ! rtpbin.recv_rtcp_sink_0 rtpbin.recv_rtcp_src_0 !
rtpbin.send_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=6001
host=127.0.0.1 sync=false async=false udpsrc port=6005 !
rtpbin.recv_rtcp_sink_2 rtpbin.recv_rtcp_src_2 ! rtpbin.send_rtcp_sink_2
rtpbin.send_rtcp_src_2 ! udpsink port=5005 sync=false async=false
host=127.0.0.1 sync=false async=false rtpbin. ! rtpbin.recv_rtp_sink_1
rtpbin.recv_rtp_src_1 ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 !
udpsink port=7000 host=127.0.0.1 sync=false async=false
rtpbin.recv_rtcp_src_1 ! rtpbin.send_rtcp_sink_1 rtpbin.send_rtcp_src_1 !
udpsink port=7001 host=127.0.0.1 sync=false async=false udpsrc port=7005 !
rtpbin.recv_rtcp_sink_3 rtpbin.recv_rtcp_src_3 ! rtpbin.send_rtcp_sink_3
rtpbin.send_rtcp_src_3 ! udpsink port=5006 host=127.0.0.1 sync=false
async=false
The first receiver displays well the video stream, but it seems like there's
a problem with the second part of the pipeline, because the second receiver
is launched, but doesn't display anything.
Could anybody help?
Thank you by advance!
Marlène Hildebrand-Ehrhardt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090608/57eb943a/attachment.htm>
More information about the gstreamer-devel
mailing list