Page 1 of 1

Script for video recording

Posted: 18 Jul 2016 18:06
by jase6996
Hi, I want to create a script to record a video stream from an IP camera and I have no idea of how to do it, the thing is that I need to schedule that recording and make an auto reconnection of the stream automatically if the connection to the camera is lost.
It would be something like recording every day from 6:30 am to 22.30, and recover the connection if its lost. Thanks in advance

Re: Script for video recording

Posted: 22 Jul 2016 13:33
by mederi
Probably you want command line options for task scheduler in your operating system and not a Lua script. Then just search the related VLC forum and VLC wiki help:
https://forum.videolan.org/viewforum.php?f=4
https://wiki.videolan.org/Documentation:Command_line/
The streaming wizard can help you to compose such a command line (VLC for Windows: Media > Stream...).