ffmpeg parameters

ffmpeg parameters

Posted by: sam83
Posted on: 2007-02-25 14:05:00

hello,

i have installed the ffmpeg but the converted flv doesn't seem so good in quality...
does anyone have to give me some good parameters?

thank you in advanced :)

Re: ffmpeg parameters

Posted by: eci_mike
Posted on: 2007-02-25 19:03:00

What parameters are you currently using?

Try this:

/usr/bin/ffmpeg -i /path/to/your/input.avi -f flv -acodec mp3 -vcodec flv -ab 56 -ar 22050 -r 15 -s 320x240 -qmin
4 -qmax 10 /path/to/your/output.flv

play with qmin/qmax to adjust the variable bit rate. Have a look also at http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html#SEC15

East Coast Interactive

Re: ffmpeg parameters

Posted by: sam83
Posted on: 2007-02-28 10:08:00

i am using these:

/usr/bin/ffmpeg -i /path_to_file -s 480x360 -deinterlace -ab 32 -r 15 -ar 22050 -ac 1 /path_to_flv

i will add your parameters to see the difference and i will tell you the result...
i will take a look also to the link.

thank you for your time...

Re: ffmpeg parameters

Posted by: eci_mike
Posted on: 2007-02-28 11:41:00

With that string you will be using the default video bitrate as you haven't set -b (in bits per second)
I think the default bitrate is 200kbit (i.e -b 200k) which is quite low for a clip of that size.

East Coast Interactive

Re: ffmpeg parameters

Posted by: sam83
Posted on: 2007-02-28 13:22:00

ok, the encoded flv is very good that i had before.
i appreciate your help :)

Tags: ffmpegflv