I have a set of few hundreds of photos taken every 30 minutes. I combine them into a single video. How can I put a timestamp presenting real time difference between each photo ?
Right now I use
timecode filter with the following settings:
ffmpeg -i %04d.png -vf format=yuv420p,scale=1650x1180,fps=24,drawtext="fontsize=15:fontfile=/Library/Fonts/DroidSansMono.ttf:timecode='00\:00\:00\:00':rate=24:text='time\:':fontsize=72:fontcolor='white':x=860-text_w/2:y=960" out_24fps.mp4
This creates timestamp showing the length of the video which takes ~7 seconds. I'd like the timestamp to show that how long it took to record the whole video rather than how long it takes to replay it (difference of 30 minutes between each photo).
Or perhaps is it possible to take a timestamp from each file used to combine the video?