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 | , | Leave a comment