gstreamer-pipelines/gstPlayback.sh

18 lines
595 B
Bash
Executable File

#!/bin/bash
# Set environment variables for GStreamer latency tracing.
# Note: We are using a different log file name to avoid overwriting the sender's log.
GST_DEBUG_COLOR_MODE=off \
GST_TRACERS="latency(flags=pipeline+element)" \
GST_DEBUG="GST_TRACER:7" \
GST_DEBUG_FILE=latency_traces_receiver.log \
gst-launch-1.0 -v \
udpsrc uri="udp://239.239.239.3:8889" ! \
"application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T" ! \
rtpmp2tdepay ! \
tsdemux latency=0 ! \
h264parse ! \
avdec_h264 qos=false ! \
videoconvert ! \
autovideosink sync=false