Interface SilenceDetectionService


public interface SilenceDetectionService
SilenceDetectionService detect silent seqences in audio tracks.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    ServiceRegistry job type.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opencastproject.job.api.Job
    detect(org.opencastproject.mediapackage.Track sourceTrack)
    Run silence detection on audio (visual) file.
    org.opencastproject.job.api.Job
    detect(org.opencastproject.mediapackage.Track sourceTrack, org.opencastproject.mediapackage.Track[] referenceTracks)
    Run silence detection on audio (visual) file.
  • Field Details

  • Method Details

    • detect

      org.opencastproject.job.api.Job detect(org.opencastproject.mediapackage.Track sourceTrack) throws SilenceDetectionFailedException
      Run silence detection on audio (visual) file.
      Parameters:
      sourceTrack - track to detect non silent segments from
      Returns:
      Job detection job
      Throws:
      SilenceDetectionFailedException - if fails
    • detect

      org.opencastproject.job.api.Job detect(org.opencastproject.mediapackage.Track sourceTrack, org.opencastproject.mediapackage.Track[] referenceTracks) throws SilenceDetectionFailedException
      Run silence detection on audio (visual) file.
      Parameters:
      sourceTrack - track to detect non silent segments from
      referenceTracks - tracks to reference in smil file instead of sourceTrack
      Returns:
      Job detection job
      Throws:
      SilenceDetectionFailedException - if fails