I'm trying to use getID3 to get the orientation of Apple videos. It seems that if an iPhone user takes a video with the volume buttons up then the video records upside down. Apple then add a tag of some sort which all Apple software reads to rotate the video to make sure it plays the right way up but when a user uploads a video to my site it is actually upside down. I want to find this orientation tag so I can rotate these videos as needed.
At the monent I'm doing this
$getID3 = new getID3;
$ThisFileInfo = $getID3->analyze($filepath);
Which is giving me a lot of info but nothing it seems for the orientation. I read somewhere that the orientation is in the exif info but I can't seem to see this either?
If anyone could help point me in the right direction it would be hugely appreciated.