On Sat, Aug 13, 2016 at 8:05 PM Paul B Mahol <one...@gmail.com> wrote:
> [...] > Also, why is there no code for scene change detection? > If scene changes abruptly it will give bad frame. > added scene change detection from framerate filter: https://github.com/dsmudhar/FFmpeg/commit/1ad01c530569dfa1f085a31b6435597a97001a78 On Sat, Aug 13, 2016 at 10:41 PM Michael Niedermayer <mich...@niedermayer.cc> wrote: > [...] > the motion estimation should already produce a "matching score" of some > kind for every block, its sum is probably a good indication how > similar frames are > the sum probably would need to be compared to some meassure of variance > for the frame so near black frames dont get better matches > a bit like a correlation coefficient > you can also look at > git grep scene libavcodec/mpegvideo* libavcodec/motion_es* > i also tested comparing sum of SBAD score but it gave me mostly false detection. vf_framerate one works even with dark scenes (i reduced threshold from 7 to 5) correctly, though it doesn't consider any motion. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel