Browsing around...
News  News Links  Links Blog  Blog Italiano  Español 
Save videos as images with VLC

Especially now that the high definition videos are spreading more and more, saving videos as images can be useful, for example to select the most beautiful ones. To perform this operation you can use the VLC media player from command line:
  1. Open the command line prompt
  2. Move into the folder where there's your video, for example G:\video
  3. Create the directory images, where you'll save your images
  4. Write:

    c:\Program Files\VideoLAN\VLC\vlc.exe my_video.mp4 --video-filter=scene --vout=dummy --scene-ratio=10 --scene-prefix=img- --scene-path=G:\video\images\ vlc://quit

    The options have the following meaning:

    • --video-filter=scene: it tells to VLC where to save the images.
    • --vout=dummy: it tells to VLC not to visualize the video while saving.
    • --scene-ratio=10: it tells to VLC to save a frame every 10. Since usually videos show 25 (PAL) or 30 (NTSC) frames per second, if you write 25 (or 30), you will save an image per second.
    • --scene-prefix=img-: it specifies the prefix of the filename of the images. Images will be automatically numbered starting from 0.
    • --scene-path=G:\video\images\: it tells the path where to save the images. The directory must exist, VLC won't create it for you.
    • vlc://quit: it tells to VLC to close after saving all the video.
The images format is PNG. If you have a look at VLC documentation, you will find many other useful options.


1 - EriksTue 02 Feb 2016 - 13:45:10  

Reply to 2ndcomment:

Start VLC as Administrator

2 - TatarizeSat 12 Jul 2014 - 12:40:57  

Does work. The path thing sometimes causes issues if VLC isn't admin or whatnot and can't actually save the file. If you leave off the path it will save to your Images directory (in Windows 7).

3 - AnonimousWed 09 Apr 2014 - 00:49:21  

Does not work ... I copied the command and only adjusted the file paths. VLC starts, playback starts without video, but no images are saved.

Write a comment

You can write here a comment to the article you've just read. Smiles, links and images are not allowed. The maximum comment length is 4000 characters. Please be polite, all the offensive messages will be deleted.

Your comment (lascia bianco!):
Uses (max 25 characters, required)
Web site (max 255 characters, optional)
e-Mail (max 255 characters, optional, will not be published) Your opinion (lascia bianco!):
Comment (max 4000 characters, required):

Valid HTML 4.01 Transitional
E-Mail - 5.77 ms

Valid HTML 4.01 Transitional