View Full Version : Script for detecting duplicate frames?
chilledinsanity
6th July 2013, 18:02
I'm hoping this is a simple procedure. I want to test out different capture programs on high-motion footage to check for any dropped frames. Is there some sort of avisynth script that can analyze the footage and report back to me the number of duplicate frames the footage has?
johnmeyer
7th July 2013, 16:02
My first post in this thread has links to several techniques for detecting duplicate frames. Also, some of the script fragments later in the thread also discuss the various techniques.
Automatically fix dups followed (eventually) by drops (http://forum.doom9.org/showthread.php?t=161758&highlight=drop+duplicate)
chilledinsanity
18th August 2013, 05:44
I feel like an idiot, but I've tried using Dups, Getdups, and looked through the thread mentioned, but these all seemed focused on either deleting them or interpolating them. For the life of me, I can't figure out how to get a script to automatically COUNT the number of duplicate frames and report that back to me somehow. Any help would be appreciated, thanks.
EDIT: Nevermind, I found a problem that was a screwing all my results. When doing ConvertToYV12() in my script from RGB footage, it was converting the duplicate frames into solid black, which completely threw off the results I was getting in the Dup filters. I think I can figure this out now.
StainlessS
18th August 2013, 06:10
The ShowMetrics function in SecurityCamExtractMotion.AVS from current RT_Stats gives a running count of duplicates as the clip is played.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.