Replaces given bad frames by neighbors or blend (interpolation). Useful for frames with very large defects.
BadFrames
(clip, int frame1, int frame2[, ...], bool "blend", string "file")
frame1, frame2, ... is the given bad frames list to replace. Negative number designates that this bad frame is at scene change, frame number is absolute value of parameter (to prevent interpolation across the scene).
blend = false : frames are replaced by nearest good neighbors (mainly previous).
blend = true : frames are replaced by interpolation of nearest good neighbors (previous and next).
Default blend = true.
file : optional file with list of bad frames (one number per line).
Default file is null string.
AviSource("test.avi") # Assume bad frames 5, 30, 51, 52. Frame 51 is at scene change. BadFrames(5, 30, -51, 52, blend=true)
This plugin is released under the GNU GPL license v2.
Please donate for support.
v1.0 (13.08.2006) - first release
v2.0 (5.11.2010) - added reading bad frames list from file