Package | Description |
---|---|
org.monte.media |
Defines a framework for media processing and provides default implementations.
|
org.monte.media.anim |
Provides media handlers for the ANIM file format.
|
org.monte.media.avi |
Provides media handlers for the AVI file format.
|
org.monte.media.converter |
Provides media handlers for the AVI file format.
|
org.monte.media.gui |
Provides graphical user interface components.
|
org.monte.media.imgseq |
Provides abstractions for image sequences represented by folders
with image files.
|
org.monte.media.math |
Provides math classes.
|
org.monte.media.quicktime |
Provides media handlers for the QuickTime file format.
|
org.monte.media.tiff |
Provides media handlers for the TIFF file format.
|
Modifier and Type | Field and Description |
---|---|
Rational |
Buffer.sampleDuration
Duration of a sample in seconds.
|
Rational |
Buffer.timeStamp
The time stamp of this buffer in seconds.
|
Modifier and Type | Field and Description |
---|---|
static FormatKey<Rational> |
FormatKeys.FrameRateKey
The number of frames per second.
|
static FormatKey<Rational> |
VideoFormatKeys.PixelAspectRatioKey
The pixel aspect ratio WidthKey : HeightKey;
|
static FormatKey<Rational> |
AudioFormatKeys.SampleRateKey
The number of frames per second.
|
Modifier and Type | Method and Description |
---|---|
Rational |
DefaultMovie.getDuration() |
Rational |
Movie.getDuration()
Returns the total duration of the movie in seconds.
|
Rational |
MovieReader.getDuration()
Returns the total duration of the movie .
|
Rational |
MovieReader.getDuration(int track)
Returns the duration of the specified track.
|
Rational |
MovieWriter.getDuration(int track)
Returns the duration of the track in seconds.
|
Rational |
DefaultMovie.getInsertionPoint() |
Rational |
Movie.getInsertionPoint()
Returns the position of the insertion point in seconds.
|
Rational |
MovieReader.getReadTime(int track)
Returns the current time of the track.
|
Rational |
DefaultMovie.getSelectionEnd() |
Rational |
Movie.getSelectionEnd()
Returns the position of the out point in seconds.
|
Rational |
DefaultMovie.getSelectionStart() |
Rational |
Movie.getSelectionStart()
Returns the position of the in point in seconds.
|
Rational |
DefaultMovie.sampleToTime(int track,
long sample) |
Rational |
Movie.sampleToTime(int track,
long sample) |
Rational |
MovieReader.sampleToTime(int track,
long sample)
Returns the time for the specified sample number.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultMovie.setInsertionPoint(Rational newValue) |
void |
Movie.setInsertionPoint(Rational seconds)
Sets the position of the insertion point in seconds.
|
void |
MovieReader.setMovieReadTime(Rational newValue)
Sets the read time of all tracks to the closest sync sample before or
at the specified time.
|
void |
DefaultMovie.setSelectionEnd(Rational newValue) |
void |
Movie.setSelectionEnd(Rational out)
Sets the position of the out point in seconds.
|
void |
DefaultMovie.setSelectionStart(Rational newValue) |
void |
Movie.setSelectionStart(Rational in)
Sets the position of the in point in seconds.
|
long |
DefaultMovie.timeToSample(int track,
Rational time) |
long |
Movie.timeToSample(int track,
Rational seconds)
Returns the frame number for the specified time in seconds.
|
long |
MovieReader.timeToSample(int track,
Rational seconds)
Returns the sample number for the specified time.
|
Modifier and Type | Field and Description |
---|---|
protected Rational |
ANIMMultiplexer.inputTime |
Modifier and Type | Method and Description |
---|---|
Rational |
ANIMWriter.getDuration(int track) |
Modifier and Type | Method and Description |
---|---|
Rational |
AVIReader.getDuration() |
Rational |
AVIReader.getDuration(int track) |
Rational |
AVIWriter.getDuration(int track)
Returns the media duration of the track in seconds.
|
Rational |
AVIReader.getReadTime(int track) |
Rational |
AVIReader.sampleToTime(int track,
long sampleIndex) |
Modifier and Type | Method and Description |
---|---|
void |
AVIReader.setMovieReadTime(Rational newValue) |
long |
AVIReader.timeToSample(int track,
Rational time) |
Modifier and Type | Method and Description |
---|---|
Rational |
TrimTimeCodec.getEndTime() |
Rational |
AdjustTimeCodec.getMediaTime() |
Rational |
TrimTimeCodec.getStartTime() |
Modifier and Type | Method and Description |
---|---|
void |
TrimTimeCodec.setEndTime(Rational newValue)
Sets the end time of the buffers.
|
void |
AdjustTimeCodec.setMediaTime(Rational mediaTime) |
void |
TrimTimeCodec.setStartTime(Rational newValue)
Sets the start time of the buffers.
|
Modifier and Type | Method and Description |
---|---|
protected Rational |
JTimelineEditor.posToTime(int pos) |
Modifier and Type | Method and Description |
---|---|
protected int |
JTimelineEditor.timeToPos(Rational time) |
Modifier and Type | Method and Description |
---|---|
Rational |
ImageSequenceWriter.getDuration(int track)
Returns the sampleDuration of the track in seconds.
|
Modifier and Type | Field and Description |
---|---|
static Rational |
Rational.ONE |
static Rational |
Rational.ZERO |
Modifier and Type | Method and Description |
---|---|
Rational |
Rational.add(Rational that) |
Rational |
Rational.ceil(long d)
Returns the closest rational with the specified denominator which is
greater or equal than this number.
|
Rational |
Rational.divide(Rational that) |
Rational |
Rational.floor(long d)
Returns the closest rational with the specified denominator which is
smaller or equal than this number.
|
Rational |
Rational.inverse() |
static Rational |
Rational.max(Rational a,
Rational b) |
static Rational |
Rational.min(Rational a,
Rational b) |
Rational |
Rational.multiply(long integer) |
Rational |
Rational.multiply(Rational that) |
Rational |
Rational.negate() |
Rational |
Rational.round(long d) |
Rational |
Rational.subtract(Rational that)
Warning.
|
static Rational |
Rational.valueOf(java.math.BigInteger num,
java.math.BigInteger den) |
static Rational |
Rational.valueOf(double d) |
static Rational |
Rational.valueOf(long num,
long den) |
static Rational |
Rational.valueOf(java.lang.String str)
Parses a string.
|
Modifier and Type | Method and Description |
---|---|
Rational |
Rational.add(Rational that) |
int |
Rational.compareTo(Rational that)
return { -1, 0, +1 } if a < b, a = b, or a > b.
|
Rational |
Rational.divide(Rational that) |
static Rational |
Rational.max(Rational a,
Rational b) |
static Rational |
Rational.min(Rational a,
Rational b) |
Rational |
Rational.multiply(Rational that) |
Rational |
Rational.subtract(Rational that)
Warning.
|
Constructor and Description |
---|
Rational(Rational r) |
Modifier and Type | Field and Description |
---|---|
protected Rational |
AbstractQuickTimeStream.Track.inputTime
Start time of the first buffer that was added to the track.
|
protected Rational |
AbstractQuickTimeStream.Track.writeTime
Current write time.
|
Modifier and Type | Method and Description |
---|---|
Rational |
QuickTimeReader.getDuration() |
Rational |
QuickTimeReader.getDuration(int track) |
Rational |
QuickTimeWriter.getDuration(int track)
Returns the sampleDuration of the track in seconds.
|
Rational |
QuickTimeReader.getReadTime(int track) |
Rational |
QuickTimeReader.sampleToTime(int track,
long sample) |
Modifier and Type | Method and Description |
---|---|
void |
QuickTimeReader.setMovieReadTime(Rational newValue) |
long |
QuickTimeReader.timeToSample(int track,
Rational seconds) |
Modifier and Type | Method and Description |
---|---|
Rational |
TIFFInputStream.readRATIONAL(long offset)
Reads a RATIONAL number at the specified offset.
|
Rational[] |
TIFFInputStream.readRATIONAL(long offset,
long count)
Reads the specified number of RATIONALs at the specified offset.
|
Rational |
TIFFInputStream.readSRATIONAL(long offset)
Reads a RATIONAL number at the specified offset.
|
Rational[] |
TIFFInputStream.readSRATIONAL(long offset,
long count)
Reads the specified number of RATIONALs at the specified offset.
|