[FFmpeg-user] Verifying lossless rewrapping/transcoding in one step?

Peter B. pb at das-werkstatt.com
Fri Jul 26 21:01:46 EEST 2019

Hi everyone :)

I was wondering if maybe there's a quicker way to verify lossless
transcoding or container rewrapping than these 3 steps:

  1. generate content hash during transcoding.
  2. generate content hash of output file.
  3. diff source-hash with output-hash (using whatever diff-tool).

I'm doing this in bash scripts, but I'm wondering if it would be
possible to tell ffmpeg something like this:

"Please generate the output and compare source and target's content hash
and only return exit code 0 if they match"

Is that already implemented, or would it be possible to do that?

Thank you very much in advance,
Peter B.

More information about the ffmpeg-user mailing list