Class WhisperCppEngine

java.lang.Object
org.opencastproject.speechtotext.impl.engine.WhisperCppEngine
All Implemented Interfaces:
SpeechToTextEngine

public class WhisperCppEngine extends Object implements SpeechToTextEngine
WhisperC++ implementation of the Speech-to-text engine interface.
  • Field Details

    • WHISPERCPP_EXECUTABLE_DEFAULT_PATH

      public static final String WHISPERCPP_EXECUTABLE_DEFAULT_PATH
      Default path to WhisperC++.
      See Also:
    • WHISPERCPP_MODEL_DEFAULT

      public static final String WHISPERCPP_MODEL_DEFAULT
      Default whispercpp model
      See Also:
    • FFMPEG_BINARY_CONFIG_KEY

      public static final String FFMPEG_BINARY_CONFIG_KEY
      The key to look for in the service configuration file to override the DEFAULT_FFMPEG_BINARY
      See Also:
    • DEFAULT_FFMPEG_BINARY

      public static final String DEFAULT_FFMPEG_BINARY
      The default path to the ffmpeg binary
      See Also:
    • ffmpegBinary

      protected String ffmpegBinary
      Path to the executable
  • Constructor Details

    • WhisperCppEngine

      public WhisperCppEngine()
  • Method Details