Log in

View Full Version : Blending duplicate frames prior to decimation?


foxyshadis
31st August 2005, 04:07
Does anyone know of a way to get, say, TDecimate or MultiDecimate to blend duplicate frames prior to decimation? On some noisy old sources I've put off for a while I can either get good decimation that leaves me with the first frame which may or may not be crappy, and more often is, or use Dup to achieve nice looking blends at a cost of too many false positives for useful thresholds. TDecimate seems to generally be better at picking frames. I suppose I'd have to more throughly test it to find its own false-positive rate for this stuff. I'm trying to get it down to the native framerate of 12 fps for some scenes and 8 or rarely 24 for others.

My ultimate goal would be to have a function read the tdec metrics and blend duplicate frame sets right before it decimated the rest. Maybe there's a post-processing mode in TFM or some filter I'm missing to blend a run of frames into the first one. My attempts at using scriptclip haven't hit the magic bullet yet.

The main reason I don't want to use Dup entirely is that it isn't a particularly good dup-matcher, with its simple block summation; the false positive rate on moderately noisy sources and some dark scenes is terrible. (Setting thresh down eliminates its usefulness.) Dedup has the same problem and doesn't blend.

Right now I'm gearing up to start hacking together a few filters and shoehorning an override file into dup (maybe if dedup has one I can use that... looks like it), but I just know this is going to be painful, so I'm wondering if anyone has other suggestions.

MOmonster
31st August 2005, 07:37
@foxyshadis
I'm trying to get it down to the native framerate of 12 fps for some scenes and 8 or rarely 24 for others.
Sounds like an animation, right?
Could you upload a small part of your example, this would be easier for me to help you.
No, till now, there is no decimater with such a feature. But there are some ways to get a better output. It just depens on your source? First, I donīt know, if itīs fieldblended or simple telecined. Have you bobbed the source and want to decimate know? My DupHQ function was created to avoid such bad frames, but I donīt know, if it helps you here.
Please upload a small part with this problems. :)

foxyshadis
31st August 2005, 08:16
That'll be a bit difficult, but I'll see what I can come up with. (No internet at home this week thanks to an SBC goof.) I've been searching threads at work and printing some manuals I didn't have.

It's a vcd of some animation, yes. I don't know what they made it with but it looks terrible and it's the only copy they have now; it's interlaced but easy to undo, with some blended parts I'm just going to ignore or maybe try out restore24 on.

The parts I'm worried about here, even with temporal smoothing it's not as good as blended frames. Sorry, I wish I could provide a sample. =\

You know, I've noticed similar stuff on some amvs, never looked too close before, maybe I'll download some here and check for similar patterns. I'll give duphq a try too, I saved that a while back.

MOmonster
31st August 2005, 10:16
Itīs a vcd? You mean svcd, or? As I know, vcd canīt be interlaced or lets better say shouldnīt be interlaced. I still canīt help you much without a small sample, maybe you find a way to upload just five seconds or so. If you use telecide on the source (post=0) is there much combing left?