- Install mkvtoolsnix.
brew install --with-qt5 mkvtoolnix
- Use mkvinfo to get the audio track IDs that you want.
mkvinfo *.mkv
- Note that the audio track IDs are not the track numbers. Check the man page of mkvmerge or mkvinfo for more details.
- Use mkvmerge to create a copy of the mkv with ONLY the desired tracks using
--audio-tracks
. mkvmerge -o out.mkv -a 2 orig.mkv