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, for the Video Processing resource with the Combine Images operation, it combines multiple images into a single video sequence where each image is displayed for a specified duration. This is useful for creating slideshows or video compilations from a list of images.

Practical examples include:

  • Creating a video slideshow from a set of photos.
  • Generating a preview video by combining product images.
  • Producing time-lapse style videos by sequencing images.

Properties

Name Meaning
Images Url List A string containing a valid list of URLs pointing to the images to be combined.
Images Duration The duration (in seconds) that each image should be displayed in the resulting video.

Output

The node outputs JSON data representing the result of the ffmpeg processing. Typically, this will include metadata about the generated video or a reference to the binary video file created by combining the images.

If binary output is produced, it represents the combined video file created from the input images, playable in standard video players.

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.
  • Network access to the provided image URLs is necessary for fetching the images before processing.

Troubleshooting

  • Invalid Image URLs: If any URL in the images list is invalid or inaccessible, the node may fail. Ensure all URLs are reachable and point to valid image files.
  • Incorrect Duration Format: The "Images Duration" property should be a valid number (string representing seconds). Non-numeric or zero values might cause errors.
  • API Authentication Errors: Missing or incorrect API credentials will prevent the node from executing successfully.
  • Timeouts or Large Inputs: Combining many high-resolution images can lead to long processing times or timeouts. Consider reducing image count or resolution.

Common error messages might include:

  • "Failed to fetch image at [URL]" – check URL validity and network access.
  • "Authentication failed" – verify API key configuration.
  • "Invalid duration value" – ensure the duration is a positive number.

Links and References

Discussion