mkvextract Verified current stable Not installed? Filesystem

Mkvextract / Extract Audio Track

Extract Audio Track

Use mkvextract to extract audio track 1 from an MKV file to a WEBM format.

$
Terminal
mkvextract tracks <path/to/file.mkv> <1>:<path/to/output.webm>

When To Use

Extract audio from an MKV file for use in another application.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
mkvextract tracks <path/to/file.mkv> <1>:<path/to/output.webm>

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
Extracting track 1 to 'path/to/output.webm'...
Extraction complete.

Command Breakdown

What each part is doing

mkvextract
Base Command
The executable that performs this operation. Here it runs Mkvextract before the shell applies any redirect operators.
<path/to/file.mkv>
Input Files
The file path or paths supplied to this command.
<1>
1
The value supplied for 1.
<path/to/output.webm>
path to output.webm
The value supplied for path to output.webm.

How To Run

Execution path

  1. Step 1

    Run the command with the MKV file path and desired output path.

  2. Step 2

    Specify the track number to extract, in this case, track 1.

  3. Step 3

    Check the output file for the extracted audio.

Alternative Approaches

Comparable commands in other tools

Alternative filesystem tools for the same job.