com.sun.media.jfxmedia.Media
| Modifier and Type | Field and Description |
|---|---|
| private float | |
| private VideoResolution | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | VideoTrack(boolean
Whether this track is enabled by default or not (if the container supports it) enabled, long A unique identifier for this track. trackID, String The name of the track. name, Locale The language information for this track, can be null. locale, Track.The encoding of the track. encoding,The dimensions of the video frames in the track. frameSize, float The encoded frame rate of the track. encodedFrameRate, boolean Whether the video frames contain an alpha channel. hasAlphaChannel)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public float | Returns: The frame rate at which the video was encoded.Retrieve the encoded video frame rate. |
| public VideoResolution | Returns: The video frame size.Retrieve the dimensions of the video frames in the track. |
| public boolean | Returns: Whether video has alpha channel.Retrieve whether the video frames contain an alpha channel. |
| public final String |
| encodedFrameRate | back to summary |
|---|---|
| private float encodedFrameRate | |
| frameSize | back to summary |
|---|---|
| private VideoResolution frameSize | |
| hasAlphaChannel | back to summary |
|---|---|
| private boolean hasAlphaChannel | |
| VideoTrack | back to summary |
|---|---|
| public VideoTrack(boolean enabled, long trackID, String name, Locale locale, Track. Constructor.
| |
| getEncodedFrameRate | back to summary |
|---|---|
| public float getEncodedFrameRate() Retrieve the encoded video frame rate. Note that this may differ from the frame rate at which the track may be played. *
| |
| getFrameSize | back to summary |
|---|---|
| public VideoResolution getFrameSize() Retrieve the dimensions of the video frames in the track.
| |
| hasAlphaChannel | back to summary |
|---|---|
| public boolean hasAlphaChannel() Retrieve whether the video frames contain an alpha channel.
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |