Class DefaultFragmenterImpl

  • All Implemented Interfaces:
    Fragmenter

    public class DefaultFragmenterImpl
    extends Object
    implements Fragmenter
    This FragmentIntersectionFinder cuts the input movie in 2 second snippets.
    • Constructor Detail

      • DefaultFragmenterImpl

        public DefaultFragmenterImpl​(double fragmentLength)
    • Method Detail

      • main

        public static void main​(String[] args)
      • sampleNumbers

        public long[] sampleNumbers​(Track track)
        Gets the ordinal number of the samples which will be the first sample in each fragment (First sample == 1).
        Specified by:
        sampleNumbers in interface Fragmenter
        Parameters:
        track - concerned track
        Returns:
        an array containing the ordinal of each fragment's first sample