MKVToolNix is a tool to merge mp4 videos to mkv format, edit video tracks like subtitle and different audio dubbed. You can download this program at https://mkvtoolnix.download/. But this tool can be used to extract all tracks from the video and one of that are the Audio files. See steps below:
To Extract Audio files from MKV.
- Open Command Prompt CMD
- Now go to MKVToolNix installation directories
cd "Program files\MKVToolNix"
- Then, We have to identify which Track ID number is the mp3 audio located. (Optional) you can open the mkvtoolnix gui to see the Track ID of the audio.
mkvmerge --identify-verbose "C:\Downloads\YOUR_AUDIO_FILE.mkv"
On the output Check the track with audio (MP3), on our example its Track ID 1
- Then we can now extract the mp3 from our mkv files, type the following codes.
mkvextract tracks "C:\Downloads\YOUR_AUDIO_FILE.mkv" 1:"YOUR_OUTPUT_DIRECTORIES.mp3"