• Limin Wang's avatar
    avfilter/f_select: yuv will use Y plane only for scenecut detect · ad3ef00c
    Limin Wang authored
    At the moment scene change detection score uses all planes to detect scene
    changes. In this regard this is similar how the frozen frames detection works.
    However, in classic encoding scene change detection typically only uses the Y
    plane.
    
    We might get more resonable scores for scene change if we also use only
    the Y plane for calculating the score if the pixel format is YUV. Although
    this will require additional work once packed YUV formats are added,
    because for the moment the generic scene sad score calculation has no way
    to ignore some components in a packed format.
    Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
    Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
    ad3ef00c
f_select.c 17.7 KB