Page 1 of 1

Need help to take automatic screenshot every 30 second

Posted: 14 Jun 2009 17:09
by windows7
Need help to take automatic screenshot every 30 second.

the width height of the image should be 800 x 600

the file is called video.mpg

Now what will the command line be in order to achive that?

I have the VLC installed in C:\VLC\vlc.exe and I have the video.mpg in C:\VLC\ aswell.

I want the screenshots to go in C:\VLC\screenshots\

So video file : C:\VLC\video.mpg
VLC: C:\VLC\vlc.exe
Images should be: 800x600
save path: C:\VLC\screenshots
time interval: every 30th sec



What will the command line bein this case? any help will be much appreciated.

I have google'ed and found few command lines, but couldnt get them to work. So i have given the info here, so if someone can tell me the EXACT line I have to use, I will be highly greatful

Re: Need help to take automatic screenshot every 30 second

Posted: 15 Jun 2009 17:37
by VLC_help
Image video output
--image-out-format={png,jpeg}
Image format
Format of the output images (png or jpg).
--image-out-width=<integer>
Image width
You can enforce the image width. By default (-1) VLC will adapt to
the video characteristics.
--image-out-height=<integer>
Image height
You can enforce the image height. By default (-1) VLC will adapt to
the video characteristics.
--image-out-ratio=<integer>
Recording ratio
Ratio of images to record. 3 means that one image out of three is
recorded.
--image-out-prefix=<string>
Filename prefix
Prefix of the output images filenames. Output filenames will have the
"prefixNUMBER.format" form.
--image-out-replace, --no-image-out-replace
Always write to the same file (default
disabled)
Always write to the same file instead of creating one file per image.
In this case, the number is not appended to the filename. (default
disabled)
http://wiki.videolan.org/VLC_command-line_help

You also need --vout image to enable image output module.

Re: Need help to take automatic screenshot every 30 second

Posted: 05 Feb 2012 03:43
by Cwluc
This doesn't appear to work anymore. Could someone please help?

I would like images, any images from a file. I'm sitting at the command line and everything I type either "The command line options couldn't be loaded, check that they are valid." or I'm watching at my video play and no screenshots are saved. Seriously this should be child's play. What is going on?!

Re: Need help to take automatic screenshot every 30 second

Posted: 05 Feb 2012 12:34
by VLC_help
Vout image isn't anymore. It is scene video filter now
http://wiki.videolan.org/How_to_create_thumbnails