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 content.
  • Combining separate audio and video files into a single media file for easier distribution or playback.

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 audio embedded.

Properties

Name Meaning
Video Input A valid video URL or the name of the input binary field containing the video file.
Audio Input A valid audio URL or the name of the input binary field containing the audio file.
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 file containing the processed video with the combined audio track. This output is stored in the specified output binary field name. The json output typically contains metadata about the processed file or success status, but the main result 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 accessible URLs or valid binary fields. Incorrect paths or missing data will cause processing failures.
  • Unsupported Formats: The node relies on ffmpeg's supported formats. Using unsupported video or audio formats may lead to errors or unexpected results.
  • API Credential Issues: Missing or invalid API authentication tokens will prevent the node from executing. Verify that the required API key credential is properly configured.
  • Output Field Conflicts: Make sure the output binary field name does not conflict with existing fields in the workflow to avoid overwriting important data.

Links and References

Discussion