Converting videos using FFMpeg

I needed to con­vert video from a .mov for­mat to .flv for­mat, and doing it all auto­mat­i­cally on my server.

I came across FFM­Peg, that is the indus­try stan­dard solu­tion to mess­ing around with video files on a linux based system.

After a brief instal­la­tion process I’ve started con­vert­ing my files using the fol­low­ing command:

ffmpeg -i OrignalFile.mov -deinterlace -ar 44100 -r 25 -qmin 3 -qmax 6 OutputFile.flv

This took about 30 sec­onds to con­vert a 720p .mov file to .flv for­mat in a superb quality.

The Above com­mand will con­vert a .mov file to .flv file in the same resul­tion the .mov file is, use high qual­ity audio, with 25 frames per sec­ond. and set the qual­ity between 3 and 6, which will give out good results with for view­ing on the web site.

For more infor­ma­tion about FFM­peg read here.

Leave a Reply