diff options
author | MaZderMind <git@mazdermind.de> | 2015-12-06 20:28:02 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-12-06 20:28:57 +0100 |
commit | 39c8cb3a0e3813ef77c61c601d0028281c04ad2d (patch) | |
tree | 8e4798e9b70732f1c28f180457e962c63f1a20ec /example-scripts/ffmpeg/source-background-loop.sh | |
parent | b2b0e458a59ef8ede58b369a5d5194939021165d (diff) |
[example-scripts] overhaul and test all example scripts, fixes #5
Diffstat (limited to 'example-scripts/ffmpeg/source-background-loop.sh')
-rwxr-xr-x | example-scripts/ffmpeg/source-background-loop.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/example-scripts/ffmpeg/source-background-loop.sh b/example-scripts/ffmpeg/source-background-loop.sh new file mode 100755 index 0000000..e18617f --- /dev/null +++ b/example-scripts/ffmpeg/source-background-loop.sh @@ -0,0 +1,9 @@ +#!/bin/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 - \ + -map 0:v \ + -c:v rawvideo \ + -pix_fmt uyvy422 \ + -f matroska \ + tcp://localhost:16000 |