ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Mac2 on November 06, 2017, 04:49:37 AM

Title: Possible to add missing values for some of the tags in the XMP-DM namespace?
Post by: Mac2 on November 06, 2017, 04:49:37 AM
ExifTool provides values for many metadata tags of type choice, e.g. for EXIF orientation or Flash.
For the XMP-DM namepace (Adobe Dynamic Media) there are no values for the xmpDM:cameraAngle or xmpDM:cameraMove tags.

Would it be possible to add those?
Adobe has documented the supported values in the XMP Dynamic Media section of the Additional Properties Documentation:

https://wwwimages2.adobe.com/content/dam/acom/en/devnet/xmp/pdfs/XMP%20SDK%20Release%20cc-2016-08/XMPSpecificationPart2.pdf
(Link taken from http://www.adobe.com/devnet/xmp.html, in case it is broken now).

I would do it, but I don't know how. I don't speak Perl, sorry.
I guess it would go into XMP2.pl ?
Title: Re: Possible to add missing values for some of the tags in the XMP-DM namespace?
Post by: Phil Harvey on November 06, 2017, 07:21:30 AM
I think you may be using a very old version of ExifTool.  These have been in ExifTool for many years.

Or perhaps you are specifying them incorrectly?  In ExifTool it is XMP-xmpDM:CameraAngle.

See the documentation here (https://exiftool.org/TagNames/XMP.html#xmpDM).

- Phil
Title: Re: Possible to add missing values for some of the tags in the XMP-DM namespace?
Post by: Mac2 on November 06, 2017, 08:02:45 AM
I use a current version of ExifTool.
I import the supported tags and their values into a database. When values are available for a tag, I present my users with a list to choose from.
I extract the tags and values from ExifTool using XML created via:

exiftool -f -l -t -listx

The XML contains values for tags like Flash or EXIF Orientation etc.
I can also see the tags cameraAngle and cameraMove in the XML, but their nodes do not contain a <values> node => no values.
When I search the XML for one of the values defined for cameraMove (e.g.: Crane Down) nothing is found.
Title: Re: Possible to add missing values for some of the tags in the XMP-DM namespace?
Post by: Phil Harvey on November 06, 2017, 08:07:28 AM
Ah, sorry.  I should have read more carefully.

ExifTool typically does not provide a list of values for "Open Choice"-type XMP tags because they may contain any value.

- Phil
Title: Re: Possible to add missing values for some of the tags in the XMP-DM namespace?
Post by: Mac2 on November 06, 2017, 08:22:15 AM
Ah, I understand. The fields are indeed openChoice.

Adobe mumbles something about "from a fixed set of industry standard terminology. Predefined values include: " but then lists a set of values for both tags which are virtually complete and used as such in all relevant Adobe products...

But you're right, it's not a fixed set of values so there may be values found in metadata which is not in that list. This might cause mapping issues with ExifTool or something.
I think I'll handle that via the thesaurus feature in my software.