Software that can identify similar videos?

Hello all, I am currently in look for a piece of software that can look through a folder of videos and determine which videos are similar (read identical). I have a ton of videos and I know there are some duplicates in there (not sure to what degree yet), I was able to find some easily via sorting by length and finding ones that are literally identical but there are some videos that are mostly identical but have some parts cut out of them leading to varying disparities in lengths. The amount of videos in question is to much for me to realistically be able watch them and determine duplicates just off of memory which is why I am in search for a piece of software that could make this process more viable.

Any suggestions/does something like this even exist?

I will hook in asking for the same but with pictures and/or music

FFMPEG is what you need. Look at the metadata for the files. Put it in a script, dump the metadata to a text file and store the file pointer reference. Then come up with some logic to figure out which one you would actually like to keep.

ffmpeg -hide_banner -i in.<extension> -f ffmetadata in.txt

http://ffmpeg.org/ffmpeg-formats.html#Metadata

You can also usee ffprobe

I have script that does this for MP4s but I am not at home. I will try to get that to you when I get home, but it is bash script though.