Missing 2 entries in CanonCustom2 group 4 directory - PowerShot G1X Mark III

Started by ChrisCam, January 03, 2021, 03:01:06 PM

Previous topic - Next topic

ChrisCam

Hi,

I need your help, please.

When I use

exiftool -U -v2 image.cr2

I get


  | | | 32) CustomFunctions2 (SubDirectory) -->
  | | |     - Tag 0x0099 (140 bytes, int32u[35] read as undef[140])
  | | | + [CanonCustom2 directory with 2 entries, 140 bytes]
  | | | + [CanonCustom2 group 1 directory with 2 entries, 32 bytes]
  | | | | 0)  ISOExpansion = 0
  | | | |     - Tag 0x0103 (4 bytes, int32u[1])
  | | | | 1)  SafetyShift = 0
  | | | |     - Tag 0x0108 (4 bytes, int32u[1])
  | | | + [CanonCustom2 group 4 directory with 4 entries, 72 bytes]
  | | | | 0)  DialDirectionTvAv = 0
  | | | |     - Tag 0x0706 (4 bytes, int32u[1])
  | | | | 1)  CustomControls = 0 0 0 1 0 0 0 0 0 0
  | | | |     - Tag 0x070c (40 bytes, int32u[10])
  | | | | Warning = [minor] Missing 2 entries in CanonCustom2 group 4 directory
  | | | | Warning = Possibly corrupted CanonCustom2 data


What's missing? Is there a problem with my files or is the Tool wrong and there are no further entries when you take a picture with the G1X Mark III?
I simply copied a .cr2-file from my Canon PowerShot G1X Mark III with the Windows Explorer and put it in the command line to see what's going on.

I found this old thread that helped me to come up to this point:
https://exiftool.org/forum/index.php?topic=3015.0

I hope you can help me.

Best Regards
Chris

Phil Harvey

Hi Chris,

This warning indicates a bug in the Canon firmware.  This bug exists in the firmware of 5 different models (G1XmkIII, G9XmkII, M5, M6, M100), so it is unlikely that Canon even knows about this bug, and even less likely that they would ever fix it.

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

ChrisCam

Hi Phil,

Thanks for the info.
It's amazing that you know everything about every manufacturer and camera model.

Is there a possibility to adjust the ExifTool in the way it doesn't show this warning anymore, because one cannot do anything with information or file.
If I would not had seen the warning I would have saved a lot of time of researching about it ;-)

- Chris

Phil Harvey

Hi Chris,

I have already patched ExifTool for far too many camera-manufacturer software bugs.  Over time, patches like this turn the beautiful ExifTool source code into a real mess. :(

So I avoid adding patches unless necessary.  In this case, the only effect of the Canon bug is a couple of extra warnings from ExifTool and you lose the ability to edit the makernote tags*, which isn't too serious, so I would only consider patching for this if enough people complained.

- Phil

* The makernotes can't be edited due to a bug that is different from the one mentioned here -- so Canon actually has 2 significant problems to fix in these maker notes.
...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 ($).