AIMC Media icon

AIMC Media

Media operations using FFmpeg.

Merge Video + Audio

AI-generated

Summary

Merge video and audio

Inputs

  • operation (required) — The media operation to perform (e.g., 'merge', 'convert')
  • inputMode — How to provide the input file: from a previous node (Binary), local file path, or download from URL
  • videoBinaryProperty — Name of the binary property that holds the video data
  • audioBinaryProperty — Name of the binary property that holds the audio data
  • videoFilePath — File system path to the video file
  • audioFilePath — File system path to the audio file
  • videoUrl — URL to download the video file from
  • audioUrl — URL to download the audio file from
  • outputMode — How to provide the output: binary data or a file path
  • outputBinaryProperty — Property name to store the output binary data
  • outputFilePath — File system path for the output file
  • outputFormat — Target output container format (e.g., mp4, mp3)
  • customOutputFormat — Custom output container identifier (e.g., mkv)
  • additionalOutputOptions — Additional FFmpeg command-line options, one per line

Output shape

An array of items

Each item contains metadata and, when outputMode is binary, a binary field with the resulting file. The array is returned directly.

Examples

Example 1: Merge a video URL with an audio file from a previous node and return binary data

Set operation to 'merge', inputMode to 'url', provide videoUrl and audioUrl, set outputMode to 'binary', choose outputBinaryProperty 'data', and leave additionalOutputOptions empty

Links

Discussion