com.googlecode.mp4parser.authoring.tracks
Class CroppedTrack
java.lang.Object
com.googlecode.mp4parser.authoring.AbstractTrack
com.googlecode.mp4parser.authoring.tracks.CroppedTrack
- All Implemented Interfaces:
- Track
public class CroppedTrack
- 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 this is every single sample
- In H264 this is every sample that is marked in the SyncSampleBox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CroppedTrack
public CroppedTrack(Track origTrack,
long fromSample,
long toSample)
getSamples
public List<ByteBuffer> getSamples()
getSampleDescriptionBox
public SampleDescriptionBox getSampleDescriptionBox()
getDecodingTimeEntries
public List<TimeToSampleBox.Entry> getDecodingTimeEntries()
getCompositionTimeEntries
public List<CompositionTimeToSample.Entry> getCompositionTimeEntries()
getSyncSamples
public long[] getSyncSamples()
getSampleDependencies
public List<SampleDependencyTypeBox.Entry> getSampleDependencies()
getTrackMetaData
public TrackMetaData getTrackMetaData()
getHandler
public String getHandler()
getMediaHeaderBox
public Box getMediaHeaderBox()
getSubsampleInformationBox
public SubSampleInformationBox getSubsampleInformationBox()
Copyright © 2012. All Rights Reserved.