aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/playout-grabber-to-framebuffer.sh
blob: 849f5baea6f19b1b2166bbf61b366948de816a6c (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:13002 \
  11. -map 0:v \
  12. -c:v rawvideo \
  13. -pix_fmt bgra \
  14. -f fbdev /dev/fb0