I'm creating a gif using this:
ffmpeg -v warning -i in.mp4 -vf "fps=10,scale=320:-1:flags=lanczos,palettegen" -y palette.png
ffmpeg -v warning -i in.mp4 -i palette.png -lavfi "fps=10,scale=320:-1:flags=lanczos,paletteuse=dither=bayer:bayer_scale=3 [x]; [x][1:v] paletteuse" -y out.gif
Where should I put this:
-i watermark.png -filter_complex "overlay=W-w-5:H-h-5"
to add the watermark in my gif?
Use
-filter_complex
instead of-vf
: