Log in

View Full Version : Is this clip beyond repair ? (anime)


yuki
23rd August 2008, 21:40
Hello,

so I got this R2 DVD and the quality is awful :\
The source exhibits strong ghosting, noise (dirt really) and blocking. It's also really shaky. Here is what I have so far (the deinterlacing part comes from megui, the rest from this forum):

DGDecode_mpeg2source("D:\Sailor Stars\openingsanscredit.d2v",info=3)

ColorMatrix(hints=true,interlaced=true)

edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)

tdeintted = TDeint(edeint=edeintted,order=1)

tfm(order=1,clip2=tdeintted).tdecimate(hybrid=3)
Deblock()
dfttest()
toon()
deen("a3d",4,8,9)
Spline36Resize(last.width*2,last.height*2)
AddBorders(4, 0, 4, 0)
aWarpSharp(depth=12,blurlevel=4,thresh=0.2,cm=1)
toon()
aWarpSharp(depth=6,blurlevel=4,thresh=0.7,cm=1)
Crop(4,0,-4,0)
toonn()
DeHalo_Alpha()
fft3dgpu(bt=3,sigma=8,sharpen=1.3)
Spline36Resize(last.width/2,last.height/2)
crop( 14, 2, -2, 0)
LanczosResize(640,480) # Lanczos (Sharp)

Speed isn't really an issue but I'm not satisfied with my results...Anyone feels like giving it a try ? Here is a sample
http://ploufsub.net/sample/sample.vob
Thanks for any advice you can give !

Nightshiver
23rd August 2008, 22:23
lol, what a screwed up source O.o

For the ghosting, this seemed to work:

mcbob()
mrestore(mode=0,numr=2002,denm=5005)

and going from there...

DeHalo_alpha()
Deblock_QED()
FFT3DFilter(sigma=3.5, bt=4, bw=32, bh=32, ow=16, oh=16)
toon()
LimitedSharpenFaster(ss_x=1.9, ss_y=1.9, smode=4, strength=145, overshoot=1, undershoot=1)
Tweak(cont=1.2,sat=1.3,bright=4, hue=0)
crop( 14, 2, -2, 0)
LanczosResize(640,480)

or you could try a different variation of my script:

DeHalo_alpha()
Deblock_QED()
dfttest()
toon()
aWarpSharp(depth=12,blurlevel=4,thresh=0.2,cm=1)
fft3dgpu(bt=3,sigma=8,sharpen=1.3)
Tweak(cont=1.2,sat=1.3,bright=4, hue=0)
crop( 14, 2, -2, 0)
LanczosResize(640,480)

egrimisu
24th August 2008, 00:34
Now that a hell screwed up source, strange this anime was created somewhere in 95, i remember older season of sailor moon to look better.

yuki
24th August 2008, 10:51
Yes some of the ghosting goes away, but it looks so washed out :\
I guess there is no way to clean such a crappy video without killing most details...
Thank anyway :)

Nightshiver
24th August 2008, 14:00
Yeah, it's a hella washed out sailor moon dvd even without using my settings. It's just plain and simply another crappy source.

DeathAngelBR
24th August 2008, 16:32
I gave it a try and ignored field matching and deinterlacing. Left it at 29.97fps.

nnedi(threads=2)
ttempsmooth()
deen("a2d",2,7,9)
gradfun2db()
fft3dfilter(sigma=3,bt=3,bw=16,bh=16,ow=8,oh=8,plane=4,ncpu=2)

tengo6dedos
25th August 2008, 00:21
nice results with only fft3dfilter and DGDecode_mpeg2source("...d2v",CPU=4)

fft3dfilter(bw=16, bh=16, ow=8, oh=8, bt=1, sigma=4, plane=0)

Still needs something for rainbows and for some white spots in some frames. When happiness achieved with denoising try addin this when tweakin colours:

colorYUV(gain_u=10)

might help a lot



saluts

DeathAngelBR
25th August 2008, 00:55
Using plane=4 in FFT3D can slightly remove rainbows.

tengo6dedos
25th August 2008, 00:58
yes, you can add that

egrimisu
25th August 2008, 15:57
This seem's to be the R2J release that i own to and is the best source out there, i saw other release and there were more crapier... so this is the best anyone can get. Happy cleaning.
Yeah, it's a hella washed out sailor moon dvd even without using my settings. It's just plain and simply another crappy source.

If you guys achieve something good let me know so i will start and clean mine to :D

yuki
26th August 2008, 20:23
Thank everyone, I'll try your suggestions as soon as I have more time on my hands :\

egrimisu
27th August 2008, 08:06
If you achieve something good to remove the halows and the rainbowing let me know ;) . I haven't try to remove rainbows till now.

Nightshiver
27th August 2008, 12:28
Oh, well if you wanted to remove rainbows, a simple derainbow(15) might do the trick.
EDIT: (this edit was made on august 27)

Here's a little revised script:

DeHalo_alpha()
derainbow(15)
Checkmate(10)
source = last
vectors = source.MVAnalyseMulti(refframes=3, pel = 2, overlap=4, sharp=1, idx = 1)
source.MVDegrainMulti(vectors,thSAD=600,idx=1)
Toon(1)
AAA(1536,1152,30,30,2,3,chroma=true)
aWarpsharp(22,4,0.5,1)
LimitedSharpenFaster(edgemode=1,strength=210,overshoot=1,soft=0)
Dfttest(sigma=1.4,tbsize=3)
tweak(cont=1.2, bright=3, sat=1.4)
crop( 14, 2, -2, 0)
spline36resize(640,480)

Bam.