Skip to content

A Python CLI program to extract frames of videos.

License

Notifications You must be signed in to change notification settings

vccolombo/pyctorize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyctorize

A Python command line program to extract frames of videos

Prerequisites

Python 3

Installing

python3 -m pip install pyctorize

Using

$ pyctorize <PATH_TO_FILE> \
    --output <PATH_TO_OUTPUT_DIRECTORY> \
    --start-time <TIME_IN_MILLISECONDS_OF_FIRST_FRAME> \
    --step <CAPTURE_IMAGE_EVERY_STEP_MILLISECONDS>

Example:

$ pyctorize example.mp4 \
    --output output/ \ # save result to output/
    --start-time 100 \ # starting at 100ms
    --step 1000 # take a frame every second

In this example, pyctorize will produce a frame for 1100ms, 2100ms, 3100ms and so on.

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

A Python CLI program to extract frames of videos.

Topics

Resources

License

Stars

Watchers

Forks

Languages