summaryrefslogtreecommitdiff
path: root/doc/decoders.texi
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2013-09-01 23:05:50 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-02 01:19:52 +0200
commitb339dccbba877eb00c4cac2b2761c07f9ba064e6 (patch)
treeaed52ecdc22cf3c04abe46c86251d8aecd305fb8 /doc/decoders.texi
parentcf942994489210c9509ae811cd4fc0515c872f09 (diff)
downloadffmpeg-b339dccbba877eb00c4cac2b2761c07f9ba064e6.tar.gz
lavc: add teletext decoder using libzvbi
Based on a patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2012-December/136677.html The original patch was rebased by Tudor SUCIU <tudor.suciu@gmail.com>. Lots of additional features and fixes are made by me. Fixes ticket #2086. Changes since last version: - change default page to all pages Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/decoders.texi')
-rw-r--r--doc/decoders.texi41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/decoders.texi b/doc/decoders.texi
index aa82add080..9d9f298471 100644
--- a/doc/decoders.texi
+++ b/doc/decoders.texi
@@ -158,4 +158,45 @@ ee450d, 101010, eaeaea, 0ce60b, ec14ed, ebff0b, 0d617a, 7b7b7b, d1d1d1,
7b2a0e, 0d950c, 0f007b, cf0dec, cfa80c, 7c127b}.
@end table
+@section libzvbi-teletext
+
+Libzvbi allows libavcodec to decode DVB teletext pages and DVB teletext
+subtitles. Requires the presence of the libzvbi headers and library during
+configuration. You need to explicitly configure the build with
+@code{--enable-libzvbi}.
+
+@subsection Options
+
+@table @option
+@item txt_page
+List of teletext page numbers to decode. You may use the special * string to
+match all pages. Pages that do not match the specified list are dropped.
+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.
+@item txt_left
+X offset of generated bitmaps, default is 0.
+@item txt_top
+Y offset of generated bitmaps, default is 0.
+@item txt_chop_spaces
+Chops leading and trailing spaces and removes empty lines from the generated
+text. This option is useful for teletext based subtitles where empty spaces may
+be present at the start or at the end of the lines or empty lines may be
+present between the subtitle lines because of double-sized teletext charactes.
+Default value is 1.
+@item txt_duration
+Sets the display duration of the decoded teletext pages or subtitles in
+miliseconds. Default value is 30000 which is 30 seconds.
+@item txt_transparent
+Force transparent background of the generated teletext bitmaps. Default value
+is 0 which means an opaque (black) background.
+@end table
+
@c man end SUBTILES DECODERS