Closed malenki closed 11 years ago
On Sat, Aug 17, 2013 at 11:18:59AM -0700, malenki wrote:
After correlating .arw files with a gpx file using this command line gpscorrelate -tMvz +2 -g file.gpx ./arw exiftool sais for the files created: exiftool "-DateTimeOriginal+=0:0:0 0:0:1" .arw Warning: Bad format (12592) for SR2Private entry 0 - dscRX014379.arw Error: Error writing MakerNotes - dscRX014379.arw Even with the switch -m of exiftool it won't modify those files anymore.
Which version of gpscorrelate did you find this problem with? Which version of libexiv2? gpscorrelate uses libexiv2 to do all the low-level EXIF file manipulation, so this kind of problem is extremely likely be due to an issue in libexiv2 itself. You can verify this by using the exiv2 command-line tool to modify such an image and see if exiftool complains in the same way.
Dan
I am running debian sid. The versions are:
gpscorrelate, v 1.6.1, 13 February 2010. Daniel Foote, 2005-2010. GNU GPL.
exiv2 0.23 001700 (64 bit build) Copyright (C) 2004-2012 Andreas Huggel.
You are right that the bug is caused by exiv2:
$ exiftool "-DateTimeOriginal+=0:0:0 0:0:1" dscRX008539.arw
1 image files updated
$ exiv2 -M"set Exif.GPSInfo.GPSLatitude 4/1 15/1 33/1" -M"set Exif.GPSInfo.GPSLatitudeRef N" dscRX008539.arw
$ exiftool "-DateTimeOriginal+=0:0:0 0:0:1" -m dscRX008539.arw
Warning: Bad format (33792) for SR2Private entry 0 - dscRX008539.arw
Error: Error writing MakerNotes - dscRX008539.arw
0 image files updated
1 files weren't updated due to errors
Was an issue ever raised about this the exiv2
team? I have just run into what I believe is the same bug.
After correlating .arw files with a gpx file using this command line
gpscorrelate -tMvz +2 -g file.gpx ./*arw
exiftool sais for the files created:exiftool "-DateTimeOriginal+=0:0:0 0:0:1" *.arw Warning: Bad format (12592) for SR2Private entry 0 - dscRX014379.arw Error: Error writing MakerNotes - dscRX014379.arw
Even with the switch -m of exiftool it won't modify those files anymore.