Skip to content

Jacotsu/Mpeg7Dupes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MpegDupes Donate using Liberapay

MpegDupes Is a tool built for comparing binary MPEG7 signatures that have been generated by FFMPEG

Installation

Ubuntu (19.10)

Install slog

Install necessary packages

sudo apt-get install build-essential libavcodec-dev libavfilter-dev

YOUR GCC VERSION MUST SUPPORT OPENMP FOR CSV MODE

Compile Mpeg7Dupes

git clone https://github.com/Jacotsu/Mpeg7Dupes
cd Mpeg7Dupes
make release -l$(nproc)

Optional: integration with shell

Copy ./bin/mpeg7Dupes.elf in $HOME/.local/bin or /usr/local/bin

Usage

Generate your file signatures with the following command.

ffmpeg -i input.mkv -vf signature=filename=signature.bin -map 0:v -f null -

Keep in mind that only binary signatures are supported at the moment.

Then compare the signatures with the following command

./bin/mpeg7Dupes.elf {signature file 1} {signature file 2} ...

Or create a list of files, like the following

{path to signature file 1}
{path to signature file 2}
{path to signature file 3}
...
{path to signature file n}

And then launch mpeg7Dupes

./bin/mpeg7Dupes.elf -l list_of_files

CSV output

The following command will print in CSV to the stdout, due to a slog limitation (can't redirect logging to stderr) the first line must be manually deleted (can be easily done with bash).

./bin/mpeg7Dupes.elf -f csv {signature file 1} {signature file 2} ...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages