I have a (random selection) of JPG images that I want to use to make into an APNG animation using ffmpeg (to test the process). They are all the same dimensions (256x256). But I cannot seem to get the correct syntax to control the frame delay and loop control (to loop forever). Is it possible to set these parameters using ffmpeg when creating an APNG from a sequence of images? If so, can someone provide the proper syntax and/or show an example command? I have searched the ffmpeg documentation and cannot seem to find relevant syntax.
I can do the following, but it will not accept -delay nor -loop. I use Imagemagick to pipe in the images.
This works, but does not loop, and runs very fast.
magick lena.jpg mandril3.jpg monet2.jpg zelda1.jpg PNG:- | ffmpeg -i - x.apng
This gives errors about delay and/or loop:
magick lena.jpg mandril3.jpg monet2.jpg zelda1.jpg PNG:- | ffmpeg -i - -delay 1000 -loop -1 x.apng
I am also curious to know if it is possible to specify a sequence of images directly in ffmpeg as input without using ImageMagick.
Sorry, I am a relative novice with ffmpeg. I am using ffmpeg 4.2.1.