ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: StarGeek on May 07, 2021, 03:03:13 PM

Title: Exiftool can't read ItemList:BeatsPerMinute when set by Windows
Post by: StarGeek on May 07, 2021, 03:03:13 PM
When I set ItemList:BeatsPerMinute through Windows, exiftool only displays a blank entry.
(https://i.imgur.com/cXwqERs.png)

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.
Title: Re: Exiftool can't read ItemList:BeatsPerMinute when set by Windows
Post by: Phil Harvey on May 15, 2021, 06:19:19 AM
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
Title: Re: Exiftool can't read ItemList:BeatsPerMinute when set by Windows
Post by: Phil Harvey on May 28, 2021, 10:03:50 AM
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
Title: Re: Exiftool can't read ItemList:BeatsPerMinute when set by Windows
Post by: dae65 on June 23, 2021, 07:08:08 PM
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
Title: Re: Exiftool can't read ItemList:BeatsPerMinute when set by Windows
Post by: Phil Harvey on June 23, 2021, 07:46:00 PM
I think my samples until now wrote it as int16u, so this should be safe.

- Phil