Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```