Videos duration wildly inaccurate

I’ve just noticed the duration overlay on the vast majority of my videos are all wildly inaccurate. For example, the first video in the screenshot is a little over 2 minutes, and the second one is less than 1 minute. This seems to be true regardless of file types (mp2, mpg4, avi, quicktime, asf)

durations

I think I may have figured it out. The incorrect duration comes from an associated xmp file. After deleting the xmp file, photostructure info shows the right duration. So now I gotta figure out why DigiKam created a xmp with the widely inaccurate timestamp!

Ah: I can’t imagine duration ever being correct in a sidecar. I already elide a bunch of sidecar tags, I’ll add that now.

Update: this will be in the next v2.0 build.

Thanks for the report and follow-up!

1 Like

Thanks to @avdp for reporting this issue. Apologies for the delayed follow-up.

Video duration handling was improved in v2023.11. Asset.durationMs is now properly copied from AssetFile variations, and video metadata parsing was improved by omitting the -fast argument to FFprobe.

See the v2023.11.0 alpha.1 release notes for details. See also the v2026.4 release notes for the latest improvements.

Please upgrade to v2026.4 or later and report back if duration inaccuracies persist.