Log in

View Full Version : My latest anime settings, any comments?


RathO
6th August 2003, 00:07
I have tried these settings on my last anime encode. Small objects seems to loose some details, but most of the noise is gone. Overall, im satisfied with the result. :D

The filter's order and settings might be wrong, that's why im asking to you people to comment on this avs:

LoadPlugin("path:\MPEG2Dec3.dll")
LoadPlugin("path:\Decomb.dll")
LoadPlugin("path:\kerneldeint131.dll")
LoadPlugin("path:\WarpSharp.dll")
LoadPlugin("path:\Convolution3DYV12.dll")
#
mpeg2source("path:\anime.d2v")
InputTopFieldFirst = true # Most DVD sources. Need to put this?
#
# IVTC
Telecide()
Decimate(cycle=5)
#
# Filters
SeparateFields()
even=SelectEven().Convolution3d("AnimeLQ").Temporalsoften(4,4,8,mode=2,scenechange=8)
odd=SelectOdd().Convolution3d("AnimeLQ").Temporalsoften(4,4,8,mode=2,scenechange=8)
Interleave(even,odd).weave()
#
KernelDeint(1,sharp=false) # Deinterlace
crop(12,62,696,352)
WarpSharp(40)
BilinearResize(576,320)

I have a P4 @ 2.8 gHz (512) ram , i encoded through AVIsynth 2.52 (http://cultact-server.novi.dk/kpo/avisynth/avs_cvs.html) @ 10 fps using XviD-24062003-1 :D

Regards

PowerMacG4
6th August 2003, 00:43
When you telecide, your source will become progressive, so you do not need to separate your fields. I recommend getting awarpsharp.dll and using awarpsharp(). And I also use lanczosresize(). If you are feeling spicy, try Mipsmooth instead of convolution3d.

Here is a fixed up script:

LoadPlugin("path:\MPEG2Dec3.dll")
LoadPlugin("path:\Decomb.dll")
LoadPlugin("path:\awarpsharp.dll")
LoadPlugin("path:\Convolution3DYV12.dll")

mpeg2source("path:\anime.d2v")

# IVTC
Telecide().Decimate(cycle=5)

# Filters
Convolution3d("AnimeLQ")
Temporalsoften(4,4,8,mode=2,scenechange=8)

crop(12,62,696,352)
awarpsharp()
lanczosresize(576,320)

RathO
6th August 2003, 01:15
Do i get a better result by filtering each field separately? i might say yes, am i wrong? I dunno if its possible to telecide after the filters? might be longer encoding tho..

I use Lanczosresize sometimes, but i think BilinearResize have better compressability. Maybe i should consider using lanczos because its more sharp and anime need sharpness?

InputTopFieldFirst = true --> Is this necessary to put it for DVD source? since i must specify "false" for DV witch are normally bottom field first...

And my KernelDeint becomes useless when telecide... doh!

I tryed Mipsmooth and did not see a big difference, just slooow. I also tryed mftoon and did'nt work at all... :mad:

Yes i'll give a try to awarpsharp (gotta see whats the diff first) ;)

Regards

PowerMacG4
6th August 2003, 01:57
After a telecide, there are no fields. Just straight progressive frames. So filtering individual fields after a telecide is like, a bad idea.

My script is probably _WAY_ faster than yours. :-)

Shalcker
6th August 2003, 07:36
Originally posted by RathO
And my KernelDeint becomes useless when telecide... doh!

Not useless. You can still use it for deinterlacing since it retains more vertical details in interlaced frames then default postprocessing in Telecide(). You just need to use it like this:

Telecide(post=false)
KernelDeint(1,sharp=false)
Decimate(cycle=5)

ominte
6th August 2003, 11:33
@ Shalcker

wouldn't it be better if you used:

Telecide(post=1, hints=true)
KernelDeint(1, sharp=false)
Decimate(cycle=5)

this allows Telecide to pass on hints to Kernel so it only deinterlaces what Telecide detects as combed etc.

Shalcker
6th August 2003, 15:39
Originally posted by ominte
@ Shalcker

wouldn't it be better if you used:

Telecide(post=1, hints=true)
KernelDeint(1, sharp=false)
Decimate(cycle=5)

this allows Telecide to pass on hints to Kernel so it only deinterlaces what Telecide detects as combed etc.
Certainly that's better, and that's how i use it myself...

But note that he uses Telecide with Telecide() syntax, which indicates 4.10 version to me (since in 5.x you have to set order and there is no way around that)... and there is no hints in 4.10 ;)

