diff options
| author | MaZderMind <peter@mazdermind.de> | 2015-08-29 13:02:59 +0200 |
|---|---|---|
| committer | MaZderMind <peter@mazdermind.de> | 2015-08-29 13:06:03 +0200 |
| commit | c0587beb7193469871d3a3911ceacb9f71044b2c (patch) | |
| tree | 72ce07564d3845bb3cae0353be19a143b30985a2 | |
| parent | 079c0cc1aa089c865768b232003570fa73fc52fa (diff) | |
shell-pipe-based background-loop script
| -rwxr-xr-x | voctocore/scripts/av-source-background-loop.sh | 6 |
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 |
