![]() |
|
[HELP] Ghosting on animation - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html) +--- Forum: Small Talk (https://forum.selur.net/forum-7.html) +--- Thread: [HELP] Ghosting on animation (/thread-4143.html) |
Ghosting on animation - Klink - 08.07.2025 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#vJ9sELaaYJLIWQ0xuiQsOJ8wQJ9XzBKsaKVNV7KDqJk=. I am using the following script to do some IVTC : 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 RE: Ghosting on animation - Selur - 08.07.2025 That isn't ghosting, these are halos that got resized. Starting with the dvd source might be better,.. If you downscale and upscale the source you see that it doesn't really lose details, so that isn't the native resolution of the source; https://silentaperture.gitlab.io/mdbook-guide/filtering/descaling.html might be interessting) A few ideas:
Cu Selur RE: Ghosting on animation - Klink - 09.07.2025 Thanks for your ideas and explanations. I couldn't determine the native resolution on the tests I've made. I will look further on it. Also I will test on the bluray and dvd to see and thanks for the examples Best regards, Klink |