ffmpeg Node icon

ffmpeg Node

n8n Node for some Ffmpeg functionality

Actions11

Overview

This node provides video processing capabilities using ffmpeg, specifically supporting an operation to combine audio with a video. The "Combine Audio To Video" operation allows users to merge an audio track into an existing video file, producing a new video output that includes the added audio.

Common scenarios for this node include:

  • Adding background music or narration to silent videos.
  • Replacing or overlaying audio tracks in video files.
  • Combining separate audio and video sources into a single media file.

For example, you might have a recorded video without sound and a separate audio commentary track; this node can merge them into one video file with synchronized audio.

Properties

Name Meaning
Video Input A valid video URL or the name of the input binary field containing the video file to process.
Audio Input A valid audio URL or the name of the input binary field containing the audio file to add.
Video Output Name The name of the output binary field where the resulting video file (with combined audio) will be stored.

Output

The node outputs a binary data field containing the processed video file with the combined audio track. This output is accessible under the specified "Video Output Name" property. The json output typically contains metadata about the processed file or success status, but the main content is the binary video data ready for further use or download.

Dependencies

  • Requires an API key credential for accessing the underlying ffmpeg service.
  • Depends on the ffmpeg backend service configured within n8n to perform video and audio processing.
  • Input video and audio can be provided either as URLs or as binary data fields within the workflow.

Troubleshooting

  • Invalid Input URLs or Binary Fields: Ensure that the video and audio inputs are correctly specified as valid URLs or existing binary fields. Incorrect references will cause processing failures.
  • Unsupported Media Formats: The node relies on ffmpeg's supported formats. Using unsupported video or audio formats may result in errors.
  • Missing API Credential: The node requires a valid API authentication token for the ffmpeg service. Missing or invalid credentials will prevent execution.
  • Output Field Conflicts: Make sure the output binary field name does not conflict with existing fields to avoid overwriting important data.

Links and References

Discussion