Re: streaming desk top to tv
Posted: Mon Sep 17, 2012 7:18 pm
that looks ok, add the URL to the console as a live stream. You might have to lower the resolution so that your laptop can cope.
@echo off
:This bat is used to stream the desktop with VLC using HTTP
:A corresponding player must be started using HTTP
"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=10000,fps=24,scale=0.5,width=1280,acodec=mp3,ab=192,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8081} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep :dshow-vdev=screen-capture-recorder :dshow-adev=virtual-audio-capturer :dshow-caching=2000
:Exit
Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec that was used to compress the file.
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=10000,fps=25,width=1920,acodec=mp3,ab=192,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8081} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep :dshow-vdev=screen-capture-recorder :dshow-adev=virtual-audio-capturer :dshow-caching=20000 :dshow-aspect-ratio=16\:9
technolog wrote:I'm afraid my laptop's just gone bang. Hopefully I'll be back to pester you further when I'm in possession of a new one. Thanks for your help so far.
By default, it is supposed to capture the whole screen. For some reason however on initial install I got a lot of static. If this happens to you, run the “configuration_setup_utility\edit_config.bat” and set the height and width to your screen's maximum dimensions, or edit the registry keys as I did. You must however use the exact maximum dimensions recognized by your screen driver, In my case 1366 x 768 regardless of the resolution my screen was set to display which is 1280×720. (Right click your Desktop and click “Screen resolution” to see your current and maximum setable resolutions). Other users have reported the need to set the dimensions that their screen is set to display.
@echo off
:This bat is used to stream the desktop with VLC using HTTP
:A corresponding player must be started using HTTP
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=10000,fps=24,scale=0.5,width=1280,acodec=mp3,ab=192,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8081} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep :dshow-vdev=screen-capture-recorder :dshow-adev=virtual-audio-capturer :dshow-caching=2000
:Exit
jhb50 wrote:I suggest configure with everything blank and Change your screen resolution to 1280x720. Leave the bat as is.