summaryrefslogtreecommitdiff
path: root/example-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts')
-rwxr-xr-xexample-scripts/control-server/generate-cut-list.py1
-rwxr-xr-xexample-scripts/ffmpeg/source-background-loop.sh2
-rwxr-xr-xexample-scripts/ffmpeg/source-nostream-pause-loop.sh2
-rwxr-xr-xexample-scripts/gstreamer/source-background-loop.py1
4 files changed, 4 insertions, 2 deletions
diff --git a/example-scripts/control-server/generate-cut-list.py b/example-scripts/control-server/generate-cut-list.py
index 23a0b33..959ab58 100755
--- a/example-scripts/control-server/generate-cut-list.py
+++ b/example-scripts/control-server/generate-cut-list.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
import socket
import datetime
import sys
diff --git a/example-scripts/ffmpeg/source-background-loop.sh b/example-scripts/ffmpeg/source-background-loop.sh
index 3613862..d88164d 100755
--- a/example-scripts/ffmpeg/source-background-loop.sh
+++ b/example-scripts/ffmpeg/source-background-loop.sh
@@ -2,7 +2,7 @@
. `dirname "$0"`/../config.sh
wget -nc -O /tmp/bg.ts http://c3voc.mazdermind.de/testfiles/bg.ts
while true; do cat /tmp/bg.ts || exit 1; done |\
- ffmpeg -re -i - \
+ ffmpeg -y -nostdin -re -i - \
-filter_complex "
[0:v] scale=$WIDTH:$HEIGHT,fps=$FRAMERATE [v]
" \
diff --git a/example-scripts/ffmpeg/source-nostream-pause-loop.sh b/example-scripts/ffmpeg/source-nostream-pause-loop.sh
index 69ac366..d65ffb7 100755
--- a/example-scripts/ffmpeg/source-nostream-pause-loop.sh
+++ b/example-scripts/ffmpeg/source-nostream-pause-loop.sh
@@ -2,7 +2,7 @@
. `dirname "$0"`/../config.sh
wget -nc -O /tmp/pause.ts http://c3voc.mazdermind.de/testfiles/pause.ts
while true; do cat /tmp/pause.ts || exit 1; done |\
- ffmpeg -re -i - \
+ ffmpeg -y -nostdin -re -i - \
-filter_complex "
[0:v] scale=$WIDTH:$HEIGHT,fps=$FRAMERATE [v]
" \
diff --git a/example-scripts/gstreamer/source-background-loop.py b/example-scripts/gstreamer/source-background-loop.py
index 8b65088..79ffbad 100755
--- a/example-scripts/gstreamer/source-background-loop.py
+++ b/example-scripts/gstreamer/source-background-loop.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
import sys, gi, signal
gi.require_version('Gst', '1.0')