[FFmpeg-user] filter_complex with 2 images generates 3 files instead of one
Michael Koch
astroelectronic at t-online.de
Wed Mar 1 11:49:11 EET 2023
Am 01.03.2023 um 10:39 schrieb Gabriel Dina:
> Updated command:
>
> ffmpeg -i *uploads/test.png* -i ./assets/logo.png -i ./assets/telefon.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"*
> test.png*
add -frames 1 just before the output file, this does limit the output to
one frame.
Michael
More information about the ffmpeg-user
mailing list