[FFmpeg-user] Thumbnail tile slow on big video files

trash at skrilnetz.net trash at skrilnetz.net
Thu May 18 15:23:07 EEST 2017


Hi,

I run the code below to produce a tile thumnail from video files. That  
seems to be very slow on big video files. Anything that I do wrong, or  
I could improve to speed up processing?

ffmpeg -ss 720 -i $input_path -f image2 -vframes 1 -aspect 4:3  
-filter:vf  
select='isnan(prev_selected_t)+gte(t-prev_selected_t\,720)',scale="'if(gt(a,4/3),128,-1)\':'if(gt(a,4/3),-1,96)\'",pad="w=128:h=97:x=(ow-iw)/2:y=(oh-ih)/2:color=black",tile=4x1 -y  
$output_filename

Thanks!
-------------- next part --------------
An embedded message was scrubbed...
From: trash at skrilnetz.net
Subject: Thumbnail tile slow on big video files
Date: Thu, 18 May 2017 12:18:19 +0000
Size: 3444
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170518/6c8a5dca/attachment.mht>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1718 bytes
Desc: PGP Public Key
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170518/6c8a5dca/attachment.key>


More information about the ffmpeg-user mailing list