[vlc-devel] [PATCH 00/11] EIA-608 closed captions rendering improvements

Devin Heitmueller dheitmueller at kernellabs.com
Thu Dec 27 07:08:12 CET 2012

This patch series contains a bunch of improvements to the rendering of
EIA-608 closed captions.  This includes fixes to provide consistent
placement of captions, various bug fixes for edge cases, and code to
make styles/colors work as would be expected.

This patch series will be followed with a more invasive patch which
renders a black background under the text to improve readability.

Validated using the WGBH closed captioning test stream.

This was was sponsored by GetWellNetwork Inc.

Devin Heitmueller (11):
  Enable HTML renderer for closed captions
  Render all rows, even blank ones
  Fix positioning so that the EIA-608 field is properly centered
  Convert leading whitespace characters to non-breaking spaces
  Fix rendering of HTML reserved characters
  Increase the size of the buffer for CC text
  Make sure font color attribute is quoted.
  Add support for monospace font in HTML renderer
  Fix segfault of the font name is null.
  Add support for font height as a percentage of the video height
  Add ability to render the subpicture region, but not the text itself

 include/vlc_subpicture.h         |    5 +--
 modules/codec/cc.c               |   67 +++++++++++++++++++++++++++++---------
 modules/codec/substext.h         |   13 ++++++++
 modules/text_renderer/freetype.c |   67 +++++++++++++++++++++++++++++++++++++-
 4 files changed, 134 insertions(+), 18 deletions(-)


More information about the vlc-devel mailing list