When calling the app with a sampling rate of 1000 ms (default value), the output TimePoint are actually annotating frames sampled at ~967 due to the loss of decimal point precision in the upstream SDK code. This was introduced in 1953baba9a86ba3f8cdd026da06ce6208e7a3ecc and only v4.2 is affected.
Bug Description
When calling the app with a sampling rate of 1000 ms (default value), the output
TimePoint
are actually annotating frames sampled at ~967 due to the loss of decimal point precision in the upstream SDK code. This was introduced in 1953baba9a86ba3f8cdd026da06ce6208e7a3ecc and onlyv4.2
is affected.Reproduction steps
Here's an example MMIF output snippet
Expected behavior
No response
Log output
No response
Screenshots
No response
Additional context
new version of
mmif-python
(1.0.13) includes a patch to support sample frames with fractional sampling rate (directly re-using video FPS value)