Rotating Videos on the Command Line

Rotating videos is a task that's not that uncommon if you're filming with your camera in upright position. You can easily do this with ffmpeg:

ffmpeg -i -vf "transpose=1"

The command line tool ffmpeg is available for all major operating systems (I'm using it on Mac OS X; I installed it via Homebrew).