[FFmpeg-devel] [PATCH 2/3] lavf/srtdec: Permit streaming input

arch1t3cht arch1t3cht at gmail.com
Mon Apr 1 16:15:33 EEST 2024


On 30/03/2024 17:02, Andreas Rheinhardt wrote:
> Tomas Härdin:
>> lör 2024-03-30 klockan 15:49 +0100 skrev Nicolas George:
>>> ASS demuxer sorts its packets because
>>> there is no guarantee the text are sorted in the file
>>
>> So? I'm making a normative argument.
>>
> 
> Normative about what? The ASS specification [1] explicitly says:
> 
> "SSA does not care what order events are entered in.
> 
> [1]: www.tcax.org/docs/ass-specs.htm

It's worth noting that this document, while often referred to as the
ASS specification, is not actually an authoritative specification.
The ASS format is implementation-defined:

https://github.com/libass/libass/wiki/ASS-File-Format-Guide#preface-other-format-guidesspecification

But of course this doesn't change the fact that the format allows events
to be in any order. (Though this is also not the same as not caring at
all what order events are entered in: While any order is valid, the 
order of events will affect their layering and collision detection.)



More information about the ffmpeg-devel mailing list