com.googlecode.mp4parser.authoring.tracks
Class CroppedTrack

java.lang.Object
  extended by com.googlecode.mp4parser.authoring.AbstractTrack
      extended by 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.


Constructor Summary
CroppedTrack(Track origTrack, long fromSample, long toSample)
           
 
Method Summary
 List<CompositionTimeToSample.Entry> getCompositionTimeEntries()
           
 List<TimeToSampleBox.Entry> getDecodingTimeEntries()
           
 String getHandler()
           
 Box getMediaHeaderBox()
           
 List<SampleDependencyTypeBox.Entry> getSampleDependencies()
           
 SampleDescriptionBox getSampleDescriptionBox()
           
 List<ByteBuffer> getSamples()
           
 SubSampleInformationBox getSubsampleInformationBox()
           
 long[] getSyncSamples()
           
 TrackMetaData getTrackMetaData()
           
 
Methods inherited from class com.googlecode.mp4parser.authoring.AbstractTrack
isEnabled, isInMovie, isInPoster, isInPreview, setEnabled, setInMovie, setInPoster, setInPreview
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CroppedTrack

public CroppedTrack(Track origTrack,
                    long fromSample,
                    long toSample)
Method Detail

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.