FFmpeg Convert Video To Audio
AI-generatedSummary
Convert input video binary data into audio using embedded FFmpeg without requiring system-installed FFmpeg. Accepts configurable input and output binary field names and audio presets.
Inputs
- Input Data Field Name (required) — Name of the binary field that contains the source video file to convert.
- Output Data Field Name (required) — Name of the binary field where the converted audio data will be stored.
- Preset (required) — Choice of audio output format and parameters: either "Speech MP3" (mono, 16kHz, 96 kbps MP3) or "Lossless FLAC" (mono, 16kHz FLAC).
- Options — Optional settings including conversion timeout in milliseconds (default 900000 ms) and whether to keep the original input video binary in the output item (default false).
Output shape
a list of items each containing the original JSON data plus binary data with the converted audio stored under the configured output field; optionally includes the original video binary if requested
Each output item corresponds to an input item. On failure, errors are returned in the JSON data if 'Continue on Fail' is enabled, otherwise execution stops with an error. Uses a bundled FFmpeg binary shipped with the node, so no external FFmpeg installation is required.
Examples
Example 1: Convert a video file binary stored in field "data" to an MP3 audio stored in field "audio" with default timeout and discard input binary.
Set Input Data Field Name to "data", Output Data Field Name to "audio", Preset to "Speech MP3", and keep Input Binary to false.
Example 2: Convert a video binary stored under "videoFile" to lossless FLAC audio under "convertedAudio", increasing timeout and preserving original video.
Set Input Data Field Name to "videoFile", Output Data Field Name to "convertedAudio", Preset to "Lossless FLAC", Conversion Timeout in Milliseconds to a higher value such as 1200000, and Keep Input Binary to true.