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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pyctorize-2.0.tar.gz.

File metadata

  • Download URL: pyctorize-2.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for pyctorize-2.0.tar.gz
Algorithm Hash digest
SHA256 6c273a5b68b1b3de58cc67474615cd6924275094fc97888be1fec58589449350
MD5 466f45b52e956b5299cbeb211c686ee5
BLAKE2b-256 87264be1d636aa543eeb10d3f6fa0ba548091a3e4d3f11ee75344d1aa523c5b0

See more details on using hashes here.

File details

Details for the file pyctorize-2.0-py3-none-any.whl.

File metadata

  • Download URL: pyctorize-2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for pyctorize-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84999573daeb42e07e74c914edfe430efb2564f99046e733559b33276d016976
MD5 aed841761570f22d76c1bfbe45fc7d98
BLAKE2b-256 9a6819d4c2454511fe2a0fe14d657e7de63f0f9098602fae964e147f87c2c604

See more details on using hashes here.

Supported by

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