datetimeoriginal from date taken

Started by shirm, November 08, 2020, 10:21:52 AM

Previous topic - Next topic

StarGeek

Quote from: sjw on November 29, 2020, 10:59:44 AMAny idea how to fix it (I don't really know what MakerNotes are)?

As long as the files aren't RAW file types, then see FAQ #15.

MakerNotes is a proprietary group of data that a lot of camera manufacturers add the the file.  These contain a lot of information as to the camera's settings at the time the image was taken.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

sjw

Many thanks StarGeek, I added -F and that has fixed it.  I removed -forcewrite=exif
Some other files give an error:
Warning: Bad offset for IFD0 Padding - wd031wdw2014224108133005_7031276874_18.JPG
Warning: [minor] Entries in IFD0 were out of sequence. Fixed. - wd031wdw2014224108133005_7031276874_18.JPG
Error: Bad ExifIFD offset for Padding - wd031wdw2014224108133005_7031276874_18.JPG
    0 image files updated
    1 files weren't updated due to errors

Is there an option for this error?
Is there any issue with using the -F on files that update fine (so I can just use the same command for all files)?

StarGeek

Quote from: sjw on November 29, 2020, 01:10:48 PMIs there an option for this error?

Try FAQ #20.  I'd suggest working those file separately, because if the corruption is bad enough, you might lose some data.

You can list the problematic files with
exiftool -g1 -a -s -Validate -Warning /path/to/files/

QuoteIs there any issue with using the -F on files that update fine (so I can just use the same command for all files)?

I don't believe so, but Phil would have to comment to be sure.  RAW and Tiff files excluded.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).