Open mikhailkin opened 4 years ago
The frame index is incremented when:
This is likely why you're seeing the frame index incrementing by two.
The divergences you're seeing might be attributed to SPS headers being inserted at regular intervals, but I'm not certain.
@RDReavis, thank you for the clue. Still, at the end we have a few different values for frame index at the end points. Any reasons to expect it? Shall we multiply dependent almost equal entities?
I've faced with quite odd frame index numbers coming from picamera module. The indices differs from overlay produced by camera.annotate_frame_num = True
Code to reproduce:
Output:
During long run indices might diverge quite greatly (not by factor of 2)