Possible to add missing values for some of the tags in the XMP-DM namespace?

Started by Mac2, November 06, 2017, 04:49:37 AM

Previous topic - Next topic

Mac2

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 ?

Phil Harvey

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.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Mac2

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.

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Mac2

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.