Class MediaInfoTrack
java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.util.mediainfo.MediaInfoTrack
- Direct Known Subclasses:
AVTrack
-
Field Summary
Fields inherited from class com.peterphi.carbon.type.XMLWrapper
element
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets duration of video track in milliseconds.Mediainfo classes tracks as audio/video/other in the track's 'type' attribute .Gets the start timecode of the video track in hh:mm:ss:ffMethods inherited from class com.peterphi.carbon.type.XMLWrapper
getAttribute, getElement, getElement, setAttribute
-
Constructor Details
-
MediaInfoTrack
public MediaInfoTrack(org.jdom2.Element element)
-
-
Method Details
-
getTrackType
-
getDurationMillis
public long getDurationMillis()Gets duration of video track in milliseconds.- Returns:
-
getOtherTrackType
Mediainfo classes tracks as audio/video/other in the track's 'type' attribute . Tracks of type 'other' have a further 'Type' classification presented as an element under the track -
getStartTimecode
Gets the start timecode of the video track in hh:mm:ss:ff
-