RathO
6th August 2003, 23:44
You guys are getting me confused with ur telecide discussion. :(

In doom9 guide about decomb i read:

A little more advanced script that's especially useful for anime sources would be:
Telecide(guide=1,gthresh=50,chroma=true,threshold=30)
Decimate(cycle=5)

About the settings u posted above --> "Telecide(post=1, hints=true)", i get an error. It uses a new version of decomb? You guys are talking about 5.x version, witch is better i guess, where can get it? i checked on warpenterprises website (filter collection) and get it. :confused:

Regards

MasterYoshidino
7th August 2003, 04:51
are you using the official alpha off donald's site?
(not the betas being thrown around the forums)

that is your reason, using an older telecide.

as for the script, nothing "wrong", just not my style.
wished I cound do radius 13 kinda smart smooth for the nasty sources but in 2.5, its not existant :\ (hates limitations of _2dcleanyuy2() :devil: )

ya can throw filters like you want, experiment and see what you like.

RathO
7th August 2003, 13:54
Im gonna the ones from Donald. Thx. :o

@MasterYoshidino:

Can u post one of ur script so we can see ur filters combination?
Sometimes, it might help others to experiment settings from other users. :p

@Shalcker
Can u explain me this:

Telecide(post=1, hints=true)
KernelDeint(1, sharp=false)
Decimate(cycle=5)

I installed the avisynth dll from Donald as specified.
I still get an error. It seems like i must specify the order parameter (0=bff, 1=tff)...

Regards

Shalcker
7th August 2003, 18:11
Originally posted by RathO
Telecide(post=1, hints=true)
KernelDeint(1, sharp=false)
Decimate(cycle=5)

I installed the avisynth dll from Donald as specified.
I still get an error. It seems like i must specify the order parameter (0=bff, 1=tff)...
It is the same order as in first parameter of KernelDeint.
You can use Telecide(order=1, post=1, hints=true)

DoW
7th August 2003, 18:51
Decomb 5 beta 16 can be found here (http://neuron2.net/decomb/decomb500b16.zip)
IMO, the YUY2 (Avisynth 2.0x) version of convolution3d is a little better at noise removal. I would suggest you also try dustv5 filter for noise removal.

RathO
14th August 2003, 04:05
Big thanx guys for ur tips :D

Now im working on Robotech the macross saga.
Hum, my warpsharp settings (even as low as 5) gives weird results. On the right side of the video, right after the crop, some lines appears (no, not the green ones....) but as if the video didn't support any sharpening... :(

Robotech is an old series and the image is kinda blurry/noisy at the same time. I think im gonna try mfToon-v0.32...

Ill let u know my results soon.

Regards

mf
14th August 2003, 21:43
I would recommend mfToon v0.4 (NTSC anime DVDs are bad aspect anyway, so your output will want to be 640x480, so there's no resolution problem), since it's much better (to me anyway :D). The noise in analogue anime can be pretty evil, so try playing around a bit with high temporal influence in deen, works miracles. If you get unhandled exceptions or whatnots, try the avisynth.dll on my AVS dumpster (http://nabeshin.ddo.jp/avisynth/).

RathO
19th August 2003, 01:52
I have been trying some settings...

Mf-toon does a great job, but much to slow for me (got 10 fps/sec)... i guess mf still working to optimize the script... :p

I tried the deen one and once again.. waaay tooo slooow! (got 2-3 fps/sec...) :angry:

_________________

Finally, here's what i did, using AviSynth 2.52 to create XviD @ ~17-20 fps/sec, wich is very acceptable IMO:

LoadPlugin("path:\MPEG2Dec3.dll")
LoadPlugin("path:\decomb500b16.dll")
LoadPlugin("path:\Convolution3DYV12.dll")
LoadPlugin("path:\kerneldeint131.dll")
#
mpeg2source("path:\input-file.d2v")
#
Telecide(order=1, post=1, hints=true)
KernelDeint(1, sharp=false)
Decimate(cycle=5)
#
crop(8,0,700,478)
LanczosResize(512,384)
Convolution3d("AnimeLQ").Temporalsoften(4,4,8,mode=2,scenechange=8)
#
Levels(15, 1.0, 255,0, 255) # i used this on my robotech encodes...

_________________

I have been judging the quality of my rips in fullscreen. I can barely see noise. (!) Quality is very good.

I now mux my audio/video to Matroska (*.mkv) using GraphEdit :D
I hope to see very soon an application to apply tags after the mkv file is created, that zplayer or mplayer can properly display.

And im now testing the "new" autocrop in avisynth... kinda cool, may prevent of using gordianknot!... the only thing is that it does not respect the ratio yet.

Regards

mf
19th August 2003, 10:32
Well, fps is always a matter of taste. I don't care if my encode runs at 1fps.

RathO
19th August 2003, 13:17
Don't be offended mf, and im sorry if you are. We need people like you who develop stuff like you did. As you said, its a matter of taste. When encoding, fps might be important for some people too when doing loooong series (as robotech!). A good ratio of speed/quality is required. But don't worry, i wont hesitate using you're mf-toon when doing single episode oav and or anime movies ;)

So are you still working on it? and on wich way can it go faster?

Regards

mf
19th August 2003, 17:02
I wasn't offended :). I more usually offend than be offended ;). Anyway, I work on it when I get new ideas for it. There is nothing to optimize, everything is scripted in AVISynth, so the only ppl who can optimize are the AVISynth developers and script authors.