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 binary video data and output an audio file 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 the extracted audio as binary data under the specified output binary field name. The json output contains metadata about the processed file, while the binary output holds the actual audio file extracted from the video input.

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 input URL or binary field is incorrect or inaccessible, the node will fail to process. Ensure the input is a valid video source.
  • Unsupported Audio Codec: Specifying an unsupported audio codec may cause errors. Use common codecs supported by ffmpeg.
  • Incorrect Output Field Name: Make sure the output binary field name does not conflict with existing fields and is correctly referenced downstream.
  • API Authentication Errors: Verify that the API key credential is correctly configured and has necessary permissions.
  • Resource or Operation Mismatch: Confirm that the resource is set to "Video Processing" and operation to "Video To Audio" to avoid misconfiguration.

Links and References

Discussion