public class AbstractQuickTimeStream
extends java.lang.Object
FIXME - Separation between AbstractQuickTimeStream and QuickTimeOutputStream is not clean. Move write methods in the track classes down to QuickTimeOutputStream.
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractQuickTimeStream.Atom
Atom base class.
|
protected class |
AbstractQuickTimeStream.AudioTrack |
protected static class |
AbstractQuickTimeStream.Chunk
Groups consecutive samples with the same sample description Id and with
adjacent offsets in the movie file.
|
protected class |
AbstractQuickTimeStream.CompositeAtom
A CompositeAtom contains an ordered list of Atoms.
|
protected class |
AbstractQuickTimeStream.DataAtom
Data Atom.
|
static class |
AbstractQuickTimeStream.Edit
An
Edit define the portions of the media that are to be used to
build up a track for a movie. |
protected static class |
AbstractQuickTimeStream.Group
Groups consecutive samples with same characteristics.
|
protected static class |
AbstractQuickTimeStream.Sample
QuickTime stores media data in samples.
|
protected static class |
AbstractQuickTimeStream.SampleSizeGroup
Groups consecutive samples of the same size.
|
protected static class |
AbstractQuickTimeStream.States
The states of the movie output stream.
|
protected static class |
AbstractQuickTimeStream.TimeToSampleGroup
Groups consecutive smples of the same duration.
|
protected class |
AbstractQuickTimeStream.Track
Represents a track.
|
protected class |
AbstractQuickTimeStream.VideoTrack |
protected class |
AbstractQuickTimeStream.WideDataAtom
WideDataAtom can grow larger then 4 gigabytes.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
creationTime
Creation time of the movie.
|
protected long |
currentTime
The time value for current time position within the movie.
|
protected AbstractQuickTimeStream.WideDataAtom |
mdatAtom
This atom holds the media data.
|
protected long |
mdatOffset
Offset for the mdat atom.
|
protected java.util.Date |
modificationTime
Modification time of the movie.
|
protected AbstractQuickTimeStream.CompositeAtom |
moovAtom
This atom holds the moovie header.
|
protected double[] |
movieMatrix
The transformation matrix for the entire movie.
|
protected long |
movieTimeScale
The timeScale of the movie.
|
protected javax.imageio.stream.ImageOutputStream |
out
Underlying output stream.
|
protected long |
posterTime
The time value of the time of the movie poster.
|
protected double |
preferredRate
The preferred rate at which to play this movie.
|
protected double |
preferredVolume
The preferred volume of this movie’s sound.
|
protected long |
previewDuration
The duration of the movie preview in movie time scale units.
|
protected long |
previewTime
The time value in the movie at which the preview begins.
|
protected long |
selectionDuration
The duration of the current selection in movie time scale units.
|
protected long |
selectionTime
The time value for the start time of the current selection.
|
protected AbstractQuickTimeStream.States |
state
The current state of the movie output stream.
|
protected long |
streamOffset
The offset in the underlying ImageOutputStream.
|
protected java.util.ArrayList<AbstractQuickTimeStream.Track> |
tracks
The list of tracks in the movie.
|
Constructor and Description |
---|
AbstractQuickTimeStream() |
Modifier and Type | Method and Description |
---|---|
protected long |
getRelativeStreamPosition()
Gets the position relative to the beginning of the QuickTime stream.
|
protected static java.lang.String |
intToType(int id) |
protected void |
seekRelative(long newPosition)
Seeks relative to the beginning of the QuickTime stream.
|
protected static int |
typeToInt(java.lang.String str) |
protected javax.imageio.stream.ImageOutputStream out
protected long streamOffset
protected AbstractQuickTimeStream.WideDataAtom mdatAtom
protected long mdatOffset
protected AbstractQuickTimeStream.CompositeAtom moovAtom
protected java.util.Date creationTime
protected java.util.Date modificationTime
protected long movieTimeScale
protected double preferredRate
protected double preferredVolume
protected long previewTime
protected long previewDuration
protected long posterTime
protected long selectionTime
protected long selectionDuration
protected long currentTime
protected java.util.ArrayList<AbstractQuickTimeStream.Track> tracks
protected double[] movieMatrix
protected AbstractQuickTimeStream.States state
protected long getRelativeStreamPosition() throws java.io.IOException
Usually this value is equal to the stream position of the underlying ImageOutputStream, but can be larger if the underlying stream already contained data.
java.io.IOException
protected void seekRelative(long newPosition) throws java.io.IOException
Usually this equal to seeking in the underlying ImageOutputStream, but can be different if the underlying stream already contained data.
java.io.IOException
protected static int typeToInt(java.lang.String str)
protected static java.lang.String intToType(int id)