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
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
videoToImages-1.1.2.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for videoToImages-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1f0432d8675404ce8b431a1382a1f81bd0138ddefb53772489b517fd117d413 |
|
MD5 | 73f2b3b928cda0bad5cab5ca8f746110 |
|
BLAKE2b-256 | addfec374a9fc8d5cf968354ddaddd8c7585686cf76feb878bc8e678c1a171a6 |