aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/sub-pjs
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/ass: specify a permissive encodingOneric2022-12-031-1/+1
| | | | | | | | | | | | | | | 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.
* avcodec/ass: accurately preserve coloursOneric2022-12-031-0/+1
| | | | | | | | | | | | | | | | | | Colour values used in ASS files without a "YCbCr Matrix" header set to "None" are subject to colour mangling, due to how ASS was historically conceived. A more in-depth description can be found in the documetation inside libass' public ass_types.h header. The important part is, if this header is not set to "None", the final output colours can deviate from the literal value specified in the file. When converting from non-ASS formats we do not want any colour shift to happen, so let's set the appropiate header. NB: ffmpeg's subtitle filter, does not follow libass' documentation regarding colour mangling, thus hiding the bug. Anything based on VSFilter, XySubFilter or e.g. mpv do and might show the issue. (Of course native ASS subs, which _do_ rely on colour mangling won't work properly with the subtitle filter, but this can be fixed another time)
* avcodec/ass: explicitly set ScaledBorderAndShadowOneric2020-05-231-0/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ass: add FFmpeg signatureClément Bœsch2014-10-151-0/+1
|
* avcodec/ass: output missing fields in AVSubtitles and output filesClément Bœsch2014-10-151-6/+6
| | | | Fixes Ticket #3207
* fate: make subtitles tests output to stdout instead of md5Clément Bœsch2014-10-151-1/+14
| | | | This makes tracking subtitles changes simpler.
* avcodec/ass: move playres parameters below scripttypeClément Bœsch2014-06-181-1/+1
| | | | Suggested-by: wm4
* avcodec/ass: explicit PlayRes[XY]Clément Bœsch2014-06-181-1/+1
| | | | | | | | This avoids the following libass warning when using the subtitles filter: "Neither PlayResX nor PlayResY defined. Assuming 384x288" Subtitles tests change because the output is ASS and the PlayRes[XY] ends up in the output.
* Add PJS subtitles demuxer and decoder.Clément Bœsch2012-12-301-0/+1