[streaming] Controlling VLC
Richard Ham
rich-lists at edit-co.com
Mon Sep 29 05:44:42 CEST 2003
Hello all,
At the moment, I'm trying to control vlc from the command line: I've
compiled a vcl without any x support, and am recording a strean to the
hard drive:
vlc udp:@239.255.10.13 --sout file/ts:/tmp/camera3-6.ts
I want to be able to terminate this recording from a shell script
after 5 minutes, and increment the counter (ie, /tmp/camera3-7.ts) so
that i record a heap of 5 minute chunks for on-demand watching.
Unfortunately, I just can't figure this one out....... no file with
the pid is created so I can't kill it by pid, and since I will have
this happening for all security cameras, I can't do a killall -TERM
vlc, and I can't pipe the "quit" command to vlc after 5 mins, since
vlc complains about not having a valid tty attached to fd0.
Have I missed an option here?? Is there some possibility I just have
plain missed??
Regards,
Richard
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the streaming
mailing list