h264seiinserter

Extracts SEI-related metas from buffer and inserts SEI messages. Supports closed caption (GstVideoCaptionMeta) and unregistered user data (GstVideoSEIUserDataUnregisteredMeta) SEI messages.

Example launch line

gst-launch-1.0.exe filesrc location=video.mp4 ! parsebin name=p ! h264parse ! \
  queue ! cccombiner name=c ! \
  h264seiinserter remove-caption-meta=true caption-meta-order=display ! \
  h264parse ! avdec_h264 ! videoconvert ! cea608overlay ! queue ! autovideosink \
  filesrc location=caption.mcc ! mccparse ! ccconverter ! \
  closedcaption/x-cea-708,format=(string)cc_data ! queue ! c.caption

Above pipeline inserts closed caption data to already encoded H.264 stream and renders. Because mccparse outputs caption data in display order, "caption-meta-order=display" property is required in this example.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstCodecSEIInserter
                    ╰──GstH264CCInserter
                        ╰──h264seiinserter

Factory details

Authors: – Seungha Yang

Classification:Codec/Video/Filter

Rank – none

Plugin – closedcaption

Package – GStreamer Bad Plug-ins

Pad Templates

sink

video/x-h264:
      alignment: au

Presencealways

Directionsink

Object typeGstPad


src

video/x-h264:
      alignment: au

Presencealways

Directionsrc

Object typeGstPad


Properties

remove-sei-unregistered-meta

“remove-sei-unregistered-meta” gboolean

Remove GstVideoSEIUserDataUnregisteredMeta from outgoing video buffers.

Flags : Read / Write

Default value : false

Since : 1.30


sei-types

“sei-types” GstCodecSEIInsertType *

Which SEI message types to insert.

Flags : Read / Write

Default value : unregistered+cc

Since : 1.30


The results of the search are