I am restoring an old anime. Help me! xD

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
Cloudstrifeff7
Joined: Wed Apr 28, 2010 3:37 am
Org Profile

I am restoring an old anime. Help me! xD

Post by Cloudstrifeff7 » Wed Apr 28, 2010 3:52 am

I just recently ripped an old anime's dvd (2002 and 4:3, omg xD) and the outlines tremble sometimes. Sorry for my bad english!

Here the link for video example, without deinterlace, crop, resize, filters and audio, there is only ColorMatrix(hints=true, threads=0): http://www.mediafire.com/?tm0l3lmnmyh

For the rainbows I use ChubbyRain2, but for the other problems, how do I fix? However with checkmate there aren't more outline tremble. Here the link Video using filters with color artifacts... http://www.mediafire.com/?nwzgoj1o1o5

The problem is that I used edeen to remove the noise, but now the are strange artifacts on colors sometimes (With TTempSmooth() there is always the noise)!

Image

My script:

Code: Select all

LoadPlugin("C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Users\cloud\Desktop\rip\anime.d2v", info=3)
LoadPlugin("C:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
chubbyrain2()
checkmate()
Load_Stdcall_Plugin("C:\Program Files\MeGUI\tools\yadif\yadif.dll")
Yadif(order=1)
crop( 10, 0, -8, -4)
spline36resize(640,480)
edeen()
aWarpSharp2()
Toon()
msharpen()
AAA() 
Thanks in advance! :D

P.S. Sorry for my bad english.

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: I am restoring an old anime. Help me! xD

Post by Mister Hatt » Wed Apr 28, 2010 10:01 am

Your script is entirely wrong for your content, and I am too tired to tell you why. Reading even the most basic guide here should make the problems fairly obvious.

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: I am restoring an old anime. Help me! xD

Post by mirkosp » Wed Apr 28, 2010 10:11 am

That isn't too old of a source, and you are SERIOUSLY overfiltering it. Edeen is way too strong of a filter, you should probably try toggling around with fft3dfilter or fft3dgpu, which is a much better denoiser. Awarpsharp2 is too strong at defaults, if you really need to thin, then lower its depth. Toon is a filter I don't like, because it doesn't allow for much control at all, and also it will thin again, and you are already thinning with awarpsharp2, so if you really need to line darken and overall sharpen the image, I'd try using lsfmod and fastlinedarkenmod in two different steps with properly tweaked settings. That is, however, all under the assumption that the source needs the filtering you're doing, which after checking, it doesn't seem to me. It doesn't even have the aliasing you're using the AAA for, from what I see.
If chubbyrain2 gets rid well of the rainbowing then it's good (I hadn't heard of that one derainbower before and tend to use others, but all is welcome if it works well), and checkmate is probably one of the better filters to remove the dot crawl, so it probably is a good choice. As for the rest, I'm personally not too fond of yadif, and that still is a deinterlacer anyway. This is a telecined source, so you should IVTC with something like tfm+tdecimate, unless you're required to edit at 29.97 for whatever reason, which I hope it's not the case, and even then you should probably be allowed to edit at 23.976 still and just telecine yourself the output later on. As for the rest, I think that a mild sharpening with lsfmod is probably all you want to do. Doesn't seem a noisy source to me at all. It has some grain, but don't get rid of that, grain weights a bit, but isn't hard to compress with x264, and is nice for the quality, as getting rid of it will just kill detail, which is a bad thing to do. In this day and age we don't really need to help cutting down the filesize with extra denoising anymore. :P
Image

User avatar
kickass331
Joined: Sat Apr 21, 2007 8:11 pm
Status: Infamous
Location: West Chester, PA
Contact:
Org Profile

Re: I am restoring an old anime. Help me! xD

Post by kickass331 » Wed Apr 28, 2010 10:21 am

what mirkosp said,
and also, I fell into the filter boobytrap before. You may think it looks good, but what your doing is making it look like downloaded material. Downloaded material is filtered from xvid rips the japanese make into h264 that is supercompressed so people can share it faster. DVDs are made to retain quality, and should not be reduced to the quality of upscales and xvid->h264 mockups like Chihiro subs does. Ugh, if you look at their scripts they're just the shittiest I've ever seen.
ImageImageImageImageImage

Cloudstrifeff7
Joined: Wed Apr 28, 2010 3:37 am
Org Profile

Re: I am restoring an old anime. Help me! xD

Post by Cloudstrifeff7 » Wed Apr 28, 2010 2:06 pm

Thank you very much! With these settings now there are better results. :) With megui's analyse there is this now (IVTC, not yadif): tfm(order=1).tdecimate(hybrid=1) The result is good, but now the fps are 23.976. It had 29.97. Is it ok?

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: I am restoring an old anime. Help me! xD

Post by mirkosp » Wed Apr 28, 2010 2:26 pm

Yes. Your source was a telecine, meaning it was originally 23.976 but a frame every 4 was duplicated to get the 29.97 framerate. You are just removing that extra frame and restoring the original 23.976 framerate. :)
Image

Cloudstrifeff7
Joined: Wed Apr 28, 2010 3:37 am
Org Profile

Re: I am restoring an old anime. Help me! xD

Post by Cloudstrifeff7 » Wed Apr 28, 2010 2:36 pm

mirkosp wrote:Yes. Your source was a telecine, meaning it was originally 23.976 but a frame every 4 was duplicated to get the 29.97 framerate. You are just removing that extra frame and restoring the original 23.976 framerate. :)
I see. Nice! :D Thank you very much! :D

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: I am restoring an old anime. Help me! xD

Post by Scintilla » Wed Apr 28, 2010 6:26 pm

mirkosp wrote:Awarpsharp2 is too strong at defaults, if you really need to thin, then lower its depth. Toon is a filter I don't like, because it doesn't allow for much control at all, and also it will thin again, and you are already thinning with awarpsharp2,[...]
Irony: one reason Toon had almost all of its parameters removed was precisely because people had been overdoing the thinning with mfToon and vmToon and making sources look like, well, this. Of course, mf can't help it if people want to stack Toon with other line thinners.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: I am restoring an old anime. Help me! xD

Post by mirkosp » Wed Apr 28, 2010 6:50 pm

Well, I like to keep parameters as low as possible. If I find defaults to be too high for what I need, and I can't lower them, then that filter is no good for my needs.
Image

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: I am restoring an old anime. Help me! xD

Post by Mister Hatt » Wed Apr 28, 2010 6:59 pm

There is never a real good reason to use any of the toon filters in the first place. Line thinning is never needed but if you really think it is, there are ways to do it. People also need to stop using deen and variants, they are far too aggressive, and I have yet to see someone use warpsharpening correctly here. Most proper encoders can't even use it which is why it's looked down upon so much. There gets a point where no matter what the footage cannot look better to people other than yourself, I find that's usually once you hit 4 separate filters on average. It's not supposed to look sterile, it's supposed to have as few defects as possible. Grain is not a defect, and AMVers would do well to recognise that grain and noise are different things.

Locked

Return to “AviSynth Help”