summaryrefslogtreecommitdiff
path: root/voctocore/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/scripts')
-rwxr-xr-xvoctocore/scripts/av-source-avsync-ffmpeg-noloop.sh8
-rwxr-xr-xvoctocore/scripts/av-source-avsync-ffmpeg.sh8
2 files changed, 16 insertions, 0 deletions
diff --git a/voctocore/scripts/av-source-avsync-ffmpeg-noloop.sh b/voctocore/scripts/av-source-avsync-ffmpeg-noloop.sh
new file mode 100755
index 0000000..2183f35
--- /dev/null
+++ b/voctocore/scripts/av-source-avsync-ffmpeg-noloop.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+ffmpeg -y \
+ -i $HOME/avsync.ts \
+ -vf scale=1920x1080 \
+ -c:v rawvideo \
+ -c:a pcm_s16le \
+ -f matroska \
+ tcp://localhost:10000
diff --git a/voctocore/scripts/av-source-avsync-ffmpeg.sh b/voctocore/scripts/av-source-avsync-ffmpeg.sh
new file mode 100755
index 0000000..d4e848b
--- /dev/null
+++ b/voctocore/scripts/av-source-avsync-ffmpeg.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+(while true; do cat $HOME/avsync.ts || exit; done) | ffmpeg -y \
+ -i - \
+ -vf scale=1920x1080 \
+ -c:v rawvideo \
+ -c:a pcm_s16le \
+ -f matroska \
+ tcp://localhost:10000