mbox series

[FFmpeg-devel,0/2] Initial support for fragmented TTML muxing

Message ID 20221223125157.83340-1-jeebjp@gmail.com
Headers show
Series Initial support for fragmented TTML muxing | expand

Message

Jan Ekström Dec. 23, 2022, 12:51 p.m. UTC
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 Ekström (2):
  avcodec/avpacket: add functionality to prepend to AVPacketLists
  avformat/movenc: add support for fragmented TTML muxing

 libavcodec/avpacket.c        |  20 +++--
 libavcodec/packet_internal.h |   2 +
 libavformat/movenc.c         |   9 --
 libavformat/movenc_ttml.c    | 163 ++++++++++++++++++++++++++++++++++-
 4 files changed, 176 insertions(+), 18 deletions(-)