aboutsummaryrefslogtreecommitdiff
path: root/example-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts')
-rw-r--r--example-scripts/ffmpeg/playout-grabber-to-framebuffer.sh10
-rw-r--r--example-scripts/ffmpeg/playout-mix-to-framebuffer.sh10
2 files changed, 20 insertions, 0 deletions
diff --git a/example-scripts/ffmpeg/playout-grabber-to-framebuffer.sh b/example-scripts/ffmpeg/playout-grabber-to-framebuffer.sh
new file mode 100644
index 0000000..9369821
--- /dev/null
+++ b/example-scripts/ffmpeg/playout-grabber-to-framebuffer.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+fbset -g 1920 1080 1920 1080 32
+echo 0 >/sys/class/graphics/fbcon/cursor_blink
+
+ffmpeg \
+ -i tcp://localhost:13002 \
+ -map 0:v \
+ -c:v rawvideo \
+ -pix_fmt bgra \
+ -f fbdev /dev/fb0
diff --git a/example-scripts/ffmpeg/playout-mix-to-framebuffer.sh b/example-scripts/ffmpeg/playout-mix-to-framebuffer.sh
new file mode 100644
index 0000000..1adcd58
--- /dev/null
+++ b/example-scripts/ffmpeg/playout-mix-to-framebuffer.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+fbset -g 1920 1080 1920 1080 32
+echo 0 >/sys/class/graphics/fbcon/cursor_blink
+
+ffmpeg \
+ -i tcp://localhost:11000 \
+ -map 0:v \
+ -c:v rawvideo \
+ -pix_fmt bgra \
+ -f fbdev /dev/fb0