diff options
Diffstat (limited to 'example-scripts/ffmpeg/source-nostream-pause-loop.sh')
-rwxr-xr-x | example-scripts/ffmpeg/source-nostream-pause-loop.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/example-scripts/ffmpeg/source-nostream-pause-loop.sh b/example-scripts/ffmpeg/source-nostream-pause-loop.sh new file mode 100755 index 0000000..d88eb9d --- /dev/null +++ b/example-scripts/ffmpeg/source-nostream-pause-loop.sh @@ -0,0 +1,9 @@ +#!/bin/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 - \ + -map 0:v \ + -c:v rawvideo \ + -pix_fmt uyvy422 \ + -f matroska \ + tcp://localhost:17000 |