GraphicConverter 12.0.1 adds movie metadata support

Started by wywh, April 21, 2023, 05:11:40 AM

Previous topic - Next topic

wywh

GraphicConverter 12.0.1 now supports editing the following .mp4, .m4v and .mov tags:

MacOS:FileCreateDate
System:FileModifyDate
QuickTime:CreateDate
Keys:CreationDate
Keys:GPSCoordinates
Keys:DisplayName
Keys:Title
Keys:Author
Keys:Description
Keys:Keywords
Keys:LocationName

Keys:CreationDate can be added/deleted via GC "Metadata Specifics" menu and also GC "Force adding of creation dates" movie option must be turned ON. Newer iOS versions use it and macOS 10-13 Mojave - Ventura Photos.app prefers it over QuickTime:CreateDate (as a last resort it grabs the date from MacOS:FileCreateDate if neither of those tags has a date).

Keys:CreationDate is really only needed for old pre-1970 movies where QuickTime:CreateDate does not work (or maybe if local time is preferred over UTC). Before year 1902 Keys:CreationDate works even to year 0001 in Photos.app but then Google Photos might randomly display a wrong date and even if it displays the correct date, it might sort that very old movie incorrectly.

Movie timezone is grabbed from the computer's timezone setting. In an earlier GC beta version there was an option to set timezone via the same "Store Time Zone" setting that works for .jpg. But that caused some related issues so that option was removed. I have never needed to fiddle movie timezones and even vacation movies and images sort and mix correctly in my workflow.

QuickTime Player show date, GPSCoordinates, DisplayName (Headline), Title, Author (Writer), Description and Keywords.

Photos.app show date, GPSCoordinates, DisplayName (Headline), Title, Description and Keywords.

In both Apple's apps DisplayName (Headline) overrides Title if both are present. I decided use Title in movies because I use the same GC field to edit IPTC:ObjectName and XMP-dc:Title in .jpg.

If GC has XMP support for movies turned ON, then also the following XMP is filled but none of those Apple's apps show these fields:

XMP-dc:Title
XMP-dc:Description
XMP-photoshop:CaptionWriter
XMP-dc:Subject
XMP-xmp:Rating

Compared to Keys, UserData and ItemList have a much more limited support for those tags in Apple's apps.

- Matti

wywh

If necessary, you can set the Keys:CreationDate movie timezone with exiftool command like (that does not touch QuickTime:CreateDate because it is UTC and even more confusing because the occasional added Daylight "Savings" Time in summer):

exiftool -m -P -overwrite_original_in_place -api QuickTimeUTC=1 -api LargeFileSupport=1 -QuickTime:CreateDate='2000:06:01 12:00:00-08:00' -Keys:CreationDate='2000:06:01 12:00:00-08:00' -Keys:Title='Title' -Keys:Author='Author' -Keys:Description='Description' -Keys:Keywords='Keyword 1,Keyword 2' movie.mp4

exiftool -a -G1 -s -api QuickTimeUTC=1 -Time:All movie.mp4
[QuickTime]     CreateDate                      : 2000:06:01 23:00:00+03:00
[Keys]          CreationDate                    : 2000:06:01 12:00:00-08:00

- Matti

wywh

Those movie tags exported from macOS 13 Ventura Photos.app library to iPadOS 16.4.1 Photos, the iPad display date, GPSCoordinates and Description.

Those other similar Keys, UserData and ItemList tags, exported to Google Photos (as of 2023-0423...) display only (in this order) 1. Keys:CreationDate 2. QuickTime:CreateDate and 1. UserData:GPSCoordinates 2. Keys:GPSCoordinates. All other similar Keys, UserData and ItemList tags are ignored. Movies before 1970 use Keys:CreationDate. .m4v and .mov display correct time with timezone but for some reason in .mp4 the timezone must be subtracted from the time.

Attached sample .mp4, .m4v and .mov have the following dates but the fragile filedates usually do not transfer intact:

exiftool -a -G1 -s -n -api QuickTimeUTC=1 -api RequestAll=2 -api LargeFileSupport=1 .

[System]        FileName                        : 2006-0606-1206-06.mp4
[Keys]          CreationDate                    : 2005:05:05 12:05:05+02:00
[UserData]      DateTimeOriginal                : 2004:04:04 12:04:04+02:00
[QuickTime]     CreateDate                      : 2003:03:03 12:03:03+02:00
[System]        FileModifyDate                  : 2002:02:02 12:02:02+02:00
[MacOS]         FileCreateDate                  : 2001:02:01 12:01:01+02:00

[UserData]      GPSCoordinates                  : 36.6101 -66.91515 119.9
[Keys]          GPSCoordinates                  : -36.6101 -66.91515 119.9

