I am wondering how to use ffmpeg to create video thumbnails something like this (taken from a VLC forum):
I know totem can do this but totem does not support the video format that I am using
This article says that ffmpeg can do it.
I am wondering how to use ffmpeg to create video thumbnails something like this (taken from a VLC forum):
I know totem can do this but totem does not support the video format that I am using
This article says that ffmpeg can do it.
Create a mosaic of screenshots from a movie with
ffmpeg
If you're using anything older than Ubuntu 15.04, then the so-called "
ffmpeg
" package from the repository refers to a fake version from the Libav fork which does not have the functionality you need, so you will have to download a static build offfmpeg
or follow a step-by-step guide to compileffmpeg
.Example command using
select
,scale
, andtile
filters:In this example the output will be
960x450
. You can add an additional scale filter if you want to change that, or you can change the size of each tile. Example for 600 pixel wide output:You can even add text to the output. This example will add 24 pixels of black padding to the top of the image and add the text "Iron Man" in the center of the padding.
Other stuff
You can control output quality with
-qscale:v
. Effective range is a linear scale of 2-31; where 2 is best quality.See the
select
filter documentation for more info.