Do you have a script for spotting dupes I could try?Originally Posted by Sharc
+ Reply to Thread
Results 61 to 67 of 67
-
-
The DeDup avisynth plugin comes to my mind:
http://avisynth.nl/index.php/DeDup
The first pass 'DupMC' will create a log.
A very low difference (~0%) between 2 frames indicate a duplicate. The log can be evaluated in Excel for example, or evaluated and processed in pass2 ('DeDup') for removing the duplicates.Last edited by Sharc; 27th Jul 2025 at 07:57.
-
Code:
AviSource("filename.avi" WriteFileIf("Dups.txt", "YDifferenceFromPrevious<0.5", "current_frame", flush=true)
-
Thanks guys, I finally got DupMC working after seeing Jagabo's comment re running the video analysis pass. That isn't mentioned in the wiki or readme that I can see.
@Jagabo, I'm still experimenting with your script. I haven't worked out how the "difference" parameter affects things yet. -
YDifferenceFromPrevious is the average difference of the Y value of each pixel of the current frame and the previous frame. If the current frame and the previous frame are identical (as far as the Y values are concerned) the calculated value will be zero. It will be non-zero if any of the Y values is different.
Note that compression artifacts (when using lossy compression) or other noise may cause originally identical frames to no longer be identical. That's why a non-zero value is used in the sample code. It is no longer possible to detect for certain which frames were identical before the lossy compression. -
Thanks, I'm working with analogue AVI captures.
I've set the "Diff from Prev" to 0.0 but am getting just a list of numbers (I assume the frame numbers, looks like very frame) with no other details, as per the attached.
The DupMC report does show the % difference between each frame.Last edited by Alwyn; 28th Jul 2025 at 07:43. Reason: Clarified the DupMC report details
-
Similar Threads
-
Hauppauge WinTV schedule
By LouF in forum Newbie / General discussionsReplies: 2Last Post: 7th Dec 2022, 10:50 -
How to modify Hauppauge WinTV ffmpeg converting command
By neroman00 in forum Video ConversionReplies: 27Last Post: 20th Jun 2022, 01:43 -
I'm looking for Hauppauge WinTV PVR-250
By OS_Man in forum Capturing and VCRReplies: 12Last Post: 20th Sep 2020, 12:54 -
Capturing VHS using Video grabber
By Christop in forum Capturing and VCRReplies: 15Last Post: 9th Aug 2020, 21:07 -
Hauppauge WinTV-HVR-1975 - Letterboxed 4:3 Capturing Issue
By DPage in forum Capturing and VCRReplies: 51Last Post: 9th May 2020, 05:36