ffmpeg Node icon

ffmpeg Node

n8n Node for some Ffmpeg functionality

Actions11

Video Processing → Video To Audio

AI-generated

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, extracting the soundtrack from a recorded webinar or converting a music video into an MP3 file.

Properties

Name Meaning
Video Input A valid video URL or the name of the input binary field containing the video file 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) — specify the codec for audio encoding.
• Audio Bitrate (number) — set the bitrate for the audio stream (default 128 kbps).
• Audio Channels (number) — number of audio channels (default 1).

Output

The node outputs the extracted audio as a binary file under the specified output field name. The json output contains metadata about the processed file, while the binary data holds the actual audio content extracted from the input video.

Dependencies

  • Requires an API key credential for accessing the underlying ffmpeg service.
  • The node depends 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: Ensure the video input is either a valid URL accessible by the node or a correctly named binary input field containing video data.
  • Unsupported audio codec: If specifying an audio codec, verify it is supported by the underlying ffmpeg service.
  • Missing output field: The output binary field name must be provided; otherwise, the node cannot store the extracted audio.
  • API authentication errors: Confirm that the API key credential is correctly configured and has necessary permissions.
  • Bitrate or channel misconfiguration: Use reasonable values for audio bitrate and channels to avoid processing errors.

Links and References

Discussion