How to make a movie out of a bunch of jpg or png.
-r 5 5 frames per second (normally 25)
Pipe all jpg
ffmpeg -y -r 5 -i "image_%04d_today.jpg" output.m4v
-r 5 5 frames per second (normally 25)
Pipe all jpg
cat *.jpg | ffmpeg -f image2pipe -r 1 -vcodec mjpeg -i - -vcodec libx264 out.mp4
How to make a calculation.
1 day = 86400 sec
You would like to make a film of 10 sec in one day.
For 10 secondes you need 10 x 25 frames. So that means 250 jpg's.
86400 / 250 is 345
So once in the 345 sec a picture has to be taken.