summaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-source-background-loop.sh
diff options
context:
space:
mode:
authorMaZderMind <peter@mazdermind.de>2015-08-29 13:02:59 +0200
committerMaZderMind <peter@mazdermind.de>2015-08-29 13:06:03 +0200
commitc0587beb7193469871d3a3911ceacb9f71044b2c (patch)
tree72ce07564d3845bb3cae0353be19a143b30985a2 /voctocore/scripts/av-source-background-loop.sh
parent079c0cc1aa089c865768b232003570fa73fc52fa (diff)
shell-pipe-based background-loop script
Diffstat (limited to 'voctocore/scripts/av-source-background-loop.sh')
-rwxr-xr-xvoctocore/scripts/av-source-background-loop.sh6
1 files changed, 6 insertions, 0 deletions
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