com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class MatroskaSegmentInfoMetadata

  • All Implemented Interfaces:
    Iterable<MetadataProperty>


    public class MatroskaSegmentInfoMetadata
    extends MatroskaBaseMetadata

    Represents SEGMENTINFO element containing general information about the SEGMENT in MatroskaFormat.

    • 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 a 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. The duration measured in nanoseconds is scaled and is thus equal to Duration * TimecodeScale.

        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.