Log in

View Full Version : Interlaced animation, need some help deinterlacing


Sagekilla
20th January 2008, 17:43
As the title says, my source is an animated movie (Dark Fury) that's been interlaced. (Yuck..) I've tried Mcbob() and mvbob() and didn't like the results. TDeint() actually ended up being much better quality and speed wise it seems.. But, I'm still trying to eke out the best possible quality before throwing it off to x264. Here's my chain so far:

MPEG2Source("source.d2v")
Tdeint()
Crop(6,66,-6,-70)
Spline36Resize(720,384)

o = last
b1vec = o.MVanalyse(pel=2,overlap=2,idx=1,delta=1,isb=true)
3f1vec = o.MVanalyse(pel=2,overlap=2,idx=1,delta=1,isb=false)
Return(o.MVDegrain1(b1vec,f1vec,thSAD=350,idx=2))

Update: Changed it around a bit.. AAA() was causing issues and didn't really fix the aliasing that much. I added the MVDegrain call because it helped smooth some areas where there was noise, and it helped even things out.

Here's a short clip (http://www.mediafire.com/?73mzozbez1m) if anyone needs it.

TheRyuu
20th January 2008, 19:31
Your clip does not require true "deinterlacing" since it is not "pure interlaced" content.

Instead, try something like this:
DGDecode_MPEG2Source("E:\Doom9\Pitch_Black.d2v", cpu=0,info=3)
tfm(d2v="E:\Doom9\Pitch_Black.d2v").tdecimate()
colormatrix(hints=true)


A simple telecide+decimate should work just fine on the footage. If you frame step, you'll notice that there is progressive and interlaced frames mixed together. They don't need deinteralcing or bobbing, they just need a telecide (tfm in our case) and decimate (tdecimate in our case).

You shouldn't need AA with the above script since the lines won't be nearly as destroyed as before.

Sagekilla
20th January 2008, 20:37
Thank you! Working very nicely now.