diff --git a/scripts/gstreamer.sh b/scripts/gstreamer.sh index 0d07a67..2c72c0b 100644 --- a/scripts/gstreamer.sh +++ b/scripts/gstreamer.sh @@ -33,3 +33,9 @@ gst-launch-1.0 -vt \ # side-by-side video gst-launch-1.0 -e v4l2src device=/dev/video0 ! image/jpeg,width=1280,height=720,framerate=30/1 ! jpegdec ! videobox left=320 right=320 ! videomixer name=mix sink_0::xpos=0 sink_1::xpos=640 ! autovideosink videotestsrc pattern=smpte ! "video/x-raw,format=BGRx,width=1280,height=720" ! videobox left=320 right=320 ! mix. + +# RTP multiplexing based on ssrc +# send: +gst-launch-1.0 -vvtcm audiotestsrc ! rtpgstpay config-interval=1 ssrc=12345 ! udpsink host=127.0.0.1 port=5000 +# receive: +gst-launch-1.0 -vvtcm udpsrc port=5000 caps="application/x-rtp,media=application,clock-rate=90000,encoding-name=X-GST" ! rtpssrcdemux ! rtpgstdepay ! autoaudiosink