Video File Conversion in Ubuntu

In order to convert video from one format to another, the following packages need to be installed:

sudo apt-get install mencoder

When installed the following command can be used to run the video converter:

mencoder [source_file] -ovc xvid -oac mp3lame -xvidencopts bitrate=400 -o [target_file]

Other codec options can also be provided instead of xvid and mp3lame. Similarly the bitrate and other options can also be altered.

Advertisements

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