gstreamer/ext/closedcaption/meson.build
Edward Hervey a41fb3c6df 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
2018-05-28 15:29:01 +02:00

22 lines
687 B
Meson

pangocairo_dep = dependency('pangocairo', version : '>= 1.22.0', required : false)
zvbi_sources = [
'bit_slicer.c',
'decoder.c',
'raw_decoder.c',
'sampling_par.c',
]
if pangocairo_dep.found()
gstclosedcaption = library('gstclosedcaption',
'gstccextractor.c', 'gstclosedcaption.c', 'gstline21dec.c',
'gstcea708decoder.c', 'gstceaccoverlay.c', zvbi_sources,
c_args : gst_plugins_bad_args,
link_args : noseh_link_args,
include_directories : [configinc],
dependencies : [gstvideo_dep, pangocairo_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstclosedcaption, install_dir : plugins_pkgconfig_install_dir)
endif