Log in

View Full Version : IVTC or Interlace?


snake-boy
16th June 2002, 23:44
Hi all,

For some reason, decomb crashes my PC ;(

Can anyone tell me what is the cause of this and how to fix it?
If this a result of ivtc or interlacing? How can I tell?

thanks

-snakehttp://www.sputnik.za.net/test/pic.jpg

manono
17th June 2002, 03:10
Hi snake-boy-

Well, the picture is definitely interlaced. As to whether or not it is pure interlace, or has been telecined, one frame ian't enough. Look at 5 in a row using a 30fps .d2v from DVD2AVI. If all 5 are interlaced, it's pure interlace, hasn't been telecined, and all you can do is deinterlace (FieldDeinterlace in Decomb). If, in those same 5 frames you see only 2 interlaced frames, then it has been telecined and you can IVTC (the Telecide()-Decimate() combination in Decomb).

You didn't say, and I was assuming the source is NTSC. If it is PAL, make a 25fps .d2v, and then you might try Telecide() alone. If that doesn't fix it, then FieldDeinterlace().

As for the reason it might be crashing, we'll have to see your .avs.

snake-boy
17th June 2002, 23:40
Hi,

Yes, my source is NTSC, and stepping through the frames, shows a frame like that, and then another, then nothing for 5-10frames (sometimes MUCH more).
There's _never_ more than 2 of these "lined" frames in succesion, so by your explanation above, I can assume I do need to ivtc. Now just to get decomb not to crash on me :(

Here's my .avs: (minus the comments)

LoadPlugin("F:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("F:\PROGRA~1\GORDIA~1\decomb.dll")
LoadPlugin("C:\WINDOWS\SYSTEM\vobsub.dll")
mpeg2source("F:\esca-extras\esca-extras.d2v")
Telecide()
Decimate(cycle=5)
crop(8,0,700,478)
VobSub("F:\esca-extras\vts_17_0")
BicubicResize(640,480,0,0.5)

(PS, the path to my vobsub.dll is correct ;) that's not a typo.)

Thanks

-snake

jggimi
18th June 2002, 00:19
Snake,

There are other IVTC options available.

1) You might test a small portion of your vobs (use [ and ] keys in dvd2avi) with Force FILM. It's a very cheap and easy IVTC. Examine a Force FILMed d2v for a few frames, to see if the ones that were interlaced have disappeared. If so, then this might be good enough. Do look to see if other frames have been duplicated, too. Force FILM is based on the mpeg2 metadata, so it may or may not work.

2) Try GreedyHMA. It's packaged with GKnot, and I think there's some documentation in the docs folder for it.

manono
18th June 2002, 01:03
Hi-

I don't think it's a Decomb problem. I think it's a VobSub problem. Run a test. First comment out the VobSub lines like so:

LoadPlugin("F:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("F:\PROGRA~1\GORDIA~1\decomb.dll")
#LoadPlugin("C:\WINDOWS\SYSTEM\vobsub.dll")
mpeg2source("F:\esca-extras\esca-extras.d2v")
Telecide()
Decimate(cycle=5)
crop(8,0,700,478)
#VobSub("F:\esca-extras\vts_17_0")
BicubicResize(640,480,0,0.5)

If it doesn't crash when you do that, then try putting VobSub after Resize like so:

LoadPlugin("F:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("F:\PROGRA~1\GORDIA~1\decomb.dll")
LoadPlugin("C:\WINDOWS\SYSTEM\vobsub.dll")
mpeg2source("F:\esca-extras\esca-extras.d2v")
Telecide()
Decimate(cycle=5)
crop(8,0,700,478)
BicubicResize(640,480,0,0.5)
VobSub("F:\esca-extras\vts_17_0")

And jggimi's right. Since there's so little interlacing (you were using a 30fps .d2v to check, right and were looking around in motion scenes?), you may be able to get away with using Force FILM on the esca-extras (but not the episodes themselves).

jggimi
19th June 2002, 02:22
Just to clarify -- and to corroborate -- "standard" telecined films prior to IVTC -- will show 2 frames in five with interlace artifacts. What they actually are are two fields from adjacent frames. See this for much more detail: http://www.doom9.org/synch.htm