Commit b5771532 authored by Marton Balint's avatar Marton Balint

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: 's avatarMarton Balint <cus@passwd.hu>
parent 179ed2d2
...@@ -261,12 +261,18 @@ Default value is *. ...@@ -261,12 +261,18 @@ Default value is *.
@item txt_chop_top @item txt_chop_top
Discards the top teletext line. Default value is 1. Discards the top teletext line. Default value is 1.
@item txt_format @item txt_format
Specifies the format of the decoded subtitles. The teletext decoder is capable Specifies the format of the decoded subtitles.
of decoding the teletext pages to bitmaps or to simple text, you should use @table @option
"bitmap" for teletext pages, because certain graphics and colors cannot be @item bitmap
expressed in simple text. You might use "text" for teletext based subtitles if The default format, you should use this for teletext pages, because certain
your application can handle simple text based subtitles. Default value is graphics and colors cannot be expressed in simple text or even ASS.
bitmap. @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 @item txt_left
X offset of generated bitmaps, default is 0. X offset of generated bitmaps, default is 0.
@item txt_top @item txt_top
......
This diff is collapsed.
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define LIBAVCODEC_VERSION_MAJOR 58 #define LIBAVCODEC_VERSION_MAJOR 58
#define LIBAVCODEC_VERSION_MINOR 31 #define LIBAVCODEC_VERSION_MINOR 31
#define LIBAVCODEC_VERSION_MICRO 101 #define LIBAVCODEC_VERSION_MICRO 102
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \ LIBAVCODEC_VERSION_MINOR, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment