BadFrames

Abstract

author: Fizick
version: 2.0
download: http://avisynth.org.ru/
category: Misc Plugins
requirements:
license: GPL

Replaces given bad frames by neighbors or blend (interpolation). Useful for frames with very large defects.

Syntax and parameters

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.

Example

AviSource("test.avi")
# Assume bad frames 5, 30, 51, 52. Frame 51 is at scene change.
BadFrames(5, 30, -51, 52, blend=true)

License

This plugin is released under the GNU GPL license v2.
Please donate for support.

Revisions

v1.0 (13.08.2006) - first release

v2.0 (5.11.2010) - added reading bad frames list from file

Download

Download BadFrames version 2.0