[FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

Michael Koch astroelectronic at t-online.de
Wed Mar 1 11:23:58 EET 2023

Am 01.03.2023 um 10:12 schrieb Gabriel Dina:
> ffmpeg -i uploads/image.mp4 -i ./assets/logo.png -i ./assets/info.png
> -filter_complex "[1][0]scale2ref=w='iw
> *1/5':h='ow/mdar'[v1];[2][0]scale2ref=w='iw*9/10':h='ow/mdar'[v2];[0][v1]overlay=main_w-overlay_w-5:5[vid];[vid][v2]overlay=10:main_h-overlay_h-10"
> uploads/image%0d.mp4
> If I remove %0d from the output I get an error.

please post the full console output.


More information about the ffmpeg-user mailing list