com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class MatroskaTrackMetadata

    • Method Detail

      • getTrackNumber

        public final long getTrackNumber()

        Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number.

        Returns:
        The track number as used in the Block Header.
      • getTrackUid

        public final long getTrackUid()

        Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file.

        Returns:
        The unique ID to identify the Track.
      • getTrackType

        public final byte getTrackType()

        Gets the type of a track.

        Returns:
        The type of a track.
      • getFlagEnabled

        public final boolean getFlagEnabled()

        Gets the enabled flag, true if the track is usable.

        Returns:
        The enabled flag.
      • getDefaultDuration

        public final Long getDefaultDuration()

        Gets the number of nanoseconds (not scaled via MatroskaSegmentInfoMetadata.TimecodeScale) per frame.

        Returns:
        The number of nanoseconds (not scaled via MatroskaSegmentInfoMetadata.TimecodeScale) per frame.


        Note: 'frame' in the Matroska sense -- one Element put into a (Simple)Block.

      • getName

        public final String getName()

        Gets the human-readable track name.

        Returns:
        The human-readable track name.
      • getLanguage

        public final String getLanguage()

        Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the LanguageIetf Element is used in the same TrackEntry.

        Returns:
        The language of the track in the Matroska languages form.


        Language codes can be either the 3 letters bibliographic ISO-639-2 form (like "fre" for french), or such a language code followed by a dash and a country code for specialities in languages(like "fre-ca" for Canadian French). Country codes are the same as used for internet domains.

      • getLanguageIetf

        public final String getLanguageIetf()

        Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any Language Elements used in the same TrackEntry MUST be ignored.

        Returns:
        The language of the track according to BCP 47 and using the IANA Language Subtag Registry.
      • getCodecId

        public final String getCodecId()

        Gets an ID corresponding to the codec.

        Returns:
        An ID corresponding to the codec.


        See the http://www.matroska.org/technical/specs/codecid/index.html codec page for more info.

      • getCodecName

        public final String getCodecName()

        Gets a human-readable string specifying the codec.

        Returns:
        A human-readable string specifying the codec.