Need help about running vlc with apache webserver

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
2stream
New Cone
New Cone
Posts: 3
Joined: 03 Jun 2005 02:56

Need help about running vlc with apache webserver

Postby 2stream » 03 Jun 2005 03:12

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,...

Guest

Postby Guest » 16 Jun 2005 11:29

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).


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 36 guests