Skip to content

This is an efficient subprocess pipe based module to extract all the frames of a video to frames as a numpy array.

Notifications You must be signed in to change notification settings

kartik-hegde/video2frames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

video2frames

This is an efficient subprocess pipe based module to extract all the frames of a video to a numpy array.

This has 3 functionalities:

  1. Get the resolution of the video
  2. Get the number of frames in a video
  3. Get all the frames in the video as a numpy array

Requirements: ffmpeg callable from terminal.

Usage:

import video2frames
video_stack = video2frames.read_video(VID_PATH)

About

This is an efficient subprocess pipe based module to extract all the frames of a video to frames as a numpy array.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages