[x264-devel] How to fix the B frame

Jason Garrett-Glaser darkshikari at gmail.com
Mon Jun 23 04:31:30 CEST 2008


> Hi, I used the parameter -o test1.264  -b 6 -q 25 \foreman.yuv 176x144. But
> the number of B frame is not always 6 between two P frames,in fact, there
> are 2 or 3 B frames between two P frames sometimes. In addition,
> param->b_bframe_adaptive = 0. So how do we fix the B frames?  Therefore, how
> do we change the parameter or code to fix the number of B frame between two
> P frames?

Disabling adaptive B-frames doesn't work unless you also disable
scenecut accordingly by setting --sceneut -1 .  Non-adaptive B-frames
with scenecut is not currently supported.

Dark Shikari


More information about the x264-devel mailing list