I am using the following command in ffmpeg to generate thumbnails. It is working perfect.
ffmpeg -i videofile.flv -an -ss 01:00:00 -an -r 1 -vframes 1 -y ".$outputdir."/".$groupid."_".$i.".jpg
But problem is I have different seek times of a video from where thumbnails have to be generated and right now Iam using a loop which is running very slow. I found the reason as ffmpeg seeks to the given time for every command. I tried forking the process but is not effective. Is there anyways i can optimise the command so the repetitive seeks can be avoided?
After lot of research, found that its not possible. FFMPEG should consider adding option for this…it saves lot of execution time…