def hash_napiprojekt(video_path):
    readsize = 1024 * 1024 * 10
    with open(video_path, 'rb') as f:
        data = f.read(readsize)
    return hashlib.md5(data).hexdigest()
Compute a hash using NapiProjekt's algorithm.
dataset/ETHPy150Open Diaoul/subliminal/subliminal/video.py/hash_napiprojekt