MediaFX icon

MediaFX

Process videos, audio, and media files with FFmpeg

Actions15

Overview

This node converts a single image into a video of specified duration and size. It is useful when you want to create a video clip from a static image, for example, to generate a slideshow segment, create a background video from a photo, or prepare media content for platforms that require video format.

Typical use cases include:

  • Turning a logo or banner image into a looping video.
  • Creating a video placeholder from an image with a fixed duration.
  • Preparing social media content where video format is preferred but only an image is available.

Properties

Name Meaning
Source Image The input image to convert. Can be provided as a URL or binary data.
Duration (seconds) Length of the output video in seconds. Must be at least 0.1 seconds.
Video Size Dimensions of the output video in pixels. Includes Width and Height. Defaults to the image size if not set.
Output Format Format of the output video file. Currently supports only MP4.

Details on "Source Image" property options:

  • Source Type: Choose between providing the image as a URL or as binary data.
  • Value: If URL is selected, specify the image URL here.
  • Binary Property: If binary data is selected, specify the name of the binary property containing the image data.

Output

The node outputs a binary video file representing the generated video from the input image.

  • The json output field is empty ({}).
  • The binary output contains the video data under the property named data (or the default binary property).
  • The video is encoded in the selected output format (MP4).

Dependencies

  • Requires FFmpeg installed and accessible by n8n since the node uses FFmpeg for media processing.
  • No external API keys or services are required.
  • Uses local temporary file storage during processing; ensure sufficient disk space and permissions.

Troubleshooting

  • No binary data found in property: When using binary input, ensure the specified binary property exists and contains valid image data.
  • Font-related errors: Not applicable for this operation but may appear if other operations are mixed in the same workflow.
  • Operation did not produce an output: Indicates a failure in video generation; check input parameters and source image validity.
  • File system errors: Ensure n8n has permission to read/write temporary files.
  • FFmpeg not found or incompatible version: Confirm FFmpeg is installed and properly configured in the environment.

Links and References

Discussion