This example shows how to take a couple of images and turn them into a slowly changing animated WebP. This is useful for a “digital pictureframe” style image.
What I find interesting FFmpeg for this example is the usage of two framrate (-r) flags. If the first flag is omitted, some images in the sequence will be skipped. And the second flag determines the speed the images are cycled.