Page 1 of 1

Need help about running vlc with apache webserver

Posted: 03 Jun 2005 03:12
by 2stream
Hello,

I am running a linux with apache - php webserver. Now i wanna
start running vlc with a PHP script (exec command) .

But the problem is that if you wanna run vlc on remote he asks
for a interface. Normally when you run vlc local, it will start with
a GUI (if you enabled it when you compiled it or else with console)

this is the error output of my PHP script:

[00000001] main vlc warning: config file /var/www/.vlc/vlcrc does not exist yet
[00000001] main vlc warning: config file /var/www/.vlc/vlcrc does not exist yet
[00000001] main vlc warning: config file /var/www/.vlc/vlcrc does not exist yet
[00000001] main vlc warning: config file /var/www/.vlc/vlcrc does not exist yet
[00000021] main interface error: no interface module matched "hotkeys,none"
[00000021] main interface error: no suitable intf module
[00000001] main vlc error: interface "hotkeys,none" initialization failed
[00000022] main interface error: no interface module matched "any"
[00000022] main interface error: no suitable intf module
[00000001] main vlc error: interface "(null)" initialization failed



If somebody could help me or push me in the correct direction.
Thx anyway

2stream,...

Posted: 16 Jun 2005 11:29
by Guest
This might work:

RC and RTCI

These two interfaces allow you to control VLC from a command shell (possibly using a remote connexion or a Unix socket.

Start VLC with -I rc or --extraintf rc. When you get the Remote control interface initialized, `h' for help message, press h and Enter to get help about available commands.

To be able to remote connect to your VLC using a TCP socket (telnet-like connexion), use --rc-host your_host:port. Then, by connecting (using telnet or netcat) to the host on the given port, you will get the command shell.

To use a UNIX socket (local socket, this does not work for Windows), use --rc-unix /path/to/socket. Commands can then be passed using this UNIX socket.

The RTCI interface gives you more advanced options, such as marquee control for the marquee subpicture filter (See filter section).