Search code examples
phplinuxlibavavconvmediainfo

get .mov video rotation with php or avconv


is there a way to find an .mov file's rotation from the exif data directly with php or using avconv?

Im currently using mediainfo but I was wondering if I can get the rotation without depending on it.


Solution

  • Libav's avconv does not support it, at least not yet.

    However, FFmpeg -i will show you the metatada of the video and you can find the rotate attribute in there.