ffmpeg Node icon

ffmpeg Node

n8n Node for some Ffmpeg functionality

Actions11

Overview

This node provides video processing capabilities using ffmpeg, specifically including 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 get back an audio file extracted from that video.

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 settings:
• Audio Codec (string)
• Audio Bitrate (number, default 128 kbps)
• Audio Channels (number, default 1)

Output

The node outputs a binary file containing the extracted audio from the input video. The binary data is stored under the field name specified by the "Audio Output Name" property. The json output typically contains metadata about the processed file, 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 input URL or binary field name is incorrect or inaccessible, the node will fail to retrieve or process the video. Ensure the input is valid and accessible.
  • Unsupported Audio Codec: Specifying an unsupported audio codec may cause errors. Use common codecs like "aac", "mp3", or leave blank for default.
  • Incorrect Binary Field Names: Make sure the input and output binary field names correspond exactly to the available fields in the workflow.
  • API Authentication Errors: Verify that the API key credential is correctly set up and has permissions to perform video processing.
  • Resource Limits: Large video files might cause timeouts or memory issues depending on the external service limits.

Links and References

Discussion