View Full Version : IVTC 29,97->23,96 Looking for sample
alexVS
7th April 2011, 10:51
I'm learning how to work with video. And, well, there is no problem with PAL 25f/s. All NTSC DVD discs that I have are encoded as FILM 29,97, so DGIndex deal with them all right.
I've read a lot about IVTC, and that it's "difficult" to deal with them. But I can't find any sample to try IVTC filters for avisynth.
Can you give me a link (or just a hint) to some clip (trailer, etc), that is Telecided (not Filmed). I want to understand how it works and can't find material to work with.
:thanks:
manono
7th April 2011, 19:27
Just make your D2V project file using 'Honor Pulldown Flags' and then apply IVTC to that. It's the same as having a hard telecined video to begin with. Most hard telecined sources are no more difficult to deal with than doing that.
johnmeyer
7th April 2011, 21:26
It sounds like you may not live in "NTSC land." In the USA, all you have to do is capture a film that is broadcast (OTA, cable, sat, etc.) and it will be telecined. Also, many DVDs, and ALL videotapes have telecine applied to film.
Here is a link (good for seven days) to a few seconds of footage that has classic 3:2 pulldown cadence.
Test Clip for IVTC (https://www.yousendit.com/download/UFh0SmI1MHdRWUpjR0E9PQ)
Then, use this standard code to actually do the inverse telecine:loadPlugin("c:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
AVISource("E:\frameserver.avi").KillAudio()
converttoYV12(interlaced=true)
#Depending on source, change the following to BFF or TFF !!!
AssumeBFF()
tfm(display=false)
tdecimate(mode=0)
AssumeFPS(23.976, true)
mp3dom
7th April 2011, 22:31
TFM and Decomb can manage almost all fancy kind of pulldown. The real tough task comes when you need to deal with a mixture of pulldown and true 60i/30p content created in editing stage. I mean something similar to a 3:2 pulldown sequence where there's an interlaced fade to another scene with a phased shift pulldown. You can often see something similar in japanese animation.
johnmeyer
7th April 2011, 23:26
You can also get into some very difficult situations with material that has been transferred from 24p to 60i, and then to 50i and then back to 60i, etc. You end up with a combination of progressive and interlaced, usually with fields or frames that have been deleted altogether. In this case you have to write code to detect, as best you can, the "gaps" left by the decimated frames and then fill in those gaps (detecting and deleting duplicate frames is easy). I had to do this on fifty-seven hours of a live American 1960s television show sent to me by a collector that he got from another collector in Australia.
What I always recommend is to initially open any footage using a one-line AVISynth script that simply contains the separatefields() method. See if you can detect the cadence, and then see if it stays consistent throughout each section of the video. You can then twiddle the settings in TIVTC, and feed the resulting footage into code which detects and removes duplicate fields/frames (search this forum for "filldrops") and/or synthesizes missing fields/frames using MVTools2.
alexVS
8th April 2011, 13:57
Thanks a lot for example and for script.
All is working well, and it looks like it's not as difficult as I thought.
At least now I know how to deal with simple Telecide cases.
Thanks again!
Floatingshed
9th April 2011, 04:52
For clarity can we please not use the word telecined to describe 3:2 pulldown?
Telecined means simply that material has been transferred from film to tape (or file etc.). It implies no particular frame rate or pattern.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.