From 80e62c0ef4b2bd47ea3027a6a0cb87513b1cf40c Mon Sep 17 00:00:00 2001 From: livecam Date: Fri, 14 Aug 2020 20:11:34 +0200 Subject: [PATCH] Cleanup --- terminal1/start.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/terminal1/start.sh b/terminal1/start.sh index 2f5d774..ed2ecd3 100755 --- a/terminal1/start.sh +++ b/terminal1/start.sh @@ -17,7 +17,8 @@ export DISPLAY=:0 ( while true; do gst-launch-1.0 -e rtpbin name=b rtp-profile=avpf do-retransmission=true \ - udpsrc address=:: port=5001 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! b.recv_rtp_sink_0 b. ! rtpulpfecdec ! rtph264depay ! decodebin ! videoconvert ! videoscale ! video/x-raw,width=1024,height=786 ! glimagesink \ + udpsrc address=:: port=5001 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! b.recv_rtp_sink_0 \ + b. ! rtpulpfecdec ! rtph264depay ! decodebin ! videoconvert ! videoscale ! video/x-raw,width=1024,height=786 ! glimagesink \ udpsrc address=:: port=5003 ! b.recv_rtcp_sink_0 \ b.send_rtcp_src_0 ! udpsink host=cam1 port=5002 sync=false async=false & GSTPID=$! @@ -62,7 +63,8 @@ PIDS="$PIDS $!" ( while true; do gst-launch-1.0 -e rtpbin name=b rtp-profile=avpf do-retransmission=true \ - udpsrc address=:: port=5004 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! b.recv_rtp_sink_0 b. ! rtpulpfecdec ! rtph264depay ! decodebin ! videoconvert ! videoscale ! video/x-raw,width=1024,height=786 ! xvimagesink \ + udpsrc address=:: port=5004 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! b.recv_rtp_sink_0 \ + b. ! rtpulpfecdec ! rtph264depay ! decodebin ! videoconvert ! videoscale ! video/x-raw,width=1024,height=786 ! xvimagesink \ udpsrc address=:: port=5006 ! b.recv_rtcp_sink_0 \ b.send_rtcp_src_0 ! udpsink host=cam2 port=5005 sync=false async=false & GSTPID=$!