On Fri, 26 Jul 2019 at 21:02, Peter B. <p...@das-werkstatt.com> wrote:
> 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. > > Hey there, You could use a muxer such as framemd5: https://ffmpeg.org/ffmpeg-formats.html#framemd5-1 See the link above for usage. -- まさひろ はやし _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".