MultiDecimate Plugin


This filter provides extended decimation capabilities not available from Decimate(). It can remove all the duplicate frames from a clip, or it can remove N out of every M frames, where N and M can be selected by the user, removing the frames most similar to their predecessors. Special modes are available to protect static scenes from decimation.

This filter uses a 2-pass approach to allow for full timeline random access navigation, random decimation, and the later addition of a GUI-based manual tweaking capability.

This filter is valuable when traditional 1-in-5 decimation is not sufficient. For example, many silent films are transferred to DVD by adding duplicates in unusual patterns, because the original frame rates are not 24fps. It is not unusual to see clips requiring strange decimations such as 20 in 43. Sometimes these strange decimations can be attained, or nearly attained, through repeated application of Decimate() using different cycles, but that is a cumbersome approach that cannot always attain the exact decimation ratios required. This filter tries to approach the problem more directly, but at the expense of 2-pass operation.

Another typical application is removing 3 out of 4 frames for clips that were rendered at 120fps to properly present hybrids of film and video.

This version supports YUY2 only for Avisynth 2.5 and later. YV12 will be added when the functionality stabilizes.


Thanks to Tom Daniel ('manono') for suggesting this new decimation functionality.

Version 1.0.8

Version 1.0.8 fixes a bug that resulted from a change of behavior of VirtualDub. The mfile.txt could have two entries for frame zero, which busted everything.

Version 1.0.7 fixes a bug that caused the wrong frame rate to be set for the global decimation modes.

Version 1.0.6 addes global (non-cycle-based) decimation modes.

Version 1.0.5 fixes a serious bug. Cycles that were completely full with duplicates would write incorrect files in "protect static scenes" mode.

Version 1.0.4 improves the static scene protection.

Version 1.0.3 is the first release version.

Copyright (C) 2003-2016, Donald A. Graft, All Rights Reserved.

[up to home page]