Skip to main content

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

Release files for videoToImages 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for videoToImages 1.1.2
File Size Uploaded
videoToImages-1.1.2.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for videoToImages 1.1.2
File Interpreter ABI Platform
videoToImages-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / videoToImages-1.1.2.tar.gz

Download URL videoToImages-1.1.2.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
41675ad8bb4148ca0dc9d533cc14f0e80733d9fa5eb06b94e0cd542b0e932546
BLAKE2b-256 checksum
How to use checksums
1590224baf548074b8b9a2487098110e84b4f3d3ce3a2b1e48b3f2e70a3a1d2d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / videoToImages-1.1.2-py3-none-any.whl

Download URL videoToImages-1.1.2-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1f0432d8675404ce8b431a1382a1f81bd0138ddefb53772489b517fd117d413
BLAKE2b-256 checksum
How to use checksums
addfec374a9fc8d5cf968354ddaddd8c7585686cf76feb878bc8e678c1a171a6
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page