]> git.sesse.net Git - ffmpeg/commit
avcodec/ttmlenc: add initial support for regions and styles
authorJan Ekström <jan.ekstrom@24i.com>
Mon, 29 Mar 2021 13:34:34 +0000 (16:34 +0300)
committerJan Ekström <jeebjp@gmail.com>
Mon, 26 Apr 2021 13:40:31 +0000 (16:40 +0300)
commit3ef5a8ba2b7798ea4e5708c5644fa60dd00bde06
tree200b460a6d88ac9e92efddea9394e6d8f28aad84
parent464d6ed98d67fe0c3819516e9b0ca5edaf956a0e
avcodec/ttmlenc: add initial support for regions and styles

Attempts to utilize the TTML cell resolution as a mapping to the
reference resolution, and maps font size to cell size. Additionally
sets the display and text alignment according to the ASS alignment
number.

Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
libavcodec/ttmlenc.c
libavcodec/ttmlenc.h
tests/ref/fate/sub-ttmlenc