mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-13 11:56:35 +00:00
a41fb3c6df
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
49 lines
904 B
Makefile
49 lines
904 B
Makefile
plugin_LTLIBRARIES = libgstclosedcaption.la
|
|
|
|
zvbi_sources = \
|
|
bit_slicer.c \
|
|
decoder.c \
|
|
raw_decoder.c \
|
|
sampling_par.c
|
|
|
|
zvbi_headers = \
|
|
bcd.h \
|
|
bit_slicer.h \
|
|
decoder.h \
|
|
macros.h \
|
|
misc.h \
|
|
raw_decoder.h \
|
|
sampling_par.h \
|
|
sliced.h
|
|
|
|
libgstclosedcaption_la_SOURCES = \
|
|
$(zvbi_sources) \
|
|
$(zvbi_headers) \
|
|
gstccextractor.c \
|
|
gstccextractor.h \
|
|
gstcea708decoder.c \
|
|
gstcea708decoder.h \
|
|
gstceaccoverlay.c \
|
|
gstceaccoverlay.h \
|
|
gstline21dec.c \
|
|
gstline21dec.h \
|
|
gstclosedcaption.c
|
|
|
|
libgstclosedcaption_la_CFLAGS = \
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_CFLAGS) \
|
|
$(PANGO_CFLAGS)
|
|
|
|
libgstclosedcaption_la_LIBADD = \
|
|
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ \
|
|
$(GST_BASE_LIBS) \
|
|
$(GST_LIBS) \
|
|
$(PANGO_LIBS)
|
|
|
|
libgstclosedcaption_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
noinst_HEADERS = \
|
|
gstccextractor.h \
|
|
gstline21dec.h \
|
|
$(zvbi_headers)
|