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, a user might have a video recording 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 combined video file will be stored.

Output

The node outputs a binary file representing the video with the newly combined audio track. This output is stored in the specified output binary field (default name: data). The JSON output typically contains metadata about the processed item, but the main result is the binary video data ready for further use or export.

Dependencies

  • Requires an API key credential for accessing the underlying ffmpeg service.
  • Depends on ffmpeg functionality exposed via an external API or service configured within n8n.
  • The node expects valid URLs or binary fields containing media files as inputs.

Troubleshooting

  • Invalid Input URLs or Binary Fields: Ensure that the provided video and audio inputs are accessible and correctly referenced. Invalid URLs or missing binary data will cause processing failures.
  • Unsupported Media Formats: The node relies on ffmpeg's supported formats. Using unsupported video or audio codecs may lead to errors.
  • API Authentication Errors: Verify that the API key credential is correctly set up and has necessary permissions.
  • 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