ricohapi / theta-api-specs

THETA API Specifications
31 stars 8 forks source link

EXIF Tag Documentation #26

Open 1DanielC opened 1 year ago

1DanielC commented 1 year ago

Hello! I was lead here from this forum to try and find some documentation on the tag values found in the Theta Z1 cameras when running exiftool. For example:

exiftool R0010239.MP4|grep Date
File Modification Date/Time     : 2023:09:15 10:18:36-04:00
File Access Date/Time           : 2023:09:15 10:18:38-04:00
File Inode Change Date/Time     : 2023:09:15 10:34:43-04:00
Track Create Date               : 2023:09:13 17:19:04
Track Modify Date               : 2023:09:13 17:19:04
Media Create Date               : 0000:00:00 00:00:00
Media Modify Date               : 0000:00:00 00:00:00
Modify Date                     : 2023:09:13 13:15:58
Date/Time Original              : 2023:09:13 13:15:58
Create Date                     : 2023:09:13 13:15:58
Content Create Date             : 2023:09:13 13:19:05-04:00

Where should I go to find the definitions for these tags, and determine their differences?

DaisukeHohjoh commented 1 year ago

Hello! Actually, RICOH is not familiar with how exiftool parses each tags and calculate each Date/Time information. But I did same test with Theta Z1 ver 3.10.2 and exiftool ver 10.78 on Windows machine, and my guess is following.

File Modification Date/Time     : 2023:09:18 10:25:47+09:00
File Access Date/Time           : 2023:09:18 10:28:27+09:00
File Creation Date/Time         : 2023:09:18 10:26:44+09:00
Track Create Date               : 2023:09:18 01:25:47
Track Modify Date               : 2023:09:18 01:25:47
Media Create Date               : 2023:09:18 01:25:47
Media Modify Date               : 2023:09:18 01:25:47
Modify Date                     : 2023:09:18 10:25:38
Date/Time Original              : 2023:09:18 10:25:38
Create Date                     : 2023:09:18 10:25:38

Track Create Date               : 2023:09:18 01:25:47
Track Modify Date               : 2023:09:18 01:25:47

These metadata seem be parsed from moov -> trak -> tkhd -> CreationTime and ModificationTime stored in MP4 file. THETA Z1 stores these metadata as the timestamp at the end of video recording, and as UTC (coordinated universal time) format. You can refer to QuickTime File Format provided by Apple as well.

https://developer.apple.com/documentation/quicktime-file-format/track_header_atom/creation_time https://developer.apple.com/documentation/quicktime-file-format/track_header_atom/modification_time


Media Create Date               : 2023:09:18 01:25:47
Media Modify Date               : 2023:09:18 01:25:47

These metadata seem be parsed from moov -> trak -> mdia -> mdhd -> CreationTime and ModificationTime stored in MP4 file. Normally THETA Z1 stores to this metadata same values as tkhd , but I am not sure at this time why yours are all zero in the result.

By the way, In my simple test, Track Create/Modify Date looks be parsed from video track, but Media Create/Modify Date looks be parsed from audio trak. I don't know why exiftool works like this.


Modify Date                     : 2023:09:18 10:25:38

This metadata seem be parsed from moov -> udta -> RMKN -> 0th IFD -> 0x0132 DateTime. This is RICOH specified metadata based on Exif spec.


Date/Time Original              : 2023:09:18 10:25:38
Create Date                     : 2023:09:18 10:25:38

These metadata seem be parsed from moov -> udta -> RMKN -> Exif IFD -> 0x9003 DateTimeOriginal and 0x9004 DateTimeDigitized for each. This is RICOH specified metadata based on Exif spec, too.


File Modification Date/Time     : 2023:09:18 10:25:47+09:00
File Access Date/Time           : 2023:09:18 10:28:27+09:00
File Creation Date/Time         : 2023:09:18 10:26:44+09:00

I guess that they looks be related the timestamp at the last modification / at the last accessing / at the copying MP4 files at PC side.

DaisukeHohjoh commented 1 year ago

I corrected my previous comment.

Content Create Date             : 2023:09:18 10:25:47+09:00

This metadata seem be parsed from moov -> udta -> @day. Only this metadata contains timezone information in MP4 file. By the way, I verified that the latest exiftool (ver 12.65) can parse this.

Best regards, Daisuke Hohjoh