Sooo happy using @FFmpeg#streamhash for validating A V presence integrity! ๐
So easy to see that all audio video tracks were transcoded fine (to #FFV1/PCM) and timecode track was skipped (intentionally):
-map 0 -f streamhash -hash md5 - -v quiet
Taking me forever to checksum/compare a load of AVIs I converted to MKV a while ago, would anyone know of a quick bit of script to automated this? So an FFmpeg -f framemd5 (or streamhash) on each file, and then a diff/fc check. Wish I'd just used normalise.py! #Duh
Caution when #FFmpeg hashing:
"-c copy -f md5": hash of encoded data
vs
"-f md5": hash of uncompressed data
1st one's faster (useful for rewrapping).
2nd is slower (=decoding), but useful for future re-encoding.
Applies to "-f streamhash" and "-f hash" too.
Wohoooo! ๐๐
#FFmpeg stream-hash muxer is upstream!
Awesome for preservation-safe rewrapping/transcoding (easier/faster than framemd5 for this).
See:
ffmpeg.org/ffmpeg-formats.htโฆ
Thanks Moritz!