Crates.io | vid_dup_finder |
lib.rs | vid_dup_finder |
version | 0.1.2 |
source | src |
created_at | 2021-10-30 15:43:49.258355 |
updated_at | 2022-08-06 14:12:24.419598 |
description | A command line application (and linux-only gui) to find duplicate video files |
homepage | |
repository | https://github.com/Farmadupe/vid_dup_finder |
max_upload_size | |
id | 474419 |
size | 576,094 |
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:
Resized (including changes of aspect ratio)
Watermarked
Letterboxed
Video duplicate finder contains:
A command line program for listing unique/dupliacte files in a filesystem.
An optional linux-only GUI (written in GTK) to allow users to examine duplicates and mark them for deletion
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.
Ffmpeg must be installed on your system and be accessible on the command line.
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:
vid_dup_finder --files dog_vids --gui
Licensed under either of
at your option.
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.