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

Pavan Kulkarni pavanvkbgm at gmail.com
Fri Jul 6 13:26:09 CEST 2012

I'm using the following command to get a thumbnail from a video file. It
uses the seek option to grab a thumbnail. The problem is that this command
takes up quite some time especially with certain containers such as MPEG-2
TS. (As much as 40 seconds). If I vary the point (duration) at which I want
to grab the thumbnail , it does not seem to have an impact on the time
taken. Of course when I run this on my Linux workstation, it hardly takes 2
seconds to produce the thumbnail. Any suggestions to speed up the process
on my MIPS board?

./ffmpeg -ss 18 -i input.ts -vf select='eq(pict_type\,PICT_TYPE_I)'
-vframes 1 -an -s 150x100 thumb.jpg
Many Thanks!

More information about the ffmpeg-user mailing list