Class SarxosWebcamRecorder

  • 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 SarxosWebcamRecorder
    extends AbstractWebcamRecorder
    Configures the com.github.fracpete.screencast4j.record.webcam.SarxosWebcamRecorder webcam 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}/webcam.mp4
     
    -frames-per-second <int> (property: framesPerSecond)
        The frames per second to use for recording.
        default: 25
        minimum: 1
     
    -id <java.lang.String> (property: ID)
        The ID of the webcam to use (use empty string for the default one).
        default: 
     
    -width <int> (property: width)
        The width of the webcam.
        default: 320
        minimum: 1
     
    -height <int> (property: height)
        The height of the webcam.
        default: 240
        minimum: 1
     
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • SarxosWebcamRecorder

        public SarxosWebcamRecorder()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.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 class AbstractFileBaseRecorder
        Returns:
        the default
      • doConfigure

        protected com.github.fracpete.screencast4j.record.Recorder doConfigure()
        Returns a fully configured recorder instance.
        Specified by:
        doConfigure in class AbstractRecorder
        Returns:
        the new instance