ceaccoverlay: New CEA-708 Closed Caption decoder and overlayer
authorEdward Hervey <edward@centricular.com>
Wed, 11 Mar 2015 10:00:08 +0000 (18:00 +0800)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 28 May 2018 13:29:01 +0000 (15:29 +0200)
commita41fb3c6df9ff124d1d04f414c2e122bd7dea37c
tree23ed2a7eb78c1f2caf6b7375e74bdaa7292d676a
parentaab111b9791ced63de6b324d902f99ca518d3edd
ceaccoverlay: New CEA-708 Closed Caption decoder and overlayer

This new element allows decoding and overlaying CEA-708 Closed Caption
streams over video.

* Supports CDP and cc_data closedcaption/x-cea-708 streams
* Uses pango to render CC stream
* Support GstVideoOverlayComposition meta if downstream supports is

Tested on various test files.

Remains to be fixed/improved:
* Switch to GstByteReader (for code safety)
* Switch to GString (instead of manual pango string construction)
* Move pango/rendering code outside of main 708 decoder file (so
  that actual CC parser/decoder can be (re)used in other scenarios).

Initial patches and improvements by:
* CableLabs RUIH-RI Team <ruihri@cablelabs.com>
* Steve Maynard <steve@secondstryke.com>
* cjun.wang" <cjun.wang@samsung.com>

https://bugzilla.gnome.org/show_bug.cgi?id=704881
ext/closedcaption/Makefile.am
ext/closedcaption/gstcea708decoder.c [new file with mode: 0644]
ext/closedcaption/gstcea708decoder.h [new file with mode: 0644]
ext/closedcaption/gstceaccoverlay.c [new file with mode: 0644]
ext/closedcaption/gstceaccoverlay.h [new file with mode: 0644]
ext/closedcaption/gstclosedcaption.c
ext/closedcaption/meson.build