You can check the dimensions through AppleScript. Due to the fact that the
movies are limited to being 640x480 or 480x640, you can query the dimensions and
determine whether they are horizontal or vertical by checking either dimension.
You can then use Automator to rotate the movies in a batch, but I am not sure if
it allows for the rotation of the movie - but if it doesn't you can have it call
an AppleScript that will set the rotation of the movie.
Here is some sample code for AppleScript:
http://forums.macosxhints.com/archive/index.php/t-13163.html
Ron
--- In QuickTime@yahoogroups.com, "Vadim Zaliva" <lord@...> wrote:
>
> Hi!
>
> I am experimenting with MOV files recorded by iPhone 3GS. I am looking for a
way to detect orientation (portrait vs landscape) using commend line tools or
open source libraries.
>
> Apple QuickTime player shows them in correct orientation. However comparing
ffmpeg -i output for 2 sample files I do not see any information which could
help me to guess the right orientation.
>
> Thanks!
>
> Vadim
>