I have made a macro for dupe:length;size which is sort of a cheat to find video duplicates without having to compute any hash as that takes too long, and it works incredibly well I must say.
But if instead I try dupe:size;length I get more results:
dupe:length;size
group 1 - size: 2836738 length: 00:17
dupe:size;length
group 1 - size: 2836738 length: 00:17 (same as before)
group 2 - size: 5312678 length: 00:45 (doesn't show up in the previous query)
Should the order of duplicate properties change the number of results?
-
santilli
- Posts: 36
- Joined: Tue Apr 30, 2024 7:05 am
-
void
- Developer
- Posts: 20460
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Should the order of duplicate properties change the number of results?
It caused by setting a Tools -> Options -> Advanced -> length_dupe_tolerance
length_dupe_tolerance just looks at the difference between the last match and if it's within the tolerance it matches.
Try the following instead:
where 10000000 converts the length to seconds.
This puts the length into buckets which gives the expected results.
length_dupe_tolerance just looks at the difference between the last match and if it's within the tolerance it matches.
Try the following instead:
Code: Select all
addcol:a a:=INT($length:/10000000) dupe:a;size
addcol:a a:=INT($length:/10000000) dupe:size;a
This puts the length into buckets which gives the expected results.