Page 1 of 1

VLC from php --> Linux versus Windows

Posted: 03 Sep 2006 17:19
by aux
Hi,

I have 2 questions

I have a php-script running on linux starting VLC like this:
exec("/usr/local/bin/vlc /-vvv --daemon mms://some.website.com/stream :sout='#transcode{acodec=mpga,vcodec=mpgv,vb=1000,width=704,height=576,ab=192,channels=2}:std{access=http,mux=ts,url=:6789}'");

I'm planning to make script generic so people can use it on their windows machine. Anyone an idea of how to make this line for windows?

The second question:
I stop vlc like this:
exec ("killall vlc")
but I Think it is quite a hard way to kill the process. Isn't there a command to say the vlc daemon to stop?

Thanks in advance.

Aux

Posted: 10 Sep 2006 00:41
by aux
I found out that running this from command-line like:
vlc.exe /-vvv --daemon mms://some.website.com/stream :sout='#transcode{acodec=mpga,vcodec=mpgv,vb=1000,width=704,height=576,ab=192,channels=2}:std{access=http,mux=ts,url=:6789}'");

Gives me blue screens :(

Posted: 17 Sep 2006 01:24
by aux
Took some hard work... but it's solved now..