[x264-devel] [PATCH] disable bframe adaptive can't work

Limin Wang lance.lmwang at gmail.com
Wed Jul 11 09:29:06 CEST 2007


> > Sorry, attached again, by the test, I can get expect result for B-frame, 
> > but sometime, more than 1 P-frame will be inserted which is strange.
> > 
> > That's say, I expect it should be:
> > IPBBBPBBBPBBBP
> > 
> > but sometime, it'll:
> > IPBBBPPBBBPPP
> 
> That's because you locked b-frames adaptation only for subsequent 
> frames. The first B frame insertion is still adaptive. Have a look at 
> slicetype.c, lines 404-414, you will see 2 potential jumps to no_b_frames.

Yes, at beginning, I disable the two place also, but by the test, it'll cause
scenecut detection can't work as expected. So haven't check adaption in the
first two place, I feel it's for scenecut detection. Haven't understand the
whole logic yet.


Thanks,
Limin
_______________________________________________
x264-devel mailing list
x264-devel at videolan.org
http://mailman.videolan.org/listinfo/x264-devel


More information about the x264-devel mailing list