Suppot of MP4/M4A rati "Rating" metadata
A unified display of relevant technical and tag data for A/V files
Brought to you by:
guillaumeroques,
zenitram
Ticket moved from /p/mediainfo/bugs/1121/
Not really incorrect, not a bug, just not supported.
Which tool was used for that?
I don't find any spec for this field, I find this info about "rtng" atom for rating, or com.apple.quicktime.rating.user (developer.apple.com) but is a 32-bit float value 0.0-5.0, your "rati" atom is a 16-bit integer.
Not difficult to implement, just willing to be sure I implement something commonly accepted.
I set the rating using the latest version of Tag&Rename v3.9.15. This is a popular batch tag editor. I checked the options for MP4/M4A, and there is an option to always save/update Windows atom when saving tag changes. I just turned that option on and saved the tag again. It still contains a rati atom as you noted. However, now windows file properties shows the rating too:
Attached is the file that now also contains the Windows atom.
I have been experimenting with this to find a solution with the current version of Mediainfo. It appears that Tag&Rename does not properly write the rating tag. RATI for rating does not match iTunes rating. Also, the latest version of iTunes available no longer writes the rating to M4A files at all. It appears to be stored only in its internal database. Out of all the popular tag editing tools currently available, I cannot find a single one that supports writing the rating tag. Tag&Rename is the only one I have been able to find that writes rating (for M4A files it does it incorrectly).
I did find that tag data may also be stored that is compatible with iTunes as plain text. Also, Mediainfo supports this plain text entry. I have a test file I had been experimenting to find this, and the current version of Mediainfo shows the rating without issue from this plain text tag. This is good news in that it simplifies adding the rating tag to my files.
At the end of this attached binary file the RATING tag exists as plain text. Mediainfo displays it correctly without issue. With this being the case, there is no need for change.
Last edit: Jamil 2020-04-05