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!
--- Begin Message --- 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

Attachment: binuArEHcp6jp.bin
Description: PGP Public Key


--- End Message ---

Attachment: binmtVq22COWz.bin
Description: PGP Public Key

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to