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

Gyan ffmpeg at gyani.pro
Thu Sep 12 15:20:36 EEST 2019



On 12-09-2019 05:14 PM, Peter B. wrote:
> Hi :)
>
> On 11/09/2019 17:57, Gyan wrote:
>> On 11-09-2019 08:19 PM, Moritz Barsnick wrote:
>>> 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 understand this correctly, does it mean that the order of streams
> output by the streamhash muxer will be "in order of type" (video, audio,
> etc), independent of the order in the source?
>
> So 2 files (source/target) will have matching streamhash output order,
> independent of their actual stream order inside their containers?

They may not, hence the suggestion to add stream type.

The streamhash muxer will print the streams in order of their index. 
That index, in absence of map, is set automatically, with video always 
being first.

Gyan


More information about the ffmpeg-devel mailing list