Skip to content

Converting FLVs to MPEGs on Ubuntu

April 30, 2012

The first thing you need to do is to install the ffmpeg program.

sudo apt-get install ffmpeg

Next, you might want to install on your system all the necessary video and audio codecs.

sudo apt-get install ubuntu-restricted-extras

Assuming I have an input FLV file with filename video.flv and I want to convert it to a MPEG video:

ffmpeg -i video.flv video.mpg

Where -i is the flag that tells the program the name of the input file. After the input file directly follows the name of the output file. In this example, video.mpg.

According to the official manual page of ffmpeg, it automatically converts the video losslessly as possible. This means, output parameters for the conversion will be based on the input parameters.

For more information about ffmpeg, you can read on their official documentation here.

About these ads

From → Ubuntu

One Comment

Trackbacks & Pingbacks

  1. Converting FLVs to MP3s on Ubuntu « Learned Stuff

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,361 other followers

%d bloggers like this: