Log in

View Full Version : Anime avs scripts


COREiP
26th October 2004, 04:15
I have a bunch of anime DVD's and I want to back them up to divx, xvid or vp6. I started using avisynth and I created a couple of scipts with some plugins such as deen, convelution3d, dup and blockbuster but the anime gets very blocky. Here is the code
loadplugin("loadpluginex.dll")
loadplugin("decomb521.dll")
loadplugin("dup.dll")
loadplugin("MPEG2Dec3.dll")
loadplugin("Convolution3DYV12.dll")
loadplugin("blockbuster.dll")
loadplugin("deen.dll")

Lanczosresize(576,432)
#crop(20,20,-20,-20)
Convolution3d(preset="animeLQ")
deen("c3d",1,10,10,10)
Blockbuster(method="noise",block_size=3,detail_min=1,detail_max=100,luma_offset=0,luma_threshold=25,mean=2,variance=2)
dup(threshold=3,chroma=true,copy=true,maxcopies=20,blend=true)

Any suggestiins will be greatly appreciated.

Mug Funky
26th October 2004, 15:59
do you mean the source gets blocky, or the encode?

blockbuster is intended to prevent blocks in low detail areas by adding noise to them, so it may not be what you want (adding noise on playback is a nicer solution IMHO).

using the postprocessing in Mpeg2source is usally the best way to get rid of blocks in your source, as it has information on the source that isn't available to a regular avisynth filter. failing that, blindPP works pretty well - for a dvd give it something like quant=2 or 3. but high-quant scenes will not be deblocked effectively (these are the scenes that you want deblocking for in the first place). low quantizer = better quality, so a high quant scene is a blocky one.

COREiP
26th October 2004, 23:36
Thnx for the reply. I seem to get better results with BlindPP.

LB
27th October 2004, 14:44
There isn't a "1" avs script fits all for anime, or anime movie in general. Quite a lot of animes don't need any filtering done to them. You need to get out of the "everything needs to be fixed mode" and only fix stuff that needs to be fixed.