public class EncodingAttributes extends Object implements Serializable
| Constructor and Description |
|---|
EncodingAttributes() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAudioAttributes(AudioAttributes audioAttributes)
Sets the attributes for the encoding of the audio stream in the target
multimedia file.
|
void |
setDuration(Float duration)
Sets the duration (seconds) of the re-encoded stream.
|
void |
setFormat(String format)
Sets the format name for the encoded target multimedia file.
|
void |
setOffset(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.
|
String |
toString() |
public void setFormat(String format)
Encoder.getSupportedEncodingFormats().format - The format name for the encoded target multimedia file.public void setOffset(Float offset)
offset - The start offset time (seconds).public void setDuration(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.Copyright © 2018. All rights reserved.