Better FFmpeg icon

Better FFmpeg

Run FFmpeg media operations

Audio FX → Channel Mapping

AI-generated

Summary

Map or collapse audio channels in an audio file using specified operations.

Inputs

  • ffmpegPath — Path to the FFmpeg binary, defaulting to 'ffmpeg'.
  • ffprobePath — Path to the FFprobe binary, defaulting to 'ffprobe'.
  • audioFxInput (required) — Path to the input audio or video file.
  • chanOp (required) — Select the channel operation: Stereo to Mono (Average), Channel Map, or Stereo Widen.
  • channelMapStr — Mapping string for channel mapping, e.g., 'FL-FR|FR-FL', applicable if Channel Map is selected.
  • stereoWidenAmt — Amount to widen stereo image, between 0 and 1, applicable if Stereo Widen is selected.

Output shape

an output path for the processed audio file

The output file will be generated according to the selected channel operation and can involve various transformations based on the parameters provided.

Examples

Example 1: Convert stereo audio to mono by averaging channels.

Set chanOp to 'stereoToMono'.

Example 2: Rearrange the audio channels according to a specific mapping.

Set chanOp to 'channelmap' and provide a valid channelMapStr.

Example 3: Widen the stereo audio image.

Set chanOp to 'stereowiden' and define stereoWidenAmt.

Discussion