Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save 4poc/858145 to your computer and use it in GitHub Desktop.

Select an option

Save 4poc/858145 to your computer and use it in GitHub Desktop.
http://wiki.videolan.org/Documentation:Modules/screen
http://apiwiki.justin.tv/mediawiki/index.php/Linux_Broadcasting_API
StreamKey: http://www.justin.tv/broadcast/adv_other
$ vlc screen:// --screen-width=1280 --screen-height=1024 --screen-fps 15 -vvv input_stream --sout='#duplicate{dst=display, dst="transcode{venc=x264{keyint=60,idrint=2},vcodec=h264,vb=300,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rtp{dst=127.0.0.1,port=1234,sdp=file:///tmp/vlc.sdp}"}'
$ jtvlc justintvusername streamkey /tmp/vlc.sdp -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment