From e15ed7596332db8d84422342d318d26d0f6e7dda Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 15 Mar 2017 00:34:19 +0100 Subject: Initial RTSP scripts. --- bin/recv-gst-rtsp-v-a | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/recv-gst-rtsp-v-a (limited to 'bin/recv-gst-rtsp-v-a') diff --git a/bin/recv-gst-rtsp-v-a b/bin/recv-gst-rtsp-v-a new file mode 100755 index 0000000..1426dc0 --- /dev/null +++ b/bin/recv-gst-rtsp-v-a @@ -0,0 +1,11 @@ +#!/bin/sh + +# Receive live video/audio media + +set -e + +URI=${URI:-${1:-rtsp://127.0.0.1:8554/cam0}} +VSINK=${VSINK:-autovideosink} +ASINK=${ASINK:-autoaudiosink} + +gst-launch-1.0 playbin -v uri="$URI" ${VSINK:+video-sink="$VSINK"} latency=0 ${ASINK:+audio-sink="$ASINK"} -- cgit v1.2.3