diff --git a/index.html b/index.html index bc5ddb4..7ee8e4c 100644 --- a/index.html +++ b/index.html @@ -1856,11 +1856,30 @@
-c:a copy
ensures that FFmpeg will not transcode the audio to a different codec before generating the MD5 (by default FFmpeg will use 16 bit PCM for audio MD5s).
output_file_2
is the output file for the audio stream MD5.
-

Note:The MD5s generated by running this command on WAV files are compatible with those embedded by the BWF MetaEdit tool and can be compared.

+

Note: The MD5s generated by running this command on WAV files are compatible with those embedded by the BWF MetaEdit tool and can be compared.

+ + + +
+

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.
+
+ +
+ +