textrender
textrender — Renders a text string to an image bitmap
|
|
Description
This plugin renders text received on the text sink pad to a video
buffer (retaining the alpha channel), so it can later be overlayed
on top of video streams using other elements.
The text can contain newline characters. (FIXME: What about text
wrapping? It does not make sense in this context)
Example pipeline:
gst-launch -v filesrc location=subtitles.srt ! subparse ! textrender ! xvimagesink
Element Information
plugin
pango
pango
pangoauthorDavid Schleef <ds@schleef.org>, Ronald S. Bultje <rbultje@ronald.bitfreak.net>David Schleef <ds@schleef.org>, Ronald S. Bultje <rbultje@ronald.bitfreak.net>
classFilter/Editor/VideoFilter/Editor/Video
|
plugin |
pango
|
|
author |
David Schleef <ds@schleef.org>, Ronald S. Bultje <rbultje@ronald.bitfreak.net> |
|
class |
Filter/Editor/Video |
Details
GstTextRender
typedef struct _GstTextRender GstTextRender;
Opaque textrender data structure.
Property Details
The "font-desc" property
"font-desc" gchararray : Write
Pango font description of font to be used for rendering. See documentation of pango_font_description_from_string for syntax.
Default value: ""