Skip to content

/AWS1/CL_MDCTRACKSOURCESTGS

Settings specific to caption sources that are specified by track number. Currently, this is only IMSC captions in an IMF package. If your caption source is IMSC 1.1 in a separate xml file, use FileSourceSettings instead of TrackSourceSettings.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_streamnumber TYPE /AWS1/MDC__INTEGERMIN1MAX21400 /AWS1/MDC__INTEGERMIN1MAX21400

Use this setting to select a single captions track from a source. Stream numbers include all tracks in the source file, regardless of type, and correspond to either the order of tracks in the file, or if applicable, the stream number metadata of the track. Although all tracks count toward these stream numbers, in this caption selector context, only the stream number of a track containing caption data may be used. To include more than one captions track in your job outputs, create multiple input captions selectors. Specify one stream per selector. If your source file contains a track which is not recognized by the service, then the corresponding stream number will still be reserved for future use. If more types of caption data get recognized in the future, these numberings will not shift.

iv_tracknumber TYPE /AWS1/MDC__INTEGERMIN1MAX21400 /AWS1/MDC__INTEGERMIN1MAX21400

Use this setting to select a single captions track from a source. Track numbers correspond to the order in the captions source file. For IMF sources, track numbering is based on the order that the captions appear in the CPL. For example, use 1 to select the captions asset that is listed first in the CPL. To include more than one captions track in your job outputs, create multiple input captions selectors. Specify one track per selector. If more types of caption data get recognized in the future, these numberings may shift, but the numberings used for streamNumber will not.


Queryable Attributes

StreamNumber

Use this setting to select a single captions track from a source. Stream numbers include all tracks in the source file, regardless of type, and correspond to either the order of tracks in the file, or if applicable, the stream number metadata of the track. Although all tracks count toward these stream numbers, in this caption selector context, only the stream number of a track containing caption data may be used. To include more than one captions track in your job outputs, create multiple input captions selectors. Specify one stream per selector. If your source file contains a track which is not recognized by the service, then the corresponding stream number will still be reserved for future use. If more types of caption data get recognized in the future, these numberings will not shift.

Accessible with the following methods

Method Description
GET_STREAMNUMBER() Getter for STREAMNUMBER, with configurable default
ASK_STREAMNUMBER() Getter for STREAMNUMBER w/ exceptions if field has no value
HAS_STREAMNUMBER() Determine if STREAMNUMBER has a value

TrackNumber

Use this setting to select a single captions track from a source. Track numbers correspond to the order in the captions source file. For IMF sources, track numbering is based on the order that the captions appear in the CPL. For example, use 1 to select the captions asset that is listed first in the CPL. To include more than one captions track in your job outputs, create multiple input captions selectors. Specify one track per selector. If more types of caption data get recognized in the future, these numberings may shift, but the numberings used for streamNumber will not.

Accessible with the following methods

Method Description
GET_TRACKNUMBER() Getter for TRACKNUMBER, with configurable default
ASK_TRACKNUMBER() Getter for TRACKNUMBER w/ exceptions if field has no value
HAS_TRACKNUMBER() Determine if TRACKNUMBER has a value