Problems importing metadata from csv into images

Started by spippiy, September 25, 2024, 10:55:08 AM

Previous topic - Next topic

spippiy

Thank you very much.
The RunTimeValue is a tag that is present in the metadata of every apple photo I've come across and it usually consists in a very long number. Since it is a very long number, it is quite unique to each photo and it can be used like a fingerprint for images. Since the RunTimeValue tag can't be deleted, created or edited, I end up with all my non-Apple photos to have the same RunTimeValue tag, which make them appear fake if compared to one another, since that tag is very unlikely to be the same.
I think I will be the only one to ever ask for it, in case you can have a look at it and it is easy to make that tag writable I would be super grateful, otherwise it is not a problem since I'm already very satisfied with what I achieved, thank you!

StarGeek

Making it writable will not allow it to be added to your non-Apple images. It is still a MakerNotes tag.

There are other tags that can be used to hold a unique value to identify an image. For example, there is the EXIF:ImageUniqueID and XMP:DigitalImageGUID. Programs such as LightRoom will add a bunch of ID tags to uniquely identify an image. See all the *ID tags under the XMP-xmpMM tags, though it probably would be best to allow the programs that use those tags to create them.

There are a couple of ways to allow exiftool to generate a unique ID for any file that doesn't have one. The quickest is to use NewGUID. You can read the details on that under the "notes" column for its entry on the Extra Tags page.

There is also the ImageDataHash tag. This is more computer intensive (but should still be quick, depending upon the file size and CPU speed), as it will create an MD5, SHA256, or SHA512 has of only the image/video data, none of the metadata. This means the hash will be unchanged when you edit the metadata, unlike the command line programs that would create a hash.

An example command could be something like this, giving a priority to the RunTimeValue but creating a new ID for the non-Apple images
exiftool "-ImageUniqueID<NewGUID" "-ImageUniqueID<RunTimeValue" /path/to/files/
"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