From 768a7b5b2df3948dabe2cd6ad99aa397902ed5f1 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Fri, 12 Aug 2016 22:05:31 +0200 Subject: adds example-scripts for framebuffer-playout, fixes #70 --- example-scripts/ffmpeg/playout-grabber-to-framebuffer.sh | 10 ++++++++++ example-scripts/ffmpeg/playout-mix-to-framebuffer.sh | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 example-scripts/ffmpeg/playout-grabber-to-framebuffer.sh create mode 100644 example-scripts/ffmpeg/playout-mix-to-framebuffer.sh 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 -- cgit v1.2.3