Odi's astoundingly incomplete notes
New entries | CodeRotating 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
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.
Add comment