Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vfdev-5/video2frames
Simple video to frames converter using Opencv
https://github.com/vfdev-5/video2frames
Last synced: 17 days ago
JSON representation
Simple video to frames converter using Opencv
- Host: GitHub
- URL: https://github.com/vfdev-5/video2frames
- Owner: vfdev-5
- Created: 2016-03-17T23:15:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T10:11:34.000Z (almost 5 years ago)
- Last Synced: 2024-10-04T12:45:34.678Z (about 1 month ago)
- Language: Python
- Size: 4.88 KB
- Stars: 29
- Watchers: 3
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Video2Frames
Simple python script to convert a video file to frames as jpg files
### Usage :
```
python video2frames.py input/video/file/path output/folder [--maxframes] [--rotate]
```Options :
--maxframes : Max number of output frames (or files)
--rotate : Rotate clock-wise output frames, possible values = {90, 180, 270}
### Example :
1) Split video to frames files
```
python video2frames.py /tmp/my_video.mpg /tmp/images
```2) Split video to frames files (max 250 files) and rotate 90 degrees clock-wise
```
python video2frames.py /tmp/my_video.mpg /tmp/images --maxframes=250 --rotate=90
```