0

I'm using ffmpeg to create thumbnail sprites for a video player and the player requires a sprite to be 101 frames. For videos that have less then 101 frames in total, I'm trying to add some frames multiple times to the sprite, for example:

ffmpeg -y -i input.mp4 -frames 1 -q:v 1 -vf "select=eq(n\,0)+eq(n\,0)+eq(n\,1)+eq(n\,1)+eq(n\,2)+eq(n\,2)...+eq(n\,30)+eq(n\,30),scale=178:134,tile=101x1" output.jpg

With this command ffmpeg is skipping the duplicate frames and adding black frames to the end of the sprite. Sprite example

Is it possible to let ffmpeg add duplicate frames?

0 Answers0