rotating MPEGs

nicholas on 2009-12-09T21:30:51

Dear lazyweb...

What's the best way to rotate an MPEG movie through 90˚?

My understanding is that JPEGs can be rotated through 90˚ losslessly, so I assume that this can be done losslessly for MPEGs too, and I hope with a command-line tool.


Using Mencoder from Mplayer ...

muttley on 2009-12-09T22:46:22

mencoder -vf rotate=1 -o out.mpg -oac copy -ovc lavc in.mpg

Untested but I'm pretty sure that's the ticket.