enums ¶
Classes:
-
BackBlendMode
–When to back blend (blurred) difference between pre & post sharpened clip.
-
IVTCycles
– -
InputType
–Processing routine to use for the input.
-
LosslessMode
–When to put exact source fields into result & clean any artefacts.
-
NoiseDeintMode
–When noise is taken from interlaced source, how to 'deinterlace' it before restoring.
-
NoiseProcessMode
–How to handle processing noise in the source.
-
SearchPostProcess
–Prefiltering to apply in order to assist with motion search.
-
SharpLimitMode
–How to limit and when to apply re-sharpening of the clip.
-
SharpMode
–How to re-sharpen the clip after temporally blurring.
-
SourceMatchMode
–Creates higher fidelity output with extra processing. will capture more source detail and reduce oversharpening / haloing.
-
VFMMode
–Enum representing different matching modes for VFM.
BackBlendMode ¶
Bases: CustomIntEnum
When to back blend (blurred) difference between pre & post sharpened clip.
Attributes:
-
BOTH
–Perform back-blending both before and after sharpness limiting.
-
NONE
–No back-blending.
-
POSTLIMIT
–Perform back-blending after sharpness limiting.
-
PRELIMIT
–Perform back-blending prior to sharpness limiting.
BOTH class-attribute
instance-attribute
¶
BOTH = 3
Perform back-blending both before and after sharpness limiting.
POSTLIMIT class-attribute
instance-attribute
¶
POSTLIMIT = 2
Perform back-blending after sharpness limiting.
PRELIMIT class-attribute
instance-attribute
¶
PRELIMIT = 1
Perform back-blending prior to sharpness limiting.
IVTCycles ¶
Methods:
-
decimate
–
Attributes:
cycle_05 class-attribute
instance-attribute
¶
cycle_05 = [
[0, 1, 3, 4],
[0, 1, 2, 4],
[0, 1, 2, 3],
[1, 2, 3, 4],
[0, 2, 3, 4],
]
cycle_08 class-attribute
instance-attribute
¶
cycle_08 = [
[0, 3, 4, 6],
[0, 2, 5, 6],
[0, 2, 4, 7],
[0, 2, 4, 7],
[1, 2, 4, 6],
]
cycle_10 class-attribute
instance-attribute
¶
cycle_10 = [
[0, 3, 6, 8],
[0, 2, 5, 8],
[0, 2, 4, 7],
[2, 4, 6, 9],
[1, 4, 6, 8],
]
InputType ¶
Bases: CustomIntEnum
Processing routine to use for the input.
Attributes:
-
INTERLACE
–Deinterlace interlaced input.
-
PROGRESSIVE
–Deshimmer general progressive material that contains less severe problems.
-
REPAIR
–Repair badly deinterlaced material with considerable horizontal artefacts.
LosslessMode ¶
Bases: CustomIntEnum
When to put exact source fields into result & clean any artefacts.
Attributes:
-
NONE
–Do not restore source fields.
-
POSTSMOOTH
–Restore source fields after final temporal smooth. True lossless but less stable.
-
PRESHARPEN
–Restore source fields prior to re-sharpening. Not exactly lossless.
NoiseDeintMode ¶
Bases: CustomIntEnum
When noise is taken from interlaced source, how to 'deinterlace' it before restoring.
Attributes:
NoiseProcessMode ¶
Bases: CustomIntEnum
How to handle processing noise in the source.
Attributes:
SearchPostProcess ¶
Bases: CustomIntEnum
Prefiltering to apply in order to assist with motion search.
Attributes:
-
GAUSSBLUR
–Gaussian blur.
-
GAUSSBLUR_EDGESOFTEN
–Gaussian blur & edge softening.
-
NONE
–No post-processing.
SharpLimitMode ¶
Bases: CustomIntEnum
How to limit and when to apply re-sharpening of the clip.
Attributes:
-
NONE
–No sharpness limiting.
-
SPATIAL_POSTSMOOTH
–Spatial sharpness limiting after the final stage.
-
SPATIAL_PRESMOOTH
–Spatial sharpness limiting prior to final stage.
-
TEMPORAL_POSTSMOOTH
–Temporal sharpness limiting after the final stage.
-
TEMPORAL_PRESMOOTH
–Temporal sharpness limiting prior to final stage.
SPATIAL_POSTSMOOTH class-attribute
instance-attribute
¶
SPATIAL_POSTSMOOTH = 3
Spatial sharpness limiting after the final stage.
SPATIAL_PRESMOOTH class-attribute
instance-attribute
¶
SPATIAL_PRESMOOTH = 1
Spatial sharpness limiting prior to final stage.
TEMPORAL_POSTSMOOTH class-attribute
instance-attribute
¶
TEMPORAL_POSTSMOOTH = 4
Temporal sharpness limiting after the final stage.
TEMPORAL_PRESMOOTH class-attribute
instance-attribute
¶
TEMPORAL_PRESMOOTH = 2
Temporal sharpness limiting prior to final stage.
SharpMode ¶
Bases: CustomIntEnum
How to re-sharpen the clip after temporally blurring.
Attributes:
-
NONE
–No re-sharpening.
-
UNSHARP
–Re-sharpening using unsharpening.
-
UNSHARP_MINMAX
–Re-sharpening using unsharpening clamped to the local 3x3 min/max average.
UNSHARP_MINMAX class-attribute
instance-attribute
¶
UNSHARP_MINMAX = 2
Re-sharpening using unsharpening clamped to the local 3x3 min/max average.
SourceMatchMode ¶
Bases: CustomIntEnum
Creates higher fidelity output with extra processing. will capture more source detail and reduce oversharpening / haloing.
Attributes:
-
BASIC
–Conservative halfway stage that rarely introduces artefacts.
-
NONE
–No source match processing.
-
REFINED
–Restores almost exact source detail but is sensitive to noise & can introduce occasional aliasing.
-
TWICE_REFINED
–Restores almost exact source detail.
BASIC class-attribute
instance-attribute
¶
BASIC = 1
Conservative halfway stage that rarely introduces artefacts.
REFINED class-attribute
instance-attribute
¶
REFINED = 2
Restores almost exact source detail but is sensitive to noise & can introduce occasional aliasing.
TWICE_REFINED class-attribute
instance-attribute
¶
TWICE_REFINED = 3
Restores almost exact source detail.
VFMMode ¶
Bases: CustomIntEnum
Enum representing different matching modes for VFM.
The mode determines the strategy used for matching fields and frames. Higher modes generally offer better matching in complex scenarios but may introduce more risk of jerkiness or duplicate frames.
Attributes:
-
THREE_WAY_MATCH
–3-way match (p/c/n).
-
THREE_WAY_MATCH_FOURTH_FIFTH
–3-way match + 4th/5th matches on combed (p/c/n + u/b).
-
TWO_WAY_MATCH
–2-way match (p/c). Safest option, but may output combed frames in cases of bad edits or blended fields.
-
TWO_WAY_MATCH_THIRD_COMBED
–2-way match + 3rd match on combed (p/c + n). Default mode.
-
TWO_WAY_MATCH_THIRD_FOURTH_FIFTH
–2-way match + 3rd match on combed + 4th/5th matches if still combed (p/c + n + u/b).
-
TWO_WAY_MATCH_THIRD_SAME_ORDER
–2-way match + 3rd match (same order) on combed (p/c + u).
THREE_WAY_MATCH_FOURTH_FIFTH class-attribute
instance-attribute
¶
THREE_WAY_MATCH_FOURTH_FIFTH = 5
3-way match + 4th/5th matches on combed (p/c/n + u/b). Highest risk of jerkiness but best at finding good matches.
TWO_WAY_MATCH class-attribute
instance-attribute
¶
TWO_WAY_MATCH = 0
2-way match (p/c). Safest option, but may output combed frames in cases of bad edits or blended fields.
TWO_WAY_MATCH_THIRD_COMBED class-attribute
instance-attribute
¶
TWO_WAY_MATCH_THIRD_COMBED = 1
2-way match + 3rd match on combed (p/c + n). Default mode.
TWO_WAY_MATCH_THIRD_FOURTH_FIFTH class-attribute
instance-attribute
¶
TWO_WAY_MATCH_THIRD_FOURTH_FIFTH = 3
2-way match + 3rd match on combed + 4th/5th matches if still combed (p/c + n + u/b).
TWO_WAY_MATCH_THIRD_SAME_ORDER class-attribute
instance-attribute
¶
TWO_WAY_MATCH_THIRD_SAME_ORDER = 2
2-way match + 3rd match (same order) on combed (p/c + u).