[ItemList]      Title                           : Title_ItemList
[UserData]      Title                           : Title_UserData_ID-titl
[UserData]      Title                           : Title_UserData
[Keys]          Title                           : Title_secondary_Keys [displayed if the primary does not exist]

[Keys]          DisplayName                     : Title_primary_Keys
[UserData]      ClipFileName                    : Title_ClipFileName_UserData

[ItemList]      Description                     : Description_ItemList
[UserData]      Description                     : Description_UserData
[Keys]          Description                     : Description_Keys

[ItemList]      Author                          : Author_ItemList
[ItemList]      Author                          : Author_ItemList_ID-a9aut
[UserData]      Author                          : Author_UserData
[Keys]          Author                          : Author_Keys

[Keys]          Keywords                        : Keyword1_Keys,Keyword2_Keys
[ItemList]      Keyword                         : Keyword1_ItemList,Keyword2_ItemList

- Matti

wywh

I tested in more detail how macOS 13.3.1 Ventura Apple's apps and the current Google Photos display movie metadata.

Some same or similar tags can be stored in several tag groups and an app might prefer to display one or the other in some preferred order if many of them co-exist (below the preferred tag order is labeled primary, secondary etc).

Additionally some apps use different Tag ID's for same main tags and an app might prefer one or the other ID (displayed with exiftool G1:7 option). For example, UserData:ID-a9nam:Title is exiftool default Title tag that Spotlight can find. But weirdly FCP 10.6.5 uses UserData:ID-titl:Title which Spotlight can NOT find. <sigh>

Different wrappers might behave differently in different apps although they contain the same codecs and metadata.

The Keys tag group is currently most widely supported in Apple's apps (see below). These Keys tags can be edited in Graphic Converter 12.0.2 and later (GC can also edit movie dates):

-> macOS 13.3.1 Ventura Photos.app displays:

.mp4, .m4v, .mov:

Keys:GPSCoordinates [primary GPS]
Keys:DisplayName [primary Title]
Keys:Title [secondary Title]
Keys:Keywords
Keys:Description [primary Description]

ItemList:Title [tertiary Title]
ItemList:Description [secondary Description]

.mov:

UserData:GPSCoordinates [secondary GPS]
UserData:ID-a9nam:Title [quaternary Title, exiftool 12.60's default Title tag]

-> macOS 13.3.1 Ventura Photos.app finds:

.mp4, .m4v, .mov:

Keys:DisplayName
Keys:Title
Keys:Keywords
Keys:Description

ItemList:Title
ItemList:Description

.mov:

UserData:ID-a9nam:Title [exiftool 12.60's default Title tag]

-> macOS 13.3.1 Ventura QuickTime Player.app displays:

.mp4, .m4v, .mov:

Keys:GPSCoordinates [primary GPS]
Keys:DisplayName [primary Title]
Keys:Title [secondary Title]
Keys:Author [primary Author]
Keys:Keywords
Keys:Description [primary Description]

ItemList:Title [tertiary Title]
ItemList:ID-a9aut:Author [secondary Author, FCP 10.6.5 tag]
ItemList:Description [secondary Description]

.mov:

UserData:GPSCoordinates [secondary GPS]
UserData:ID-a9nam:Title [quaternary Title, exiftool 12.60's default Title tag]

-> macOS 13.3.1 Ventura Spotlight finds:

.mp4 and .mov:

Keys:DisplayName
Keys:Author
Keys:Keywords
Keys:Description

.m4v:

ItemList:Title

! Spotlight does NOT find any tag in .m4v. BUT if just the file suffix is changed from .m4v to .mp4, THEN it works as well as in .mp4 and .mov. Weird! .mp4 and .m4v are very much the same, .m4v only has some DRM options added.

.mov:

UserData:ID-a9nam:Title [exiftool 12.60's default Title tag, FCP 10.6.5 tag UserData:ID-titl:Title not found]

-> Adobe Bridge 2023 13.03.693 displays:

.mp4, .m4v, .mov:

UserData:GPSCoordinates [.mp4, .m4v GPS]

ItemList:Title

XMP-iptcCore:Location
XMP-photoshop:Headline
XMP-dc:Subject
XMP-photoshop:CaptionWriter
XMP-xmp:Rating

.mov:

Keys:GPSCoordinates [.mov GPS]

-> Google Photos (a moving target) as of 2023-0507 displays:

.mp4, .m4v, .mov:

ItemList:GPSCoordinates [primary GPS]
UserData:GPSCoordinates [secondary GPS]
Keys:GPSCoordinates [tertiary GPS]

- Matti