Bug 437194 - xmp-video namespace
Summary: xmp-video namespace
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Xmp (show other bugs)
Version: 7.3.0
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-16 10:21 UTC by herb
Modified: 2021-05-16 15:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description herb 2021-05-16 10:21:16 UTC
SUMMARY
Hello,

working on German translation I also played with "Date and Time" and checkbox XMP-Video.
So I have seen that digiKam writes XMP metadata in xmp-video namespace.

I have never heard about this namespace; also Exiftool does not know about.
Can someone help and give some documentation about this namespace and which fields belong to it.

Thanks in advance
herb

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2021-05-16 14:37:23 UTC
digiKam use Exiv2 library internally to manage metadata. Xmp.video.* tags are defined here :

https://github.com/Exiv2/exiv2/blob/main/src/properties.cpp#L131

Implementation :

https://github.com/Exiv2/exiv2/blob/main/src/properties.cpp#L1324

Gilles Caulier
Comment 2 caulier.gilles 2021-05-16 15:06:35 UTC
MAik,

I don't know where Xmp.video.* tags come from in point of view of definition (aka http://www.video in Exiv2 source code), but it sound like a pure invent from Exiv2 team... Right ?

Same for Xmp.audio.* namespace ...

We need to be fully compatible with ExifTool, and this one the most near of Xmp.video.* is Xmp.xmpDM.* and Xmp.xmpMM.*

https://github.com/Exiv2/exiv2/blob/main/src/properties.cpp#L108
https://github.com/Exiv2/exiv2/blob/main/src/properties.cpp#L334

https://github.com/Exiv2/exiv2/blob/main/src/properties.cpp#L105
https://github.com/Exiv2/exiv2/blob/main/src/properties.cpp#L108

...Which are present in ExifTool.

If i'm right, well all Xmp.video.* tags in digiKam must be moved to the right standard namespace. And of course an issue must be filled to Exiv2 bugzilla on github. 

Gilles
Comment 3 Maik Qualmann 2021-05-16 15:23:47 UTC
Hi Gilles,

Yes, I have already searched whether I can find a reference for xmp.video or xmp.audio. It only seems to exist in Exiv2. But an xmp.video.DateTimeOriginal is also recognized by ExifTool and displayed as a DateTimeOriginal (no further metadata in the image). I also think that the Adobe standard would be xmpDM or xmpMM.

Maik