I apologise if this is a duplicate. I have used ffmpeg in the past to convert .pngs to .mp4 but now I am using it on my own files and I am not sure of the format it should have. I have some files with the following naming convention:
./profiles_0.png
./profiles_40.png
...
./profiles_400.png
The number of files I have varies, i.e. it isn't always 400 and the interval isn't always going to be 40. I have tried the following:
ffmpeg -framerate 1 -i profiles_%d0.png -r 6 -pix_fmt yuv420p out.mp4
but that only captures one of the images. Is there a flexible format in the 'profiles_%d0.png" argument that captures all of the files in that directory regardless of the number of characters following the underscore or does it require that I change my naming convention?
Cheers for any help, A