CloudConvert icon

CloudConvert

Use CloudConvert to convert files, create thumbnails, merge files, add watermarks and more!

Command → Execute Command

AI-generated

Summary

Execute a custom command using the specified engine (FFmpeg, ImageMagick, or GraphicsMagick) on input files within CloudConvert, allowing detailed argument specification and optional console output capture.

Inputs

  • Authentication (required) — Choose between OAuth2 (recommended) or API Key authentication methods.
  • Binary Input Data — Set to true to use a binary input file from a specified binary property; false to use text content input.
  • Input File Contents (required) — Text content of the input file, required if Binary Input Data is false.
  • Input File Name (required) — Filename including extension for the input file, required if Binary Input Data is false.
  • Binary Property (required) — Name of the binary property containing the file data, used when Binary Input Data is true.
  • Engine (required) — Processing engine to use for the command: FFmpeg, ImageMagick, or GraphicsMagick.
  • Command (required) — The base command to execute, e.g., 'ffmpeg' or 'convert'.
  • Arguments — Arguments for the command, specifying input paths (accessible via /input/{taskName}/) and output paths (must write to /output/).
  • Capture Console Output — Enable to capture and return the command's console output in the node result.
  • Additional Options — JSON object with extra options added to the processing task for advanced configuration.

Output shape

a list of output items, each optionally containing binary data and JSON result

Each input item results in one or more output items depending on the command's exports. If console output capture is enabled, the JSON part includes the command's console output. Output files are provided as binary data. Errors will be thrown for missing required parameters or invalid JSON in additional options.

Links

Discussion