08.07.2025, 18:59
Hi,
I have currently a problem with a bluray.
It is some animation and the same problem is also present on the DVD release (I own both).
There is some ghosting :
You can find a 1 minute clip with this link : https://drop.idrix.fr/r/e8RBZk52ZJ#vJ9sE...VNV7KDqJk=.
I am using the following script to do some IVTC :
I tried to use fine_dehalo, LGhost but without success.
Should I use some mask with another plugin ?
Best regards,
Klink
I have currently a problem with a bluray.
It is some animation and the same problem is also present on the DVD release (I own both).
There is some ghosting :
![[Image: ghosting.jpg]](https://i.postimg.cc/jqcPydfJ/ghosting.jpg)
You can find a 1 minute clip with this link : https://drop.idrix.fr/r/e8RBZk52ZJ#vJ9sE...VNV7KDqJk=.
I am using the following script to do some IVTC :
Code:
import vapoursynth as vs
import havsfunc as haf
import awsmfunc as awf
from vsdehalo import fine_dehalo
import vsdeinterlace as ivtc
import vsTAAmbk as taa
import validate
import math
core = vs.core
episode = core.bs.VideoSource(source='./Clip_1min.mkv', cachemode = 4)
#episode = core.std.AssumeFPS(clip=episode, fpsnum=25, fpsden=1)
# Setting detected color matrix
episode = core.std.SetFrameProps(clip=episode, _Matrix=1)
# color transfer
if validate.transferIsInvalid(episode):
episode = core.std.SetFrameProps(clip=episode, _Transfer=1)
# setting color primaries
if validate.primariesIsInvalid(episode):
episode = core.std.SetFrameProps(clip=episode, _Primaries=1)
# setting color range to TV (limited) range.
episode = core.std.SetFrameProps(clip=episode, _ColorRange=1)
# making sure the detected scan type is set (detected: top field first)
episode = core.std.SetFieldBased(episode, 2)
episode = core.vivtc.VFM(clip=episode, order=0, field=2, mode=1, mchroma=True, cthresh=9, mi=80, chroma=True, blockx=16, blocky=16, y0=16, y1=16, scthresh=12, micmatch=1, micout=False)
episode = core.vivtc.VDecimate(clip=episode, cycle=5, chroma=True, dupthresh=1.1, scthresh=15, blockx=16, blocky=16)
episode = core.std.SetFrameProps(clip=episode, _FieldBased=vs.FIELD_PROGRESSIVE)
episode.set_output()
I tried to use fine_dehalo, LGhost but without success.
Should I use some mask with another plugin ?
Best regards,
Klink