I'm using this command to encode a video from web:
-y -reconnect 1 -i https://snapcellvideos.s3.amazonaws.com/manual/24/manualupload_16098586962947166522.mp4 -filter_complex "[0:v] pad=iw:'if(gt(iw, ih), iw, ih)':(ow-iw)/2:(oh-ih)/2, crop=iw:iw, scale=-1:480, setsar=1 [clip0]; [0:a] anull [audio0]; [clip0][audio0] concat=n=1:v=1:a=1 [v][a]" -map '[v]' -map '[a]' -c:a aac -c:v h264 -crf 18 -r 30 -preset veryfast /output_path/output_file.mp4
With FFmpeg-mobile library it takes around 100 seconds to encode it but with FFmpeg-kit it takes 639 seconds
I've check with local videos and it takes the same aprox, so the problem is related to videos from web
Version: com.arthenica:ffmpeg-kit-full-gpl:4.4.LTS