Inverse Telecine in AVISynth

If you've read this part of the guide like you were supposed to you would know what Telecining and 3:2 Pulldown is and how the actual process of Inverse Telecining works. If you haven't read it and you continue beyond this point, you are a very bad little boy or girl and will be sentenced to watch German-dubbed Wedding Peach until your large intestine leaps straight up through your neck and throttles your brain in an attempt to save its own sanity.

Inverse Telecining can be useful when you make your original AVS files to edit with. You can also, however, edit normally in 29.97fps interlaced in Premiere (if your final target is NTSC anyways) and then run Decomb afterwards. This works fairly well, although because you've been chopping up a stream in 30fps timebase which was originally in 24fps timebase will mess with the pulldown pattern and sometimes cause the occasional duplicate frame but this is hardly noticeable.

You will, however, run into trouble if any of your effects run in 30fps or 60fps because these cannot be reduced smoothly since they weren't originally 24fps in the first place. These kinds of effects include certain filters (old film filters, crystallization filters, things that change the way a video looks every frame) and motion effects in Premiere. Thus if you plan on doing these things, edit in progressive or else you will have to deinterlace your final product instead of IVTC'ing it because the pulldown removal would cause these effects to become very jerky.

There are several different Inverse Telecine plugins out there that are available, however our tests have shown that the best one for Anime is definitelyDonald Graft's Decomb filter. If you have downloaded and installed the AMVapp then you have this already.

Decomb works in two steps. First you must Telecide the video stream - which essentially turns it into a progressive stream by reconstructing each of the frames that suffer from deinterlacing into their original frames. Then you Decimate the stream, or you remove the duplicate frames created by Telecide. This leaves you with a progressive stream without duplicate frames - thus you've Inverse Telecined the video.

If you are using the AMVapp then the filters will auto load so all you need to do is have a script like this if you want to IVTC NTSC footage.

MPEG2Source("D:\myproject.d2v")
Telecide()
Decimate(5)

There are options for both the telecide and decimate functions but I suggest using the default values unless you run into trouble. If you have PAL footage, try:

MPEG2Source("D:\myproject.d2v")
Telecide()
Decimate(mode=1)

One thing though - do not enable the Pulldown Guide functionality. What Guide does is it keeps track of the previous pattern and uses it to help keep tabs on the trend of the video and by looking at the previous pulldown patterns hopefully making the right decisions about the upcoming ones. However, the guide only works when you're reading sequentially from a stream, not when you're doing random access on frames. So, if you are making clips or if you are editing with guided files the IVTC may not work as it needs to operate on a complete video stream.

Note that if you plan on editing with IVTC'd files in Premiere, you will run into a problem because Premiere cannot edit in 23.976fps. If you'd like to do it properly, you should read this guide on editing progressive footage in Premiere.