Skip to content

/AWS1/CL_MDCTRACK

Details about each track (video, audio, or data) in the media file.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_audioproperties TYPE REF TO /AWS1/CL_MDCAUDIOPROPERTIES /AWS1/CL_MDCAUDIOPROPERTIES

Details about the media file's audio track.

iv_codec TYPE /AWS1/MDCCODEC /AWS1/MDCCODEC

The codec of the audio or video track, or caption format of the data track.

io_dataproperties TYPE REF TO /AWS1/CL_MDCDATAPROPERTIES /AWS1/CL_MDCDATAPROPERTIES

Details about the media file's data track.

iv_duration TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The duration of the track, in seconds.

iv_index TYPE /AWS1/MDC__INTEGER /AWS1/MDC__INTEGER

The unique index number of the track, starting at 1.

iv_tracktype TYPE /AWS1/MDCTRACKTYPE /AWS1/MDCTRACKTYPE

The type of track: video, audio, or data.

io_videoproperties TYPE REF TO /AWS1/CL_MDCVIDEOPROPERTIES /AWS1/CL_MDCVIDEOPROPERTIES

Details about the media file's video track.


Queryable Attributes

AudioProperties

Details about the media file's audio track.

Accessible with the following methods

Method Description
GET_AUDIOPROPERTIES() Getter for AUDIOPROPERTIES

Codec

The codec of the audio or video track, or caption format of the data track.

Accessible with the following methods

Method Description
GET_CODEC() Getter for CODEC, with configurable default
ASK_CODEC() Getter for CODEC w/ exceptions if field has no value
HAS_CODEC() Determine if CODEC has a value

DataProperties

Details about the media file's data track.

Accessible with the following methods

Method Description
GET_DATAPROPERTIES() Getter for DATAPROPERTIES

Duration

The duration of the track, in seconds.

Accessible with the following methods

Method Description
GET_DURATION() Getter for DURATION, with configurable default
ASK_DURATION() Getter for DURATION w/ exceptions if field has no value
STR_DURATION() String format for DURATION, with configurable default
HAS_DURATION() Determine if DURATION has a value

Index

The unique index number of the track, starting at 1.

Accessible with the following methods

Method Description
GET_INDEX() Getter for INDEX, with configurable default
ASK_INDEX() Getter for INDEX w/ exceptions if field has no value
HAS_INDEX() Determine if INDEX has a value

TrackType

The type of track: video, audio, or data.

Accessible with the following methods

Method Description
GET_TRACKTYPE() Getter for TRACKTYPE, with configurable default
ASK_TRACKTYPE() Getter for TRACKTYPE w/ exceptions if field has no value
HAS_TRACKTYPE() Determine if TRACKTYPE has a value

VideoProperties

Details about the media file's video track.

Accessible with the following methods

Method Description
GET_VIDEOPROPERTIES() Getter for VIDEOPROPERTIES

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT___LISTOFTRACK

TYPES TT___LISTOFTRACK TYPE STANDARD TABLE OF REF TO /AWS1/CL_MDCTRACK WITH DEFAULT KEY
.