aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/playout-mix-to-framebuffer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/ffmpeg/playout-mix-to-framebuffer.sh')
-rwxr-xr-xexample-scripts/ffmpeg/playout-mix-to-framebuffer.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/example-scripts/ffmpeg/playout-mix-to-framebuffer.sh b/example-scripts/ffmpeg/playout-mix-to-framebuffer.sh
index 1adcd58..5c1077e 100755
--- a/example-scripts/ffmpeg/playout-mix-to-framebuffer.sh
+++ b/example-scripts/ffmpeg/playout-mix-to-framebuffer.sh
@@ -1,9 +1,16 @@
#!/bin/sh
+
+confdir="`dirname "$0"`/../"
+. $confdir/default-config.sh
+if [ -f $confdir/config.sh ]; then
+ . $confdir/config.sh
+fi
+
fbset -g 1920 1080 1920 1080 32
echo 0 >/sys/class/graphics/fbcon/cursor_blink
ffmpeg \
- -i tcp://localhost:11000 \
+ -i tcp://$MIXHOST:11000 \
-map 0:v \
-c:v rawvideo \
-pix_fmt bgra \