com.googlecode.mp4parser.authoring.tracks
Class DivideTimeScaleTrack

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

public class DivideTimeScaleTrack
extends Object
implements Track

Changes the timescale of a track by wrapping the track.


Constructor Summary
DivideTimeScaleTrack(Track source, int timeScaleDivisor)
           
 
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()
           
 boolean isEnabled()
           
 boolean isInMovie()
           
 boolean isInPoster()
           
 boolean isInPreview()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DivideTimeScaleTrack

public DivideTimeScaleTrack(Track source,
                            int timeScaleDivisor)
Method Detail

getSampleDescriptionBox

public SampleDescriptionBox getSampleDescriptionBox()
Specified by:
getSampleDescriptionBox in interface Track

getDecodingTimeEntries

public List<TimeToSampleBox.Entry> getDecodingTimeEntries()
Specified by:
getDecodingTimeEntries in interface Track

getCompositionTimeEntries

public List<CompositionTimeToSample.Entry> getCompositionTimeEntries()
Specified by:
getCompositionTimeEntries in interface Track

getSyncSamples

public long[] getSyncSamples()
Specified by:
getSyncSamples in interface Track

getSampleDependencies

public List<SampleDependencyTypeBox.Entry> getSampleDependencies()
Specified by:
getSampleDependencies in interface Track

getTrackMetaData

public TrackMetaData getTrackMetaData()
Specified by:
getTrackMetaData in interface Track

getHandler

public String getHandler()
Specified by:
getHandler in interface Track

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface Track

isInMovie

public boolean isInMovie()
Specified by:
isInMovie in interface Track

isInPreview

public boolean isInPreview()
Specified by:
isInPreview in interface Track

isInPoster

public boolean isInPoster()
Specified by:
isInPoster in interface Track

getSamples

public List<ByteBuffer> getSamples()
Specified by:
getSamples in interface Track

getMediaHeaderBox

public Box getMediaHeaderBox()
Specified by:
getMediaHeaderBox in interface Track

getSubsampleInformationBox

public SubSampleInformationBox getSubsampleInformationBox()
Specified by:
getSubsampleInformationBox in interface Track

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.