[Ffmpeg-devel] [PATCH] increase max numbers of B frames

Loren Merritt lorenm
Wed Feb 22 20:44:11 CET 2006

On Wed, 22 Feb 2006, Erik Slagter wrote:
> So this is what I did, I ran mencoder with this (x264enc opts) command
> line with bframes = 0..5 (didn't try higher values, no interesting
> results...)
> -x264encopts "pass=$pass:turbo=$turbo:nofast_pskip:bframes=
> $b:nr=500:bitrate=2000:vbv_maxrate=9000:vbv_bufsize=5000:scenecut=-1:threads=2"
> pass = [0,1], turbo is 1 when pass is 0 and vv.
> The result is that average qp goes down just a little bit when going
> from 0 to 1 bframes, after that the difference really is insignificant.
> Am I doing something wrong here?

You mean, besides not telling it to print psnr?
"nr" will greatly degrade psnr, whether or not it improves real quality, 
since psnr compares encoded output vs the non-denoised input. So if your 
video is noisy, instead run it though hqdn3d or something before 

--Loren Merritt

More information about the ffmpeg-devel mailing list