Text Overlay
Factory Details:
Rank | primary + 10 (266) |
Long-name | ST Text overlay |
Klass | Filter/Video/Overlay/Subtitle |
Description | Convert text to ARGB32 format to display on ST GDP layer |
Author | www.st.com |
Plugin Details:
Name | st |
Description | ST HW accelerated elements |
Filename | /usr/lib/gstreamer-1.0/libgstpluginst.so |
Version | 1.0.0 |
License | LGPL |
Source module | stplugin |
Binary package | STMicroelectronics R&D |
Origin URL | http://www.st.com |
Hierarchy:
- GObject
- GInitiallyUnowned
- GstObject
- GstElement
- GstSTTextOverlay
- GstElement
- GstObject
- GInitiallyUnowned
Pad Templates:
SRC template: src
- Availability: Always
- Capabilities:
- video/x-raw
- format: RGBA
- width: [ 1, 2147483647 ]
- height: [ 1, 2147483647 ]
- framerate: [ 0/1, 2147483647/1 ]
- video/x-raw
SINK template: video_sink
- Availability: Always
- Capabilities:
- video/x-fake-yuv
SINK template: text_sink
- Availability: Always
- Capabilities:
- text/x-raw
- format: { pango-markup, utf8 }
- text/plain
- subpicture/x-dvb
- private/teletext
- private/closecaption
- ancillary/none
- text/x-raw
Element Flags:
no flags set
Element Implementation:
change_state()
→gst_sttext_overlay_change_state()
Element has no clocking capabilities.
Element has no URI handling capabilities.
Pads:
- SINK (
video_sink
)- Pad Template:
video_sink
- Pad Template:
- SINK (
text_sink
)- Pad Template:
text_sink
- Pad Template:
- SRC (
src
)- Pad Template:
src
- Pad Template:
Element Properties:
The "name
" Property
The name of the object
- Flags:
- Readable
- Writable
- Type: String
- Default:
"sttextoverlay0"
- Default:
The "parent
" Property
The parent of the object
- Flags:
- Readable
- Writable
- Type: Object
- Type:
GstObject
- Type:
The "text
" Property
Text to be display.
- Flags:
- Readable
- Writable
- Controllable
- Type: String
- Default:
""
- Default:
The "shaded-background
" Property
Whether to shade the background under the text area
- Flags:
- Readable
- Writable
- Type: Boolean
- Default:
false
- Default:
The "valign
" Property
Vertical alignment of the ext (deprecated; use valignment)
- Flags:
- Writable
- Type: String
- Default:
"baseline"
- Default:
The "halign
" Property
Horizontal alignment of the text (deprecated; use halignment)
- Flags:
- Writable
- Type: String
- Default:
"center"
- Default:
The "halignment
" Property
Horizontal alignment of the text
- Flags:
- Readable
- Writable
- Type: enum
GstSTTextOverlayHAlign
- Default: 1 (
center
) - Values:
left
center
right
position
- Default: 1 (
The "valignment
" Property
Vertical alignment of the text
- Flags:
- Readable
- Writable
- Type: enum
GstSTTextOverlayVAlign
- Default: 0 (
baseline
) - Values:
baseline
bottom
top
position
- Default: 0 (
The "xpad
" Property
Horizontal paddding when using left/right alignment
- Flags:
- Readable
- Writable
- Type: Integer
- Min:
0
- Max:
2147483647
- Default:
25
- Min:
The "ypad
" Property
Vertical padding when using top/bottom alignment
- Flags:
- Readable
- Writable
- Type: Integer
- Min:
0
- Max:
2147483647
- Default:
25
- Min:
The "deltax
" Property
Shift X position to the left or to the right. Unit is pixels.
- Flags:
- Readable
- Writable
- Type: Integer
- Min:
-2147483648
- Max:
2147483647
- Default:
0
- Min:
The "deltay
" Property
Shift Y position up or down. Unit is pixels.
- Flags:
- Readable
- Writable
- Type: Integer
- Min:
-2147483648
- Max:
2147483647
- Default:
0
- Min:
The "xpos
" Property
Horizontal position when using position alignment
- Flags:
- Readable
- Writable
- Controllable
- Type: Double
- Min:
0
- Max:
1
- Default:
0.5
- Min:
The "ypos
" Property
Vertical position when using position alignment
- Flags:
- Readable
- Writable
- Controllable
- Type: Double
- Min:
0
- Max:
1
- Default:
0.5
- Min:
The "wrap-mode
" Property
Whether to wrap the text and if so how.
- Flags:
- Readable
- Writable
- Type: enum
GstSTTextOverlayWrapMode
- Default: 2 (
wordchar
) - Values:
none
word
char
wordchar
- Default: 2 (
The "font-desc
" Property
Pango font description of font to be used for rendering. See documentation of pango_font_description_from_string for syntax.
- Flags:
- Writable
- Type: String
- Default:
""
- Default:
The "silent
" Property
Whether to render the text string
- Flags:
- Readable
- Writable
- Controllable
- Type: Boolean
- Default:
false
- Default:
The "line-alignment
" Property
Alignment of text lines relative to each other.
- Flags:
- Readable
- Writable
- Type: enum
GstSTTextOverlayLineAlign
- Default: 1 (
center
) - Values:
left
center
right
- Default: 1 (
The "wait-text
" Property
Whether to wait for subtitles
- Flags:
- Readable
- Writable
- Type: Boolean
- Default:
true
- Default:
The "auto-resize
" Property
Automatically adjust font size to screen-size.
- Flags:
- Readable
- Writable
- Type: Boolean
- Default:
true
- Default:
The "vertical-render
" Property
Vertical Render.
- Flags:
- Readable
- Writable
- Type: Boolean
- Default:
false
- Default:
The "color
" Property
Color to use for text (big-endian ARGB).
- Flags:
- Readable
- Writable
- Controllable
- Type: Unsigned Integer
- Min:
0
- Max:
4294967295
- Default:
4294967295
- Min:
The "teletext-page
" Property
Teletext page number that should displayed
- Flags:
- Readable
- Writable
- Type: Integer
- Min:
100
- Max:
999
- Default:
0
- Min:
The "teletext-subpage
" Property
Teletext sub-page number that should displayed (-1 for all)
- Flags:
- Readable
- Writable
- Type: Integer
- Min:
-1
- Max:
153
- Default:
0
- Min:
The "subtitles-mode
" Property
Enables subtitles mode for text output stripping the blank lines and the teletext state lines
- Flags:
- Readable
- Writable
- Type: Boolean
- Default:
false
- Default:
The "subtitles-template
" Property
Output template used to print each one of the subtitles lines
- Flags:
- Readable
- Writable
- Type: String
- Default:
null
- Default:
The "font-description
" Property
Font description used for the pango output.
- Flags:
- Readable
- Writable
- Type: String
- Default:
null
- Default:
The "cc-user-cmd
" Property
Number of closed captions that should displayed (-1 for all)
- Flags:
- Readable
- Writable
- Type: Integer
- Min:
-1
- Max:
153
- Default:
0
- Min: