[FFmpeg-devel] [PATCH] lavf/md5enc: New streammd5 muxer

Remko Tronçon remko at el-tramo.be
Fri Feb 19 18:10:30 CET 2016


Hi Nicolas,

Thanks for the comments.

On 19 February 2016 at 17:51, Nicolas George <george at nsup.org> wrote:

> but I am rather dubious about the
> usefulness of that: you could mux the streams independently to the md5
> muxer.
>

I did not find a way to do this without having to first probe each file to
get a list of all streams, and then do multiple invocations of ffmpeg and
mapping only a single stream. I'm not an expert, but I'm guessing you can
do it with one invocation by creating a filter graph, but that would still
require you to enumerate all the streams? Or am I completely wrong?

I regularly work on different files that I want to compare against each
other, which I know some streams are different and some not. What I wanted
was the ability to have a single command to dump all the hashes of the
streams in the file: I can quickly invoke this on a couple of files, and
compare the results with what i was expecting simply by looking at the
output (e.g. the video stream differs, but all the audio streams are
identical).

thanks!
Remko


More information about the ffmpeg-devel mailing list