Skip to content

Instantly share code, notes, and snippets.

@mikah13
Forked from rsheldiii/twitchitup.sh
Created June 10, 2018 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikah13/981b6db48694a21e234423122052ca45 to your computer and use it in GitHub Desktop.
Save mikah13/981b6db48694a21e234423122052ca45 to your computer and use it in GitHub Desktop.
Watch twitch screens on a framebuffer on a raspberry pi with mplayer2
#!/usr/bin/bash
# after running whichever modprobe fbtft_device command
sudo SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb1 livestreamer twitch.tv/$1 mobile --yes-run-as-root -v -p 'mplayer --nosound --noass --no-autosub --no-lirc --no-mouseinput --no-mouseinput -vo sdl'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment