I am using ffmpeg library for water marking in android, somehow it is taking high amount of time (like 5MB video taking 1 minute of time). Let me know if you have any suggestions.
gradle dependency: implementation 'com.writingminds:FFmpegAndroid:0.3.2'
slow code: val command = arrayOf("-i", srcVideo, "-i", watermarkImgPath, "-filter_complex", "overlay=20:20", outPutVideo)