can receive and send videostream in gstrtpbin in one pipeline and how to do that?
zgd
zhuangzhida1989 at gmail.com
Tue Mar 5 18:20:38 PST 2013
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.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/can-receive-and-send-videostream-in-gstrtpbin-in-one-pipeline-and-how-to-do-that-tp4658910.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list