16 lines
533 B
Bash
Executable File
16 lines
533 B
Bash
Executable File
#!/bin/bash
|
|
|
|
gst-launch-1.0 udpsrc address=239.239.239.3 port=2055 ! \
|
|
"application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264" ! \
|
|
rtph264depay ! \
|
|
capsfilter caps='video/x-h264, width=3840,height=1080' ! \
|
|
avdec_h264 ! \
|
|
capsfilter caps='video/x-raw, width=3840,height=1080' ! \
|
|
tee name=t \
|
|
\
|
|
t. ! queue leaky=2 ! videocrop left=0 right=1920 top=0 bottom=0 ! \
|
|
autovideosink sync=false \
|
|
\
|
|
t. ! queue leaky=2 ! videocrop left=1920 right=0 top=0 bottom=0 ! \
|
|
autovideosink sync=false
|