Opened 8 years ago

Closed 7 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

Description

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, 8 years ago

What is perceptual hashing?

comment:2 by dave rice, 8 years ago

Here's a good introduction to it: http://bertolami.com/index.php?engine=blog&content=posts&detail=perceptual-hashing. Also see the citations at https://en.wikipedia.org/wiki/Perceptual_hashing. Some image search cites that use perceptual hashing are http://tineye.com/ and http://images.google.com/.

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, 8 years ago

Component: undeterminedavfilter
Status: newopen

comment:5 by dave rice, 7 years ago

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