aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-08-05 16:43:01 +0200
committerMaZderMind <git@mazdermind.de>2016-08-05 16:43:01 +0200
commitfa3229dc6726fe35fc22f6aeef45b76b12bf5c24 (patch)
tree1818767f73d076740686d4971d1f1ce78c21de9d
parent463ab55b178935d72442b71748786c22f1f0e027 (diff)
adds script to fill all sources with testvideos
-rwxr-xr-xexample-scripts/gstreamer/source-all-videotestsrces.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/example-scripts/gstreamer/source-all-videotestsrces.sh b/example-scripts/gstreamer/source-all-videotestsrces.sh
new file mode 100755
index 0000000..a733107
--- /dev/null
+++ b/example-scripts/gstreamer/source-all-videotestsrces.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+confdir="`dirname "$0"`/../"
+. $confdir/default-config.sh
+if [ -f $confdir/config.sh ]; then
+ . $confdir/config.sh
+fi
+
+workdir=`dirname "$0"`
+$workdir/source-videotestsrc-as-background-loop.sh &
+$workdir/source-videotestsrc-as-cam1.sh &
+$workdir/source-videotestsrc-as-cam2.sh &
+$workdir/source-videotestsrc-as-grabber.sh &
+
+wait