Actions11
- Filters and Effect Actions
- Metadata Actions
- RTMP Restreaming Actions
- Transcoding Actions
- Video Processing Actions
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 obtain the extracted audio stream in a specified format and quality.
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) — specify the audio codec to use. • Audio Bitrate (number) — set the bitrate of the audio 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 input video. This allows downstream nodes to access the audio content directly for further processing or storage.
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 is invalid or the binary field does not contain proper video data, the node may fail to extract audio. Ensure the input is correctly provided.
- Unsupported Audio Codec: Specifying an unsupported audio codec may cause errors. Use common codecs supported by ffmpeg or leave blank for default.
- Incorrect Output Field Name: If the output binary field name conflicts with existing fields or is missing, the audio output may not be accessible downstream.
- API Authentication Errors: Missing or incorrect API credentials will prevent the node from functioning. Verify that the API key is properly configured.
- Bitrate or Channel Settings: Setting extremely high or zero values for bitrate or channels might cause processing failures. Use reasonable defaults or omit these options.