When it comes to video files, where the same tag name can often be located in multiple groups, you can find the priorities on the Quicktime tags page (https://exiftool.org/TagNames/QuickTime.html)
When writing, ExifTool creates both QuickTime and XMP tags by default, but the group may be specified to write one or the other separately. If no location is specified, newly created QuickTime tags are added in the ItemList location if possible, otherwise in UserData, and finally in Keys,
Phil, maybe this should be added to the
-TAG=VALUE as well?
Quote from: rishid on October 04, 2021, 06:34:55 AMIt seems you can use some (all?) tags without a prefix. I would also think this is file type dependent as well.
Yes, all tags can be used without setting a group name and it can be file type dependent as well. For example, setting
Comment in a jpeg file will set the jpeg specific
File:Comment while in a video file it will set
ItemList:Comment.
But since the same tag name can often be found in multiple groups, some tags are marked as "Avoid". For example, in the case of
XMP:Author, that tag can be written as
XMP-pdf:Author (https://exiftool.org/TagNames/XMP.html#pdf),
XMP-xmp:Author (https://exiftool.org/TagNames/XMP.html#xmp), and
XMP-acdsee:Author (https://exiftool.org/TagNames/XMP.html#acdsee). The latter two are marked with "Avoid", indicated by a slash
/ in the "Writable".
XMP-xmp:Author is avoided because it is non-standard and
XMP-acdsee:Author is avoided because it is specific to the ACDSee software, which has a tendency to create their own tags rather than use existing standards.
Quote from: StarGeek on October 04, 2021, 11:10:07 AM
Phil, maybe this should be added to the -TAG=VALUE as well?
I have changed the description in the
-TAG=VALUE section to indicate that it applies to JPEG and TIFF-format files only. I don't think I want to get into mentioning the details about all of the other types here. Right now, QuickTime is probably the one with the most complex rules, but a number of other formats have specific groups of their own, and detailing all of these would be too much.
- Phil