Skip to main content

A Python CLI program to extract frames of videos

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyctorize-2.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

pyctorize-2.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page