Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 916 Bytes

README.md

File metadata and controls

47 lines (37 loc) · 916 Bytes

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