| GStreamer Base Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
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
| plugin | pango |
| author | David Schleef <ds@schleef.org>, Ronald S. Bultje <rbultje@ronald.bitfreak.net> |
| class | Filter/Editor/Video |
| 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 ] |
| name | sink |
| direction | sink |
| presence | always |
| details | text/x-pango-markup; text/plain |