The AnalyzeAudioiWorkflowOperationHandler analyzes the first audio stream of a video or audio track through SoX ( and writes the result back to the given track.

This workflow operation handler can be used with audio and/or video files. At least one audio stream must be available otherwise nothing happens. Here are the internal steps done by the different inputs:

Used with Audio only file (forceTranscode is deactivated):

Used with Video file or with Audio only file with forceTranscode activated:

Example result track:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<track type="presentation/audio" id="audio">
  <tags />
  <checksum type="md5">46cb2e9df2e73756b0d96c33b1aaf055</checksum>
  <audio id="audio-1">
    <device />
    <encoder type="ADPCM" />
    <peakleveldb>-30</peakleveldb> <!-- NEW -->
    <rmsleveldb>-20</rmsleveldb> <!-- NEW -->
    <rmspeakdb>-10</rmspeakdb> <!-- NEW -->

Parameter Table

configuration keys example description default value
source-flavors "presentation/work,presenter/work" The "flavors" of the track to use as a source input EMPTY
source-flavor "presentation/work" The "flavor" of the track to use as a source input EMPTY
source-tags "engage,atom,rss" The "tag" of the track to use as a source input EMPTY
force-transcode "true" or "false" Whether to force transcoding the audio stream (This is needed when trying to strip an audio stream from an audio only video container, because SoX can not handle video formats, so it must be encoded to an audio format) FALSE

Operation Example

  description="Analyze audio stream">
    <configuration key="source-flavor">*/work</configuration>
    <configuration key="force-transcode">true</configuration>