HEIC and MakerNotes / SamsungTrailer

Started by KoalaBear, July 25, 2021, 09:02:35 AM

Previous topic - Next topic

KoalaBear

I have a Samsung S10+ which looks like it also adds the "SamsungTrailer" metadata, and it looks like it's the same structure as with JPG/JPEG. Because of this, I hope it would be easy to support this too.

Looks like this is not yet supported for HEIC files. Tested with 12.29.

exiftool.exe -s -G -U -v3 E:\Photos\20190930_152739.heic

Gives the the following output (latest couple of lines):
  | | 5)  ImageSpatialExtent = ..
  | |     - Tag 'ispe' (12 bytes):
  | |       266a06: 00 00 00 00 00 00 02 00 00 00 01 20             [........... ]
  Unknown_sefd = ...Image_UTC_Data1569850060139...MCC_Data204SEFHj...6#....$SEFT
  - Tag 'sefd' (98 bytes):
    266e4f: 00 00 01 0a 0e 00 00 00 49 6d 61 67 65 5f 55 54 [........Image_UT]
    266e5f: 43 5f 44 61 74 61 31 35 36 39 38 35 30 30 36 30 [C_Data1569850060]
    266e6f: 31 33 39 00 00 a1 0a 08 00 00 00 4d 43 43 5f 44 [139........MCC_D]
    266e7f: 61 74 61 32 30 34 53 45 46 48 6a 00 00 00 02 00 [ata204SEFHj.....]
    266e8f: 00 00 00 00 01 0a 36 00 00 00 23 00 00 00 00 00 [......6...#.....]
      [snip 18 bytes]


Somewhat related to the following:
https://exiftool.org/forum/index.php?topic=7161.0
https://exiftool.org/forum/index.php?topic=10133.0
https://exiftool.org/TagNames/Samsung.html

I can supply some example files, just let me know.

Thanks in advance!

Phil Harvey

Yes, samples would be very helpful, thanks.  You can upload them and post a link here, or email to philharvey66 at gmail.com

- 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 ($).

Phil Harvey

I got the samples, thanks.

ExifTool 12.30 (to be released within a week or two) will decode this.  About the only useful information decoded is a TimeStamp.  The MCCData value will also be extracted, but I don't know what it means.

- 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 ($).

KoalaBear

Np, thanks! Yes, indeed, not really any info about it, which is strange.

I see you do have already some notes about it. "seen '234','222','429'", so now that includes '204', no idea what it means.

https://github.com/exiftool/exiftool/blob/cf0f4e7dcd024ca99615bfd1102a841a25dde031/lib/Image/ExifTool/Samsung.pm