Page 1 of 1

VLC Batch over SSH (cygwin)

Posted: 18 Aug 2010 18:58
by ant_thomas
Hi,

I'm trying to execute a script to load VLC with some certain parameters over SSH on XP. I currently have a batch file when executed on that system works great...

Code: Select all

"c:\Program Files\VideoLAN\VLC\vlc.exe" http://192.168.1.67:8080/tv.asf :sout=#transcode{vcodec=h264,vb=300,scale=1,width=600,fps=25,acodec=mp4a,ab=96,channels=2,samplerate=48000,deinterlace}:http{mux=ffmpeg{mux=flv},dst=:5555/tv.asf} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
When executing over SSH I made some adjustments to try to get it to work...

Code: Select all

/cygdrive/c/Program\ Files/VideoLAN/VLC/vlc.exe http://192.168.1.67:8080/tv.asf :sout=#transcode{vcodec=h264,vb=300,scale=1,width=600,fps=25,acodec=mp4a,ab=96,channels=2,samplerate=48000,deinterlace} :http{mux=ffmpeg{mux=flv},dst=:5555/tv.asf} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
This batch file opens VLC but doesn't seem to feed the parameters to it. Like the original batch file did.

Any ideas?




Also, this happily opens VLC and plays the target stream...

Code: Select all

/cygdrive/c/Program\ Files/VideoLAN/VLC/vlc.exe http://192.168.1.67:8080/tv.asf

Re: VLC Batch over SSH (cygwin)

Posted: 19 Aug 2010 17:36
by VLC_help
You have whitespace in sout command (,deinterlace} :http), that is not allowed.