aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/av-source-background-loop.sh
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-11-16 23:31:15 +0100
committerMaZderMind <git@mazdermind.de>2015-11-16 23:31:43 +0100
commitd37661d72375bcea603afa0bac16703004923afe (patch)
treeafab0a1f1804fcdddb539418ff0b3adf35a4e551 /example-scripts/av-source-background-loop.sh
parent56b9bd28dcdf048e9513ed3e08c029db4f44cf47 (diff)
move voctocore/scripts to example-scripts
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