Artifacts in Anime/Toon Footage

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Anno-san
Joined: Thu Dec 24, 2009 4:03 pm
Org Profile

Re: Artifacts in Anime/Toon Footage

Post by Anno-san » Sat Sep 25, 2010 3:10 pm

Code: Select all

DGDecode_mpeg2source("C:\Users\?\Videos\Berserk Trailer.d2v")
TFM(mode=1,slow=2,micmatching=2,pp=5,clip2=tdeint(mode=2,type=3)).TDecimate()
source = last
Frfun7()
filtered = last
ContraSharpening(filtered,source)
LoadPlugin("C:\users\?\downloads\warpsharp.dll")
EE()
gradfunkmirror()
AAA()
Image

Code: Select all

DGDecode_mpeg2source("C:\Users\!\Videos\Berserk Trailer.d2v")
TFM(mode=1,slow=2,micmatching=2,pp=5,clip2=tdeint(mode=2,type=3)).TDecimate()
source = last
Frfun7()
filtered = last
ContraSharpening(filtered,source)
LoadPlugin("C:\users\!\downloads\warpsharp.dll")
EE()
gradfunkmirror()
AAA(Xshrp=20, Yshrp=20)

Image

A few thoughts. What is the purpose of EE and is it even needed? Also there is still a great deal of noise or ringing. How could I get rid of the noise, do I just need to tweak the parameters for frfun7? Lastly what do the parameters Xshrp and Yshrp control in AAA? Is X the unfiltered and Y the output result for the anti-aliasing?

User avatar
Anno-san
Joined: Thu Dec 24, 2009 4:03 pm
Org Profile

Re: Artifacts in Anime/Toon Footage

Post by Anno-san » Sat Sep 25, 2010 10:13 pm

Going back to Ed Edd n Eddy, I noticed that in episode 1, when I was previewing it in dgindex it said the footage was frame type: progressive and video type: video, like the episode 2 I was editing earlier in this thread. However when I open the avs

Code: Select all

dgdecode_mpeg2source("C:\blah\dvd rip\ed edd n eddy episode 1.d2v")
in vdub/mpc-hc, I notice that despite me choosing force film for in dgindex, there are still interlaced frames.

Like this
Image

I think I originally accidentally saved the d2v file for this and other episodes with the "honor pulldown flags" setting originally. When I became aware that I should have selected "force film", I opened the d2v in notepad and manually typed the field operation as 1 (force film), rather than re-saving the d2v with force film checked. Is this why the interlacing occurred in this episode and not the other one I mentioned in the beginning of the thread?

So my question is, what is the interlacing from: the manual editing of the d2v file or was the footage really telecine? The latter seems unlikely since dgindex identified the footage as progressive. Plus I don't see why the production co. would make only 1 of the episodes on the DVD progressive and the rest telecine.

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

Re: Artifacts in Anime/Toon Footage

Post by Mister Hatt » Sun Sep 26, 2010 3:56 am

Compare honour pulldown to ignore pulldown and see. Also EE is an anti-aliasing filter, and contrasharpening the way you are doing it doesn't do anything so there is no point in it. It requires something like FFT3D to actually be useful and this has been explained several times. Why are you even bringing this up here, your sources are not anime and are therefore off-topic.

User avatar
Anno-san
Joined: Thu Dec 24, 2009 4:03 pm
Org Profile

Re: Artifacts in Anime/Toon Footage

Post by Anno-san » Tue Sep 28, 2010 10:55 am

Back to the Berserk trailer.

So far I have this:

Code: Select all

DGDecode_mpeg2source("C:\Users\?\dvd rip\Berserk Trailer.d2v")
LoadPlugin("C:\program files (x86)\avisynth 2.5\plugins\removegrain.dll")
LoadPlugin("C:\program files (x86)\avisynth 2.5\plugins\yadifmod.dll")
AnimeIVTC(mode=2,ifade=true,killcomb=1,aa=4,SharpAAMCmod(aatype="EEDI2",dark=.3,smooth=-1),e1=4143,p1=4734,omode=1,credconv="mocomp")
TemporalDegrain(GPU=true,degrain=3)
gradfunkmirror(strength=1.5)
The results looked very good and the blended IVTC problem was fixed. The only problem is whenever I try to open the above script and view a frame in vdub, it says not responding and then crashes. I assume this is from degrain=3 in Temporaldegrain but due to the very poor quality of the source I think it is necessary. Is there any way I can take some stress off the CPU and still use this script without the crashing?

User avatar
BasharOfTheAges
Just zis guy, you know?
Joined: Tue Sep 14, 2004 11:32 pm
Status: Breathing
Location: Merrimack, NH
Org Profile

Re: Artifacts in Anime/Toon Footage

Post by BasharOfTheAges » Tue Sep 28, 2010 12:05 pm

At what point is it relevant to point out that Beserk is 13 years old and even the DVDs were just ported from VHS so there isn't much you can do to clean the source up in the first place and not make it look unnaturally filtered?
Anime Boston Fan Creations Coordinator (2019-2023)
Anime Boston Fan Creations Staff (2016-2018)
Another Anime Convention AMV Contest Coordinator 2008-2016
| | |

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

Re: Artifacts in Anime/Toon Footage

Post by Mister Hatt » Tue Sep 28, 2010 6:20 pm

You are nuking your footage with that filterchain. I think you know what that means. You need to revise your filtering (:EFFORT:) or not filter at all (:LAZYMODO:). I would suggest the latter. A high motion vid won't even let the footage make a difference to you really, so it's not all that big a deal. Unfiltered video ALWAYS looks better than overfiltered.

User avatar
Anno-san
Joined: Thu Dec 24, 2009 4:03 pm
Org Profile

Re: Artifacts in Anime/Toon Footage

Post by Anno-san » Tue Sep 28, 2010 7:09 pm

^
I used TemporalDegrain because the filter was severely grainy. If temporaldegrain isn't the right filter to fix this (assuming the problem even is grain) then suggest another filter. If I'm overfiltering then please make some specific script change suggestions.

Also stop calling me "lazy" and making statements about my character. I could do the same to others on this forum but I don not. Argue points and don't post insulting or offensive statements.

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

Re: Artifacts in Anime/Toon Footage

Post by mirkosp » Tue Sep 28, 2010 8:02 pm

He didn't say you're lazy. He just suggested you should be in this case because the effort would probably be not worth it. That's up to you to decide, though.
Image

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

Re: Artifacts in Anime/Toon Footage

Post by Mister Hatt » Wed Sep 29, 2010 1:02 am

Also, about grain, a good friend of mine wrote about how grain is not a defect: read it.

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

Re: Artifacts in Anime/Toon Footage

Post by mirkosp » Wed Sep 29, 2010 9:02 am

Mister Hatt wrote:Also, about grain, a good friend of mine wrote about how grain is not a defect: read it.
Grain isn't a defect, but I think in this case he just meant actual noise and just didn't call it properly. Refer to this screenshot. Does show noise aside for the bad chroma subsampling.
Image

Locked

Return to “AviSynth Help”