com.googlecode.mp4parser.authoring.tracks
Class ChangeTimeScaleTrack

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

public class ChangeTimeScaleTrack
extends Object
implements Track

Changes the timescale of a track by wrapping the track.


Constructor Summary
ChangeTimeScaleTrack(Track source, long timeScale)
           
 
Method Summary
 List<CompositionTimeToSample.Entry> getCompositionTimeEntries()
           
 List<TimeToSampleBox.Entry> getDecodingTimeEntries()
           
 String getHandler()
           
 AbstractMediaHeaderBox getMediaHeaderBox()
           
 List<SampleDependencyTypeBox.Entry> getSampleDependencies()
           
 SampleDescriptionBox getSampleDescriptionBox()
           
 List<ByteBuffer> getSamples()
           
 long[] getSyncSamples()
           
 TrackMetaData getTrackMetaData()
           
 boolean isEnabled()
           
 boolean isInMovie()
           
 boolean isInPoster()
           
 boolean isInPreview()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeTimeScaleTrack

public ChangeTimeScaleTrack(Track source,
                            long timeScale)
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 AbstractMediaHeaderBox getMediaHeaderBox()
Specified by:
getMediaHeaderBox in interface Track


Copyright © 2012. All Rights Reserved.