[FFmpeg-devel] [PATCH v2 0/3] Initial support for fragmented TTML muxing

Jan Ekström jeebjp at gmail.com
Fri Dec 8 13:52:48 EET 2023


On Fri, Sep 15, 2023 at 4:17 PM Jan Ekström <jeebjp at gmail.com> wrote:
>
> Changes compared to v1:
>
> * General rebase.
> * A FATE test was added, together with the extension of the "transcode"
>   test function to allow for dumping of packets' contents.
> * Simplified mov_write_ttml_document_from_queue's loop by getting
>   rid of `stop_at_current_packet`.
>
> This enables pushing TTML together with another track (usually video)
> as part of CMAF Ingest, as defined by the DASH-IF Live Media Ingest
> Protocol.
>
> Currently does not function well with just the subtitle track unless
> the API user explicitly requests fragmentation with a nullptr packet,
> as the generic fragmentation decision logic is based on tracks which
> do not require squashing.
>
> Currently does support overlapping subtitles, but the implementation
> utilizes another packet queue for it, which is probably not optimal.
> Recommendations on how to improve things are welcome.
>
> Jan
>

Ping.

As this is a piece of seemingly working functionality, I'd like to
understand whether people think subtitle-only fragmented MP4 documents
with more than one fragment is something that is required for this to
get merged.

Also I have changed an existing test function, so I'd like a note
whether people think this is an OK change.

Jan


More information about the ffmpeg-devel mailing list