From 14e66c13db5f0c54a844ef85806d285b5e5407ea Mon Sep 17 00:00:00 2001 From: Ashley Blewer Date: Fri, 9 Nov 2018 08:46:56 -0500 Subject: [PATCH] Add command for getting checksum from stream --- index.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/index.html b/index.html index bc5ddb4..48e90bf 100644 --- a/index.html +++ b/index.html @@ -1861,6 +1861,25 @@ + + + +
+

Get checksum for video/audio stream

+

ffmpeg -loglevel error -i input_file -map 0:v:0 -f hash -hash md5 -

+

This script will perform a fixity check on a specified audio or video stream of the file, useful for checking that the content within a video has not changed even if the container format has changed.

+
+
ffmpeg
starts the command
+
-loglevel error
sets the verbosity of logging to show all errors
+
-i input_file
path, name and extension of the input file
+
-map 0:v:0
designated the first video stream as the stream on which to perform this hash generation operation. -map 0 can be used to run the operation on all streams.
+
-f hash -hash md5
produce a checksum hash, and set the hash algorithm to md5. See the official documentation on hash for other algorithms.
+
-
FFmpeg syntax requires a specified output, and - is just a place holder. No file is actually created.
+
+ +
+ +