For example, if the last track ID in the MKV file is 3, followed by an attachment.
.
…
…
| + Track
| + Track number: 4 (track ID for mkvmerge & mkvextract: 3)
| + Track UID: 16902882582786297346
| + Track type: subtitles
| + “Forced display” flag: 1
| + “Lacing” flag: 0
| + Codec ID: S_TEXT/UTF8
|+ EBML void: size 1167
|+ Attachments
| + Attached
| + File name: Covers.jpg
| + MIME type: image/jpeg
| + File data: size 324294
| + File UID: 17997802935195570321
|+ Cluster
Regardless of whether I use:
mkvextract input.mkv attachments 4:covers.jpg
or
mkvextract input.mkv attachments 9223372036854775807:covers.jpg
I get the error:
Error: An attachment with the ID 4 / 9223372036854775807 was not found.