dvbsubenc

This element encodes AYUV video frames to DVB subpictures.

Example pipelines

 gst-launch-1.0 videotestsrc num-buffers=900 ! video/x-raw,width=720,height=576,framerate=30/1 ! x264enc bitrate=500 ! h264parse ! mpegtsmux name=mux ! filesink location=test.ts  filesrc location=test-subtitles.srt ! subparse ! textrender ! dvbsubenc ! mux.

Encode a test video signal and an SRT subtitle file to MPEG-TS with a DVB subpicture track

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──dvbsubenc

Factory details

Authors: – Jan Schmidt

Classification:Codec/Decoder/Video

Rank – none

Plugin – dvbsubenc

Package – GStreamer Bad Plug-ins

Pad Templates

sink

video/x-raw:
         format: { AYUV }

Presencealways

Directionsink

Object typeGstPad


src

subpicture/x-dvb:

Presencealways

Directionsrc

Object typeGstPad


Properties

max-colours

“max-colours” gint

Set the maximum number of colours to output into the DVB subpictures. Good choices are 4, 16 or 256 - as they correspond to the 2-bit, 4-bit and 8-bit palette modes that the DVB subpicture encoding supports.

Flags : Read / Write

Default value : 16


ts-offset

“ts-offset” gint64

Advance or delay the output subpicture time-line. This is a convenience property for setting the src pad offset.

Flags : Read / Write

Default value : 0


The results of the search are