assrender

assrender

Properties

gboolean embeddedfonts Read / Write
gboolean enable Read / Write

Types and Values

struct GstAssRender

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstAssRender

Description

Renders timestamped SSA/ASS subtitles on top of a video stream.

Example launch line

1
gst-launch -v filesrc location=/path/to/mkv ! matroskademux name=d ! queue ! mp3parse ! mad ! audioconvert ! autoaudiosink  d. ! queue ! ffdec_h264 ! ffmpegcolorspace ! r.   d. ! queue ! "application/x-ass" ! assrender name=r ! ffmpegcolorspace ! autovideosink
This pipeline demuxes a Matroska file with h.264 video, MP3 audio and embedded ASS subtitles and renders the subtitles on top of the video.

Functions

Types and Values

struct GstAssRender

struct GstAssRender;

Property Details

The “embeddedfonts” property

  “embeddedfonts”            gboolean

Extract and use fonts embedded in the stream.

Flags: Read / Write

Default value: TRUE

The “enable” property

  “enable”                   gboolean

Enable rendering of subtitles.

Flags: Read / Write

Default value: TRUE