I tried to run the attached CLI code to get the sub and idx files from a mkv movie file in MacOS 26, and it gave me the error message “Error: Unrecognized command line option ‘0:2’.”
Does anyone know how to fix this so I can extract the sub and idx files?
As mkvextract can extract multiple types of content (attachments, chapters, tracks…), you need to tell it what type to extract before the what (the IDs). Correct would be:
See the documentation, please. In short: no file ID necessary, only track IDs, as mkvextract cannot handle multiple source files at once (this is what differs from mkvmerge & why mkvmerge needs file IDs before track IDs).