Actions11
- Filters and Effect Actions
- Metadata Actions
- RTMP Restreaming Actions
- Transcoding Actions
- Video Processing Actions
Overview
This node provides audio transcoding functionality using ffmpeg. It allows users to convert audio files from one codec or format to another, adjusting parameters such as codec type, bitrate, and number of audio channels. This is useful in scenarios where audio files need to be standardized for compatibility, optimized for streaming, or compressed to reduce file size.
Practical examples include:
- Converting an MP3 audio file to AAC format for better compression.
- Changing the audio bitrate to reduce bandwidth usage.
- Adjusting the number of audio channels (e.g., from stereo to mono) for specific playback environments.
Properties
Name | Meaning |
---|---|
Audio Input | A valid URL pointing to the audio file or the name of the input binary field containing the audio data. |
Audio Output Name | The name of the output binary field where the transcoded audio file will be stored. |
Audio Codec | The target audio codec to transcode the input audio into (e.g., "aac", "mp3"). |
Transcoding Options | Collection of optional settings: - Audio Bitrate: Numeric value specifying the bitrate in kbps (default 128). - Audio Channels: Number of audio channels (default 1). |
Output
The node outputs the transcoded audio file in a binary field named as specified by the "Audio Output Name" property. The json
output field typically contains metadata about the operation or the processed item, but the main content is the binary audio data representing the transcoded file.
Dependencies
- Requires an API key credential for accessing the underlying ffmpeg service.
- Relies on the external ffmpeg processing backend accessible via this API.
- No additional environment variables are explicitly required based on the static code analysis.
Troubleshooting
- Invalid Audio Input: If the provided audio URL is invalid or the binary input field does not contain valid audio data, the node may fail to process. Ensure the input is correctly specified and accessible.
- Unsupported Codec: Specifying an unsupported or misspelled audio codec can cause errors. Verify that the codec name matches supported ffmpeg codecs.
- Bitrate or Channel Misconfiguration: Providing non-numeric or out-of-range values for bitrate or channels might lead to failures. Use sensible numeric values.
- API Authentication Errors: Missing or incorrect API credentials will prevent the node from functioning. Confirm that the API key credential is properly configured in n8n.