Page 1 of 1

Triggering VLC Snapshot from Webcam?

Posted: 25 Apr 2009 21:41
by meltedbanjo
Hello,

I am interested in using VLC to capture the video stream from my webcam and save an image snapshot of the stream every half second.

My command line so far looks like this:

Code: Select all

vlc v4l2:// :v4l2-dev=/dev/video0 :v4l2-fps=2 :v4l2-width=1280 :v4l2-height=960 --width=1280 --height=960 --no-sout-audio
How can I have VLC save a snapshot every 500ms? Is there a way I can signal VLC from an external program to trigger a snapshot? Are the PNG files that the Video > Snapshot menu command really supposed to be so big? I would expect the PNG format to compress them much more.

Thanks!