View Full Version : can Decimate() blend instead drop duplicates?
dinstun
24th September 2008, 20:28
I've read the documentation for the Decimate() function of the Decomb plugin but cannot find a way to perform inverse telecine on NTSC without dropping similar (but not identical) frames.
For a sequence of 5 frames I would like to decimate to 4 frames by blending the two which are most similar, leaving the other 3 untouched.
Guest
24th September 2008, 20:42
Yes it can:
Decimate(mode=3)
Read the reference manual to understand the relevant threshold.
dinstun
24th September 2008, 21:40
I'm sorry, but after studying the manual some more and looking at the code, I still can't see a way to do want I would like to do.
For Decimate(mode=3), each 5 frame sequence is designated as film or video depending on hints from Telecide or metric>threshold.
But if the determination is "film", the most similar frame is dropped. If "video", frames 0 and 4 from the sequence pass through to destination's sequence 0 and 3, frames 1 and 2 are blended to destination 1, and frames 2 and 3 are blended to destination 2 (is this correct?).
What I'm hoping to be able to do is (blindly, not depending on film or video) blend the 2 most similar adjacent frames from the 5 frames and pass the other 3 frames untouched.
Am I missing something?
dinstun
24th September 2008, 22:06
Ideally, I think an additional option, something such as blend=true would be nice. If true, whenever a frame were to dropped, it's similar neighbor would be blended with it.
My reasons for wanting this would be 1- no information would be permantly lost, 2- it might clean up some noise from noisy captures.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.