Is there a way to determine the height and width of a video file under Mac OS X? I have a project im Python where I write something like a media management program similar to iTunes. I would rather read the dimensions of the video file directly from the file itself. The alternative for me would be to ask the user, but this is of course a bad user experience.
I don't know if there is a way to do this in python. One idea of mine is to call a system command ret = os.system("getVideoResolution " + filename)
, but I have not found one that finds the video resolution.
Thank you very much in advance!