aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/playout-grabber-to-framebuffer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/ffmpeg/playout-grabber-to-framebuffer.sh')
-rw-r--r--example-scripts/ffmpeg/playout-grabber-to-framebuffer.sh10
1 files changed, 10 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