ffmpeg Node icon

ffmpeg Node

n8n Node for some Ffmpeg functionality

Actions11

Overview

This node provides various ffmpeg-related functionalities, including video processing tasks. Specifically, the "Combine Images" operation under the "Video Processing" resource allows users to create a video by combining multiple images sequentially. Each image is displayed for a specified duration in the resulting video.

Common scenarios where this node is beneficial include:

  • Creating slideshow videos from a list of images.
  • Generating time-lapse or stop-motion style videos.
  • Combining product images into a promotional video.

For example, a user can input a list of image URLs and specify that each image should be shown for 2 seconds, resulting in a video that cycles through all images with the given timing.

Properties

Name Meaning
Images Url List A required string containing a valid list of image URLs to be combined into a video.
Images Duration The duration (in seconds) each image will be displayed in the output video.

Output

The node outputs JSON data representing the result of the video processing operation. This typically includes metadata about the generated video file such as its location or URL.

If the node supports binary data output (e.g., the actual video file), it will be available in a binary field within the output. This binary data represents the combined video created from the input images.

Dependencies

  • Requires an API key credential for accessing the underlying ffmpeg service.
  • Depends on external ffmpeg functionality exposed via an API endpoint configured in n8n credentials.
  • The node internally uses a router mechanism to delegate execution to specific action handlers based on the selected resource and operation.

Troubleshooting

  • Invalid Image URLs: If the provided image URLs are invalid or inaccessible, the node may fail to fetch images, causing errors. Ensure URLs are correct and publicly accessible.
  • Incorrect Duration Format: The "Images Duration" property should be a valid number (as a string). Non-numeric or negative values may cause failures.
  • API Authentication Errors: Missing or incorrect API credentials will prevent the node from executing successfully. Verify that the API key credential is properly set up.
  • Timeouts or Large Inputs: Providing a very large list of images or very long durations might lead to timeouts or performance issues depending on the backend service limits.

Links and References

Discussion