>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) 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@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel