| Package | Description |
|---|---|
| org.monte.media |
Defines a framework for media processing and provides default implementations.
|
| org.monte.media.avi |
Provides media handlers for the AVI file format.
|
| org.monte.media.math |
Provides math classes.
|
| org.monte.media.quicktime |
Provides media handlers for the QuickTime 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 |
MovieReader.getDuration()
Returns the total duration of the movie .
|
Rational |
MovieWriter.getDuration(int track)
Returns the duration of the track in seconds.
|
Rational |
MovieReader.getDuration(int track)
Returns the duration of the specified track.
|
Rational |
MovieReader.getReadTime(int track)
Returns the current time of the track.
|
Rational |
MovieReader.sampleToTime(int track,
long sample)
Returns the time for the specified sample number.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MovieReader.setMovieReadTime(Rational newValue)
Sets the read time of all tracks to the closest sync sample before or
at the specified time.
|
long |
MovieReader.timeToSample(int track,
Rational seconds)
Returns the sample number for the specified time.
|
| Modifier and Type | Method and Description |
|---|---|
Rational |
AVIWriter.getDuration(int track)
Returns the media duration 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(BigInteger num,
BigInteger den) |
static Rational |
Rational.valueOf(double d) |
static Rational |
Rational.valueOf(long num,
long den) |
static Rational |
Rational.valueOf(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 |
QuickTimeWriter.getDuration(int track)
Returns the sampleDuration of the track in seconds.
|
Copyright © 2017. All Rights Reserved.