UnixServerAdmin

Server Administration & Management

How to converting flv files to avi & mpeg using ffmpeg

FFMPEG is a good tool in linux which can be used to covert videos in to different format.

convertting flv format video to avi and mpg.

1) Run ffmpeg command :-

# ffmpeg -i input.flv output.avi

Here -i stands for input and output.avi is the output file in avi or mpg.

2) Advanced Options :-

# ffmpeg -i input.flv -ab 56 -ar 22050 -b 500 -s 320×240 output.mpg

where

-ab is audio bitrate with default of 64kbps
-ar is audio samplerate with default of 44100Hz
-b is video bitrate with delault of 2000kbps
-s is size with default of 160x128px

Advertisements

October 1, 2011 - Posted by | FFMPEG | ,

No comments yet.

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

%d bloggers like this: