Closed songday closed 6 years ago
We will need to find out which box this metadata is located in (or if it is in a current box that we already parse). I will do some searching myself.
If you find or know any information on this, please post it here.
These are the boxes that we pass, but do not parse:
mdat
tkhd
edts
dinf
stsc
stsz
stco
tkhd
edts
dinf
stss
sdtp
stsc
stsz
stco
udta
It is possible that some of these are containers and may contain other boxes.
http://l.web.umkc.edu/lizhu/teaching/2016sp.video-communication/ref/mp4.pdf
This information will be located in the 'meta' box: https://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/QuickTime.html#ItemPropCont
Parsing of the metadata box was implemented in QuickTime, so it just needs to be copied over and adjusted a bit.
One more thing...
There is a comment in the exiftool docs mentioning the composite rotation tag: https://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/QuickTime.html#TrackHeader
I'm not sure if this means it is located in that matrix. I've added track header parsing in my local project, but the matrix does not change when rotation changes. The documentation also mentions an 'irot' tag that is supposed to contain the rotation information, but this character combination does not exist in the file when doing a text search.
here's metadata output by ffprobe:
As we can see, 'rotate : 90' in Metadata section
I uploaded test file here: http://test01.tourting.com/wer/82_1526629849542.mp4