Log in

View Full Version : Manual deinterlace (PAL): only need to deinterlace some frames


GizmoDerMokwai
6th September 2008, 01:06
Hi guys,

I hope someone can help me with my little problem: i got a pal source (720x576px), nearly entierly progressive material, except for on scene, which has some interlaced frames.
As I don't want to lose the quality of the progressive frames I'm searching for a way to only set deinterlacing on the approx. 10 interlaced frames I have in my material.
I tried several options in TMPGenc (mostly IVTC options), always ending up with differences in the frame count of my cleaned material.

Selecting the interlaced frames in IVTC mode is no problem to me, I just can't figure out, what pattern to use. Also in IVTC mode my progressive frame get interlaced, because of extracting both fields (I think).

Thanks in advance. :thanks:

mahsah
6th September 2008, 01:23
Well, you could always bob the interlaced section with MCbob or such, and then use MVflowfps to change it to 23.976 FPS, or if you want a more optimal solution you could do the same, but use override files with TIVTC to create a Variable Frame Rate MKV. Or you could encode 3 files (progressive, interlaced, progressive) and then join them as a VFR MKV.

...not completely sure how to do the MKV though, I think the avisynth wiki has some info on it.

Edit: Whoops, PAL. Disregard most of this.

Guest
6th September 2008, 02:11
One way is to use FieldDeinterlace(). Set a high threshold to effectively disable deintrerlacing. Then use an override file to force deinterlacing on the desired frames.

manono
6th September 2008, 20:05
Yes, if you're sure that only the 10 frames are interlaced, then override files using either FieldDeinterlace or TDeint are one way to go.

I might prefer to use a conditional deinterlacer, one that checks whether or not the frame is interlaced and then deinterlaces only the frames found to be interlaced. That way you're covered if there are some other interlaced frames you don't know about. To do it this way I'd use:

TDeint(Full=False)

Of course, this requires using AviSynth for the job, and not the deinterlacing options found in TMPGEnc.

GizmoDerMokwai
7th September 2008, 17:17
Thanks for all your help :) I processed my "problem" with a 10 pattern in IVTC mode (in TMPGenc) and deinterlaced some frames manually. The result file got somehow 4 frames more than my raw material ;-)
About the TDeint filter: I'm mostly using Linux+mencoder to transcode my material. Is there any simular filter to TDeint for mencoder capable of chacking frames befor deinterlacing?

manono
7th September 2008, 19:04
Sorry, but I know nothing about either mencoder or linux. Perhaps someone else can help. FieldDeinterlace can also do a Full=False, and (I think) Vinverse is conditional by default. Ordinarily it's used to clean up any interlacing that may have slipped past an IVTC.