|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sauronsoftware.jave.VideoAttributes
public class VideoAttributes
Attributes controlling the video encoding process.
Field Summary | |
---|---|
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. |
Constructor Summary | |
---|---|
VideoAttributes()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DIRECT_STREAM_COPY
Constructor Detail |
---|
public VideoAttributes()
Method Detail |
---|
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
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |