Gets the scaled duration of the SEGMENT in milliseconds.
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:
byte[] - The unique 128 bit number identifying a SEGMENT.
getSegmentFilename()
public final String getSegmentFilename()
Gets the filename corresponding to this Segment.
Returns:
java.lang.String - 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:
long - The timecode scale value.
getDuration()
public final Double getDuration()
Gets the duration of the SEGMENT. Please see TimecodeScale for more information.
Returns:
java.lang.Double - 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:
java.util.Date - 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:
java.lang.String - 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:
java.lang.String - 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:
java.lang.String - 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:
java.lang.Double - The scaled duration of the SEGMENT in milliseconds.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.