subtitleoverlay
subtitleoverlay — Overlays a video stream with subtitles
|
|
Object Hierarchy
GObject
+----GstObject
+----GstElement
+----GstBin
+----GstSubtitleOverlay
Implemented Interfaces
GstSubtitleOverlay implements
GstChildProxy.
Description
GstBin that auto-magically overlays a video stream with subtitles by
autoplugging the required elements.
It supports raw, timestamped text, different textual subtitle formats and
DVD subpicture subtitles.
Examples
This will play back the given Matroska file with h264 video and subpicture subtitles.
Synopsis
Element Information
plugin |
playback
|
author |
Sebastian Dröge <sebastian.droege@collabora.co.uk> |
class |
Video/Overlay/Subtitle |
Element Pads
name |
subtitle_sink |
direction |
sink |
presence |
always |
details |
ANY |
name |
video_sink |
direction |
sink |
presence |
always |
details |
ANY |
name |
src |
direction |
source |
presence |
always |
details |
ANY |
Details
GstSubtitleOverlay
typedef struct _GstSubtitleOverlay GstSubtitleOverlay;
Property Details
The "font-desc" property
"font-desc" gchar* : Read / Write
Pango font description of font to be used for subtitle rendering.
Default value: NULL
The "silent" property
"silent" gboolean : Read / Write
Whether to show subtitles.
Default value: FALSE