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

About SoCRaT

Software Engineer, OSS & Linux Geek
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s