[FFmpeg-user] Overlay performance

Paul B Mahol onemda at gmail.com
Tue Aug 27 18:52:38 EEST 2019


>
> Here is the command string for the merging
>
>
> val cmd = "-y -i $inputFileUrl -i $transparencyFullUrl -filter_complex
> [1]format=bgra,colorchannelmixer=aa=1,rotate=0:c=black at 0
> :ow=rotw(0):oh=roth(0)[overlayImage];[0][overlayImage]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2
> $outputPathAndName"
> val command = cmd.split(" ".toRegex()).dropLastWhile { it.isEmpty()
> }.toTypedArray()
>

colorchannelmixer=aa=1 is here doing nothing.
Have you blindly copied this command from somewhere?

To make current command to process faster get better hardware, seriously.


More information about the ffmpeg-user mailing list