/duplicate-video-finder

A python module to detect duplicate videos in a directory.

Primary LanguagePythonMIT LicenseMIT

duplicate-video-finder

DuplicateFinder is a Python module (heavily WIP) to detect duplicate videos in a directory.

Features

  • Detect exact video duplicates
  • Detect similar video duplicates
  • Recursive directory support
  • Multi file format support (mp4, mov, webm)
  • Interactive Manual CLI deletion
  • Auto deletion mode

Requirements

  • Python 3
  • ffprobe

Usage Examples

In your script, import the module DuplicateFinder:

import DuplicateFinder

Create a new instance of DuplicateFnder:

duplicate_finder = DuplicateFinder("test-folder-here")

Find duplicates:

duplicate_finder.find_dups()

Show formatted results:

duplicate_finder.get_results()

Recursion

Recursive searching is disabled by default. To enable it, when initialising DuplicateFinder, use:

duplicate_finder = DuplicateFinder('path_to_dir', recursive=True)