public class EncodingAttributes
extends java.lang.Object
implements java.io.Serializable
| 构造器和说明 |
|---|
EncodingAttributes() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setAudioAttributes(AudioAttributes audioAttributes)
Sets the attributes for the encoding of the audio stream in the target
multimedia file.
|
void |
setDuration(java.lang.Float duration)
Sets the duration (seconds) of the re-encoded stream.
|
void |
setFormat(java.lang.String format)
Sets the format name for the encoded target multimedia file.
|
void |
setOffset(java.lang.Float offset)
Sets the start offset time (seconds).
|
void |
setVideoAttributes(VideoAttributes videoAttributes)
Sets the attributes for the encoding of the video stream in the target
multimedia file.
|
java.lang.String |
toString() |
public void setFormat(java.lang.String format)
Encoder.getSupportedEncodingFormats().format - The format name for the encoded target multimedia file.public void setOffset(java.lang.Float offset)
offset - The start offset time (seconds).public void setDuration(java.lang.Float duration)
duration - The duration (seconds) of the re-encoded stream.public void setAudioAttributes(AudioAttributes audioAttributes)
audioAttributes - The attributes for the encoding of the audio stream in the
target multimedia file.public void setVideoAttributes(VideoAttributes videoAttributes)
videoAttributes - The attributes for the encoding of the video stream in the
target multimedia file.public java.lang.String toString()
toString 在类中 java.lang.ObjectCopyright © 2019. All Rights Reserved.