Skip to content

YaYaB/video-to-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

video-to-images

Extract images from a video

This tool helps you extract many images from a video based on a few parameters:

  • step between images
  • resize the output image

Installation

OS X, Linux & Windows:

pip install git+https://github.com/YaYaB/video-to-images

Usage example

usage: Split a video in several images [-h] [--path_video PATH_VIDEO]
                                       [--path_images PATH_IMAGES]
                                       [--basename BASENAME] [--step STEP]
                                       [--size SIZE [SIZE ...]]

optional arguments:
  -h, --help            show this help message and exit
  --path_video PATH_VIDEO
                        Path to the input video
  --path_images PATH_IMAGES
                        Folder path where to stored output images
  --basename BASENAME   Basename for the output images
  --step STEP           Step in ms between each image to dump (default 500ms)
  --size SIZE [SIZE ...]
                        None, max_dimension or width height, to which the
                        images must be resized (default None)

Please refer to here for examples.

Meta

Distributed under the Apache license v2.0. See LICENSE for more information.

https://github.com/YaYaB/video-to-images

About

Split a video into images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages