Class AVTrack
java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.util.mediainfo.MediaInfoTrack
com.peterphi.carbon.util.mediainfo.AVTrack
- Direct Known Subclasses:
AudioTrack
,VideoTrack
-
Field Summary
Fields inherited from class com.peterphi.carbon.type.XMLWrapper
element
-
Constructor Summary
-
Method Summary
Methods inherited from class com.peterphi.carbon.util.mediainfo.MediaInfoTrack
getDurationMillis, getOtherTrackType, getStartTimecode, getTrackType
Methods inherited from class com.peterphi.carbon.type.XMLWrapper
getAttribute, getElement, getElement, setAttribute
-
Constructor Details
-
AVTrack
public AVTrack(org.jdom2.Element track)
-
-
Method Details
-
getDelay
-
getSource
Get the file where this track can be found (or null if this information is not available)- Returns:
-
getCodecID
Get the track's Codec_ID field (or null if this information is not available)- Returns:
-
getSamples
protected abstract long getSamples() -
getRate
-
getSampleCount
-
getDelayInMicroseconds
protected long getDelayInMicroseconds() -
getBitRate
public long getBitRate()
-