[FFmpeg-devel] [PATCH v2 3/3] avformat/hashenc: add streamhash muxer
Gyan
ffmpeg at gyani.pro
Wed Sep 11 18:57:06 EEST 2019
On 11-09-2019 08:19 PM, Moritz Barsnick wrote:
> 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?
A bit of redundancy is useful for error-checking.
>
> 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=...
Looks fine.
Thanks,
Gyan
More information about the ffmpeg-devel
mailing list