aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-08-12 22:05:31 +0200
committerMaZderMind <git@mazdermind.de>2016-08-12 22:05:31 +0200
commit768a7b5b2df3948dabe2cd6ad99aa397902ed5f1 (patch)
treed3c4bcc037e9987bcbdb988b55ae346cd3790992 /example-scripts/ffmpeg
parent0195680851cce0bc796ce9bb7c471131baf7b913 (diff)
adds example-scripts for framebuffer-playout, fixes #70
Diffstat (limited to 'example-scripts/ffmpeg')
-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