summaryrefslogtreecommitdiff
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorJan Ekström <jan.ekstrom@24i.com>2021-02-15 16:21:13 +0200
committerJan Ekström <jeebjp@gmail.com>2021-08-25 09:26:46 +0300
commite41bd075dd56f20f4eca61790bda5bf88c433bcb (patch)
treecdc0bc1a7fe2c863de577ff583133bedc5a42409 /libavformat/isom.h
parent460beb948ceddeb86bd2b3b17335176adcaa7223 (diff)
downloadffmpeg-e41bd075dd56f20f4eca61790bda5bf88c433bcb.tar.gz
avformat/movenc: add support for TTML muxing
Includes basic support for both the ISMV ('dfxp') and MP4 ('stpp') methods. This initial version also foregoes fragmentation support in case the built-in sample squashing is to be utilized, as this eases the initial review. Additionally, add basic tests for both muxing modes in MP4. Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index ac1b3f3d56..34a58c79b7 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -387,4 +387,7 @@ static inline enum AVCodecID ff_mov_get_lpcm_codec_id(int bps, int flags)
return ff_get_pcm_codec_id(bps, flags & 1, flags & 2, flags & 4 ? -1 : 0);
}
+#define MOV_ISMV_TTML_TAG MKTAG('d', 'f', 'x', 'p')
+#define MOV_MP4_TTML_TAG MKTAG('s', 't', 'p', 'p')
+
#endif /* AVFORMAT_ISOM_H */