PDA

View Full Version : How should I deinterlace this horrible NTSC DVD?


IvS
26th July 2005, 16:28
This seems like the most appropriate forum to post in. I've tried everything...but it seems like this MPEG-2 video was encoded by Satan himself. Here (http://ork.pp.fi/shy/interlacinghell.vob)'s a representative 7 seconds sample. Not hard to notice...look at his right hand. There are parts with static as well as moving text where the text is horribly jumpy and/or twisted.
The aspect ratio stated on the DVD is "pan and scan". DVD Decrypter says 4:3, GSpot says 3:2. The content of the DVD is european, so I tend to think it was converted from PAL to NTSC in the most horrible way possible.
I've tried all widely used and not so widely used deinterlacers. FieldDeinterlace, kernel deinterlacer, smooth deinterlacer, TIVTC, TDeint, the restore24 script, whatever, but I can't find any weird method that will fix this jaggy NTSC mess.
The only deinterlacing solution I've found that can make this tolerable is "Linear blending" in ffdshow, but it smooths too much. However, if there's no solution for this, I'd appreciate if someone could point me to an avisynth deinterlacing solution similar to "linear blending".
Thank you.

scharfis_brain
26th July 2005, 16:37
The motion is much too slow to see anything.
Please choose a sample with much MORE motion (ie.: a rapid pan)

I can see some blends, but it is TOUGH to guess the initial framerate.

EDIT: a short test with some commen framerate showed it was PAL initially.

this script made it playing fluent and ghost-free:

mpeg2source("x.d2v",cpu=0)
bob()
changefps(100)
selectevery(4,2)

IvS
26th July 2005, 16:56
In rapid movements it's much better since you don't get to notice the jaggy effect. It's noticable on edges, especially like in this sample, or edgy things like text.

scharfis_brain
26th July 2005, 17:12
if it is constantly PAL in NTSC, your chances are good to rely on strict-patterned deblending:
http://forum.doom9.org/showthread.php?t=97447

so trying

mpeg2source("x.d2v",cpu=0)

tdeint(mode=1,type=3,full=false)
changefps(100,linear=false)
selectevery(4,?) #? = 0..3

for the whole clip is the best you can do.

IvS
26th July 2005, 17:33
Seems like it's not even constantly PAL, some parts are completely fluid, some are very truncated.
There's no type=3 in tdeint, so i tried 0, 1 and 2 and tried 0, 1, 2 and 3 for selectevery, but it still doesn't get rid of the jagginess.

scharfis_brain
26th July 2005, 17:37
1) no type3? get a new version of TDeint!

2) the selectevery(4,?) only alters motion fluidity. NOT jaggyness

IvS
26th July 2005, 17:43
Right, I didn't notice i had an old version, and wow, it seems like this new beta solves it! Finally something can handle this mess!
Thanks a lot scharfis_brain.

Edit: yeah it solves the jagginess problem on the clip I posted, but not on some other stuff on the DVD. I'll post another file that shows the huge problem with text in a while (can't upload right now).

Leak
26th July 2005, 19:23
Right, I didn't notice i had an old version, and wow, it seems like this new beta solves it! Finally something can handle this mess!
Thanks a lot scharfis_brain.

Edit: yeah it solves the jagginess problem on the clip I posted, but not on some other stuff on the DVD. I'll post another file that shows the huge problem with text in a while (can't upload right now).

If nothing else helps, here's a worst case solution (http://www.play.com/play247.asp?page=title&r=R2&title=143089&p=57&g=72&pa=sr)...

np: F.S. Blumm - Lunten (Zweite Meer)

IvS
26th July 2005, 19:43
Here (http://ork.pp.fi/shy/interlacinghell2.vob)'s the second video. Sorry about the delay.
Leak: Hehe, thanks.

IvS
27th July 2005, 12:49
This makes everyone I ask baffled. I hope there's a solution for this. If not, I'll have to take Leak's advice, and then put this issue on top of the interlacing hall of shame.

scharfis_brain
27th July 2005, 19:24
Nothing will fix this. flicker is already in the (NTSC) source.
This is typical with dumb-bob-conversions.

only a STRONG tenporalsoften could fix it at the cost of horrible blending.

So either live with that or get the original PAL-DVD.

IvS
27th July 2005, 19:46
Live with it? No way :). I'll have to get a PAL version.
What I don't understand is why some deinterlacing methods make the unstableness worse in various ways, sometimes much, much worse than when using no deinterlacing.
The fact remains, "linear blending" mode in ffdshow is the best overall "solution" for this DVD, but I don't know any similar deinterlacer for AviSynth.
I even tried using DirectShowSource to encode in order to be able to use linear blending, but it's buggy with this video.
It's really sad that such low quality filth enters mass production and into the market.

#1 Interlacing From Hell award goes to "The Work of Director Chris Cunningham (NTSC edition)".

Thanks scharfis_brain and Leak.

scharfis_brain
27th July 2005, 20:39
this kind of interlacing is still really friendly.

you just haven't seen the really weird ones!