Skip to content
Fix Telecined Fades
Branch: master
Clone or download
Latest commit e70d7fb Feb 24, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md Update README.md Feb 17, 2017
Shared.hpp Update Shared.hpp Feb 24, 2017
Source.cpp Update Source.cpp Feb 24, 2017
Source_AVX_FMA.cpp
VSHelper.h Create VSHelper.h Dec 29, 2016
VapourSynth.h
cpu.asm Create cpu.asm Jan 29, 2017
cpufeatures.hpp Update cpufeatures.hpp Jan 30, 2017
cpufeatures_gnu.hpp Update header with private prefix Feb 17, 2017
meson.build meson.build updates & fixes Feb 22, 2017
x86inc.asm Create x86inc.asm Jan 29, 2017

README.md

Fix Telecined Fades

©2017 IFeelBloated, Fix Telecined Fades for VapourSynth

License

GPL v3.0

Description

The filter gives a mathematically perfect solution to such (fades were done AFTER telecine which made a picture perfect IVTC pretty much impossible) problem. Unlike vinverse which works as a dumb blurring + contra-sharpening combo and very harmful to artifacts-free frames, this filter works by matching the brightness of top and bottom fields with statistical methods, and also harmless to healthy frames.

Usage

clip = core.ftf.FixFades(clip, mode=0, threshold=0.002, color=[0.0, 0.0, 0.0], opt=True)

Options

  • clip: Clip to be processed.

  • mode: could be 0 (default), 1, or 2.

    • 0: Adjust the brightness of both fields to match the average brightness of 2 fields.
    • 1: Darken the brighter field to match the brightness of the darker field.
    • 2: Brighten the darker field to match the brightness of the brighter field.
  • threshold: Threshold for the average difference per pixel, on a scale of 0.0 - 1.0, but could go beyond 1.0, the frame will remain untouched if the average difference between 2 fields goes below this value.

  • color: Base color of the fade, default is [0.0, 0.0, 0.0](black).

  • opt: Call the fastest possible functions if opt=True, else call the C++ functions.

Building from sources

You need The Meson Build System installed.

$ cd /path/to/src/root && mkdir build && cd build && meson --buildtype release .. && ninja
# ninja install
You can’t perform that action at this time.