VLC from php --> Linux versus Windows
Posted: 03 Sep 2006 17:19
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
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