Artifacts in Anime/Toon Footage

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Re: Artifacts in Anime/Toon Footage

Postby Anno-san » Wed Sep 22, 2010 3:33 pm

What is the discoloration in the below image and how can I remove it?

Image
User avatar
Anno-san
 
Joined: 24 Dec 2009

Re: Artifacts in Anime/Toon Footage

Postby mirkosp » Wed Sep 22, 2010 5:25 pm

Anno-san wrote:
mirkosp wrote:I don't think editing the title/first post is really needed...


The title says "Deinterlacing problem" when that's not the main issue; the main issue with the Berserk trailer is the noise/grain, chroma jaggies and apparently bitrate. The title about deinterlacing seems far too specific seeing how many other problems there are. Could I just make a new thread?


I thought this thread would work well (it is a generic "artifacts" thread).
Anno-san wrote:What is the discoloration in the below image and how can I remove it?

Image


That looks like some really minor banding caused by the quantization during the compression. It's so slight it's pretty hard to see. I'd just ignore it.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Artifacts in Anime/Toon Footage

Postby Anno-san » Wed Sep 22, 2010 6:12 pm

What about the FFdshow settings? There is tab for RGB conversion. Wouldn't that fix the subsampling in MPC?
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Berserk Trailer
Sample: http://www.mediafire.com/?ionx747yy9ch4k0

I notice a few problems with this footage.



1. Noise, Severe grain and dull colors

Grain (so bad it's visible on characters' faces)
Image

Noise and Dull colors
Image



2. Chroma Subsampling/Chroma Jaggies (in the original as well as filtered footage)

Image

Image



3. Low Bitrate

How can I fix this issue? Encode to a higher bitrate in MeGUI?


4.The audio included is Monaural

I have a FLAC file of the track Forces TV Version, featured in this trailer which I could decode to WAV. Is it possible to dub audio to only a given duration (via time codes) of the video using AviSynth? If so what are the needed plugins and commands to do so?



That's all that I can see for now. So can anyone give some help/advice on these problems?
User avatar
Anno-san
 
Joined: 24 Dec 2009

Re: Artifacts in Anime/Toon Footage

Postby Mister Hatt » Wed Sep 22, 2010 8:37 pm

Use higher bitrate and ZarxGUI rather than MeGUI. As far as jaggies go, you'll obviously get them given that you're smoothing all detail out of your image and then sharpening it. Overfilter less and it should go away, and maybe reduce sharpening. What's wrong with the audio? FLAC is good for you. No need to encode to anything else.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Artifacts in Anime/Toon Footage

Postby Anno-san » Wed Sep 22, 2010 9:23 pm

FLAC is good for you. No need to encode to anything else.


You misunderstand. The audio is in mono which is horrible. I want to replace the song from the video with the better quality FLAC STEREO track. I could do this by exporting the audio from the trailer VOB as WAV, open up the trailer's audio and the stereo song track in Audacity and then move the song to the needed duration. That would be a pain to sync, though, because the original audio of the trailer has cuts that are in sync to the rhythm by milliseconds, e.g. when Griffith appears looking up at the queen for 2 quick cuts.

I meant, do you know of an avisynth filter that can add a separate audio track to a video at specific time codes?

Here's my script so far:

Code: Select all
DGDecode_mpeg2source("C:\Users\?\Videos\Berserk Trailer.d2v")
source = last
Tfm(pp=7)
TDecimate(mode=1)
FFT3dgpu()
filtered = last
ContraSharpening(filtered,source)
LoadPlugin("C:\program files (x86)\avisynth 2.5\plugins\removegrain.dll")
LoadPlugin("C:\users\?\downloads\warpsharp.dll")
EE()


I don't know what you mean by over filtering. I never even posted the avs script for the trailer until now.
User avatar
Anno-san
 
Joined: 24 Dec 2009

Re: Artifacts in Anime/Toon Footage

Postby mirkosp » Wed Sep 22, 2010 9:48 pm

The loadplugins in there are useless I guess. :P
Anyway, no, you'll have to cut the audio manually, unfortunately. There is no easy way around it. Audacity or something of the like will be your best bet...
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Artifacts in Anime/Toon Footage

Postby Mister Hatt » Wed Sep 22, 2010 11:04 pm

That script will fuck up MASSIVELY, unless you're actually intending to contrasharpen against a non-ivtc'd video in which case I lol'd really hard. Put TFM(mode=1,slow=2,micmatching=2,pp=5,clip2=tdeint(mode=2,type=3)).tdecimate() as your IVTC and throw it before the source = last line. The first LoadPlugin() you're using also doesn't do anything, and IIRC EE doesn't require warpsharp but I might be wrong about that.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Artifacts in Anime/Toon Footage

Postby Anno-san » Thu Sep 23, 2010 8:57 am

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
FFT3dgpu()
filtered = last
ContraSharpening(filtered,source)
LoadPlugin("C:\users\?\downloads\warpsharp.dll")
EE()


I opened this script in vdub and noticed 2 remaining problems: banding and chroma jaggies. What can I do to eliminate this?
User avatar
Anno-san
 
Joined: 24 Dec 2009

Re: Artifacts in Anime/Toon Footage

Postby mirkosp » Thu Sep 23, 2010 8:59 am

For the banding, look into gradfun2dbmod. For the jaggies I don't know what to say anymore.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Artifacts in Anime/Toon Footage

Postby Mister Hatt » Fri Sep 24, 2010 11:22 pm

For the banding, sue gradfunkmirror() rather than gradfun2dbmod() orz. The chroma jaggies can most likely be fixed by masking them and blurring or deblocking. An AA engine or EdgeCleaner might do it though.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Artifacts in Anime/Toon Footage

Postby 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: 24 Dec 2009

Re: Artifacts in Anime/Toon Footage

Postby 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.
User avatar
Anno-san
 
Joined: 24 Dec 2009

Re: Artifacts in Anime/Toon Footage

Postby 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.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Artifacts in Anime/Toon Footage

Postby 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
Anno-san
 
Joined: 24 Dec 2009

Re: Artifacts in Anime/Toon Footage

Postby 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?
Another Anime Convention AMV Contest Coordinator 2008-2014 & Head of the AAC Fan-works Theater - follow us on Twitter: https://twitter.com/#!/AACFanTheater
:sorcerer: :sorcerer: |RD: "Oh, Action!" (side-by-side) | |
User avatar
BasharOfTheAges
Just zis guy, you know?
 
Joined: 14 Sep 2004
Location: Merrimack, NH
Status: Extreeeeeeeeeme

PreviousNext

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest