View Full Version : Halos/Ringing Removal on DVD
canuckerfan
12th September 2009, 19:25
Hi,
I have a DVD of mine that I'm trying to restore. It's got some ugly haloing/ringing at times. In some scenes it'll be light and in some scenes it's quite heavy. I've tried various methods to tackle this (YAHR,dehalo_Alpha,HQDering) and so far dehalo_Alpha seems to give the best results. However, I know it can still be tuned to give even better results. My stuff isn't anime... would you guys have any ideas how to get rid of the halos without killing too much detail?
I've attached 3 unprocessed scene (2 are heavy/bad with halos and 1 is relatively light):
bad1 (http://www.sendspace.com/file/ca2ybr) (44 MB)
bad2 (http://www.sendspace.com/file/38e2mn) (24 MB)
light1 (http://www.sendspace.com/file/0622d0) (22 MB)
Thanks. Any input is appreciated.
PS: the scenes are hard telecined
thewebchat
12th September 2009, 19:47
If you're using DeHalo_alpha, you should try playing with the rx/ry settings. If you don't set them to match the size of the halos in your scene, your performance will be sub-optimal. Another thing I would try is setting darkstr=0, which should help keep some more detail. For example, I found that the halos in "bad2.VOB" were removed most effectively with rx/ry=2.5. Another thing you could try is to build an edge mask for DeHalo_alpha (there was a script Masked_DHA that did this).
Edit: Oh yeah, you can use MPEG2Source(cpu=6) to dering. MPEG2Source knows about the quantizers in your source, so it should outperform other filters.
canuckerfan
12th September 2009, 20:18
If you're using DeHalo_alpha, you should try playing with the rx/ry settings. If you don't set them to match the size of the halos in your scene, your performance will be sub-optimal. Another thing I would try is setting darkstr=0, which should help keep some more detail. For example, I found that the halos in "bad2.VOB" were removed most effectively with rx/ry=2.5. Another thing you could try is to build an edge mask for DeHalo_alpha (there was a script Masked_DHA that did this).
Edit: Oh yeah, you can use MPEG2Source(cpu=6) to dering. MPEG2Source knows about the quantizers in your source, so it should outperform other filters.
Yea, I'll try that with dehalo_alpha. I will also give Masked_DHA a shot. I've tried cpu=6 and killed way too many details for my liking. Thanks :)
EuropeanMan
12th September 2009, 20:27
^ did you try cpu=6 against the whole source, or JUST this section only? (or samples provided)
canuckerfan
12th September 2009, 20:33
^against the whole source. but I don't know how to call cpu=6 for just those scenes.
EuropeanMan
12th September 2009, 20:41
Easy solution
find those scenes that need cpu=6 in the untouched MAIN .VOBs
use mpeg2cut to get a GENERAL cut around that section.
use PGCDEMUX then to EXTRACT the video file...resulting in CUT.M2V
load cut.m2v into MPEG2SCHNITT.exe...NOW you can make an EXACT cut on this .m2v file...save your exact cut of the scene as SCENE.M2V
NOW run a d2v on this video file, and use cpu=6 in the mpeg2source line.
THIS IS WHAT I WOULD GO WITH.
Now to call the WHOLE MOVIE together in an aviscript...you do: (assuming all are lag files now)
Avisource("x:\master.avi") # this is the FULL MOVIE LAG
a=trim(0,99999) # cutting to the start of the cpu6 section
c=trim(150000,end of movie) # cutting the last part
b=Avisource("x:\scene.avi") # assuming this section refers to frames 100000 to 149999
a+b+c
- Farooq :)
{this is ASSUMING you've done the same deinterlacing for all of the sections}
canuckerfan
12th September 2009, 20:48
^I guess i could do that.... but I have about 100 individual scenes which need dehaloing... it could get messy. i'd rather just use something like conditionreader :) plus, I can't tune cpu=6 like i can tune other dehaloers. so the scenes that habe small haloing would be treated too strongly.
EuropeanMan
12th September 2009, 20:49
^ that is indeed something else you could do :)
BigDid
12th September 2009, 20:58
Yea, I'll try that with dehalo_alpha. I will also give Masked_DHA a shot. I've tried cpu=6 and killed way too many details for my liking. Thanks :)
Hi,
You could give a try to BlindPP() for deringing; coming also from dgdecode but strength is progressive.
On your source (bad2.vob) I would go for
BlindPP(cpu2="ooooxx", quant=3)
Did
EuropeanMan
12th September 2009, 21:01
And I'm quite sure that BPP could be incorporated into the CR framework? Correct
thewebchat
12th September 2009, 21:08
With MPEG2Source(cpu=6), don't forget about moderate_h and moderate_v.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.