"In your example all three inputs are images, so the output can be only one
image."-> this doesn;t happen.
The output consists in:
1. the original image
2. the original image + logo
3. the original image + logo + info
I wish it were simpler!
Gabriel
On Wed, Mar 1, 2023 at 12:06 PM Michael Koch
Am 01.03.2023 um 10:55 schrieb Gabriel Dina:
1 frame, indeed, but is the first image without logo and info. Maybe it is
a way to get the last frame?
In your example all three inputs are images, so the output can only one
image.
If the first input is a video, you could add -ss 5 before this
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
wrote:
> Am 01.03.2023 um 10:39 schrieb Gabriel Dina:
> > Updated command:
> >
> > ffmpeg -i *uploads/test.png* -i
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
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*
Result:
Am 01.03.2023 um 10:23 schrieb Michael Koch:
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
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
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