[vlc] Re: Problem with execute VLC via Apache
Jorge Fernández Romero
jferrom at dilmun.ls.fi.upm.es
Fri Dec 3 10:16:11 CET 2004
Can you help me, please? I need an answer to work.
>>> On Thu, Dec 02, 2004, jferrom at dilmun.ls.fi.upm.es wrote :
>>>>
>>>> Ok, I think this is what I want. Excuse me for my ignorance, but when
>>>> I
>>>> launch the daemon option, 'vlc -d', How can I send it orders? I desire
>>>> to
>>>> play, pause, stop, etc a file, but I can't make it.
>>>>
>>>
>>> You should have a look at the http and rc interfaces (--extraintf http
>>> or rc)
>>>
>>> --
>>> BigBen
>>>
>>> --
>>> This is the vlc mailing-list, see http://www.videolan.org/vlc/
>>> To unsubscribe, please read http://www.videolan.org/support/lists.html
>>>
>>>
>>
>> Good, I have read the documentation about http interface.
>>
>> I try to call vlc from PHP with:
>>
>> system('vlc -I http --http-src /var/www/simula/VLC --http-host
>> 192.168.0.7
>> -d');
>>
>> This should create a shell waiting request from http protocol. Can I
>> send
>> it this request from PHP with <vlc id="control",.... >?
>>
>>
>>
>>
>> --
>> This is the vlc mailing-list, see http://www.videolan.org/vlc/
>> To unsubscribe, please read http://www.videolan.org/support/lists.html
>>
>>
>
> Not if I have explained myself correctly. I want to create a Web
> aplication that can play files, DVD, etc. using VLC.
>
> I have created a PHP program with an simple interface to call an service
> (init VLC as daemon), finish the service (close VLC) and play, stop,
> pause, etc, a file if the service is up.
>
>>From PHP I can start the vlc daemon with
> system('vlc -I http --http-src /var/www/simula/VLC --http-host 192.168.0.7
> -d');
>
> I know that the daemon is start. I want to control this daemon from PHP
> clicking the PLAY button. Now, when it click this button, the PHP program
> does this:
>
> <vlc id="control" param1="play" param2="simpson.avi">
> <vlc id="set" param1="sout" param2="udp:192.168.0.255">
>
> I suposse that this is incorrect, because in the client machines (they are
> waiting for a streaming) not happend anything.
>
> I want to know if exist the posibility of do what I desire.
>
> If the answer if 'yes', please can you write an example?
>
> Thanks for your time.
>
>
>
> --
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
>
>
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list