com.googlecode.mp4parser.authoring.tracks
Class ReplaceSampleTrack

java.lang.Object
  extended by com.googlecode.mp4parser.authoring.AbstractTrack
      extended by com.googlecode.mp4parser.authoring.tracks.ReplaceSampleTrack
All Implemented Interfaces:
Track

public class ReplaceSampleTrack
extends AbstractTrack

Generates a Track where a single sample has been replaced by a given ByteBuffer.


Constructor Summary
ReplaceSampleTrack(Track origTrack, long sampleNumber, ByteBuffer content)
           
 
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

ReplaceSampleTrack

public ReplaceSampleTrack(Track origTrack,
                          long sampleNumber,
                          ByteBuffer content)
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.