gstreamer-pipelines/videosink/compose-playback.sh

17 lines
449 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)MP2T" ! \
rtpmp2tdepay ! \
tsdemux ! \
h264parse ! \
nvv4l2decoder ! \
nvvideoconvert ! \
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