mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-12 19:18:44 +02:00
b6f5a7ce0c
The Encoding field (and the \fe tag) allows to limit font selection to only those fonts declaring support for the specified codepage in their OS/2's table "Code Page Character Range" field. Particularly, Encoding=0 means only font's declaring support for "ANSI", or rather "Latin (Western European)", are allowed to be selected. Specifying Encoding=1 allows all fonts to be considered. We do not want to limit font selection, so specify Encoding=1. NB: at the time of writing libass only partially supports this field, thus hiding the issue in any libass-based renderer. A VSFilter-based DirectShow filter or XySubFilter will reveal the issue when a font not declaring support for latin characters is specified in a style.
18 lines
762 B
Plaintext
18 lines
762 B
Plaintext
[Script Info]
|
|
; Script generated by FFmpeg/Lavc
|
|
ScriptType: v4.00+
|
|
PlayResX: 384
|
|
PlayResY: 288
|
|
ScaledBorderAndShadow: yes
|
|
YCbCr Matrix: None
|
|
|
|
[V4+ Styles]
|
|
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
|
|
Style: Default,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,0,100,100,0,0,1,1,0,2,10,10,10,1
|
|
|
|
[Events]
|
|
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
|
|
Dialogue: 0,0:00:00.12,0:00:23.51,Default,,0,0,0,,Hello
|
|
Dialogue: 0,0:00:23.51,0:01:02.05,Default,,0,0,0,,World
|
|
Dialogue: 0,0:01:02.05,9:59:59.99,Default,,0,0,0,,!\Nnewline
|