Farmadupe / vid_dup_finder

vid_dup_finder
Apache License 2.0
7 stars 1 forks source link

Video Duplicate Finder

Video Duplicate Finder is a command-line program (and linux-only GUI) to search for duplicate and near-duplicate video files. It is capable of detecting duplicates even when the videos have been:

Video duplicate finder contains:

How it works

Video Duplicate finder extracts several frames from the first minute of each video. It creates a "perceptual hash" from these frames using 'Spatial' and 'Temporal' information from those frames:

The resulting hashes can then be compared according to their hamming distance. Shorter distances represent similar videos.

Requirements

Ffmpeg must be installed on your system and be accessible on the command line.

Examples

To find all duplicate videos in directory "dog_vids":

To find all videos which are not duplicates in "dog_vids":

To find videos in "dog_vids" that have accidentally been replicated into "cat_vids"

To exclude a file or directory from a search, e.g "dog_vids/beagles"

To run the gui to examine duplicates:

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.