


Important: there might be cases, when your calculated hash is not 16 characters, so make sure you add zero-leading padding - some of source codes doesn't implement this ('101eae5380a4769' => '0101eae5380a4769').įeel free to edit/add source-codes if you have faster/better implementation. Source codes was tested on Little Endian - DEC, Intel and compatible Licence of hashing source codes is GPL.
#Opensubtitles player for mac movie
On is movie file size limited to 9000000000 > $moviebytesize > 131072 bytes, if is there any reason to change these sizes, let us know. In natural language it calculates: size + 64bit chksum of the first and last 64k (even if they overlap because the file is smaller than 128k). Hash code is based on Media Player Classic.

Hash is not dependent on file name of movie file. is using special hash function to match subtitle files against movie files.
