cdpserviceinject

Adds or updates CDP Service Information Descriptor as specified in SMPTE 334-2. This can be used to e.g. signal the language of a particular caption stream.

gst-launch-1.0 ... ! cdpserviceinject services='<(GstStructure)"a,service=1,language=eng,easy-reader=false,wide-aspect-ratio=false;", (GstStructure)"a,service=-1,language=eng;">' ! ...

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──cdpserviceinject

Factory details

Authors: – Matthew Waters

Classification:Filter/ClosedCaption

Rank – none

Plugin – rsclosedcaption

Package – gst-plugin-closedcaption

Pad Templates

sink

closedcaption/x-cea-708:
         format: cdp

Presencealways

Directionsink

Object typeGstPad


src

closedcaption/x-cea-708:
         format: cdp

Presencealways

Directionsrc

Object typeGstPad


Properties

services

“services” GstValueArray *

Configure a list of services for injection into the CDP bitstream.

Each value in the array is a GstStructure with the following fields:

  • "service" G_TYPE_INT The service number being identified. '0' is not a valid service. Negative values in the range [-4, -1] correspond to CEA-608 caption service numbers. Positive values in the range [1, 63] correspond to CEA-708 caption service numbers.
  • "language" G_TYPE_STRING A 3-letter character language code as specified in ISO 639.2/B. This value is encoded as UTF-8.
  • "easy-reader" G_TYPE_BOOLEAN CEA-708 only. Optional (defaults to false). Whether the caption service is a format that is for easy reading.
  • "wide-aspect-ratio" G_TYPE_BOOLEAN CEA-708 only. Optional (defaults to false). Whether the caption service is authored for a wide aspect ratio (>=16:9).

Flags : Read / Write


The results of the search are