cannot write custom xmp tag (config problem?)

Started by Newton17, May 26, 2021, 09:33:14 AM

Previous topic - Next topic

Newton17

Hello,
I am trying to copy some xmp tags (pitch, roll, yaw) from one image set to another. I managed to export the information to a csv file, but cannot insert the data into the other image set. I am pretty sure I'm doing something wrong with my config and creating the namespace but I haven't been able to figure out what specifically.

My config and the csv file are attached below. Initially I was trying to follow along with this discussion because it seems very similar: https://exiftool.org/forum/index.php?topic=10643.msg56475#msg56475 but I haven't been able to get anything working.

The commands I've been using are:

Even with -all:all I can see the pitch/roll/yaw data is not added so I think I have defined my custom tags wrong in my config file. Any advice on how I might troubleshoot this is appreciated.

Newton17

The screenshot of the command output was not included, my apologies. here it is.

StarGeek

You have dots . at the end of some lines instead of commas ,
This is what you want
    Pitch => { Writable => 'string' },
    Roll => { Writable => 'string' },
    Yaw => { Writable => 'string' },


Example output
C:\>exiftool -config Y:\!temp\bb\customtest.config -P -overwrite_original -XMP-Camera:pitch=3 -XMP-Camera:roll=4 -XMP-Camera:yaw=5 y:\!temp\Test4.jpg
    1 image files updated

C:\>exiftool -g1 -a -s -xmp:all y:\!temp\Test4.jpg
---- XMP-x ----
XMPToolkit                      : Image::ExifTool 12.26
---- XMP-Camera ----
Pitch                           : 3
Roll                            : 4
Yaw                             : 5
"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

Newton17

wow... thats a little embarrassing. just a typo, and I spent all of yesterday trying to figure out what was wrong.. Thank you so much :)

StarGeek

It happens, everyone's done it.  I only noticed because I was going over it line by line comparing it to a different config file that I knew worked.
"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