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)
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!
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.