Exiftool can't read ItemList:BeatsPerMinute when set by Windows

Started by StarGeek, May 07, 2021, 03:03:13 PM

Previous topic - Next topic

StarGeek

When I set ItemList:BeatsPerMinute through Windows, exiftool only displays a blank entry.


C:\>exiftool -G1 -a -s -ItemList:BeatsPerMinute "Y:\!temp\Test1.mp4"
[ItemList]      BeatsPerMinute                 :


Windows can read the entry if exiftool sets ItemList:BeatsPerMinute.

Attached file is sample used.
"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 this report.  I haven't forgotten about this.  With the spring bird migration in full swing I've been spending all of my free time outdoors recently.  I'll look at this when I get a chance.

- 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 ($).

Phil Harvey

This problem is due to a patch I added to read some BeatsPerMinute values stored incorrectly in Boolean format.  The patch forced the value to be interpreted as a 16-bit integer, but in this case only 8 bits were available.  I'll patch the patch to fix this, and ExifTool 12.27 should read this properly.

Thanks for the report.

- 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 ($).

dae65

Hi. From now on, if I understand correctly, exiftool is going to read ItemList:BeatsPerMinute as either int8 or int16 depending on how many bits there are to be read, right? Is it safe to continue writing it as int16 though? Thanks

Phil Harvey

I think my samples until now wrote it as int16u, so this should be safe.

- 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 ($).