Error: [minor] Bad MakerNotes offset for State

Started by scattycat, December 04, 2023, 02:37:58 PM

Previous topic - Next topic

scattycat

Hi,
I've been using exiftool to change the dates of some of my photos and it has been working well. Sometimes I have gotten errors and have been able to find solutions on this forum. However, I have gotten the following error:

Warning: Duplicate Orientation tag in IFD0 - P1020809.JPG
Error: [minor] Bad MakerNotes offset for State - P1020809.JPG

I tried to fix this using:
exiftool -ifd0:orientation= -execute -ifd0:orientation=horizontal -common_args P1020809.JPG

but then get the following error:

Warning: Duplicate Orientation tag in IFD0 - P1020809.JPG
Error: [minor] Bad MakerNotes offset for State - P1020809.JPG
    0 image files updated
    1 files weren't updated due to errors
Warning: Duplicate Orientation tag in IFD0 - P1020809.JPG
Error: [minor] Bad MakerNotes offset for State - P1020809.JPG
    0 image files updated
    1 files weren't updated due to errors

I have managed to correct the orientation tags using the above command previously. Not sure why it isn't working here and how to get around this.

Any help would be much appreciated!
Thanks

scattycat

Ok, I figured it out - just needed to add -F to the second command above.