Examples

To compute the SHA-256 hash of the input converted to raw audio and video, and store it in the file 'out.sha256':

ffmpeg -i INPUT -f hash out.sha256

To print an MD5 hash to stdout use the command:

ffmpeg -i INPUT -f hash -hash md5 -

See also the muxer.