User Tools

Site Tools


talk:stream_pc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
talk:stream_pc [2012/01/13 09:53]
hiviking created
talk:stream_pc [2012/01/14 17:06]
hiviking
Line 39: Line 39:
  
 <nowiki> <nowiki>
-4. In the ServioConsole you add this Online Source as a Live Stream:  http://localhost:8080/go.ts, with a Display Name of e.g. Desktop Stream.+4. In the ServioConsole you add this Online Source as a Live Stream:  http://@localhost:8080/go.ts, with a Display Name of e.g. Desktop Stream.
 </nowiki> </nowiki>
  
-I tried to use the command line copied from 3c and 3l and adapted to my system like this:+Using the command line options from steps 3c and 3l it should be possible to create a batch file, so that you can start VLC and your stream with a few clicks in the future. The exact layout of the command line is very critical. By combining the format from the article with the options from 3c and 3l I finally managed to get a working command line:
  
 <nowiki> <nowiki>
-"F:\Programs\VLC\vlc.exe" -vvv "dshow:// --dshow-vdev=screen-capture-recorder --dshow-adev=Virtual Cable 1 --dshow-aspect-ratio=16\:9 --dshow-fps=0 --dshow-caching=2000 --sout=#transcode{vcodec=h264,vb=600,fps=25,scale=1,acodec=mp4a,ab=96,channels=2,samplerate=44100}:http{dst=:8080/go.ts} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep"+"F:\Programs\VLC\vlc.exe" -vvv dshow:// --dshow-vdev=screen-capture-recorder --dshow-adev="Virtual Cable 1--dshow-aspect-ratio=16\:9 --dshow-fps=0 --dshow-caching=2000 --sout=#transcode{vcodec=h264,vb=1000,fps=25,scale=1,acodec=mp4a,ab=96,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8080/go.ts} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep
 </nowiki> </nowiki>
  
-Interestingly, got the image from my webcam. The same thing happened with the command line from the article.+have increased the bitrate of the video to 1000 as it does not seem to affect my CPU load appreciably. You may increase it more if you like, but 1000 kbps H264 actually provides a better quality than 10000 kbps MPEG2. The CPU load difference on my computer is 90-95% versus 60-65%, so if your CPU is too slow or you need the extra capacity you should use MPEG2. In my case the key to avoiding jerky video was to reduce the size of the streamed desktop area. 
 + 
 +------------------------------------ Change log -------------------------------------- 
 + 
 +2012-01-14: Updated the command line and final comment. 
 + 
 + 
  
  
talk/stream_pc.txt · Last modified: 2012/01/18 15:12 by hiviking