Hi experts,
I trying to stream the video using the RTP. when the Server/Client is same it plays fine , But when bothe are diff machine, it looks its in idle state. Pipeline i am using for Client/Server are same server gst-launch -v gstrtpbin name=rtpbin \ filesrc location=filesrc location=R.avi ! decodebin name=dec \ dec. ! queue ! x264enc byte-stream=false bitrate=300 ! rtph264pay ! rtpbin.send_rtp_sink_0 \ rtpbin.send_rtp_src_0 ! udpsink port=5000 host=127.0.0.1 ts-offset=0 name=vrtpsink \ rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=127.0.0.1 sync=false async=false name=vrtcpsink \ udpsrc port=5005 name=vrtpsrc ! rtpbin.recv_rtcp_sink_0 \ dec. ! queue ! audioresample ! audioconvert ! alawenc ! rtppcmapay ! rtpbin.send_rtp_sink_1 \ rtpbin.send_rtp_src_1 ! udpsink port=5002 host=127.0.0.1 ts-offset=0 name=artpsink \ rtpbin.send_rtcp_src_1 ! udpsink port=5003 host=127.0.0.1 sync=false async=false name=artcpsink \ udpsrc port=5007 name=artpsrc ! rtpbin.recv_rtcp_sink_1 client gst-launch -v gstrtpbin name=rtpbin latency=200 \ udpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" port=5000 ! rtpbin.recv_rtp_sink_0 \ rtpbin. ! rtph264depay ! decodebin ! xvimagesink \ udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \ rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=127.0.0.1 sync=false async=false \ udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA" port=5002 ! rtpbin.recv_rtp_sink_1 \ rtpbin. ! rtppcmadepay ! decodebin ! audioconvert ! \ audioresample ! alsasink \ udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 \ rtpbin.send_rtcp_src_1 ! udpsink port=5007 host=127.0.0.1 sync=false async=false Pipeline i am using for Client/Server are different: server /usr/bin/gst-launch-0.10 -v gstrtpbin name=rtpbin \ filesrc location=filesrc location=R.avi ! decodebin name=dec \ dec. ! queue ! x264enc byte-stream=false bitrate=300 ! rtph264pay ! rtpbin.send_rtp_sink_0 \ rtpbin.send_rtp_src_0 ! udpsink port=5000 host=172.29.38.191 ts-offset=0 name=vrtpsink \ rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=172.29.38.191 sync=false async=false name=vrtcpsink \ udpsrc port=5005 name=vrtpsrc ! rtpbin.recv_rtcp_sink_0 \ dec. ! queue ! audioresample ! audioconvert ! alawenc ! rtppcmapay ! rtpbin.send_rtp_sink_1 \ rtpbin.send_rtp_src_1 ! udpsink port=5002 host=172.29.38.191 ts-offset=0 name=artpsink \ rtpbin.send_rtcp_src_1 ! udpsink port=5003 host=172.29.38.191 sync=false async=false name=artcpsink \ udpsrc port=5007 name=artpsrc ! rtpbin.recv_rtcp_sink_1 client gst-launch -v gstrtpbin name=rtpbin latency=200 \ udpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" port=5000 ! rtpbin.recv_rtp_sink_0 \ rtpbin. ! rtph264depay ! decodebin ! xvimagesink \ udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \ rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=172.29.38.64 sync=false async=false \ udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA" port=5002 ! rtpbin.recv_rtp_sink_1 \ rtpbin. ! rtppcmadepay ! decodebin ! audioconvert ! \ audioresample ! alsasink \ udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 \ rtpbin.send_rtcp_src_1 ! udpsink port=5007 host=172.29.38.64 sync=false async=false Please help me to resolve my issue. And also I would like to know ways to debug the pipeline. Thanks in Advance, Dakshin. |
Free forum by Nabble | Edit this page |