[x264-devel] Doubts in scenecut algorithm

BugMaster BugMaster at narod.ru
Thu Dec 8 18:47:26 CET 2016


On Fri, 18 Nov 2016 18:15:41 +0530, A gopi sathya krishna wrote:
> Hi,

> I have a doubt in the scenecut algorithm of x264 encoder.
> Specifically in the scenecut_internal function, I am pasting the code snippet below 

...

> As I understand, the f_bias value changes based on the location of
> the current frame from the last keyframe. The f_bias value for the
> frames closer to the last keyframe is less when compared to the
> frames far away from the last keyframe, thus frames away from the
> last keyframe are more likely to be detected as scenecut (I frame).
> My doubt is, why the location of the scenecut frame is important for coding it as I frame.

> Thank,
> Gopi

Hi. Bias increase the more nearer we to the max GOP size because
otherwise we will insert keyframe due keyint limit anyway and this
place can be even less scenecut-like so we can waste bits there.



More information about the x264-devel mailing list