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
 java.util.List<CompositionTimeToSample.Entry> getCompositionTimeEntries()
           
 java.util.List<TimeToSampleBox.Entry> getDecodingTimeEntries()
           
 java.lang.String getHandler()
           
 AbstractMediaHeaderBox getMediaHeaderBox()
           
 java.util.List<SampleDependencyTypeBox.Entry> getSampleDependencies()
           
 SampleDescriptionBox getSampleDescriptionBox()
           
 java.util.List<java.nio.ByteBuffer> getSamples()
           
 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 java.util.List<java.nio.ByteBuffer> getSamples()

getSampleDescriptionBox

public SampleDescriptionBox getSampleDescriptionBox()

getDecodingTimeEntries

public java.util.List<TimeToSampleBox.Entry> getDecodingTimeEntries()

getCompositionTimeEntries

public java.util.List<CompositionTimeToSample.Entry> getCompositionTimeEntries()

getSyncSamples

public long[] getSyncSamples()

getSampleDependencies

public java.util.List<SampleDependencyTypeBox.Entry> getSampleDependencies()

getTrackMetaData

public TrackMetaData getTrackMetaData()

getHandler

public java.lang.String getHandler()

getMediaHeaderBox

public AbstractMediaHeaderBox getMediaHeaderBox()


Copyright © 2012. All Rights Reserved.