[1331755 views]

[]

[ads]

Odi's astoundingly incomplete notes

New entries | Code

Rotating a video file with mencoder

My digital camera can shoot movies as well. Sometimes I shoot a movie in portrait format. Of course it needs to be rotated to view it on a screen. The camera does not provide a possibility to rotate the movie. So I need a software solution. Using mencoder it is as easy as: mencoder -nosound -ovc lavc -vf rotate=0 original.mpg -o rotated.mpg

posted on 2005-09-04 16:45 UTC in Code | 1 comments | permalink
Is it actually possible to losslessly rotate an MPEG encoded video? I know it is possible with JPEG. But I fear that motion compensation in MPEG could effectively prevent that.