Skip to content

TFM - Can't override to use clip2 deinterlacer when PP is initially set to 0 #42

@jack4455667788

Description

@jack4455667788

Bug Description :

If in the initial tfm call PP is set to 0 and clip2 is defined as an external deinterlacer source, changing the PP value to greater than 1 in the override file will not invoke the clip2 external deinterlacer as expected.

Notes :

I am not really sure if this is a bug, or a feature request, or if I am fundamentally just trying to use the wrong tool for the job. Thank you for this excellent tool in any case.

What I am trying to do is to just stitch/weave all frames together (ideally without any processing on frame match or comb detection) except for the specific frames i specify in the override file which need to be deinterlaced (using QTGMC, not the internal deinterlacer - and ideally only applying the deinterlacing to the detected comb "mask").

My video source is perfect 25p interlaced to 50i except for the credits which have no matching fields (and are followed by more 25p interlaced to 50i content).

This is what I am using to try an accomplish this. Should this work, or am I going about this the wrong way?

avs script :

mpeg2source("nirvana.d2v")
deint = QTGMC(Preset="Very Slow")
tfm(d2v="nirvana.d2v",mode=0,pp=0,slow=0,debug=True,ovr="override.txt",clip2=deint.SelectEven())

override.txt :

72325,73025 m 5
72325,73025 +
72325,73025 P 5

I have already worked around the issue by changing the initial PP value to 5 and explicitly setting every other frame than the range above as PP=0 and not combed in the override - but is that supposed to be required?

also, the notes for clip2 say

if PP >= 5 (i.e. using motion adaptation)
then TFM will build the mask as usual and only pixels in moving areas will be taken
from the frames in clip2.

Is this correct and am I using it properly above? Is the particular deinterlacing type specified by the PP value (5=blend,6=cubic,7=modified-ela) simply ignored when calling qtgmc - meaning that choosing 5,6, or 7 will produce the same output and only editing the qtgmc settings will change the deinterlace mode (this is what I assume is happening)?

also, can the slow value be changed in the override? I didn't see any mention of that in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions