I am getting a bit confused about fps (frame rate) in a video.
I build a video (using python and opencv) using 600 frames and I specify 10 fps.
However I want to also record the timestamps for each frame in a text file. If the time for the first frame is 0 ns what would be the time stamp for the second frame provided the values I gave above?
EDIT:
About my confusion. If we have 10 frames with 0.1 difference we have
| | | | | | | | | |
-------------------------------------------------------------
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
As you can see the time for the 10 frames is not one second but less so fps would not be 10 fps
| | | | | | | | | |
-------------------------------------------------------------
0 0.11 0.22 0.33 0.44 0.56 0.67 0.78 0.89 1
Wouldn't this be the correct calculation?