File file = new File(path);
FileInputStream fileInputStream = new FileInputStream(file);
BlockSequence blocks = new BlockSequence(1024, fileInputStream, (int) file.length());
VideoHash videoHash = new VideoHash();
// System.out.println("Beginning of the file: " +
// bytes.toHexString().substring(0, 100));
System.out.println("Hash: " + videoHash.hash(blocks).toHexString());
fileInputStream.close();
}