aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/playout-mix-to-framebuffer.sh
blob: 5c1077ee3724172b9a44e8fc53c2118650ef8e5f (plain)
  1. #!/bin/sh
  2. confdir="`dirname "$0"`/../"
  3. . $confdir/default-config.sh
  4. if [ -f $confdir/config.sh ]; then
  5. . $confdir/config.sh
  6. fi
  7. fbset -g 1920 1080 1920 1080 32
  8. echo 0 >/sys/class/graphics/fbcon/cursor_blink
  9. ffmpeg \
  10. -i tcp://$MIXHOST:11000 \
  11. -map 0:v \
  12. -c:v rawvideo \
  13. -pix_fmt bgra \
  14. -f fbdev /dev/fb0