summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-02-02 16:16:55 +0100
committerMaZderMind <git@mazdermind.de>2016-02-02 16:16:55 +0100
commit6c9a0acc9a0eefa2e8292f3e79baf13f41e9ea3b (patch)
tree8a0580732d7672bc37debb6f9efea5006d3e9c75
parent63767175114636a838e0fc0d31ce0251929e45f8 (diff)
add missing ffmpeg options
-rwxr-xr-xexample-scripts/ffmpeg/source-background-loop.sh2
-rwxr-xr-xexample-scripts/ffmpeg/source-nostream-pause-loop.sh2
2 files changed, 2 insertions, 2 deletions
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]
" \