adams.flow.sink.ffmpeg
Class GenericPlugin

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.flow.sink.ffmpeg.AbstractFFmpegPlugin
              extended by adams.flow.sink.ffmpeg.GenericPlugin
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, SizeOfHandler, Serializable

public class GenericPlugin
extends AbstractFFmpegPlugin

A generic plugin.

Version:
$Revision: 6161 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
Serialized Form

Field Summary
protected  String m_InputOptions
          input options to use for ffmpeg.
protected  String m_OutputOptions
          output options to use for ffmpeg.
 
Fields inherited from class adams.flow.sink.ffmpeg.AbstractFFmpegPlugin
m_AdditionalInputOptions, m_AdditionalOutputOptions, m_BitRate, m_FramesPerSecond, m_Input, m_Owner
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
GenericPlugin()
           
 
Method Summary
protected  String assembleInputOptions()
          Assembles the input command-line options.
protected  String assembleOutputOptions()
          Assembles the output command-line options.
 void defineOptions()
          Adds options to the internal list of options.
 String getInputOptions()
          Returns the input options to use.
 String getOutputOptions()
          Returns the output options to use.
 String globalInfo()
          Returns a string describing the object.
 String inputOptionsTipText()
          Returns the tip text for this property.
 String outputOptionsTipText()
          Returns the tip text for this property.
 void setInputOptions(String value)
          Sets the input options to use.
 void setOutputOptions(String value)
          Sets the output options to use.
 
Methods inherited from class adams.flow.sink.ffmpeg.AbstractFFmpegPlugin
bitRateTipText, execute, framesPerSecondTipText, getBitRate, getExecutable, getFramesPerSecond, getInput, getOwner, getQuickInfo, handleException, initialize, reset, setBitRate, setFramesPerSecond, setInput, setOwner, setUp
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString
 
Methods inherited from class adams.core.ConsoleObject
getDebugging, getSystemErr, getSystemOut, sizeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_InputOptions

protected String m_InputOptions
input options to use for ffmpeg.


m_OutputOptions

protected String m_OutputOptions
output options to use for ffmpeg.

Constructor Detail

GenericPlugin

public GenericPlugin()
Method Detail

globalInfo

public String globalInfo()
Returns a string describing the object.

Specified by:
globalInfo in class AbstractOptionHandler
Returns:
a description suitable for displaying in the gui

defineOptions

public void defineOptions()
Adds options to the internal list of options.

Specified by:
defineOptions in interface OptionHandler
Overrides:
defineOptions in class AbstractFFmpegPlugin

setInputOptions

public void setInputOptions(String value)
Sets the input options to use.

Parameters:
value - the options

getInputOptions

public String getInputOptions()
Returns the input options to use.

Returns:
the options

inputOptionsTipText

public String inputOptionsTipText()
Returns the tip text for this property.

Returns:
tip text for this property suitable for displaying in the GUI or for listing the options.

setOutputOptions

public void setOutputOptions(String value)
Sets the output options to use.

Parameters:
value - the options

getOutputOptions

public String getOutputOptions()
Returns the output options to use.

Returns:
the options

outputOptionsTipText

public String outputOptionsTipText()
Returns the tip text for this property.

Returns:
tip text for this property suitable for displaying in the GUI or for listing the options.

assembleInputOptions

protected String assembleInputOptions()
Assembles the input command-line options.

Specified by:
assembleInputOptions in class AbstractFFmpegPlugin
Returns:
the command-line

assembleOutputOptions

protected String assembleOutputOptions()
Assembles the output command-line options.

Specified by:
assembleOutputOptions in class AbstractFFmpegPlugin
Returns:
the command-line


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.