Skip to content

vfdev-5/Video2Frames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Video2Frames

Simple python script to convert a video file to frames as jpg files

Usage :

python video2frames.py input/video/file/path output/folder [--maxframes] [--rotate]

Options :

--maxframes : Max number of output frames (or files)

--rotate : Rotate clock-wise output frames, possible values = {90, 180, 270}

Example :

  1. Split video to frames files
python video2frames.py /tmp/my_video.mpg /tmp/images
  1. Split video to frames files (max 250 files) and rotate 90 degrees clock-wise
python video2frames.py /tmp/my_video.mpg /tmp/images --maxframes=250 --rotate=90

About

Simple video to frames converter using Opencv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages