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

Uploaded Source

Built Distribution

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

vidsnap-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file vidsnap-0.1.0.tar.gz.

File metadata

  • Download URL: vidsnap-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

File hashes

Hashes for vidsnap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b9f1178968203d7b95520977b8cdb3f8514067f40bd9161fd25eddfd0272fad
MD5 8157cc619352cdf0bae08bb0a6ca86c2
BLAKE2b-256 786c5ba8f87c1afabaf963259868005664572e7b0c4033139b8fe6bfb044e0c1

See more details on using hashes here.

File details

Details for the file vidsnap-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vidsnap-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

File hashes

Hashes for vidsnap-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e62853457de0bb7c45942899763142379222c8ff2657692dcff32afc0d2f210
MD5 16e7d1096542e143eb79edd0c3280ac0
BLAKE2b-256 6ee1040d866bf8148ec5a2b50b4ede87a713c78690e42f2ac8ba0d4485de6312

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