Class MediaInfoTrack

java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.util.mediainfo.MediaInfoTrack
Direct Known Subclasses:
AVTrack

public class MediaInfoTrack extends XMLWrapper
  • Constructor Details

    • MediaInfoTrack

      public MediaInfoTrack(org.jdom2.Element element)
  • Method Details

    • getTrackType

      public String getTrackType()
    • getDurationMillis

      public long getDurationMillis()
      Gets duration of video track in milliseconds.
      Returns:
    • getOtherTrackType

      public String 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

      public String getStartTimecode()
      Gets the start timecode of the video track in hh:mm:ss:ff