Serializablepublic class VideoAttributes extends Object implements Serializable
| Modifier and Type | Class | Description |
|---|---|---|
static class |
VideoAttributes.X264_PROFILE |
| Modifier and Type | Field | Description |
|---|---|---|
static 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.
|
| Constructor | Description |
|---|---|
VideoAttributes() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addFilter(VideoFilter videoFilter) |
|
Integer |
getQuality() |
|
ArrayList<VideoFilter> |
getVideoFilters() |
|
VideoAttributes.X264_PROFILE |
getX264Profile() |
|
boolean |
isFaststart() |
|
void |
setBitRate(Integer bitRate) |
Sets the bitrate value for the encoding process.
|
void |
setCodec(String codec) |
Sets the codec name for the encoding process.
|
void |
setFaststart(boolean faststart) |
|
void |
setFrameRate(Integer frameRate) |
Sets the frame rate value for the encoding process.
|
void |
setQuality(Integer quality) |
The video quality value for the encoding process.
|
void |
setSize(VideoSize size) |
Sets the video size for the encoding process.
|
void |
setTag(String tag) |
Sets the forced tag/fourcc value for the video stream.
|
void |
setX264Profile(VideoAttributes.X264_PROFILE x264Profile) |
|
String |
toString() |
public static final String DIRECT_STREAM_COPY
public VideoAttributes.X264_PROFILE getX264Profile()
public void setX264Profile(VideoAttributes.X264_PROFILE x264Profile)
x264Profile - the x264Profile to setpublic void setCodec(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(String tag)
tag - The the forced tag/fourcc value for the video stream.public void setBitRate(Integer bitRate)
bitRate - The bitrate value for the encoding process.public void setFrameRate(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 boolean isFaststart()
public void addFilter(VideoFilter videoFilter)
public ArrayList<VideoFilter> getVideoFilters()
public void setFaststart(boolean faststart)
faststart - the faststart to setpublic Integer getQuality()
public void setQuality(Integer quality)
quality - the quality to setCopyright © 2019. All rights reserved.