A Python CLI program to extract frames of videos
Project description
Pyctorize
A Python command line program to extract frames of videos
Prerequisites
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
- Víctor Colombo - vccolombo
License
This project is licensed under the MIT License - see the LICENSE file for details
Project details
Release history Release notifications | RSS feed
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)