[FFmpeg-devel] additive frame change detection algorithm

Michael Niedermayer michael at niedermayer.cc
Wed May 11 18:01:18 CEST 2016


On Wed, May 11, 2016 at 10:51:32AM -0500, Dave Hess wrote:
> >you need something that gives more weight to large localized changes
> >likely
> 
> Yes, good point.  How about additional parameters to the function that
> specify a grid pattern and if any individual section in that grid meets the
> threshold, then it returns true?  It could even have another parameter to
> set the number of changed sections required before the whole frame is
> considered changed.
> 
>  frame_change(ref_frame, threshold, grid_rows, grid_columns,
> section_threshold)

i would use squares and only one paremeter than  grid_rows, grid_columns


> 
> And maybe even more parameters to disregard certain sections (or rows or
> columns) from being analyzed altogether (if an icon in the system tray or
> task bar starts flashing, etc.).  Might be difficult to implement that.  I'd
> need to think about that more.
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160511/b8641013/attachment.sig>


More information about the ffmpeg-devel mailing list