textrender
textrender — Renders a text string to an image bitmap
|
|
Object Hierarchy
GObject
+----GstObject
+----GstElement
+----GstTextRender
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)
Synopsis
Element Information
plugin |
pango
|
author |
David Schleef <ds@schleef.org>, Ronald S. Bultje <rbultje@ronald.bitfreak.net> |
class |
Filter/Editor/Video |
Element Pads
name |
sink |
direction |
sink |
presence |
always |
details |
text/x-pango-markup |
|
text/plain |
name |
src |
direction |
source |
presence |
always |
details |
video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] |
Details
GstTextRender
typedef struct _GstTextRender GstTextRender;
Opaque textrender data structure.
Property Details
The "font-desc
" property
"font-desc" gchar* : Write
Pango font description of font to be used for rendering. See documentation of pango_font_description_from_string for syntax.
Default value: ""