summaryrefslogtreecommitdiff
path: root/docs/plugins
diff options
context:
space:
mode:
authorChris Bass <floobleflam@gmail.com>2016-06-29 09:58:38 +0100
committerSebastian Dröge <sebastian@centricular.com>2016-11-01 20:46:46 +0200
commitd82ae6949feb100b74ca3781a57cbe19ce38787c (patch)
tree95943453fcebb31a768757f296defcf2a6ab243c /docs/plugins
parent280b4ac2ffc63908a74944f50589b2630be16232 (diff)
ttml: Add plugin that supports TTML subtitles
Add a parser (ttmlparse) and renderer (ttmlrender) element that handle subtitles that use the EBU-TT-D profile of TTML1. https://bugzilla.gnome.org/show_bug.cgi?id=758232
Diffstat (limited to 'docs/plugins')
-rw-r--r--docs/plugins/gst-plugins-bad-plugins-docs.sgml3
-rw-r--r--docs/plugins/gst-plugins-bad-plugins-sections.txt19
-rw-r--r--docs/plugins/inspect/plugin-ttmlsubs.xml61
3 files changed, 83 insertions, 0 deletions
diff --git a/docs/plugins/gst-plugins-bad-plugins-docs.sgml b/docs/plugins/gst-plugins-bad-plugins-docs.sgml
index dea23550e..70b1ea017 100644
--- a/docs/plugins/gst-plugins-bad-plugins-docs.sgml
+++ b/docs/plugins/gst-plugins-bad-plugins-docs.sgml
@@ -152,6 +152,8 @@
<xi:include href="xml/element-wavescope.xml" />
<xi:include href="xml/element-webrtcdsp.xml" />
<xi:include href="xml/element-webrtcechoprobe.xml" />
+ <xi:include href="xml/element-ttmlparse.xml" />
+ <xi:include href="xml/element-ttmlrender.xml" />
</chapter>
<chapter>
@@ -203,5 +205,6 @@
<xi:include href="xml/plugin-voamrwbenc.xml" />
<xi:include href="xml/plugin-webrtcdsp.xml" />
<xi:include href="xml/plugin-zbar.xml" />
+ <xi:include href="xml/plugin-ttmlsubs.xml" />
</chapter>
</book>
diff --git a/docs/plugins/gst-plugins-bad-plugins-sections.txt b/docs/plugins/gst-plugins-bad-plugins-sections.txt
index ba933c196..811c0e5f0 100644
--- a/docs/plugins/gst-plugins-bad-plugins-sections.txt
+++ b/docs/plugins/gst-plugins-bad-plugins-sections.txt
@@ -4805,3 +4805,22 @@ GST_TYPE_FFECTS_XRAY
gst_ffects_xray_get_type
</SECTION>
+<SECTION>
+<FILE>element-ttmlparse</FILE>
+<TITLE>ttmlparse</TITLE>
+GstTtmlParse
+<SUBSECTION Standard>
+GstTtmlParseClass
+GST_TYPE_TTML_PARSE
+gst_ttml_parse_get_type
+</SECTION>
+
+<SECTION>
+<FILE>element-ttmlrender</FILE>
+<TITLE>ttmlrender</TITLE>
+GstTtmlRender
+<SUBSECTION Standard>
+GstTtmlRenderClass
+GST_TYPE_TTML_RENDER
+gst_ttml_render_get_type
+</SECTION>
diff --git a/docs/plugins/inspect/plugin-ttmlsubs.xml b/docs/plugins/inspect/plugin-ttmlsubs.xml
new file mode 100644
index 000000000..4d10360b8
--- /dev/null
+++ b/docs/plugins/inspect/plugin-ttmlsubs.xml
@@ -0,0 +1,61 @@
+<plugin>
+ <name>ttmlsubs</name>
+ <description>TTML subtitle handling</description>
+ <filename>../../ext/ttml/.libs/libgstttmlsubs.so</filename>
+ <basename>libgstttmlsubs.so</basename>
+ <version>1.9.90</version>
+ <license>LGPL</license>
+ <source>gst-plugins-bad</source>
+ <package>gst-ttml</package>
+ <origin>http://www.bbc.co.uk/rd</origin>
+ <elements>
+ <element>
+ <name>ttmlparse</name>
+ <longname>TTML subtitle parser</longname>
+ <class>Codec/Parser/Subtitle</class>
+ <description>Parses TTML subtitle files</description>
+ <author>GStreamer maintainers &lt;gstreamer-devel@lists.sourceforge.net&gt;, Chris Bass &lt;dash@rd.bbc.co.uk&gt;</author>
+ <pads>
+ <caps>
+ <name>sink</name>
+ <direction>sink</direction>
+ <presence>always</presence>
+ <details>application/ttml+xml</details>
+ </caps>
+ <caps>
+ <name>src</name>
+ <direction>source</direction>
+ <presence>always</presence>
+ <details>text/x-raw(meta:GstSubtitleMeta)</details>
+ </caps>
+ </pads>
+ </element>
+ <element>
+ <name>ttmlrender</name>
+ <longname>TTML subtitle renderer</longname>
+ <class>Overlay/Subtitle</class>
+ <description>Renders timed-text subtitles on top of video buffers</description>
+ <author>David Schleef &lt;ds@schleef.org&gt;, Zeeshan Ali &lt;zeeshan.ali@nokia.com&gt;, Chris Bass &lt;dash@rd.bbc.co.uk&gt;</author>
+ <pads>
+ <caps>
+ <name>text_sink</name>
+ <direction>sink</direction>
+ <presence>always</presence>
+ <details>text/x-raw(meta:GstSubtitleMeta)</details>
+ </caps>
+ <caps>
+ <name>video_sink</name>
+ <direction>sink</direction>
+ <presence>always</presence>
+ <details>video/x-raw, format=(string){ BGRx, RGBx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, I420, YV12, AYUV, YUY2, UYVY, v308, Y41B, Y42B, Y444, NV12, NV21, A420, YUV9, YVU9, IYU1, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(ANY), format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV61, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, IYU2, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE, NV12_64Z32, A420_10LE, A420_10BE, A422_10LE, A422_10BE, A444_10LE, A444_10BE, P010_10LE, P010_10BE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
+ </caps>
+ <caps>
+ <name>src</name>
+ <direction>source</direction>
+ <presence>always</presence>
+ <details>video/x-raw, format=(string){ BGRx, RGBx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, I420, YV12, AYUV, YUY2, UYVY, v308, Y41B, Y42B, Y444, NV12, NV21, A420, YUV9, YVU9, IYU1, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(ANY), format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV61, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, IYU2, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE, NV12_64Z32, A420_10LE, A420_10BE, A422_10LE, A422_10BE, A444_10LE, A444_10BE, P010_10LE, P010_10BE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
+ </caps>
+ </pads>
+ </element>
+ </elements>
+</plugin> \ No newline at end of file