Opened 7 years ago

Closed 5 years ago

#5074 closed enhancement (fixed)

support perceptual hashing

Reported by: dave rice Owned by:
Priority: wish Component: avfilter
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the enhancement:

I would love to see FFmpeg support for perceptual hashing per frame (either as a filter output or format output). The results could be stored in order to enable perceptual search across collections of file of frames.

Change History (5)

comment:1 by Carl Eugen Hoyos, 7 years ago

What is perceptual hashing?

comment:2 by dave rice, 7 years ago

Here's a good introduction to it: Also see the citations at Some image search cites that use perceptual hashing are and

A use case could be:

  • a user has a set of 1,000 files representing source material and finished work encoded with various lossy encodings
  • something like ffmpeg -i sourcefile.mkv -f perceptualhash sourcefile_perceptual.txt could be generate per file which would contain something similar to the output of framemd5 but with perceptual hashes instead of md5 values
  • the perceptual hashes could then be indexed to reveal relationships between the media. i.e. these source files contain frames that look like frames in this edited work.

comment:3 by Elon Musk, 6 years ago

Component: undeterminedavfilter
Status: newopen

comment:5 by dave rice, 5 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.