Showing posts with label mencoder. Show all posts
Showing posts with label mencoder. Show all posts

Wednesday, December 16, 2009

How To Decrease Resolution of Output Video File in mencoder

In a previous post, I showed how to change an .ogv file to a .avi one which is useful is you're going to give the video to a windows user. One problem I faced is that my resolution is too high and after I created the output avi file, it was about 7 MB in size which was too large as an e-mail attachment, you can simply add the parameter "-vf scale=800:600" to reduce the resolution to 800*600, e.g.

mencoder OMPerf.ogv -vf scale=800:600 -ovc xvid -oac mp3lame -xvidencopts pass=1 -o output.avi

where:

OMPerf.ogv is the input file
800*600 is the resolution
output.avi is the output file

Monday, December 14, 2009

Convert OGV files to AVI using mencoder

OGV is the default output for the "recordmydesktop" application in ubuntu, and I needed to convert it in order to use another software:

mencoder input.ogv -ovc xvid -oac mp3lame -xvidencopts pass=1 -o output.avi