1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00
mpv/DOCS
wm4 015399f696 sub: add --ass-style-override=force option
(The old "force" choice of that option is renamed to "force-default".)

This allows overriding native ASS script subtitle styles with the style
provided by the --sub-text-* options (like --sub-text-font etc.). This
is disabled by default, and needs to be explicitly enabled with the
--ass-style-override=force option and input property.

This uses in fact exactly the same options (--sub-text-*) and semantics
as the ones used to configure unstyled text subtitles.

It's recommended to combine this with this in the mpv config file:

ass-force-style="ScaledBorderAndShadow=1"   # work around dumb libass behavior

Also, adding a key binding to toggle this behavior should be added,
because overriding can easily break:

L cycle ass-style-override

This would cycle override behavior on Shift+L and allows quickly
disabling/enabling style overrides.

Note: ASS should be considered a vector format rather than a subtitle
format. There is no easy or reliable way to determine whether the style
of a given subtitle event can be changed without destroying visuals or
not. This patch relies on a simple heuristic, which often works and
often breaks.
2014-06-05 01:10:37 +02:00
..
client_api_examples client api examples: set an option with MPV_FORMAT_FLAG 2014-02-24 23:02:50 +01:00
lua_examples options: rename msg-related options 2014-05-04 02:46:11 +02:00
man/en sub: add --ass-style-override=force option 2014-06-05 01:10:37 +02:00
coding-style.md DOCS/coding-style: add a hint that new features should be documented 2014-05-25 19:52:51 +02:00
crosscompile-mingw.md DOCS: fix an external link 2014-03-09 15:02:28 +01:00
edl-mpv.rst edl: extend with chapter timestamps 2014-02-19 00:06:00 +01:00
encoding.rst encode: don't apply default config options 2014-04-19 22:05:17 +02:00
tech-overview.txt options: rename subtitle-related options 2014-05-04 02:46:11 +02:00
waf-buildsystem.rst DOCS/waf-buildsystem: add link to the Waf book 2014-02-06 13:45:35 +01:00