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
talk:stream_pc [2012/01/13 09:53]
hiviking created
talk:stream_pc [2012/01/18 15:12] (current)
hiviking
Line 14: Line 14:
    Or setup recording from the Wave input if your computer allows it, and select your sound card as the audio device.    Or setup recording from the Wave input if your computer allows it, and select your sound card as the audio device.
  
-2. Resize the video you wish to stream to a size close to 640 x 360 pixels on the desktop.+2. Resize the video you wish to stream to a size close to 640 x 360 pixels on the desktop (see **Tip** below).
    Place the Screen Capture Recorder window over the video as explained above.    Place the Screen Capture Recorder window over the video as explained above.
  
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. 
 + 
 +**Tip**: If you are using Google Chrome the zoom step is very large and cannot be changed. There is, however, a very convenient extension called zoomWheel, that will let you zoom with your mousewheel in steps down to 1%. You can add it to Google Chrome with one click at http://www.chromeextensions.org/appearance-functioning/zoomwheel/. With this extension you can always make your video appear with the size you want. 
 + 
 +------------------------------------ Change log -------------------------------------- 
 + 
 +2012-01-14: Updated the command line and final comment. 
 +2012-01-18: Added comment about Google Chrome zooming. 
 + 
  
  
talk/stream_pc.1326448438.txt.gz · Last modified: 2012/01/13 09:53 by hiviking