Cleanup
This commit is contained in:
parent
b32876ebbe
commit
80e62c0ef4
|
@ -17,7 +17,8 @@ export DISPLAY=:0
|
||||||
(
|
(
|
||||||
while true; do
|
while true; do
|
||||||
gst-launch-1.0 -e rtpbin name=b rtp-profile=avpf do-retransmission=true \
|
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 \
|
udpsrc address=:: port=5003 ! b.recv_rtcp_sink_0 \
|
||||||
b.send_rtcp_src_0 ! udpsink host=cam1 port=5002 sync=false async=false &
|
b.send_rtcp_src_0 ! udpsink host=cam1 port=5002 sync=false async=false &
|
||||||
GSTPID=$!
|
GSTPID=$!
|
||||||
|
@ -62,7 +63,8 @@ PIDS="$PIDS $!"
|
||||||
(
|
(
|
||||||
while true; do
|
while true; do
|
||||||
gst-launch-1.0 -e rtpbin name=b rtp-profile=avpf do-retransmission=true \
|
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 \
|
udpsrc address=:: port=5006 ! b.recv_rtcp_sink_0 \
|
||||||
b.send_rtcp_src_0 ! udpsink host=cam2 port=5005 sync=false async=false &
|
b.send_rtcp_src_0 ! udpsink host=cam2 port=5005 sync=false async=false &
|
||||||
GSTPID=$!
|
GSTPID=$!
|
||||||
|
|
Loading…
Reference in New Issue