Skip to main content

Vidsnap is a fast multithreaded tool to split videos into images.

Project description

Vidsnap

Version 0.1.0 MIT License

Vidsnap is a small python utility to extract stills from video's using opencv. It focuses on using as little IO's as possible and ThreadPoolExecutor to be able to parse large folders relatively quickly.

As it's based on opencv, it will support every video format supported by cv2.VideoCapture.

Installing

From Source

git clone https://github.com/jarviscodes/vidsnap
cd vidsnap
pip3 install -r requirements.txt

From PyPi

pip3 install vidsnap

Usage

python -m vidsnap --help
Usage: vidsnap.py [OPTIONS]

Options:
  -i, --input_path TEXT   Directory where the videos are located
  -o, --output_path TEXT  Directory where the snapshots will be stored
  -e, --extension TEXT    Extension for the videos to process. (e.g. MP4)
  -w, --workers INTEGER   Amount of threadworkers to spawn
  -s, --seconds INTEGER   Amount of seconds between every snap per video.
  --help                  Show this message and exit.

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

vidsnap-0.1.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

vidsnap-0.1.0-py3-none-any.whl (4.4 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