Class MpegGlobalSeekInfo


  • public class MpegGlobalSeekInfo
    extends java.lang.Object
    Describes the seek info for a fragmented MP4 file
    • Field Summary

      Fields 
      Modifier and Type Field Description
      MpegSegmentEntry[] entries
      Size and duration information for each segment
      long[] fileOffsets
      Absolute file offset of each segment
      long[] timeOffsets
      Absolute timecode offset of each segment
      int timescale
      The value of the internal timecodes that corresponds to one second
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timescale

        public final int timescale
        The value of the internal timecodes that corresponds to one second
      • entries

        public final MpegSegmentEntry[] entries
        Size and duration information for each segment
      • timeOffsets

        public final long[] timeOffsets
        Absolute timecode offset of each segment
      • fileOffsets

        public final long[] fileOffsets
        Absolute file offset of each segment
    • Constructor Detail

      • MpegGlobalSeekInfo

        public MpegGlobalSeekInfo​(int timescale,
                                  long baseOffset,
                                  MpegSegmentEntry[] entries)
        Parameters:
        timescale - The value of the internal timecodes that corresponds to one second
        baseOffset - The file offset of the first segment
        entries - Size and duration information for each segment