[vlc] Re: Time Limit

Benjamin PRACHT bigben+spam at videolan.org
Tue Nov 30 00:17:25 CET 2004


On Mon, Nov 29, 2004, Marcantonio Magnarapa wrote :
> 
> Is there a way to launch VLC as a video server and have it run for a 
> limited amount of time?
> 
> Without having to KILL its process, that is.
> 

I you want to read a single item during a cezrtain amout of time, you
can use

vlc access://item/to/read :stop-time=<amout of time> VLC:quit

Another way would be to use the http or the rc interface over telnet,
and to have an external program, such as netcat or wget send the
corresponding quit command at the appropriate time. 

VLM also has some way to scheudle a stream (but you cannot actually have
the program terminate itself at a certain time, you can only stop a
stream).

Also, using kill isn't such a dirty soultion. As long as you're not
forcing the 9 signal, the VLC should exit cleanly.

-- 
BigBen

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