subtitleoverlay

subtitleoverlay — Overlays a video stream with subtitles

Synopsis

                    GstSubtitleOverlay;

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

1
gst-launch -v filesrc location=test.mkv ! matroskademux name=demux ! "video/x-h264" ! queue2 ! decodebin2 ! subtitleoverlay name=overlay ! ffmpegcolorspace ! autovideosink  demux. ! "video/x-dvd-subpicture" ! queue2 ! overlay.
This will play back the given Matroska file with h264 video and subpicture subtitles.

Details

GstSubtitleOverlay

typedef struct _GstSubtitleOverlay GstSubtitleOverlay;