public class MatroskaTrack extends MatroskaBasePackage
Represents track metadata in a Matroska video.
Learn more
Modifier and Type | Method and Description |
---|---|
String |
getCodecID()
Gets an ID corresponding to the codec.
|
String |
getCodecName()
Gets a human-readable string specifying the codec.
|
Long |
getDefaultDuration()
Gets the number of nanoseconds (not scaled via
MatroskaSegment.TimecodeScale ) per frame. |
boolean |
getFlagEnabled()
Gets the enabled flag, true if the track is usable.
|
String |
getLanguage()
Gets the language of the track in the Matroska languages form.
|
String |
getLanguageIetf()
Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry.
|
String |
getName()
Gets the human-readable track name.
|
long |
getTrackNumber()
Gets the track number as used in the Block Header.
|
MatroskaTrackType |
getTrackType()
Gets the type of the track.
|
long |
getTrackUid()
Gets the unique ID to identify the Track.
|
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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.
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.
public final MatroskaTrackType getTrackType()
Gets the type of the track.
public final boolean getFlagEnabled()
Gets the enabled flag, true if the track is usable.
public final Long getDefaultDuration()
Gets the number of nanoseconds (not scaled via MatroskaSegment.TimecodeScale
) per frame.
MatroskaSegment.TimecodeScale
) per frame.public final String getName()
Gets the human-readable track name.
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.
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.
public final String getCodecID()
Gets an ID corresponding to the codec.
public final String getCodecName()
Gets a human-readable string specifying the codec.