UserData:LevelMeter working as intended?

Started by StarGeek, December 17, 2024, 05:11:38 PM

Previous topic - Next topic

StarGeek

When writing to the UserData:LevelMeter by itself, it writes to both ID-Lvlm and ID-lvlm. If you further write to those tags by tag ID, it creates two new copies of each tag. Would this be working as intended?

This probably isn't very important, as the tag itself hasn't been mentioned here before and only appears in the output on one post.

C:\>exiftool -P -overwrite_original -all= Y:\!temp\Test4.mp4
    1 image files updated

C:\>exiftool -P -overwrite_original -LevelMeter=9.9 Y:\!temp\Test4.mp4
    1 image files updated

C:\>exiftool -G1:7 -a -s -u -LevelMeter Y:\!temp\Test4.mp4
[UserData:ID-Lvlm] LevelMeter                   : 9.9
[UserData:ID-lvlm] LevelMeter                   : 9.9


C:\>exiftool -P -overwrite_original -UserData:ID-Lvlm:LevelMeter=78.4 -UserData:ID-lvlm:LevelMeter=92.6 Y:\!temp\Test4.mp4
    1 image files updated

C:\>exiftool -G1:7 -a -s -u -LevelMeter Y:\!temp\Test4.mp4
[UserData:ID-Lvlm] LevelMeter                   : 9.9
[UserData:ID-lvlm] LevelMeter                   : 9.9
[UserData:ID-Lvlm] LevelMeter                   : 78.4
[UserData:ID-lvlm] LevelMeter                   : 92.6
"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

Phil Harvey

Thanks for pointing this out.  I'll look into it.

Do you have any idea which one is preferred?  'Lvlm' or 'lvlm'?

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

Not a clue. I only came across it while expanding the metadata test args file. The only time it's mentioned in these forums is this post.
"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

Phil Harvey

I've gone through all my samples, and I only have one with 'Lvlm' and one with 'lvlm'.  Both are MOV files written by very old Kodak cameras.  This tag probably shouldn't be writable, but I'll leave it that way.  Both tags will be written when you write LevelMeter without a family 7 group name.  However, there is a bug in ExifTool that existing Unknown UserData and ItemList tags aren't removed when writing a new value.  There are a few other Writable and Unknown tags that are affected by this as well.  I'll fix this in version 13.10.

Thanks again for catching this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).