The following command will take any input video, in our case bunny.webm, snap a frame every 30 frames (using the filter select='not(mod(n\,30))'), scale it to 160x120 (using the filter scale=160:120) and organize each frame in a tile using the tile filter.
The tile filter can be used to generate a 'storyboard' image for video player (e.g. on youtube).
The tile filter supports different layouts (i.e. COLUMNSxROWS), padding, margin, background color and more. For full info, see the FFmpeg tile filter documentation.
https://www.ffmpegbyexample.com/examples/90permbg/generate_tile_thumbnail_picture_every_30_frames_of_video/
The following command will take any input video, in our case
bunny.webm
, snap a frame every 30 frames (using the filterselect='not(mod(n\,30))'
), scale it to 160x120 (using the filterscale=160:120
) and organize each frame in a tile using thetile
filter.The tile filter can be used to generate a 'storyboard' image for video player (e.g. on youtube).
The tile filter supports different layouts (i.e.
COLUMNSxROWS
), padding, margin, background color and more. For full info, see the FFmpeg tile filter documentation.