|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.teamdev.jxcapture.BaseEncodingParameters
com.teamdev.jxcapture.EncodingParameters
public class EncodingParameters
Settings for video encoding.
Constructor Summary | |
---|---|
EncodingParameters()
Creates new instance of encoding settings with default (uninitialized) values. |
|
EncodingParameters(EncodingParameters that)
Creates copy instance of encoding settings. |
|
EncodingParameters(java.io.File outputFile)
Creates new instance of encoding settigs. |
Method Summary | |
---|---|
AudioEncodingParameters |
getAudioEncoding()
Returns specified audio encoding settings. |
CompressionQuality |
getCompressionQuality()
Returns the specified CompressionQuality for output. |
protected java.lang.StringBuilder |
getDebugInfo()
|
Framerate |
getFramerate()
Returns the specified encoding framerate. |
InterpolationMode |
getInterpolationMode()
Returns the specified InterpolationMode . |
java.lang.Integer |
getKeyFrameInterval()
Returns specified key frame interval in seconds. |
java.io.File |
getOutputFile()
Returns the specified output file. |
java.awt.Dimension |
getSize()
Returns the specified output video size. |
void |
setAudioEncoding(AudioEncodingParameters audioEncoding)
Specify audio encoding parameters. |
void |
setCompressionQuality(CompressionQuality compressionQuality)
Specifies new CompressionQuality for output. |
void |
setFramerate(Framerate value)
Specifies a required encoding framerate in frames per second (FPS) units. |
void |
setFramerate(int value)
Specifies a required encoding framerate in frames per second (FPS) units. |
void |
setInterpolationMode(InterpolationMode interpolationMode)
Specifies new InterpolationMode . |
void |
setKeyFrameInterval(java.lang.Integer keyFrameInterval)
Specify key frame interval in seconds. |
void |
setOutputFile(java.io.File outputFile)
Specifies output file. |
void |
setSize(java.awt.Dimension size)
Specifies output video size. |
Methods inherited from class com.teamdev.jxcapture.BaseEncodingParameters |
---|
getBitrate, getBitrateMode, getCodec, setBitrate, setBitrateMode, setCodec, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EncodingParameters()
public EncodingParameters(EncodingParameters that)
that
- another settings instancepublic EncodingParameters(java.io.File outputFile)
outputFile
- output fileMethod Detail |
---|
public java.io.File getOutputFile()
public void setOutputFile(java.io.File outputFile)
outputFile
- output filepublic AudioEncodingParameters getAudioEncoding()
public void setAudioEncoding(AudioEncodingParameters audioEncoding)
audioEncoding
- audio encodingpublic Framerate getFramerate()
public void setFramerate(int value)
value
- required framrate value in FPS units
java.lang.IllegalArgumentException
- if a specified framerate is less than zeropublic void setFramerate(Framerate value)
value
- required framrate value in FPS unitspublic java.lang.Integer getKeyFrameInterval()
public void setKeyFrameInterval(java.lang.Integer keyFrameInterval)
keyFrameInterval
- specifies the required key frame intervalpublic java.awt.Dimension getSize()
public void setSize(java.awt.Dimension size)
size
- output video sizepublic CompressionQuality getCompressionQuality()
CompressionQuality
for output.
public void setCompressionQuality(CompressionQuality compressionQuality)
CompressionQuality
for output.
compressionQuality
- compression qualitypublic InterpolationMode getInterpolationMode()
InterpolationMode
.
public void setInterpolationMode(InterpolationMode interpolationMode)
InterpolationMode
.
interpolationMode
- required interpolation mode for resizingprotected java.lang.StringBuilder getDebugInfo()
getDebugInfo
in class BaseEncodingParameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |