VLC Batch over SSH (cygwin)

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
ant_thomas
New Cone
New Cone
Posts: 3
Joined: 18 Aug 2010 18:53

VLC Batch over SSH (cygwin)

Postby ant_thomas » 18 Aug 2010 18:58

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Batch over SSH (cygwin)

Postby VLC_help » 19 Aug 2010 17:36

You have whitespace in sout command (,deinterlace} :http), that is not allowed.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 78 guests