freemocap / skellycam

The camera back-end for the `freemocap` project - or - An easy and efficient way to connect to one or more cameras and record synchronized videos💀📸
GNU Affero General Public License v3.0
19 stars 5 forks source link

Jon/timestamp diagnostics #5

Closed jonmatthis closed 1 year ago

jonmatthis commented 1 year ago

Poked around with the timestamps - run fast_camera_capture/example/framerate_diagnostics.py to see

In general things work smoothly, but the it looks like the cameras are dropping every other (or every third?) frame.

This is what it looks like with 3 cameras:

image

image

The behavior looks roughly the same with 7 cameras

image

When only using a single camera, connecting the dots in the 'frame duration' plot shows that (roughly) every other frame is double duration (i.e. 66ms instead of 33ms)

This suggests that every other frame is being dropped?

image

jonmatthis commented 1 year ago

merge after our conversation yesterday