avcodec/ttmlenc: add support for region positioning and sizing
The ASS margins are utilized to generate percentual values, as the usage of cell-based sizing and offsetting seems to be not too well supported by renderers. Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
This commit is contained in:
parent
3ef5a8ba2b
commit
b24488e727
2 changed files with 45 additions and 2 deletions
|
|
@ -9,6 +9,8 @@
|
|||
<head>
|
||||
<layout>
|
||||
<region xml:id="Default"
|
||||
tts:origin="3% 0%"
|
||||
tts:extent="97% 97%"
|
||||
tts:displayAlign="after"
|
||||
tts:textAlign="center"
|
||||
tts:fontSize="16c"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue