Skip to content

Instantly share code, notes, and snippets.

@rsheldiii
Created September 20, 2016 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rsheldiii/d31428a591958a15fd0234df5dcdd14a to your computer and use it in GitHub Desktop.
Save rsheldiii/d31428a591958a15fd0234df5dcdd14a 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