Selur's Little Message Board
[HELP] Dehalo help - 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] Dehalo help (/thread-4349.html)



Dehalo help - georgepriftakis - 16.03.2026

Hello there is this clip that has extreme halos and I want to fix it but dehalo doesn't completely do it justice. what would be the best options to fix it? the posters especially are the biggest problem



https://mega.nz/file/1iBjjJhK#Z3x8r-JJxmuAdkXkYJyEJRbbO3rdK3tBnsBLz2ldlOI


RE: Dehalo help - Selur - 16.03.2026

No clue, it looks like an interlaced source was improper resized and deinterlaced. (+ chroma wasn't 4:4:4)
If this isn't your actual source, you are probably out of luck.
(blurring is probably the only way to handle this)

Cu Selur


RE: Dehalo help - georgepriftakis - 16.03.2026

Here is the original https://mega.nz/file/U6w00DxR#B0nsvF64THo7ertQVdxBGv4Q9rLNt7srdBNdDv8oAdY


I had indeed resized it and used QTGMC with ffmpeg from CMD to de interlace it


RE: Dehalo help - Selur - 16.03.2026

Quote:Here is the original ....

I had indeed resized it and used QTGMC with ffmpeg from CMD to de interlace it
That file isn't interlaced either, also it's 4:4:4 and 12 bit where the chroma upsampling is messed up,...
seeing that it is also 50fps it is likely not the source, but the output of your qtgmc and ffmpeg processing,...

Take the original source and try filtering the fields before deinterlacing or messing with the fields or color sampling.

Cu Selur


RE: Dehalo help - georgepriftakis - 16.03.2026

this is sourced from a digital betacam. captured on 10B YCbCr


I cut this sample  in premiere :https://mega.nz/file/xrwwWCAI#G3fz4lUskrywg3YYY1rl5HeDPABUKZt7D-xLzRHVdfI
Check the timestamp: 00:33


This is the whole video source Untouched https://drive.google.com/file/d/14QIKaKorpBvjFYgt1x2C--RA19hVdIgq/view

if you watch the whole video Check the timestamps : 37:15:15


RE: Dehalo help - Selur - 16.03.2026

Digital beta should be, 10-bit, 4:2:2.
Will look at the cut, won't even try to download 72GB.


RE: Dehalo help - Selur - 16.03.2026

Using the sample cut.
Here's what happens if you enable: "Filtering->Vapoursynth->Misc->Script->Lower res. before deinterlace" and set to 360x576, bilinear (and add CAS later).
       
Look at the posters in the background.
=> you might want to check your processing chain

Cu Selur


RE: Dehalo help - Selur - 16.03.2026

using:
clip = core.descale.Debilinear(clip, width=360, height=576) # 360x576
# adjusting color space from RGBS to YUV444P16 for vsQTGMC
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P16, matrix_s="470bg", range_in_s="full", range_s="limited") # additional resize to match target color sampling
# Deinterlacing using QTGMC
clip = qtgmc.QTGMC(clip, Preset="Fast", TFF=True, opencl=True) # new fps: 50
# Making sure content is preceived as frame based
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive
clip = core.fmtc.resample(clip=clip, w=720, h=576, kernel="spline64", interlaced=False, interlacedd=False)# undoing the adjusting from 'resize before deinterlace'
clip = dehalo.BlindDeHalo3(clip, strength=85, hidamp=4.00, sharpness=0.50, tweaker=0.30, PPmode=-1, interlaced=False)
# applying FineDeHalo to remove halos
clip = dehalo.FineDehalo(clip, rx=3.00)
# contrast sharpening using CAS
clip = core.cas.CAS(clip, sharpness=0.700)
shows that now DeHalo can help:
       
tip: when tweaking setting of a specific filter it helps to enable "Filtering->Vapoursynth->Misc->UI->Show 'Gimmick'-controls" and then enable 'Gimmick->Compare Effect' for that filter, while also using "Filtering->Vapoursynth->Misc->Preview->Split Compare View->FilterView Mode" set to 'interleaved'.

Cu Selur