From c0587beb7193469871d3a3911ceacb9f71044b2c Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 29 Aug 2015 13:02:59 +0200 Subject: shell-pipe-based background-loop script --- voctocore/scripts/av-source-background-loop.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 voctocore/scripts/av-source-background-loop.sh (limited to 'voctocore') diff --git a/voctocore/scripts/av-source-background-loop.sh b/voctocore/scripts/av-source-background-loop.sh new file mode 100755 index 0000000..2795798 --- /dev/null +++ b/voctocore/scripts/av-source-background-loop.sh @@ -0,0 +1,6 @@ +while true; do cat ~/bg.ts || exit 1; done |\ + ffmpeg -re -i - \ + -map 0:v \ + -c:v rawvideo \ + -f matroska \ + tcp://localhost:16000 -- cgit v1.2.3