Need help with getting rid of macroblocking

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Starwindz
Joined: Fri Nov 02, 2007 9:21 pm
Org Profile

Need help with getting rid of macroblocking

Post by Starwindz » Mon Apr 14, 2008 6:53 am

Hi I'm new to avisynth and was wondering if I'm messing up with my code or if the footage I am working with is not fixable. This dvd I purchased was encoded really poorly and is not really good in quality.

Here is the code I am using:

mpeg2source("C:\UNTITLED001\VIDEO_TS\01take2cowboybebop.d2v",cpu=6)
Telecide(order=1,post=2,blend=true,vthresh=50,back=1)
Decimate(cycle=5,mode=2)
mftoon(strength=128)
FastLineDarken
SDDeRainbow()
deen("a3d",3,10,12)
tweak(cont=1.2,sat=1.5,bright=2,hue=0)
WarpSharp(depth=132)
Crop(10,8,-10,-0)
LanczosResize(640,480)


Here is where the macroblocking is really noticeable:

Image

Image

also there are some rainbows still showing up even though Ive added a filter for it.

Image

Any help / advice would be really grateful, also I would like to know if I'm over doing it on the filters. I plan on turning all my dvd footage to a lossless codec after I get my script worked out.

sungod93
Joined: Fri Mar 28, 2008 1:59 am
Location: Australia
Org Profile

Post by sungod93 » Thu Apr 17, 2008 1:40 am

I found a mistake while reading your script.

Code: Select all

deen("a3d",3,10,12) 

Instead of a3d try using w2d. Just delete this line and copy the one below:

Code: Select all

Deen("w2d",5,6,7)

Locked

Return to “AviSynth Help”