Entry

code: ffmpeg video quality settings

Here’s the settings i use for encoding flash video (flv)
medium
ffmpeg -i RulesOf_30sec.mov -acodec mp3 -ab 48k -ac 1 -ar 44100 -f flv -deinterlace -nr 500 -croptop 4 -cropbottom 4 -cropleft 8 -cropright 8 -s 320×240 -aspect 4:3 -r 25 -b 270k -me_range 25 -i_qfactor 0.71 -g 500 high.flv
high
ffmpeg -i RulesOf_30sec.mov -acodec mp3 -ab 64k -ac [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google
  • Technorati
  • Slashdot
  • LinkedIn
  • E-mail this story to a friend!

Here’s the settings i use for encoding flash video (flv)

medium
ffmpeg -i RulesOf_30sec.mov -acodec mp3 -ab 48k -ac 1 -ar 44100 -f flv -deinterlace -nr 500 -croptop 4 -cropbottom 4 -cropleft 8 -cropright 8 -s 320×240 -aspect 4:3 -r 25 -b 270k -me_range 25 -i_qfactor 0.71 -g 500 high.flv

high
ffmpeg -i RulesOf_30sec.mov -acodec mp3 -ab 64k -ac 2 -ar 44100 -f flv -deinterlace -nr 500 -croptop 4 -cropbottom 4 -cropleft 8 -cropright 8 -s 640×480 -aspect 4:3 -r 25 -b 650k -me_range 25 -i_qfactor 0.71 -g 500 high.flv

discussion at ffmpeg-php mailing list :
http://groups.google.com/group/ffmpeg-php/browse_thread/thread/32152ba62f83a90d?hl=en

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google
  • Technorati
  • Slashdot
  • LinkedIn
  • E-mail this story to a friend!

2 Comments

  1. September 12, 2007 at 6:08 am | Permalink

    Hey, I have given these settings a try in my Ruby on Rails application. Thanks for posting :D

  2. September 18, 2007 at 3:52 am | Permalink

    Thanks, it works perfectly! :)

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*