What I'm trying to do is to create a gif from images with different sizes and make the borders (padded area) for images that have different aspect ratio transparent.
Each image should be shown for 3 seconds. (-r 1/3)
I created a file list (Lista.txt) from the images I want, the image names are not sequenced so I can't use %03d or something. All files are in *.jpg format.
My code:
ffmpeg -f concat -safe 0 -r 1/3 -i Lista.txt -loop 0 -lavfi ^
"[0]format=rgba,scale=854:480:force_original_aspect_ratio=decrease:eval=frame,pad=854:480:-1:-1:eval=frame:color=#[email protected][vid]; ^
[vid]split[vid1][vid2];[vid1]palettegen=reserve_transparent=1[pal]; ^
[vid2][pal]paletteuse=alpha_threshold=128[final]" -map [final] -gifflags -offsetting "output.gif"
The end result output.gif shows only the last image of the sequence and not all the images. Any help would be appreciated.
These are the images: Images.zip
This is the result: output.gif