Page 1 of 1

How do I take periodic snapshot fr COMMAND-LINE

Posted: 30 Jul 2014 16:30
by rsisson
I got my video storage to work. It now takes a 30 second clip and puts it where I want it and then cleanly exits.

The command line gets triggered when my driveway alarm goes off....

Now the trick is to take pictures on 1-2 second intervals rather than video and save the space....

My command line for the video clip is:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" rtsp://192.168.1.128:554/12 --sout=file,dst="C:\Driveway_Videos\%Y-%m-%d-%Hh-%Mm Driveway.mov" --start-time 00 --stop-time 30 vlc://quit

This gives me 30 seconds of video named something like: 2014-07-29-11h-34m Driveway.Mov

I think this will work with any IP camera that streams using the ONVIF stuff.