From 39c8cb3a0e3813ef77c61c601d0028281c04ad2d Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 6 Dec 2015 20:28:02 +0100 Subject: [example-scripts] overhaul and test all example scripts, fixes #5 --- example-scripts/ffmpeg/source-background-loop.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 example-scripts/ffmpeg/source-background-loop.sh (limited to 'example-scripts/ffmpeg/source-background-loop.sh') 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 -- cgit v1.2.3