Class ClippedTrack

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Track

    public class ClippedTrack
    extends AbstractTrack
    Generates a Track that starts at fromSample and ends at toSample (exclusive). The user of this class has to make sure that the fromSample is a random access sample.
    • In AAC and most other audio formats this is every single sample
    • In H264 this is every sample that is marked in the SyncSampleBox