Thread: VirtualDub2
View Single Post
Old 16th September 2019, 08:27   #903  |  Link
nji
Registered User
 
Join Date: Mar 2018
Location: Germany
Posts: 201
Hi shekh.

Yes, a very quick idea indeed

I agree:
2 or more consecutive dupes will probably be non-motion.
Probably.
But most (?) non-motion will be only 1 dupe.
Probably.
==> That's no reliable criterion to distinguish non-motion from
"generated" dupes.

To distinguish them one probably has to have a look WHY these
dupes are generated.
As I'm the opposite of a prof, I don't know much about all that matter.
But as there is a "nearly" kind of regular pattern, I do assume
it has to do with the cameras' firmware, or with some strange intermediate
frame rate conversion.
Maybe the cameras' "natural" framerate doesn't match with the wanted
or the audio resolution. So they insert (more or less) regulary frames
to match it? Or something like that.

If you assume that kind of cause, the algorithm I proposed above
(combination of content comparision and "fuzzy" pattern)
should do the trick. Kind of "adaptive pattern" mode in jpsdr's filter.
It doesn't remove the non-motion dupes (as ffmpeg does).
And it doesn't "de-sync", when the inserted-frame-pattern shifts (as jpsdr's
Remove Frame does).

But maybe someone should look, if he has this effect in his (older)
movies too... (Surprise-surprise).
nji is offline   Reply With Quote