PDA

View Full Version : messy ntsc source ivtc and deinterlance needed?


Elbart0-
6th January 2007, 16:03
I am attempting to convert a wmv ntsc 29.97fps source to ntsc mpeg2 for dvd using avisynth and cce 2.7. When playing it back on my tv i noticed it looked strange so loaded up the wmv file in virtualdub and there are many duplicate frames, like frames 104 and 105 are the same 109/110, 114/115 etc. Also I spotted at least two interlanced frames mixed in there 125/126 in the clip which I have uploaded here (http://homepages.nildram.co.uk/~luckins/clip.rar).

For the duplicate frames I think I have to do IVTC with decomb? then do 3:2 pulldown?. I find all this stuff very confusing especially since I only usually have to worry about PAL stuff. Any help is very much appreciated.

Cheers Elbart0.

neuron2
6th January 2007, 16:48
directshowsource("clip.wmv")
decimate(5)
fielddeinterlace(full=false)

Then encode to MPEG2 23.976. Then apply 3:2 pulldown using DGPulldown and author it.

Elbart0-
6th January 2007, 17:28
Thanks neuron2, will try that and let you know how it goes. :)

EDIT: Is there any advanges of using DGPulldown to do 3:2 pulldown rather than getting CCE to do it?. Also the GOP N/M parameter keeps getting reset to 4 instead of 5 will this cause problems?.

neuron2
6th January 2007, 19:31
Thanks neuron2, will try that and let you know how it goes. :)

EDIT: Is there any advanges of using DGPulldown to do 3:2 pulldown rather than getting CCE to do it?. Also the GOP N/M parameter keeps getting reset to 4 instead of 5 will this cause problems?. I just know that DGPulldown works. :) Any other working equivalent will be fine. I don't know nothin' about CCE; sorry.

Boulder
6th January 2007, 23:10
The N/M parameter changes to 4 because it will ensure you have a compliant stream when pulldown is applied.

Elbart0-
11th January 2007, 13:54
It works perfectly neuron2 except for one clip which has some progressive video mixed in. It deletes frames from the progressive too making it quite jerky. Is there an easy solution to this?.

Cheers Elbart0-.

neuron2
11th January 2007, 21:49
You can try the hybrid rendering options of Decimate() or TDecimate().

Elbart0-
12th January 2007, 19:25
I have tried a few different settings as well as multidecimate but nothing seems to work. Is there any way of doing decimate(5) and then telling it to skip frames x to x?.

neuron2
12th January 2007, 20:04
nothing seems to work What did you try and in what way did it not work?

You can't decimate one part and not another and still keep one frame rate.

Elbart0-
12th January 2007, 23:49
Well it works but it deletes needed frames as they are all needed in parts of the video as there aren't any duplicate frames. It should still end up with the same frame rate though as I want most of it 23fps with 3:2 pulldown and the rest 29fps.

foxyshadis
13th January 2007, 09:29
Then you use TDecimate, and read the hybrid video faq that comes with the avisynth documentation.

Elbart0-
13th January 2007, 23:41
I have spent hours playing around with TDecimate but I still cannot still get a good result. The best I have managed is using the blend option which looks ok but it's put the audio out of sync and I would like to keep all none duplicate frames if possible. If one of you could look atthis (http://homepages.nildram.co.uk/~luckins/clip.rar) new clip for me I would really appreciate it. Sorry for being a pain in the a**. :)

Also are the encoder options a major factor? I used 23.97fps with 3:2 pulldown in CCE.

Cheers Elbart0-.

neuron2
14th January 2007, 01:05
Making hybrid video is an advanced video process. If you couldn't change a spark plug, would we try to tell you how to do an engine overhaul? There is a variant of DGPulldown that does variable frame rate (VFR), but it's equivalent to an engine overhaul.

Elbart0-
18th January 2007, 11:42
Well I used tdecimate(hybrid=1) in the end which looked alright but after checking it today on my dvd player it freezes the player. :(

Is there any chance of someone looking at this (http://homepages.nildram.co.uk/~luckins/clip.rar) clip for me?. I'd be happy with anything that isn't too jerky and keeps the audio in sync. :thanks:

Elbart0-.

neuron2
19th January 2007, 02:02
Try this:

DirectShowSource("clip.wmv")
Decimate(mode=1)

Then encode directly as 29.97 progressive. Do not apply pulldown.