Exiftool "messing up" DNG conversion !

Started by sdblanchet, July 14, 2018, 09:39:56 AM

Previous topic - Next topic

sdblanchet

Hi
INTRO: I'm building a batch file to process lots of raw files (so many retries to get the batch file working properly).

CONTEXT:
After recovering some raw files from a crashed HD, I thought to convert them to dng and to add a tag for the Raw File Name (this would help in any other recovery process (hoping it will never happen again!!!)
but when I execute this command:

exiftool -all= -tagsfromfile @ -all:all -unsafe -icc_profile -overwrite_original -ext ARW -ext dng -ext jpg -ext JPG -r .
Warning: [minor] Can't delete IFD0 from ARW - ./DSC00423.ARW
Warning: Error reading SR2 data - ./DSC00423.dng

On the ARW files, the Adobe DNG converter would not re-convert them on a second try and would not say why it just end its process.

These are the other commands I execute on the files and exiftool then complains about some other things, hence the previous command.

exiftool "-RawFileName<Filename" -overwrite_original -ext ARW -ext dng -ext jpg -ext JPG -r .
Warning: Error reading SR2 data - ./DSC00423.dng

exiftool "-FileCreationDate<DateTimeOriginal" "-FileModifyDate<DateTimeOriginal" -overwrite_original -ext ARW -ext dng -ext jpg -ext JPG -r . >>%LOGFILE% 2>&1
Warning: Tag 'filecreationdate' is not defined - ./DSC00423.ARW (this one is of no consequence, I know)
Warning: Error reading SR2 data - ./DSC00423.dng

These warnings are the reason I executed the first listed command !


Is there anything you can tell me about the problem with not being able to reconvert the ARW file to dng ?

FYI raw files are from A99ii

Hope I'm being clear enough
exiftool on Windows 10 is version 11.06
I can provide RAW files if needed

Hayo Baan

What are you trying to accomplish wit your first command? It removes all metadata and then tries to restore most again but this might leave out required data. Hence the dng failure (and likely even more)
Hayo Baan – Photography
Web: www.hayobaan.nl

sdblanchet

Well, I'm trying to fix the errors/warnings mentionned by the other commands
It's something I picked up from the web and it was supposed to not make it worst !!

StarGeek

Quote from: sdblanchet on July 14, 2018, 10:24:30 AMIt's something I picked up from the web and it was supposed to not make it worst !!

This command is listed under FAQ #20 where it gives the warning:
"Also, ExifTool may not be used like this to repair TIFF-based files -- the risk of image corruption is too great because the image is stored in the same IFD as the metadata in these files."

Most RAW files are TIFF based.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype