com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Class MatroskaSegment

    • Method Detail

      • getSegmentUid

        public final byte[] getSegmentUid()

        Gets the unique 128 bit number identifying a SEGMENT. Obviously, a file can only be referred to by another file if a SEGMENTUID is present, however, playback is possible without that UID.

        Returns:
        The unique 128 bit number identifying a SEGMENT.
      • getSegmentFilename

        public final String getSegmentFilename()

        Gets the filename corresponding to this Segment.

        Returns:
        The filename corresponding to this Segment.
      • getTimecodeScale

        public final long getTimecodeScale()

        Gets the timecode scale value. Each scaled timecode in a MATROSKA file is multiplied by TIMECODESCALE to obtain the timecode in nanoseconds. Note that not all timecodes are scaled!

        Returns:
        The timecode scale value.
      • getDuration

        public final Double getDuration()

        Gets the duration of the SEGMENT. Please see TimecodeScale for more information.

        Returns:
        The duration of the SEGMENT.
      • getDateUtc

        public final Date getDateUtc()

        Gets the date and time that the Segment was created by the muxing application or library.

        Returns:
        The date and time that the Segment was created by the muxing application or library.
      • getTitle

        public final String getTitle()

        Gets the general name of the Segment.

        Returns:
        The general name of the Segment.
      • getMuxingApp

        public final String getMuxingApp()

        Gets the full name of the application or library followed by the version number.

        Returns:
        The full name of the application or library followed by the version number.
      • getWritingApp

        public final String getWritingApp()

        Gets the full name of the application followed by the version number.

        Returns:
        The full name of the application followed by the version number.
      • getScaledDuration

        public final Double getScaledDuration()

        Gets the scaled duration of the SEGMENT in milliseconds.

        Returns:
        The scaled duration of the SEGMENT in milliseconds.