thumbs:generate
thumbs:generate¶
Generates thumbnails from a video file to either include in packaging or for side loading.
Example:
{
"tool": "thumbs:generate",
"parameters": {
"inputfile": "tos_5s_video_1920x1080_2mbps.mp4"
}
},
Parameter | Properties | Default | Type | Choice | Description |
---|---|---|---|---|---|
inputfile | required | Video file to extract thumbnails. | |||
duration | optional | 5 | int | Duration per thumbnail in seconds. 1 = 1 thumb per seconds, 10 = 1 thumb per 10 seconds | |
outputdir | optional | thumbnails | str | Output directory | |
height | optional | 180 | int | ||
grid_width | optional | 8 | int | ||
grid_height | optional | 8 | int | ||
filename | optional | thumbs | str | ||
quality | optional | 60 | int | ||
skip_generating | optional | false | bool | Skip thumbnail generation. Assumes "outputdir" has thumbnails named using ffmpeg pattern %d.jpg |