Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 634 Bytes

File metadata and controls

27 lines (14 loc) · 634 Bytes

Video to Frames

This is a basic script written in Python which converts the video file into images frame by frame.

How to use?

Just type:

python video_to_frames.py file-location

Example 1: When file is located in the same directory as of the script.

python video_to_frames.py video.mp4

Example 2: When file is located in another location.

python video_to_frames.py D:\Projects\Contributor's Hack\Rotten-Scripts\Video-to-Frames\video.mp4

Requirements

Before running the script, just install open-cv for python using this command:

pip install opencv-python

Working Demo