FAQ  •  Register  •  Login

Modify Bat

<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Thu Jun 06, 2013 4:57 am

Modify Bat

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
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester
<<

jk50

Serviio lover

Posts: 57

Joined: Mon Jan 09, 2012 9:53 am

Post Thu Jun 06, 2013 9:56 am

Re: Modify Bat

Is the 1280 command working for you ?
<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Thu Jun 06, 2013 10:01 am

Re: Modify Bat

SORRY

Whats the 1280 command please

nothing seems to be happening
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester
<<

jk50

Serviio lover

Posts: 57

Joined: Mon Jan 09, 2012 9:53 am

Post Thu Jun 06, 2013 10:02 am

Re: Modify Bat

Is the first command line working ? Why are you trying to modify it?
Last edited by jk50 on Thu Jun 06, 2013 10:06 am, edited 1 time in total.
<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Thu Jun 06, 2013 10:04 am

Re: Modify Bat

Sorry

im new to batch files

how do I check that out ?

I thought you would have to modify it to fit your pc
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester
<<

jk50

Serviio lover

Posts: 57

Joined: Mon Jan 09, 2012 9:53 am

Post Thu Jun 06, 2013 10:18 am

Re: Modify Bat

Have you got desktop streaming working with the unmodified batch file?
<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Thu Jun 06, 2013 10:21 am

Re: Modify Bat

No
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester
<<

jk50

Serviio lover

Posts: 57

Joined: Mon Jan 09, 2012 9:53 am

Post Thu Jun 06, 2013 10:31 am

Re: Modify Bat

Your problem is not the batch file , leave that alone . Go back to the wiki, check your capture driver settings .
<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Thu Jun 06, 2013 10:34 am

Re: Modify Bat

ok thxs for your help


will have a look at screen capture settings
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester

Return to Serviio Support & Help

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 42 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.