A easy to use, video to images converter
Project description
Example Package
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--resize- (tuple) or (int) resize output images to specific size. example:(512, 512)
License
Apache-2.0 License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file videoToImages-1.1.1.tar.gz.
File metadata
- Download URL: videoToImages-1.1.1.tar.gz
- Upload date:
- Size: 3.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
197d2f4d0e12dad6e0d70b3e2047e888944633384564d6492fa96704ed294896
|
|
| MD5 |
481ef89dbba859509327cf5c6f3af561
|
|
| BLAKE2b-256 |
74bdae7841f3ebc088466a45201ca977941b04580489d3796ddd1ab4d553c300
|
File details
Details for the file videoToImages-1.1.1-py3-none-any.whl.
File metadata
- Download URL: videoToImages-1.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ede2fb2d253d9a9b4ceedf3fba5dcc52e816f40320994a5fec9fdbce0935cf6f
|
|
| MD5 |
c837edbe0cc451f211dcecdada5bdca7
|
|
| BLAKE2b-256 |
9715f8d121f4162b1ae51952eddeff92adeae9201018c48352ae167f451242a5
|