Trying to take snapshots from a webcam
Posted: 28 Mar 2010 22:15
I'm trying to create a script that will take a snapshot of my webcam every 1 minute so I can upload via FTP, but I'm running into a bit of difficulty.
I'm using this code:
Which successfully takes a single snapshot and saves it to the correct path, but I haven't been able to successfully quit VLC to terminate the command so I can run it again in 1 minute.
When I try adding vlc://quit to the end of it, it won't save a snapshot and this is what I get back from command line:
Thanks!
I'm using this code:
Code: Select all
/Applications/VLC.app/Contents/MacOS/VLC --start-time=1 --run-time=1 --video-filter=scene --scene-path=/Users/name/Movies/Linksys/ http://192.168.1.115/img/video.asf
When I try adding vlc://quit to the end of it, it won't save a snapshot and this is what I get back from command line:
Any ideas on how to get VLC to terminate?[0x2d6b98] access_http access error: cannot connect to 192.168.1.115:80
[0x2d6b98] access_mms access error: cannot connect to 192.168.1.115:80
[0x2d9d98] dummy demux: command `quit'
Thanks!