Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
5th November 2012, 22:44 | #1 | Link |
Registered User
Join Date: Aug 2010
Posts: 22
|
Avisynth Script Soft Telecine NTSC DVD
This is my reading on soft and hard telecine NTSC DVD
My Question follows my reading below thankx in advance for any help. Hard telecining interlacing on 2 frames out of every 5 frames. This pattern of 3 progressive frames and 2 interlaced frames is echoed in another name for this process: 3:2 pulldown. Soft Telecine Now, a lot of DVDs don't use hard telecining. This is a good thing. Instead, they use soft telecining. This preserves the 24fps content for the DVD. It just uses something called "repeat flags" to tell the DVD player "show this field extra long," instead of actually storing the duplicated frame on disc. It saves space, while still technically being 30fps because of the repeat flags. Soft telecining looks like this: Frame 1: A1A2 (Top, Bottom, Repeat Top) Frame 2: B2B1 (Bottom, Top) Frame 3: C2C1 (Bottom, Top, Repeat Bottom) Frame 4: D1D2 (Top, Bottom) Meaning it can be presented at 30fps exactly like the hard-telecined example above. It also makes things easy for computers and progressive scan DVD players, which can just ignore the repeat flags and frame order to decode the video at film speed, with no visible interlacing. Process Hard telecined content, in contrast, has to go through a decimation or inverse telecine (IVTC) process to pullup to film speed. Inverse telecine undoes the hard telecine process. It reverts those 5 frames to the original 4, getting rid of the interlacing artifacts on 2 of every 5 frames. This pulls it up to film speed. ********************************* My Question is for Soft Telecine NTSC DVD structure what avisynth script do i use. If i use honor pulldown flags in DGIndex. If there are no Interlaced frames i presume i dont need to use a deinterlacing functions This is what i would use for Hard telecining: #source parsing eg. DGDecode_mpeg2source("VTS_01_1.d2v", cpu=0) #deinterlacing functions eg. tfm(mode=4,pp=0,slow=2).tdecimate() #cropping eg. crop() |
6th November 2012, 05:46 | #2 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Assuming you proved to yourself it's all soft telecine, you make the D2V using DGIndex with the Field Operation set for 'Forced Film'. That gives you a progressive 23.976fps video and you need do nothing in the script.
|
6th November 2012, 09:33 | #4 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
You can run the DGIndex Preview to get an idea first. Then you can make the D2V using 'HonorPulldown Flags' or 'Forced Film'. Afterwards you can open the D2V in Notepad and at the bottom it gives the percentage of Film or Video.
|
6th November 2012, 20:46 | #6 | Link | |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Quote:
You can look through the D2V for the parts that don't go 0 1 2 3 0 1 2 3, but either 0 0 0 0 0 or 2 2 2 2 2 |
|
8th November 2012, 21:13 | #8 | Link |
Registered User
Join Date: Aug 2010
Posts: 22
|
would like to follow through with your method of analysing the dvd type.
i opened DGIndex and made a d2v file using Honor Pulldown Flags. I opened the file with avisynth and stepped through one frame at a time. i looked through each frame and it showed 3 progressive frames and 2 interlace or (hard telecined) frames. i opened the d2v file with note pad and down the bottom it showed d00 6 4 160622592 0 1 36 d2 f3 f0 e1 f2 f3 e0 f1 f2 e3 f0 e1 d00 6 4 161099776 0 1 36 d2 f3 f0 e1 f2 f3 e0 f1 f2 e3 f0 e1 d00 6 4 161574912 0 1 36 d2 f3 f0 e1 f2 f3 e0 f1 f2 e3 f0 e1 d00 6 4 161964032 0 1 36 d2 f3 f0 e1 f2 f3 e0 f1 f2 e3 f0 e1 d00 6 4 162111488 0 1 36 d2 f3 f0 e1 f2 f3 e0 f1 f2 e3 f0 e1 d00 6 4 162140160 0 1 36 d2 f3 f0 e1 f2 f3 e0 f1 f2 e3 f0 e1 d00 6 4 162166784 0 1 36 d2 f3 f0 e1 f2 f3 e0 d00 6 4 162179072 0 1 36 d1 f2 f3 e0 f1 e2 ff FINISHED 100.00% FILM question: you said to You can look through the D2V for the parts that don't go 0 1 2 3 0 1 2 3, but either 0 0 0 0 0 or 2 2 2 2 2 do i just filck from frame to frame in avisynth or look at the d2v file in note pad for these numbers. thankx in advance . Last edited by norlane; 8th November 2012 at 21:36. |
8th November 2012, 21:22 | #9 | Link | ||
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Quote:
Quote:
|
||
9th November 2012, 01:55 | #11 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
I guess I don't understand what you're asking. There's a good explanation of what's in a D2V near the bottom of the DGIndex User Manual, which you should already have, or which can be found here:
http://neuron2.net/dgmpgdec/DGIndexManual.html There's also an old but still very useful FAQ here: http://forum.doom9.org/showthread.php?t=87809 |
|
|