Skip to main content

A easy to use, video to images converter

Project description

Videos To images command line

This repository can be used to convert mp4 files to images, more extensions will be added soon.

Installation

pip install videoToImages

Usage

Convert video folder to images

videoToimages --videoFolder [pathToVideoFolder]

example: videoToimages --videoFolder "c:/videos"

Running the above command will generate images from the video and store in the directory imagesConverted in the videos folder. Alternatively, you can also pass output folder name: --outFolder

Convert video folder to images at specific rate (fps)

videoToimages --videoFolder [pathToVideoFolder] --fps 10

example: example: videoToimages --videoFolder "c:/videos" --fps 10

This command will capture 10 frames from each second of video data. You can use any integer value < original fps.

Useful Arguments

  • --videoFolder - (string) Full path of path of folder containing videos. example: ~/videos
  • --outFolder - (string) Full path of path of folder to store output images (.png). example: ~/videos/images
  • --fps - (int) sampling rate per second from the videos. example: 15
  • --img_size - (tuple) or (int) resize output images to specific size. example: (512, 512)

License

Apache-2.0 License

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

videoToImages-1.1.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

videoToImages-1.1.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file videoToImages-1.1.2.tar.gz.

File metadata

  • Download URL: videoToImages-1.1.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8

File hashes

Hashes for videoToImages-1.1.2.tar.gz
Algorithm Hash digest
SHA256 41675ad8bb4148ca0dc9d533cc14f0e80733d9fa5eb06b94e0cd542b0e932546
MD5 839ab09899b96e2528735fb6ab8db32b
BLAKE2b-256 1590224baf548074b8b9a2487098110e84b4f3d3ce3a2b1e48b3f2e70a3a1d2d

See more details on using hashes here.

File details

Details for the file videoToImages-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: videoToImages-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8

File hashes

Hashes for videoToImages-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1f0432d8675404ce8b431a1382a1f81bd0138ddefb53772489b517fd117d413
MD5 73f2b3b928cda0bad5cab5ca8f746110
BLAKE2b-256 addfec374a9fc8d5cf968354ddaddd8c7585686cf76feb878bc8e678c1a171a6

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