VignettingCorrUnknown1 data when copying EOS R5 Mark II CR3 files

Started by vbnut, March 21, 2025, 08:25:44 PM

Previous topic - Next topic

vbnut

System: Windows 10 Pro, Version 22H2, OS Build 19045.5608 using Powershell

ExifTool version: 13.25

I have a 200 line PowerShell script that looks at the images on a memory card and uses exiftool plus some additional logic to
1. Show the dates on which the images the card were captured along with the time the first and last image on each date were captured.
2. Prompts me to select images by date, optionally constrained by a start and/or end time.
3. Copies the selected images to a destination using my personal date-based folder schem3.

When I rented a Canon EOS R1 and a Canon EOS R5 Mark II a couple of months ago and used my script with exiftool 13.03_64 to ingest the CR3 images from those cameras, I started getting the message
Warning: [minor] Invalid VignettingCorrUnknown1 data

for every image.  I'm often copying hundreds of images, so these warnings overwhelm the output of my script.

I recently purchased a Canon EOS R5 Mark II, and I find I'm still getting the same message, so I downloaded exiftool-13.25_64 and confirmed that it also produces the message.

I isolated the issue to the exiftool command for step 3 (copy images to a destination using my personal date-based folder scheme), and replicated the problem copying just one image.

Here is the command-line I used to replicate the problem:
exiftool.exe -extension JPG -extension CR2 -extension CR3 -extension ARW -extension MP4 -extension CRM -extension WAV -recurse -out . -preserve -progress -v -f "-FileName<CreateDate" -dateFormat "G:\Working Photos\%Y Photos\%Y-%m %B\%Y-%m-%d\%Y-%m-%d test\PSC_%Y%m%d_%%-4f%%+c.%%e" -api QuickTimeUTC 'G:\More Working Photos\2025 Photos\2025-03 March\2025-03-20\2025-03-20 Back Yard\PSC_20250320_0799.CR3'

and here is the console output from the command:
======== G:/More Working Photos/2025 Photos/2025-03 March/2025-03-20/2025-03-20 Back Yard/PSC_20250320_0799.CR3 [1/1]
Setting new values from G:/More Working Photos/2025 Photos/2025-03 March/2025-03-20/2025-03-20 Back Yard/PSC_20250320_0799.CR3
Warning: [minor] Invalid VignettingCorrUnknown1 data - G:/More Working Photos/2025 Photos/2025-03 March/2025-03-20/2025-03-20 Back Yard/PSC_20250320_0799.CR3
'G:/More Working Photos/2025 Photos/2025-03 March/2025-03-20/2025-03-20 Back Yard/PSC_20250320_0799.CR3' --> 'G:/Working Photos/2025 Photos/2025-03 March/2025-03-20/2025-03-20 test/PSC_20250320_0799_1.CR3'
Rewriting G:/More Working Photos/2025 Photos/2025-03 March/2025-03-20/2025-03-20 Back Yard/PSC_20250320_0799.CR3...
Nothing changed in G:/More Working Photos/2025 Photos/2025-03 March/2025-03-20/2025-03-20 Back Yard/PSC_20250320_0799.CR3
    1 image files copied

I can provide the CR3 image file if needed.


Phil Harvey

It seems that Canon has changed the format of this data for the R1 and R5m2.  You can ignore minor warnings with the -m option, or suppress this specific warning message with something like -api nowarning=VignettingCorr.

- 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'll add a patch in version 13.26 to avoid this warning (at least for the format of this structure seen in the sample R1 and R5m3 files I have on hand).

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