Interface Track

    • Method Detail

      • getSampleDurations

        long[] getSampleDurations()
        Each samples is covers a small time span in a video. This method returns the duration for each sample in track timescale. The array must contain exactly as many samples as getSamples() contains.
        Returns:
        an array of ticks
      • getDuration

        long getDuration()
        The duration of the track in track timescale. It's the sum of all samples' duration and does NOT include any edits.
        Returns:
        the track's duration
      • getSyncSamples

        long[] getSyncSamples()
      • getHandler

        String getHandler()
      • getSamples

        List<Sample> getSamples()
        The list of all samples.
        Returns:
        this track's samples
      • getName

        String getName()
        A name for identification purposes. Might return the underlying filename or network address or any other identifier. For informational/debug only. This is no metadata!
        Returns:
        the track's name