[FFmpeg-user] How to speed up thumbnail generation for video files using FFMPEG on MIPS

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jul 9 13:18:44 CEST 2012

Pavan Kulkarni <pavanvkbgm <at> gmail.com> writes:

> There are also a few errors/warnings. How can I resolve those?

Why do you want to resolve them / which errors/warning are you 
talking about?

> However, the problem where I used to get a blank thumbnail 
> when select filter was not used is resolved by migrating 
> to the newer version of FFMPEG.

This sentence tells me that seeking works fine now.

> As an aside, Perhaps if I can get an option/combination of options in
> ffmpeg where in I can seek to x seconds quickly and then search for the
> closest I frame, then maybe I can get the thumbnail quicker?

Doesn't your sentence above indicate that this problem is already solved?

> Thanks a lot for the help so far!
> time ./ffmpeg -ss 18 -i Pirates_remux_short.ts  -an -s 150x100 thumb12.jpg

I strongly suspect you are comparing apples with prunes here...

What about
$ time ./ffmpeg -i Pirates_remux_short.ts thumphd.jpg
$ time ./ffmpeg -ss 18 -i Pirates_remux_short.ts thumphd2.jpg

Does the first take ~10 seconds, the second <12?

Carl Eugen

More information about the ffmpeg-user mailing list