I have video frames in PNG format at 1 FPS and I'm trying to convert them into a video using ffmpeg.
If I do something like this:
ffmpeg -i data/input-%4d.png data/output.mp4
I get a video at 25FPS which is basically a very fast-forward of the input (which is captured at 1FPS).
If I try:
ffmpeg -i data/input-%4d.png -r 1 data/output.mp4
I get something that VLC doesn't want to play :)
Now, if I take the first video (the FF one) and apply a filter to slow it down (e.g.
-filter:v 'setpts=24.0*PTS'), I can get it to play like a 1 FPS video, but of course the price is file size. It's generating a bunch of repeated frames I guess.
So, the question is how do I create a video that has exactly 1 FPS and actually plays at that speed? The output format, btw, isn't that important for me.