Rotating a QuickTime movie

I was handed a QuickTime movie that was recorded with an iPad that was held upside down.  Luckily ffmpeg makes this easy.

ffmpeg -i <input_file> -strict -2 \
-vf "transpose=1, transpose=1" <output_file>

The -strict -2 allows ffmpeg to use the experimental aac codec, and -vf “transpose=1, transpose=1” rotates the video by 90 degrees twice.

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: