Hi there!
I'm trying to figure out how the composite tag "Rotation" is generated from both "QuickTime:MatrixStructure" and "QuickTime:HandlerType". I've extracted using the -g option all the metadata from a bunch of videos and here's how it appears in my excel datasheet (see the screenshoot attached).
The "QuickTime:MatrixStructure" tag shows the same pattern: "100010001" and the "QuickTime:HandlerType" tag have only these five contents: "Metadata", "Video Track", "Audio Track", "Metadata Tags" or "Alias Data".
How the hell do "we" know with these tags that such or such video have either a "0", "90", 180" or "270" rotation applied? In other words, I can't figure out any logic behind the creation of the composite rotation tag using the two QuickTime tags, but I surely miss something!
The MatrixStructure is a rotation matrix. And you should be looking at the video HandlerType to get the rotation of the video.
Google "rotation matrix" to learn more about rotation matrices.
- Phil