blockzuloo.blogg.se

Mplayer rotate video
Mplayer rotate video




mplayer rotate video

mplayer rotate video

Notice that the portrait is now centered between black bars like a vertical DVD. Mencoder -vop expand=853:640 -oac copy ovc lavc -lavcopts vcodec=mjpeg OUTPUT.AVI -o BIGOUTPUT.AVI As it's now 640 tall, it'll need to be 853圆40 to be 4:3. Certainly I can leave it there, or I can expand it to a more regular 4:3 ratio. In this case, I "copy" the audio over, and use the "libavcodecs" for the output. You can do mencoder -ovc help to get a list of choices or read the massive docs.Īt this point, I have a really tall 480圆40 video, since it used to be at 640x480. The -oac and -ovc are the audio and video outputs. The -vf is for "Video Filter" and you can chain them, like -vf rotate=1,flip,scale=640:480 if you like. Mencoder -vf rotate=1 -o OUTPUT.AVI -oac copy -ovc lavc INPUT.AVI Here's the magic I used to rotate my video 90 degrees to the right: If you like, however, there's a whole world of Unofficial Packages that sit in front of this obscure tool and do the hard work for you. This command-line tool is rather obscure, as it seems is the whole culture of video wonks, but I just want to do my work and move on. We're not looking for a Video Player here but rather a utility called MEncoder that comes with the MPlayer package.

#Mplayer rotate video windows#

Get the MPlayer 1.0rc1 Windows package, NOT the Windows GUI package. There's an open source tool called MPlayer out of Hungary that you can download. Sometimes, though, I rotate the camera and end up creating a video that's, well, rotated in portrait, not landscape, and I want to rotate the Video to a vertical orientation. I've got a little Casio Exilim that I use to make little videos to post on this blog.






Mplayer rotate video