Convert
AI-generatedSummary
Convert each incoming item’s audio binary to a selected format using FFmpeg, with optional bitrate and sample-rate settings. The node returns the converted audio as binary data and adds format and file-size details to the item’s JSON.
Inputs
- Binary Property — Name of the input binary property; defaults to
data. - Output Format — Output format: MP3, WAV, OGG, FLAC, AAC, or M4A; defaults to MP3.
- Options → Bitrate — Optional audio bitrate from 64 to 320 kbps; Auto leaves it to FFmpeg.
- Options → Sample Rate — Optional sample rate of 22050, 44100, or 48000 Hz; Auto keeps the input rate.
- Output Binary Property — Name of the output binary property; defaults to
data.
Output shape
One output item per input item, each with converted audio in the configured binary property and JSON metadata.
JSON includes
operation,inputFormat,outputFormat,inputSize, andoutputSize. The output filename uses the input filename with its extension replaced, oraudioif the input has no filename. Requires FFmpeg to be available where the node runs; conversion failures raise an error.