subparse

Parses subtitle (.sub) files into text streams

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──subparse

Factory details

Authors: – Gustavo J. A. M. Carneiro , GStreamer maintainers

Classification:Codec/Decoder/Subtitle

Rank – primary

Plugin – subparse

Package – GStreamer Base Plug-ins

Pad Templates

sink

application/x-subtitle:
application/x-subtitle-sami:
application/x-subtitle-tmplayer:
application/x-subtitle-mpl2:
application/x-subtitle-dks:
application/x-subtitle-qttext:
application/x-subtitle-lrc:
application/x-subtitle-vtt:

Presencealways

Directionsink

Object typeGstPad


src

text/x-raw:
         format: { pango-markup, utf8 }

Presencealways

Directionsrc

Object typeGstPad


Properties

subtitle-encoding

“subtitle-encoding” gchararray

Encoding to assume if input subtitles are not in UTF-8 or any other Unicode encoding. If not set, the GST_SUBTITLE_ENCODING environment variable will be checked for an encoding to use. If that is not set either, ISO-8859-15 will be assumed.

Flags : Read / Write

Default value : NULL


video-fps

“video-fps” GstFraction *

Framerate of the video stream. This is needed by some subtitle formats to synchronize subtitles and video properly. If not set and the subtitle format requires it subtitles may be out of sync.

Flags : Read / Write

Default value : 24000/1001


The results of the search are