Generates video preview image for video files.
- Generate individual previews or for entire folders of videos
- Easily configurable through JSON
- opencv-python - Open Image Processing
Install Python3
Install the dependencies if not already installed
$ pip install opencv-pythonAfter installing, the Driver can be run in console.
$ python Driver.py --path "E:\Video\Movies\blade-runner.mp4" --save "E:\Tests\" --config defaultTemplates for previews can be created in config.json
{
"weird_green": {
"rows": 6,
"columns": 5,
"border_size": 2,
"spacing": 8,
"target_width": 1920,
"time_stamps": true,
"background_color": [22, 160, 133],
"border_color": [26, 188, 156],
"font_color": [255, 255, 255]
}
}Note that the pictures's aspect ratio is based on video's resolution and how many rows/columns are generated while the picture's resolution is based on the "target_width" in config.json.
- Write tests
- Add more configurations
- Add more customization


