summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorValdikSS <iam@valdikss.org.ru>2014-05-01 14:51:17 +0400
committerClément Bœsch <u@pkh.me>2014-05-01 12:52:33 +0200
commit7a0e689c4517d8e6ccec6027354bd827965a9ba2 (patch)
tree8857b828448f70288bd6a9455e7de46d1e123ab9 /doc
parent91736025b2807995e29bd0661807c1c84f515fef (diff)
lavfi/subtitles: introduce stream_index
Signed-off-by: ValdikSS <iam@valdikss.org.ru>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index a8b2668889..d53f645a55 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -7725,6 +7725,9 @@ changed.
@item charenc
Set subtitles input character encoding. @code{subtitles} filter only. Only
useful if not UTF-8.
+
+@item stream_index, si
+Set subtitles stream index. @code{subtitles} filter only.
@end table
If the first key is not specified, it is assumed that the first value
@@ -7741,6 +7744,16 @@ which is equivalent to:
subtitles=filename=sub.srt
@end example
+To render the default subtitles stream from file @file{video.mkv}, use:
+@example
+subtitles=video.mkv
+@end example
+
+To render the second subtitles stream from that file, use:
+@example
+subtitles=video.mkv:si=1
+@end example
+
@section super2xsai
Scale the input by 2x and smooth using the Super2xSaI (Scale and