Opened 3 years ago

Closed 19 months ago

#5074 closed enhancement (fixed)

support perceptual hashing

Reported by: dericed 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 Changed 3 years ago by cehoyos

What is perceptual hashing?

comment:2 Changed 3 years ago by dericed

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 Changed 3 years ago by richardpl

  • Component changed from undetermined to avfilter
  • Status changed from new to open

comment:5 Changed 19 months ago by dericed

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.