View Full Version : How to restore and clean this 90s DVD cartoon?
Vitality
6th March 2019, 04:43
Hello. I have a cartoon DVD that appears to be 24FPS film that was hard telecined to 29.97FPS analog. Appears to be a transfer from an analogue telecine for TV boardcast.
Issues:
-Lots of rainbows
-Some minor dot crawl (not too big of an issue)
-Pixelated red channel? (A different DVD released by this same company had an issue like this on the forum)
VOB sample:
Here's my code to IVTC, de-rainbow, and de-halo
D = QTGMC(Preset="Slower", FPSDivisor=2)
TFM(D2V="VTS_01_1.d2v", slow=2, cthresh=4, mi=25, clip2=D)
TDecimate(mode=1)
DeRainbow(thresh=10, interlaced=false)
DeHalo_alpha_mt(rx=2.0, ry=2.0, darkstr=1.0, brightstr=1.0, lowsens=50, highsens=50, ss=1.5)
But it looks like the DeRainbow filter is cutting detail out of the processed file? Look:
VOB:
https://i.imgur.com/DmcPeLD.png
Processed:
https://i.imgur.com/BK1Vo8W.png
VOB:
https://i.imgur.com/v0pA2dz.png
Processed:
https://i.imgur.com/opzswm0.png
The VOB appears to have more detail and is more sharp. Is the rainbow filter cutting out more than just the rainbows? Is there anyway to remove the rainbows but retain the same amount of sharpness?
https://files.catbox.moe/h7bw8b.m2v
Selur
6th March 2019, 06:12
my 2 cents: I would probably denoise even more aggressive and add some line darkening (Hysteria; should help with the perceived sharpness), rainbow artefacts are really annoying in the clip,..
real.finder
6th March 2019, 15:12
for rainbows and dot crawl I have new sComb()
you may like use sanimebob instead of naked QTGMC
all those in "Advanced Denoising" script, check my signature
SaurusX
6th March 2019, 15:37
for rainbows and dot crawl I have new sComb()
How similar is this to TComb()? I ask, because the 64-bit TComb does not function with the same efficacy as the 32-bit version.
SaurusX
6th March 2019, 15:46
@Vitality The softness is likely caused by dehalo_alpha. Seek out the version that was altered by Didee that contains the optional contra-sharpening routine. Also, turn the darkstr down to zero. It will kill the dark outlines.
real.finder
6th March 2019, 15:57
How similar is this to TComb()? I ask, because the 64-bit TComb does not function with the same efficacy as the 32-bit version.
it use TComb if ntsccombmask is true, 64-bit TComb should be same as 32-bit, if not then maybe there are bug somewhere in asm code
real.finder
6th March 2019, 16:02
@Vitality The softness is likely caused by dehalo_alpha. Seek out the version that was altered by Didee that contains the optional contra-sharpening routine. Also, turn the darkstr down to zero. It will kill the dark outlines.
I already added it in my mod (cs parameter)
but there are another ways to avoid softness
Vitality
6th March 2019, 16:11
I already added it in my mod (cs parameter)
but there are another ways to avoid softness
This is one I'm using:
# DeHalo_alpha with high bit support, need masktools 2.2.5 or up in avs26 and avs+
# 2017.11.23 added Z4ST1N optimise suggestion
real.finder
6th March 2019, 16:22
This is one I'm using:
# DeHalo_alpha with high bit support, need masktools 2.2.5 or up in avs26 and avs+
# 2017.11.23 added Z4ST1N optimise suggestion
there are 2019 one in my signature
set cs=true and see, there are also DeHaloHmod to avoid softness, and others too
Vitality
6th March 2019, 16:25
there are 2019 one in my signature
set cs=true and see, there are also DeHaloHmod to avoid softness, and others too
This one?
https://pastebin.com/uB6Pynhr
real.finder
6th March 2019, 16:28
This one?
https://pastebin.com/uB6Pynhr
yes, this one for now
Vitality
6th March 2019, 17:14
yes, this one for now
For some reason that script is complaining for me. This one is not:
http://avisynth.nl/images/Dehalo_alpha_MT2.avsi
Is this one the right one?
real.finder
6th March 2019, 17:20
For some reason that script is complaining for me.
what complaining?
Vitality
6th March 2019, 17:33
what complaining?
AvsPlusVersionNumber
real.finder
6th March 2019, 17:37
AvsPlusVersionNumber
see the big red note in Thread in my signature
Vitality
6th March 2019, 17:44
see the big red note in Thread in my signature
I have SMDegrain v3.1.2.97s in my plugins folder.
real.finder
6th March 2019, 17:46
I have SMDegrain v3.1.2.97s in my plugins folder.
you need the 3.1.2.101s
Vitality
6th March 2019, 17:56
you need the 3.1.2.101s
I am still getting the AvsPlusVersionNumber error.
real.finder
6th March 2019, 19:23
I am still getting the AvsPlusVersionNumber error.
double check everything in your plugins folder
and post the error image, and it's a good idea if you use AVSMeter/Avisynth Info Tool to list your plugins too
Vitality
6th March 2019, 19:32
double check everything in your plugins folder
and post the error image, and it's a good idea if you use AVSMeter/Avisynth Info Tool to list your plugins too
https://i.imgur.com/uI7sphJ.png
After I added this line to my code:
Import("J:\StaxRip-x64-2.0.0.0\Apps\Plugins\AVS\SMDegrain\SMDegrain.avsi")
https://i.imgur.com/olWMyq5.png
real.finder
6th March 2019, 19:56
https://i.imgur.com/uI7sphJ.png
After I added this line to my code:
Import("J:\StaxRip-x64-2.0.0.0\Apps\Plugins\AVS\SMDegrain\SMDegrain.avsi")
https://i.imgur.com/olWMyq5.png
that mean the avsi didn't load automatically, the 2nd one https://i.imgur.com/olWMyq5.png mean you don't have the last masktools, get it from https://github.com/pinterf/masktools/releases
Vitality
6th March 2019, 21:33
that mean the avsi didn't load automatically, the 2nd one https://i.imgur.com/olWMyq5.png mean you don't have the last masktools, get it from https://github.com/pinterf/masktools/releases
Awesome, no longer errors. Going to try to encode and will post screenshots. I don't think DeHaloAlpha did the "softness"
Alright, here's the VOB compared to the processed file. Still looks soft. I used the version of DeHalo Alpha you provided me.
VOB:
https://i.imgur.com/FhNM6qv.png
Processed:
https://i.imgur.com/zdzCeoR.png
real.finder
6th March 2019, 23:42
for rainbows and dot crawl I have new sComb()
you may like use sanimebob instead of naked QTGMC
all those in "Advanced Denoising" script, check my signature
Awesome, no longer errors. Going to try to encode and will post screenshots. I don't think DeHaloAlpha did the "softness"
Alright, here's the VOB compared to the processed file. Still looks soft. I used the version of DeHalo Alpha you provided me.
VOB:
https://i.imgur.com/FhNM6qv.png
Processed:
https://i.imgur.com/zdzCeoR.png
seems you didn't do those
for rainbows and dot crawl I have new sComb()
you may like use sanimebob instead of naked QTGMC
all those in "Advanced Denoising" script, check my signature
set cs=true (in DeHalo Alpha) and see, there are also DeHaloHmod to avoid softness, and others too
Vitality
7th March 2019, 01:36
seems you didn't do those
Where can I find sComb()? Do you mean DDComb()? I checked in your thread and I can't find sComb(). DDComb is the closest. I can't seem to find a download for Advanced Denoising.avsi
Edit: NVM, found it. Will try that instead of what I was using, will report back
Vitality
7th March 2019, 04:19
seems you didn't do those
Getting this error now:
https://i.imgur.com/xLhbemu.png
I downloaded and loaded the denosing script, DDComb, TComb, and ASTDR. What is missing?
real.finder
7th March 2019, 14:00
Getting this error now:
https://i.imgur.com/xLhbemu.png
I downloaded and loaded the denosing script, DDComb, TComb, and ASTDR. What is missing?
you don't have last ASTDR
real.finder
7th March 2019, 14:27
here are some test with sComb(ntsccombmask=true)
forget to metion that sComb need to work before any ivtc/Deinterlace
before https://i.imgur.com/qfJX4Ez.png after https://i.imgur.com/tcYEiKQ.png (since it work with rainbows and dot crawl luma also changed cuz I didn't change the setting for that, you can change it yourself)
there are no other than the source call and sComb(ntsccombmask=true) in the script
Vitality
7th March 2019, 17:40
you don't have last ASTDR
It's v1.74, I got v.1.75 and now:
https://i.imgur.com/2ZnlBvV.png
Loaded that into Avisynth, now it works I guess, no error. I've loaded:
LoadPlugin("J:\StaxRip-x64-2.0.0.0\Apps\Plugins\AVS\TComb\TComb.dll")
LoadPlugin("J:\StaxRip-x64-2.0.0.0\Apps\Plugins\AVS\Hqdn3dY\Hqdn3dY.dll")
Import("J:\StaxRip-x64-2.0.0.0\Apps\Plugins\AVS\ASTDR\ASTDR.avsi")
Import("J:\StaxRip-x64-2.0.0.0\Apps\Plugins\AVS\DDComb\DDComb.avsi")
Import("J:\StaxRip-x64-2.0.0.0\Apps\Advanced Denoising.avsi")
Import("J:\StaxRip-x64-2.0.0.0\Apps\Plugins\AVS\SMDegrain\SMDegrain.avsi")
ChaosKing
7th March 2019, 17:45
real.finder likes to playing games. You need to dig through all the posts until you become a "real" finder yourself.
1.7.5: https://pastebin.com/LiVG4NFh
Vitality
7th March 2019, 18:24
real.finder likes to playing games. You need to dig through all the posts until you become a "real" finder yourself.
1.7.5: https://pastebin.com/LiVG4NFh
Yep, found it and it seems to work now. But it's encoding at 2fps?
sComb(ntsccombmask=true)
D = QTGMC(Preset="Slower", FPSDivisor=2)
TFM(D2V="VTS_01_1.d2v", slow=2, cthresh=4, mi=25, clip2=D)
TDecimate(mode=1)
FineDehalo(rx=2.0, ry=2.0, thmi=80, thma=128, thlimi=50, thlima=100, darkstr=1.0, brightstr=1.0, showmask=0, contra=0.0, excl=true)
real.finder
7th March 2019, 20:07
Yep, found it and it seems to work now. But it's encoding at 2fps?
sComb(ntsccombmask=true)
D = QTGMC(Preset="Slower", FPSDivisor=2)
TFM(D2V="VTS_01_1.d2v", slow=2, cthresh=4, mi=25, clip2=D)
TDecimate(mode=1)
FineDehalo(rx=2.0, ry=2.0, thmi=80, thma=128, thlimi=50, thlima=100, darkstr=1.0, brightstr=1.0, showmask=0, contra=0.0, excl=true)
QTGMC is complex so it's slower, other filters are kinda complex too, and it depends on the hardware of your device too, any case, you have to chose between Quality vs Speed
real.finder
7th March 2019, 20:09
real.finder likes to playing games. You need to dig through all the posts until you become a "real" finder yourself.
1.7.5: https://pastebin.com/LiVG4NFh
lol, this is a good explanation for my name :D
Vitality
7th March 2019, 21:06
QTGMC is complex so it's slower, other filters are kinda complex too, and it depends on the hardware of your device too, any case, you have to chose between Quality vs Speed
I was getting a constant 8-16fps before I added the sComb line.
I have:
Intel Core i5 4690K @ 3.50GHz
32.0GB Dual-Channel DDR3
2047MB NVIDIA GeForce GTX 1060 6GB (ASUStek Computer Inc)
Anyway to get StaxRip to use the full power of this?
ChaosKing
7th March 2019, 21:18
You could try with Prefetch(4) at the very end of your script. try also 6 or 8
Vitality
7th March 2019, 22:35
You could try with Prefetch(4) at the very end of your script. try also 6 or 8
OK. I think sComb() is 100% causing the slowdown, without the sComb line everything goes to like 7FPS. I think it's messing up TFM.
I'm trying to use Prefetch(4) put it keeps locking up the program.
LemMotlow
13th March 2019, 11:00
Where can I find sComb()? Do you mean DDComb()? I checked in your thread and I can't find sComb(). DDComb is the closest.
Edit: NVM, found it.
Really? Where?
What I'd like to find are all the hours I've lost looking for real.finder's stuff.
ChaosKing
13th March 2019, 11:11
Really? Where?
What I'd like to find are all the hours I've lost looking for real.finder's stuff.
How to complete the quest:
- Go to real.finder's Avisynth Stuff thread
- click on sanimebob and smam link
- click on linked sanimebob() function
- you end up on pastebin: https://pastebin.com/wCDNVwpc
- it contains sComb()
EASY!!!!!11111
real.finder you have a github account, use it please :(
https://media.giphy.com/media/3orieTfp1MeFLiBQR2/giphy.gif
LemMotlow
13th March 2019, 17:31
How to complete the quest:
- Go to real.finder's Avisynth Stuff thread
- click on sanimebob and smam link
- click on linked sanimebob() function
- you end up on pastebin: https://pastebin.com/wCDNVwpc
- it contains sComb()
Yep. It figures. I started down the list, just didn't get as far as you did. Too late at nite, I guess.
A thousand thanks.
real.finder
13th March 2019, 19:19
How to complete the quest:
- Go to real.finder's Avisynth Stuff thread
- click on sanimebob and smam link
- click on linked sanimebob() function
- you end up on pastebin: https://pastebin.com/wCDNVwpc
- it contains sComb()
EASY!!!!!11111
real.finder you have a github account, use it please :(
https://media.giphy.com/media/3orieTfp1MeFLiBQR2/giphy.gif
LOL
I did quick one https://github.com/realfinder/AVS-Stuff
anyone feel-free to fork it and arranging/adding things then Pull Requests so I will merged them
ChaosKing
13th March 2019, 19:37
This is me right now
https://i.makeagif.com/media/5-08-2015/eJ1417.gif (/gif/carlton-dance-hq-the-fresh-prince-of-bel-air-eJ1417)
Edit:
Will you also add lsfmod, dehalo_allpa etc?
btw one of the best (free for personal use) git client: https://www.gitkraken.com/
real.finder
13th March 2019, 19:45
This is me right now
https://i.makeagif.com/media/5-08-2015/eJ1417.gif (/gif/carlton-dance-hq-the-fresh-prince-of-bel-air-eJ1417)
lol, good for you then :D
now there are another new Community branch, I make it Default too, so if the "Community" decide to make some changes that I don't want to do (like move the shared functions from SMDegrain and others to separate script), I may use the master to upload upcoming things/update as they (like I always do in pastebin)
Will you also add lsfmod, dehalo_allpa etc?
btw one of the best (free for personal use) git client: https://www.gitkraken.com/
I do use the web to upload, I don't like Install any thing, I mostly use portable programs, so :)
anyway I may upload other files but as I said above
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.