summaryrefslogtreecommitdiff
path: root/doc/decoders.texi
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2018-04-29 03:08:12 +0200
committerMarton Balint <cus@passwd.hu>2018-09-30 01:10:23 +0200
commitb577153231ee050b04e29f3bb2ea72eca2431c60 (patch)
tree51c0de2385d03d9d6e6e80ebe9d40141fcbc96a0 /doc/decoders.texi
parent179ed2d2e08949662de2249c71f01ae388ca851e (diff)
downloadffmpeg-b577153231ee050b04e29f3bb2ea72eca2431c60.tar.gz
avcodec/libzvbi-teletextdec: add formatted ass output
Inspired by the VideoLAN text decoder and its port to FFmpeg made by Aman Gupta. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc/decoders.texi')
-rw-r--r--doc/decoders.texi18
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/decoders.texi b/doc/decoders.texi
index 31e96fbc8d..25187e30f1 100644
--- a/doc/decoders.texi
+++ b/doc/decoders.texi
@@ -261,12 +261,18 @@ Default value is *.
@item txt_chop_top
Discards the top teletext line. Default value is 1.
@item txt_format
-Specifies the format of the decoded subtitles. The teletext decoder is capable
-of decoding the teletext pages to bitmaps or to simple text, you should use
-"bitmap" for teletext pages, because certain graphics and colors cannot be
-expressed in simple text. You might use "text" for teletext based subtitles if
-your application can handle simple text based subtitles. Default value is
-bitmap.
+Specifies the format of the decoded subtitles.
+@table @option
+@item bitmap
+The default format, you should use this for teletext pages, because certain
+graphics and colors cannot be expressed in simple text or even ASS.
+@item text
+Simple text based output without formatting.
+@item ass
+Formatted ASS output, subtitle pages and teletext pages are returned in
+different styles, subtitle pages are stripped down to text, but an effort is
+made to keep the text alignment and the formatting.
+@end table
@item txt_left
X offset of generated bitmaps, default is 0.
@item txt_top