Forked from jessor/linux live screencasting with justin.tv
Created
March 7, 2011 06:20
-
-
Save 4poc/858145 to your computer and use it in GitHub Desktop.
Revisions
-
Matthias -apoc- Hecker revised this gist
Mar 7, 2011 . 1 changed file with 8 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,20 +1,23 @@ #!/bin/bash # # http://wiki.videolan.org/VLC_command-line_help # 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 # cvlc screen:// \ --screen-width 1356 \ --screen-height 1016 \ --screen-top 845 \ --screen-fps 10 \ --screen-caching 500 \ :input-slave="alsa://hw:0,2" \ -v input_stream \ --sout='#duplicate{dst="transcode{scale=1,width=872,height=702,venc=x264{keyint=60},vcodec=h264,vb=800,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rtp{dst=127.0.0.1,port=1234,sdp=file:///tmp/vlc.sdp}"}' \ --sout-transcode-threads=2 \ & sleep 5 jtvlc justintvusername streamkey /tmp/vlc.sdp -
jessor revised this gist
Mar 7, 2011 . 1 changed file with 18 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,20 @@ #!/bin/bash # # 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 630 \ --screen-height 354 \ --screen-top 845 \ --screen-fps 10 \ --screen-caching 500 \ :input-slave="alsa://hw:0,2" \ -v 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}"}' & sleep 10 jtvlc justintvusername streamkey /tmp/vlc.sdp -
jessor created this gist
Mar 5, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ 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