summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEejya Singh <singh.eejya@gmail.com>2015-01-28 17:41:42 +0530
committerClément Bœsch <u@pkh.me>2015-02-08 11:36:49 +0100
commit40b198e98736819f647f794e57517d1b42e85791 (patch)
tree85a759c8797a0b5845c7ff0ac819621b844f097f /doc
parent5ae140c04f027da708859bb046e032a593fd81ad (diff)
lavfi/subtitles: add force_style option
Signed-off-by: Eejya Singh <singh.eejya@gmail.com> Signed-off-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index c6fef0c16c..a90825aa98 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -8554,6 +8554,10 @@ useful if not UTF-8.
@item stream_index, si
Set subtitles stream index. @code{subtitles} filter only.
+
+@item force_style
+Override default style or script info parameters of the subtitles. It accepts a
+string containing ASS style format @code{KEY=VALUE} couples separated by ",".
@end table
If the first key is not specified, it is assumed that the first value
@@ -8580,6 +8584,12 @@ To render the second subtitles stream from that file, use:
subtitles=video.mkv:si=1
@end example
+To make the subtitles stream from @file{sub.srt} appear in transparent green
+@code{DejaVu Serif}, use:
+@example
+subtitles=sub.srt:force_style='FontName=DejaVu Serif,PrimaryColour=&HAA00FF00'
+@end example
+
@section super2xsai
Scale the input by 2x and smooth using the Super2xSaI (Scale and