public class VideoAttributes
extends java.lang.Object
implements java.io.Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
DIRECT_STREAM_COPY
This value can be setted in the codec field to perform a direct stream
copy, without re-encoding of the audio stream.
|
| 构造器和说明 |
|---|
VideoAttributes() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setBitRate(java.lang.Integer bitRate)
Sets the bitrate value for the encoding process.
|
void |
setCodec(java.lang.String codec)
Sets the codec name for the encoding process.
|
void |
setFrameRate(java.lang.Integer frameRate)
Sets the frame rate value for the encoding process.
|
void |
setSize(VideoSize size)
Sets the video size for the encoding process.
|
void |
setTag(java.lang.String tag)
Sets the forced tag/fourcc value for the video stream.
|
java.lang.String |
toString() |
public static final java.lang.String DIRECT_STREAM_COPY
public void setCodec(java.lang.String codec)
Encoder.getVideoEncoders().
A special value can be picked from
DIRECT_STREAM_COPY.codec - The codec name for the encoding process.public void setTag(java.lang.String tag)
tag - The the forced tag/fourcc value for the video stream.public void setBitRate(java.lang.Integer bitRate)
bitRate - The bitrate value for the encoding process.public void setFrameRate(java.lang.Integer frameRate)
frameRate - The frame rate value for the encoding process.public void setSize(VideoSize size)
size - he video size for the encoding process.public java.lang.String toString()
toString 在类中 java.lang.ObjectCopyright © 2019. All Rights Reserved.