ffmpeg Node icon

ffmpeg Node

n8n Node for some Ffmpeg functionality

Actions11

Overview

This node provides video processing capabilities using ffmpeg, specifically supporting a "Trim Video" operation. The "Trim Video" operation allows users to specify a segment of a video by defining a trim time range, effectively extracting a portion of the input video. This is useful in scenarios such as creating highlights from longer videos, removing unwanted sections, or preparing clips for social media sharing.

For example, a user can input a video URL and specify a trim time like "00:00 - 00:10" to extract the first 10 seconds of the video.

Properties

Name Meaning
Video Url A valid URL pointing to the source video to be trimmed.
Trim Time The time range to trim the video, specified as a string (e.g., "00:00 - 00:10").

Output

The node outputs JSON data representing the result of the trimming operation. Typically, this will include metadata about the trimmed video segment or a reference to the processed video file. If binary data output is supported, it would represent the trimmed video content itself.

Dependencies

  • Requires an API key credential for accessing the underlying ffmpeg service.
  • Depends on external ffmpeg functionality exposed via an API.
  • The node expects network access to fetch the video from the provided URL.

Troubleshooting

  • Invalid Video URL: Ensure the video URL is accessible and points to a valid video file.
  • Incorrect Trim Time Format: The trim time should be in a valid format (e.g., "HH:MM:SS - HH:MM:SS"). Invalid formats may cause errors.
  • API Authentication Errors: Verify that the API key credential is correctly configured and has necessary permissions.
  • Network Issues: Network connectivity problems may prevent fetching the video or communicating with the ffmpeg service.

Links and References

Discussion