Bug 484745 - inconsistent date for Dynamic Media:Shot Date in case of .mov video
Summary: inconsistent date for Dynamic Media:Shot Date in case of .mov video
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Xmp (show other bugs)
Version: 8.4.0
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-30 10:31 UTC by mahikeulbody
Modified: 2024-03-30 19:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mahikeulbody 2024-03-30 10:31:26 UTC
I presume digikam applies a fuzzy logic to decide if the dates from videos are UTC or not. Whatever the case, it decided that the attached video (from a Ricoh GR II) is in local time so it displays all date fields (exif, iptc, xmp, ...) without offset, EXCEPT Dynamic Media:Shot Date which is displayed with an offset +1h (I am in UTC+1).
Comment 1 Maik Qualmann 2024-03-30 12:11:31 UTC
Video date-time is another big problem. We try to identify well-known cameras or manufacturers to convert from UTC or not. First of all, I don't know of any video files that contain time zone information. We can assume with Apple and Quicktime that it is a UTC date, just like with Android. This is a big problem with camera devices. Some use UTC but store local dates, others the other way around. I can see if I can include Ricoh in the detection.

Maik
Comment 2 mahikeulbody 2024-03-30 12:32:00 UTC
Well, this report is not about the right detection of type of device in relation to UTC (a big problem, I agree). It is about once Digikam make the decision to consider the dates as local time dates for a given file, it should to apply this decision on all dates displayed in the metadata panel for this file. It is indeed the case for all dates EXCEPT Dynamic Media:Shot Date.
Comment 3 mahikeulbody 2024-03-30 12:34:36 UTC
> I can see if I can include Ricoh in the detection.

Please don't change : Ricoh is detected as a "local time" device and it is the right decision. It is not the problem here.
Comment 4 Maik Qualmann 2024-03-30 19:13:33 UTC
Git commit a355c119ecc28b09c3519a88c7d30be786d0398e by Maik Qualmann.
Committed on 30/03/2024 at 19:12.
Pushed by mqualmann into branch 'master'.

fix date representation of "Xmp.xmpDM.shotDate"
FIXED-IN: 8.4.0

M  +1    -1    NEWS
M  +1    -1    core/libs/metadataengine/dmetadata/dmetadata_video.cpp

https://invent.kde.org/graphics/digikam/-/commit/a355c119ecc28b09c3519a88c7d30be786d0398e