Adds a streamhash muxer, much like the hash muxer, but analyzing each stream
independently. I chose not to add a "streammd5" muxer, as the other *md5
muxers are just legacy versions of the *hash muxers with a different default
algorithm.

The first two patches re-arrange the code in preparation for new muxer.
The patch "use an array of hashes" makes no sense without the subsequent
addition of the new muxer, but the patch "rearrange options definition"
could be seen independently. Do squash if you will.

Changes in V3 vs V2:
- NULL pointer check in deinit() callbacks
- don't free resources in init() callbacks, deinit() is called on failure
- add a streamtype indicator character to the streamhash output

Moritz Barsnick (3):
  avformat/hashenc: rearrange options definition
  avformat/hashenc: use an array of hashes
  avformat/hashenc: add streamhash muxer

 Changelog                |   1 +
 doc/muxers.texi          |  47 +++++++++
 libavformat/Makefile     |   1 +
 libavformat/allformats.c |   1 +
 libavformat/hashenc.c    | 207 +++++++++++++++++++++++++++++++--------
 libavformat/version.h    |   4 +-
 6 files changed, 218 insertions(+), 43 deletions(-)

--
2.20.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to