rtp pipeline not in sync !!

Dark_Knight nithinpradeep786 at gmail.com
Fri Aug 17 12:29:13 UTC 2018


i have ran the following rtp pipe line at two ends but streams are going out
of  sync , what shall i do to make it in sync. and some times the pipeline
is also not going to playing state.

*send:*
gst-launch-1.0  \
rtpbin name=rtpbin \
filesrc location=/storage/device/Drake.mkv ! decodebin name=decbin ! \
audioconvert ! avenc_aac ! rtpmp4apay ! queue ! rtpbin.send_rtp_sink_0 \
decbin. ! videoconvert ! x264enc tune=4 ! rtph264pay ! queue !
rtpbin.send_rtp_sink_1 \
rtpbin.send_rtp_src_0 ! udpsink host=127.0.0.1 port=50000 sync=true
async=false \
rtpbin.send_rtcp_src_0 ! udpsink host=127.0.0.1 port=50001 sync=false
async=false \
rtpbin.send_rtp_src_1 ! udpsink host=127.0.0.1 port=50002 sync=true
async=false \
rtpbin.send_rtcp_src_1 ! udpsink host=127.0.0.1 port=50003 sync=false
async=false

*Recieve*
gst-launch-1.0  \
rtpbin name=rtpbin \
udpsrc address=127.0.0.1 port=50000 caps="application/x-rtp, media=audio,
encoding-name=MP4A-LATM, clock-rate=44100" ! rtpbin.recv_rtp_sink_0 \
udpsrc address=127.0.0.1 port=50001 caps="application/x-rtcp" !
rtpbin.recv_rtcp_sink_0 \
udpsrc address=127.0.0.1 port=50002 caps="application/x-rtp, media=video,
encoding-name=H264, clock-rate=90000" ! rtpbin.recv_rtp_sink_1 \
udpsrc address=127.0.0.1 port=50003 caps="application/x-rtcp" !
rtpbin.recv_rtcp_sink_1 \
rtpbin. ! rtpmp4adepay ! queue ! aacparse ! avdec_aac ! audioconvert !
avenc_aac ! matroskamux name=mux !  filesink location=/root/Drake.mkv \
rtpbin. ! rtph264depay ! queue ! h264parse ! avdec_h264 ! videoconvert !
x264enc ! mux.







--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list