Thread: DelogoHD
View Single Post
Old 12th July 2019, 19:52   #1  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
DelogoHD

DelogoHD is an overhaul of the original delogo filter, which was originally written by MakKi many years ago. It also deprecates my previous porting project VapourSynth-DeLogo.

Legacy parameters are removed due to analog TV signal being deprecated years ago.

This filter provides both AviSynth+ and VapourSynth interfaces. It compiles under both MSVC and GCC.

It requires at least a SSE4.1 compatible CPU to run.



Usage

Code:
# AviSynth+
DelogoHD(clip, "CCAV 3840x2160.lgd", start = 5, end = 95, fadein = 2, mono = true, cutoff = 5)
AddlogoHD(clip, "CCAV 3840x2160.lgd", start = 5, end = 95, fadein = 2, mono = true, cutoff = 5)

# VapourSynth
delogohd.DelogoHD(clip, "CCAV 3840x2160.lgd", start = 5, end = 95, fadein = 2, mono = True, cutoff = 5)
delogohd.AddlogoHD(clip, "CCAV 3840x2160.lgd", start = 5, end = 95, fadein = 2, mono = True, cutoff = 5)

Parameters

- clip

A clip to process. It must have constant format and it must be YUV 8..16 bit with integer samples.

YUV420P8/10/12/14/16, YUV422P8/10/12/14/16, YUV444P8/10/12/14/16.

- logofile

Logo file in lgd format.

- logoname

Logo name to be selected from logo file.

Default: `NULL`, selecting the first one.

- start, end

First and last frame that has the logo.

Default: From 0 to Max

- fadein, fadeout

Number of fading frames.

Default: 0

- left, top

Number of pixels in adjusting logo position.

For example, `left = -5` results logo being 5 pixels left to its original position.

Default: 0

- mono

Force mono logo, wiping chroma part of the logo.

Default: false

- cutoff

Wiping near-transparent part of the logo, if its depth is lower than cutoff. Should be less than 1000 (Max logo depth).

Default: 0
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median

Last edited by MeteorRain; 14th July 2019 at 03:47.
MeteorRain is offline   Reply With Quote