Log in

View Full Version : Check pulldown, when DGIndex report as Film 95%+


AI
24th December 2005, 22:55
Check pulldown, when DGIndex report as Film 95%+
global diff=0

MPEG2Source("HonorPulldownFlags.d2v")

FrameEvaluate(Last,"diff = (SeparateFields.SelectEven.YDifferenceToNext == 0) ? (current_frame * 2 % 5 + 1) : \
(SeparateFields.SelectEven.YDifferenceFromPrevious == 0) ? ((current_frame * 2 + 3) % 5 + 1) : \
(SeparateFields.SelectOdd.YDifferenceToNext == 0) ? ((current_frame * 2 + 1) % 5 + 1) : \
(SeparateFields.SelectOdd.YDifferenceFromPrevious == 0) ? ((current_frame * 2 + 4) % 5 + 1) : \
diff == ((current_frame * 2 + 2) % 5 + 1) ? diff : (diff - 1) % 5 + 6")

DoubleWeave

ScriptClip(Last,"diff == 1 ? MergeChroma(BlankClip(Last,color=$007700)).Pulldown(0,3) : \
diff == 2 ? MergeChroma(BlankClip(Last,color=$770000)).Pulldown(1,4) : \
diff == 3 ? MergeChroma(BlankClip(Last,color=$000077)).Pulldown(0,2) : \
diff == 4 ? MergeChroma(BlankClip(Last,color=$007777)).Pulldown(1,3) : \
diff == 5 ? MergeChroma(BlankClip(Last,color=$770077)).Pulldown(2,4) : \
\
diff == 6 ? MergeChroma(BlankClip(Last,color=$003300)).Pulldown(1,3) : \
diff == 7 ? MergeChroma(BlankClip(Last,color=$330000)).Pulldown(2,4) : \
diff == 8 ? MergeChroma(BlankClip(Last,color=$000033)).Pulldown(0,3) : \
diff == 9 ? MergeChroma(BlankClip(Last,color=$003333)).Pulldown(1,4) : \
diff == 10? MergeChroma(BlankClip(Last,color=$330033)).Pulldown(0,2) : \
Greyscale.Pulldown(0,5)", after_frame=false)

AssumeFPS(23.976)

Trim(0,Framecount*2/5)
Possible it need help anybody...

Result is Luma = original
Chroma = "RGB" = xxx (i.e. x=0 or 1) = binares number equal frames after DoubleWeave (n and n+1)

(Then Chroma dim, clip is not Film, and color cached, i.e. last variant)

this script help me, when pulldown is not constant

PS Excuse me, my english is very bad

AI
26th December 2005, 09:47
Nobody had problem when pulldown setting is not constant?

scharfis_brain
26th December 2005, 10:10
For inconstant Pulldown patterns there are several IVTC (InVerse TeleCine) Plugins for AVISynth available.
To name 2 popular ones: Decomb.dll by neuron2 and TIVTC.dll by Tritical