Trying to take snapshots from a webcam

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
CoyoteBait
New Cone
New Cone
Posts: 2
Joined: 28 Mar 2010 21:53

Trying to take snapshots from a webcam

Postby CoyoteBait » 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:

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
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:
[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'
Any ideas on how to get VLC to terminate?

Thanks!

CoyoteBait
New Cone
New Cone
Posts: 2
Joined: 28 Mar 2010 21:53

Re: Trying to take snapshots from a webcam

Postby CoyoteBait » 30 Mar 2010 18:49

Also, using the above code doesn't increment the file like the snapshots do… does anybody have any idea how to make the snapshots work correctly?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 33 guests