Package adams.data.video
Class XuggleScreenRecorder
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.video.AbstractRecorder
-
- adams.data.video.AbstractFileBaseRecorder
-
- adams.data.video.AbstractVideoRecorder
-
- adams.data.video.AbstractScreenRecorder
-
- adams.data.video.XuggleScreenRecorder
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.SizeOfHandler
,Serializable
public class XuggleScreenRecorder extends AbstractScreenRecorder
Configures the com.github.fracpete.screencast4j.record.screen.XuggleScreenRecorder screen recorder.
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
-output <adams.core.io.PlaceholderFile> (property: output) The file to store the recorded output in. default: ${TMP}/screen.mp4
-frames-per-second <int> (property: framesPerSecond) The frames per second to use for recording. default: 25 minimum: 1
-x <int> (property: X) The X position on the screen (1-based). default: 1 minimum: 1
-y <int> (property: Y) The Y position on the screen (1-based). default: 1 minimum: 1
-width <int> (property: width) The width of the rectangle (-1 = remainder). default: -1 minimum: -1
-height <int> (property: height) The height of the rectangle (-1 = remainder). default: -1 minimum: -1
-capture-mouse <boolean> (property: captureMouse) If enabled, the mouse gets captured as well. default: false
- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.video.AbstractScreenRecorder
m_CaptureMouse, m_Height, m_Width, m_X, m_Y
-
Fields inherited from class adams.data.video.AbstractVideoRecorder
m_FramesPerSecond
-
Fields inherited from class adams.data.video.AbstractFileBaseRecorder
m_Output
-
-
Constructor Summary
Constructors Constructor Description XuggleScreenRecorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.github.fracpete.screencast4j.record.Recorder
doConfigure()
Returns a fully configured recorder instance.protected adams.core.io.PlaceholderFile
getDefaultOutput()
Returns the default output file to use.String
globalInfo()
Returns a string describing the object.-
Methods inherited from class adams.data.video.AbstractScreenRecorder
captureMouseTipText, defineOptions, getCaptureMouse, getHeight, getWidth, getX, getY, heightTipText, setCaptureMouse, setHeight, setWidth, setX, setY, widthTipText, XTipText, YTipText
-
Methods inherited from class adams.data.video.AbstractVideoRecorder
framesPerSecondTipText, getFramesPerSecond, setFramesPerSecond
-
Methods inherited from class adams.data.video.AbstractFileBaseRecorder
getOutput, outputTipText, setOutput
-
Methods inherited from class adams.data.video.AbstractRecorder
configure
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
getDefaultOutput
protected adams.core.io.PlaceholderFile getDefaultOutput()
Returns the default output file to use.- Specified by:
getDefaultOutput
in classAbstractFileBaseRecorder
- Returns:
- the default
-
doConfigure
protected com.github.fracpete.screencast4j.record.Recorder doConfigure()
Returns a fully configured recorder instance.- Specified by:
doConfigure
in classAbstractRecorder
- Returns:
- the new instance
-
-