[FFmpeg-devel] [PATCH v2 3/3] avformat/hashenc: add streamhash muxer

Moritz Barsnick barsnick at gmx.net
Wed Sep 11 17:49:50 EEST 2019


On Wed, Sep 11, 2019 at 19:57:43 +0530, Gyan wrote:
> > +ffmpeg -i INPUT -f streamhash -hash md5 -
> > + at end example
> Since there's no mapping, this will select only one video and audio
> stream, but more importantly the video will be first, which may not be
> the case in the input. Maybe add mapping to the examples and/or add
> stream type to the hash printout.

The original user suggesting this muxer also requested a stream type
indicator. Is that info really useful and not redundant, assuming the
user will need to understand the implications of remuxing anyway?

If I add this, and don't make it optional, what should the format be?
Thus?:

0,v,SHA256=...
1,a,SHA256=...
2,s,SHA256=...

Thanks,
Moritz


More information about the ffmpeg-devel mailing list