gstreamer-pipelines/compose-playback.sh
Artur Mukhamadiev 1211611cac more-examples
2025-09-11 16:21:50 +03:00

16 lines
474 B
Bash

#!/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)MP2T" ! \
rtpmp2tdepay ! \
tsdemux ! \
h264parse ! \
avdec_h264 ! \
videoconvert ! \
tee name=t \
\
t. ! queue ! videocrop left=0 right=1920 top=0 bottom=0 ! \
autovideosink sync=false \
\
t. ! queue ! videocrop left=1920 right=0 top=0 bottom=0 ! \
autovideosink sync=false