Page 1 of 1

Modify Bat

PostPosted: Thu Jun 06, 2013 4:57 am
by siriusblack
Hi

can you please modify this Bat


StreamDesktop.bat

@echo off

:This bat is used to stream the desktop with VLC using HTTP
:A corresponding player must be started using HTTP

"C:\Programs\VLC TEST 1.1.10\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="Line 1 (Virtual Audio Cable)" :dshow-caching=2000

:Exit


My Vlc player is in C:\Program Files\vlc 1.1.10-win32\VLC

AUDIO - virtual audio cable

VIDEO - screen capture recorder

MY SCREEN RESOULITION - 1600 X 900

I have tried this


StreamDesktop.bat

@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\vlc 1.1.10-win32\VLC.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=10000,fps=24,scale=0.5,width=1600,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="Line 1 (Virtual Audio Cable)" :dshow-caching=2000

:Exit

cant get it to work, when I click on the bat it flashes up with command screen + that's all
it does

Thanks really appreciate it

Re: Modify Bat

PostPosted: Thu Jun 06, 2013 9:56 am
by jk50
Is the 1280 command working for you ?

Re: Modify Bat

PostPosted: Thu Jun 06, 2013 10:01 am
by siriusblack
SORRY

Whats the 1280 command please

nothing seems to be happening

Re: Modify Bat

PostPosted: Thu Jun 06, 2013 10:02 am
by jk50
Is the first command line working ? Why are you trying to modify it?

Re: Modify Bat

PostPosted: Thu Jun 06, 2013 10:04 am
by siriusblack
Sorry

im new to batch files

how do I check that out ?

I thought you would have to modify it to fit your pc

Re: Modify Bat

PostPosted: Thu Jun 06, 2013 10:18 am
by jk50
Have you got desktop streaming working with the unmodified batch file?

Re: Modify Bat

PostPosted: Thu Jun 06, 2013 10:21 am
by siriusblack
No

Re: Modify Bat

PostPosted: Thu Jun 06, 2013 10:31 am
by jk50
Your problem is not the batch file , leave that alone . Go back to the wiki, check your capture driver settings .

Re: Modify Bat

PostPosted: Thu Jun 06, 2013 10:34 am
by siriusblack
ok thxs for your help


will have a look at screen capture settings