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

Gabriel Dina gabriel.dina at gmail.com
Wed Mar 1 11:55:18 EET 2023


1 frame, indeed, but is the first image without logo and info. Maybe it is
a way to get the last frame?

Many thanks.
Gabriel

On Wed, Mar 1, 2023 at 11:49 AM Michael Koch <astroelectronic at t-online.de>
wrote:

> 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
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list