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 extract audio from a video file ("Video To Audio"). It is useful when you want to convert video content into audio format for purposes such as podcast creation, transcription, or audio analysis. For example, you can input a video URL or upload a video binary file and extract its audio track with customized codec, bitrate, and channel settings.

Properties

Name Meaning
Video Input A valid video URL or the name of the input binary field containing the video to process.
Audio Output Name The name of the output binary field where the extracted audio file will be stored.
Video Processing Options Collection of optional parameters:
• Audio Codec (string) - specify the audio codec.
• Audio Bitrate (number) - set the audio bitrate in kbps (default 128).
• Audio Channels (number) - number of audio channels (default 1).

Output

The node outputs a binary data field containing the extracted audio file. The name of this binary field corresponds to the "Audio Output Name" property specified by the user. The json output typically contains metadata about the processed file or operation status, but the main output is the binary audio data ready for further use or download.

Dependencies

  • Requires an API key credential for accessing the underlying ffmpeg service.
  • Relies on ffmpeg functionality exposed via an external API or service configured in n8n.
  • No additional environment variables are explicitly required beyond the API authentication.

Troubleshooting

  • Invalid Video Input: If the video URL is invalid or the binary field does not contain a proper video file, the node may fail to extract audio. Ensure the input is correct and accessible.
  • Unsupported Codec or Parameters: Specifying unsupported audio codecs or invalid bitrate/channel values might cause errors. Use standard codec names and reasonable numeric values.
  • API Authentication Errors: Missing or incorrect API credentials will prevent the node from functioning. Verify that the API key is correctly configured in n8n credentials.
  • Timeouts or Large Files: Processing very large videos might lead to timeouts or memory issues depending on the backend service limits.

Links and References

Discussion