Serializablepublic class EncodingAttributes extends Object implements Serializable
| Constructor | Description |
|---|---|
EncodingAttributes() |
| Modifier and Type | Method | Description |
|---|---|---|
AudioAttributes |
getAudioAttributes() |
Returns the attributes for the encoding of the audio stream in the target
multimedia file.
|
Float |
getDuration() |
Returns the duration (seconds) of the re-encoded stream.
|
String |
getFormat() |
Returns the format name for the encoded target multimedia file.
|
Float |
getOffset() |
Returns the start offset time (seconds).
|
VideoAttributes |
getVideoAttributes() |
Returns the attributes for the encoding of the video stream in the target
multimedia file.
|
boolean |
isMapMetaData() |
|
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 |
setMapMetaData(boolean mapMetaData) |
Copy over meta data from original file to new output if possible
|
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 String getFormat()
public void setFormat(String format)
Encoder.getSupportedEncodingFormats().format - The format name for the encoded target multimedia file.public Float getOffset()
public void setOffset(Float offset)
offset - The start offset time (seconds).public Float getDuration()
public void setDuration(Float duration)
duration - The duration (seconds) of the re-encoded stream.public AudioAttributes getAudioAttributes()
public void setAudioAttributes(AudioAttributes audioAttributes)
audioAttributes - The attributes for the encoding of the audio
stream in the target multimedia file.public VideoAttributes getVideoAttributes()
public void setVideoAttributes(VideoAttributes videoAttributes)
videoAttributes - The attributes for the encoding of the video
stream in the target multimedia file.public boolean isMapMetaData()
public void setMapMetaData(boolean mapMetaData)
mapMetaData - the mapMetaData to setCopyright © 2019. All rights reserved.