Log in

View Full Version : repeating frames by scenechange tags


feisty2
12th August 2016, 09:45
say a scene change detecting filter tagged all detected scene change frames with some frame property, what I wanna do here is to repeat all scene change frames for certain times and tag all duplicated frames with some other frame property like "_dup" or whatever, and then remove all duplicated frames according to the "_dup" tag.

like,
frames: a b c d e f g h...
d and e are scene change frames, and repeat them, and then it turns to
frames: a b c d d d e e e f g h...
green ones are duplicated frames, and tagged with "_dup" property, and do some temporal processing now, and when that's done, remove all frames tagged with "_dup" property (the green ones), and it gets back to
frames: a b c d e f g h...

and I have absolutely no idea how to do this, by a script or a plugin...
a little help here?

Myrsloik
12th August 2016, 09:49
If you want to insert frames, filter, and then drop some of them again you probably need to think of a 2 pass solution. Gather all the properties in the first pass and duplicate/remove frames in the second pass. I can't think of a single pass way to do this.

feisty2
12th August 2016, 10:30
If you want to insert frames, filter, and then drop some of them again you probably need to think of a 2 pass solution. Gather all the properties in the first pass and duplicate/remove frames in the second pass. I can't think of a single pass way to do this.

I think it might be doable in a single pass if the clip features a varying length in time dimension, like how MRecalculate alters the spatial dimensions of the vector clip at runtime, I just don't know how to do it exactly... single pass or 2 pass

jackoneill
12th August 2016, 11:06
Looks like you want to avoid ghosting around scene changes. Perhaps you could put each scene in a separate clip with Trim and do the temporal processing on those. Wobbly can help with that.

feisty2
12th August 2016, 11:23
thx, I'll definitely give Wobbly a try and see how it works