Package org.mp4parser.muxer.builder
Class StaticFragmentIntersectionFinderImpl
- java.lang.Object
-
- org.mp4parser.muxer.builder.StaticFragmentIntersectionFinderImpl
-
- All Implemented Interfaces:
Fragmenter
public class StaticFragmentIntersectionFinderImpl extends Object implements Fragmenter
Uses a predefined list of sample numbers to divide up a track.
-
-
Constructor Summary
Constructors Constructor Description StaticFragmentIntersectionFinderImpl(Map<Track,long[]> sampleNumbers)
-
Method Summary
Modifier and Type Method Description long[]sampleNumbers(Track track)Gets the ordinal number of the samples which will be the first sample in each fragment (First sample == 1).
-
-
-
Method Detail
-
sampleNumbers
public long[] sampleNumbers(Track track)
Description copied from interface:FragmenterGets the ordinal number of the samples which will be the first sample in each fragment (First sample == 1).- Specified by:
sampleNumbersin interfaceFragmenter- Parameters:
track- concerned track- Returns:
- an array containing the ordinal of each fragment's first sample
-
-