Skip to content

A small tool that generates Stash and StashBox compatible PHash and OSHash hashes.

Notifications You must be signed in to change notification settings

ThePornDatabase/videohashes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stash Video Hashes Generator

A small tool that generates Stash and StashBox compatible PHash and OSHash hashes.
Generation uses the stashapp/stash implementation.

Usage

$ ./videohashes.exe '/path/to/video file.mp4'

Duration: 00:10:34 (634)
PHash:    de83a3120f3eb2ac
OSHash:   bd3a5dba480425b9

Calculate MD5 as well:

$ ./videohashes.exe -md5 '/path/to/video file.mp4'

Duration: 00:10:34 (634)
PHash:    de83a3120f3eb2ac
OSHash:   bd3a5dba480425b9
MD5:      3b69ed4e44e73435665b51b7dd989d16

JSON Output:

$ ./videohashes.exe -json '/path/to/video file.mp4'
{
  "duration": 634,
  "phash": "de83a3120f3eb2ac",
  "oshash": "bd3a5dba480425b9",
}

Build

# Windows
make windows-amd64
# Linux
make linux-amd64
# Mac OS
make macos-amd64

About

A small tool that generates Stash and StashBox compatible PHash and OSHash hashes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 66.2%
  • Makefile 33.8%