[FFmpeg-devel] [PATCH 2/3] lavf/srtdec: Permit streaming input
Nicolas George
george at nsup.org
Sat Mar 30 16:49:35 EET 2024
Tomas Härdin (12024-03-30):
> Players can implement sorting if they wish.
API break.
> One potential solution is to do this style of parsing when the input is
> non-seekable. But then we have the silly situation where streamed and
> non-streamed behavior differs considerably.
Sure, better break both cases than only one.
> Finally I will note that sorting does not happen when subtitles are
> muxed in say mkv or avi, so the behavior is not even consistent across
> demuxers that support subtitles.
AVI or MKV demuxer do not sort their packets because the packets are
supposed to be already sorted; ASS demuxer sorts its packets because
there is no guarantee the text are sorted in the file. [exploding head
emoji]
--
Nicolas George
More information about the ffmpeg-devel
mailing list