summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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