All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mp4parser.muxer.builder.StaticFragmentIntersectionFinderImpl Maven / Gradle / Ivy

Go to download

This package has a focus on file operation. It can read A/V data from Random Access Datasources

There is a newer version: 1.9.56
Show newest version
package org.mp4parser.muxer.builder;

import org.mp4parser.muxer.Track;

import java.util.Map;

/**
 * Uses a predefined list of sample numbers to divide up a track.
 */
public class StaticFragmentIntersectionFinderImpl implements Fragmenter {
    Map sampleNumbers;

    public StaticFragmentIntersectionFinderImpl(Map sampleNumbers) {
        this.sampleNumbers = sampleNumbers;
    }

    public long[] sampleNumbers(Track track) {
        return sampleNumbers.get(track);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy