View Full Version : Cartoon Filters for a Newbie
LadyMiles
31st October 2002, 01:47
Hi I am trying to do an old Disney film the Aristocats. I have read alot about lanczosresize, but I am not sure where it goes in the script. Does it go in the same place as bilinear resize and is it better thatn bilinear ? And What denoise filter should be used ?
JohnMK
31st October 2002, 01:51
Unless your movie is particularly compressible, and I'm guessing it is not, I would not recommend using LanczosResize. Stick to neutral bicubic, run a compressibility test in GordianKnot, and pick the resolution that gets you to 60-70% quality without much aspect ratio error. If you want to denoise, use convolution3d(preset="animeHQ"). Or use another one, but convolution3d.dll is the only one which I have any degree of experiene with. :D You'll of course have to download convolution3d.dll. That should do the trick.
LadyMiles
31st October 2002, 02:44
Thank you so much:D
LadyMiles
31st October 2002, 06:18
I am trying to do the Disney movie the Aristocats for my daughter and I used your Convolution3d(preset="animeLQ") filter and a vcd template. Here is a sample and the script:
LoadPlugin("C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
LoadPlugin("C:\Convolution3d.dll")
mpeg2source("C:\ARISCATS\VIDEO_TS\aristocat.d2v")
Convolution3d(preset="animeLQ")
LanczosResize(352,240)
#BilinearResize(352,224,0,10,720,460)
#TemporalSmoother(1,2)
#AddBorders(0,8,0,8)
What am I doing wrong ?
JohnMK
31st October 2002, 06:33
Originally posted by LadyMiles
I am trying to do the Disney movie the Aristocats for my daughter and I used your Convolution3d(preset="animeLQ") filter and a vcd template. Here is a sample and the script:
LoadPlugin("C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
LoadPlugin("C:\Convolution3d.dll")
mpeg2source("C:\ARISCATS\VIDEO_TS\aristocat.d2v")
Convolution3d(preset="animeLQ")
LanczosResize(352,240)
#BilinearResize(352,224,0,10,720,460)
#TemporalSmoother(1,2)
#AddBorders(0,8,0,8)
What am I doing wrong ?
BilinearResize looks weird. It should be (352,224,0,.50), I think. Anyway, that doesn't matter, you're not using it. I don't see anything else that's errant. Why aren't you cropping, btw?
LadyMiles
31st October 2002, 06:34
I am trying to do the Disney movie the Aristocats for my daughter and I used your Convolution3d(preset="animeLQ") filter and a vcd template. Here is a sample and the script:
LoadPlugin("C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
LoadPlugin("C:\Convolution3d.dll")
mpeg2source("C:\ARISCATS\VIDEO_TS\aristocat.d2v")
Convolution3d(preset="animeLQ")
LanczosResize(352,240)
#BilinearResize(352,224,0,10,720,460)
#TemporalSmoother(1,2)
#AddBorders(0,8,0,8)
What am I doing wrong ?
JohnMK
31st October 2002, 08:21
Double post?
Lefungus
31st October 2002, 11:19
Maybe you should crop your movie before resizing ?
Of course, maybe there's no black bars in your source, i don't know.
Alestrix
31st October 2002, 12:00
Originally posted by Lefungus
Maybe you should crop your movie before resizing ?
Of course, maybe there's no black bars in your source, i don't know.
I think I read somewhere in the AviSynth Manual that the resize methods now include cropping capabilities - which are the additional parameters in BilinearResize(352,224,0,10,720,460) (i.e. crop to 720x460 from position (0,10) and bilinear resize to 352x224). But since it's commented out anyway, it doesn't really matter :-)
@LadyMiles:
As long as all the paths are correct, I don't see any errors in the script - what makes you think that something's wrong? Or in other words what is the error message you get?
- Alex
Edit: Didn't see the picture when I posted this so YES, the black borders on the left and right should be clipped also for better compressability.
Dreassica
31st October 2002, 12:27
Do u use the latest version of Avisynth? It is the only version that has Lanczosresize build in. It would be helpfull if u post the exact errormessage, that will tell us much.
LadyMiles
1st November 2002, 05:17
I am not getting an error message. It's just the noise, that is wrong. I thought the presets for convultion are supposed to take care of it. Of course this movie was mad in 1970 so I don't know how well the dvd was authored.
Zarxrax
1st November 2002, 05:38
Convolution 3d gets rid of noise in the source video. The noise that is pictured in the image that you attached was caused from encoding it to vcd. You will probably want to use bilinear resize, not lanczose resize, because lanczose resize will definately make the noise worse. There's not a whole lot you can do though, because vcd will ALWAYS look bad, there simply isnt enough bitrate for it to compress the picture well. You should try encoding to SVCD if your player supports it.
Alestrix
1st November 2002, 09:14
Zarxrax is right, the "errors" that can be seen on the picture have nothing to do with noise but are atifacts from compressing due to
1) LanczosResize (very sharp)
2) The sharp edges in the movie due to its nature (i.e. being a cartoon)
You can try BilinearResize or soft bicubic (i.e. something like BicubicResize(352,224, 0.33, 0.33) ). I don't do cartoons/anime, but maybe an Unfilter(-10,-10) can help?
- Alex
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.