Media - Video - Audio - Extract
Type identifier:
media:video:audio:extractCategory: Media Operations
Description
The Media - Video - Audio - Extract node reads a video file, extracts the first audio stream, and outputs a new audio file.
The node supports:
- A Match original format toggle (enabled by default)
- Optional explicit output format, bitrate, and sample rate when match-original is disabled
- Dynamic values for output format, bitrate, and sample rate when match-original is disabled
- Auto-detection of output format when match-original is enabled, or when no explicit output format is provided
If format detection fails, the node falls back to mp3.
Input Handles
Handle | Data Type | Description |
|---|---|---|
|
| Trigger input for flow control. |
|
| Source video file. |
|
| (Dynamic) Output audio format ( |
|
| (Dynamic) Target audio bitrate in kbps. |
|
| (Dynamic) Target sample rate in Hz. |
Note: Dynamic input handles appear only when Match original format is disabled and the corresponding field is set to dynamic.
Output Handles
Handle | Data Type | Description |
|---|---|---|
|
| Triggered when extraction succeeds. |
|
| Triggered when extraction fails. |
|
| Extracted audio file. |
Configuration Options
Option | Type | Default | Description |
|---|---|---|---|
Match original format |
|
| When enabled, output format is inferred from the source audio stream and advanced options are hidden. |
Output Format | enum/dynamic |
| Output audio format. Available only when Match original format is disabled. |
Bitrate | number/dynamic |
| Output bitrate in kbps. Available only when Match original format is disabled. |
Sample Rate | number/dynamic |
| Output sample rate in Hz. Available only when Match original format is disabled. |
Supported Formats
Format | Extension | MIME Type |
|---|---|---|
MP3 |
|
|
WAV |
|
|
M4A |
|
|
OGG |
|
|
FLAC |
|
|
AAC |
|
|
Behaviour
- Reads the
videoInputfile. - If Match original format is disabled, uses the configured output format, bitrate, and sample rate, including dynamic values.
- Detects the output format from the source audio stream if Match original format is enabled or no explicit output format is provided.
- Extracts and encodes the audio from the video.
- Returns the extracted audio as
audioOutput.