aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/av-source-background-loop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/av-source-background-loop.sh')
-rwxr-xr-xexample-scripts/av-source-background-loop.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/example-scripts/av-source-background-loop.sh b/example-scripts/av-source-background-loop.sh
new file mode 100755
index 0000000..8b16487
--- /dev/null
+++ b/example-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