MKVPROPEDIT(1) MKVPROPEDIT(1) mkvpropedit - Matroska(TM) mkvpropedit [] {} {} Matroska(TM) '' : -l, --list-property-names source-filename -p, --parse-mode '' 'fast' 'full''fast'99% 'full' : -e, --edit Matroska(TM) mkvpropedit(1) -a, --add = -s, --set = -d, --delete : -t, --tags : mkvpropedit(1) XML mkvmerge(1) allglobal track all mkvpropedit(1) global track mkvpropedit(1) () --tags track:a1:.xml --add-track-statistics-tags --delete-track-statistics-tags -c, --chapters mkvpropedit(1) XML mkvmerge(1) : --add-attachment --attachment-name --attachment-mime-type MIME --attachment-description --attachment-uid UID UID --replace-attachment : --attachment-name --attachment-mime-type MIME MIME --attachment-description --attachment-uid UID UID --update-attachment --attachment-name --attachment-mime-type MIME MIME --attachment-description --attachment-uid UID UID --delete-attachment : --attachment-name --add-attachment --replace-attachment --attachment-mime-type MIME --add-attachment --replace-attachment MIME --attachment-description --add-attachment --replace-attachment --enable-legacy-font-mime-types MIME TrueType application/x-truetype-fontfonts/ttf MIME MIME font/sfntfont/ttffont/collectionapplication/x-truetype-fonts font/otfapplication/vnd.ms-opentype : --disable-language-ietf language() mkvpropedit(1) LanguageIETFLanguageLanguage language-ietf --normalize-language-ietf IETF BCP 47 canonicalextlangoff preferred value: zh-yue-jyutping yue-jyutpingfr-FX fr-FR extended language subtagprimary language yue-jyutping zh-yue-jyutping fr-FR fr : o o o mkvmerge(1) --normalize-language-ietf --command-line-charset --output-charset -r, --redirect-output : --output-charset --ui-language ( 'zh_TW' ) 'list' --abort-on-warnings 1 --debug --engage mkvpropedit --engage list --gui-mode GUI GUI '#GUI#'/ '#GUI##1=1#2=2...' ** -v, --verbose Matroska(TM) -h, --help -V, --version @options-file.json mkvmerge(1) "" --edit , Matroska(TM) --edit mkvpropedit(1) : 'info''segment_info' 'segmentinfo' UID 'track:' '' track:n n n mkvmerge(1) --identify 1 track:tn t n n t : 'a' 'b' 's' 'v' mkvmerge(1) --identify 1 track:=uid =uid UID uid mkvinfo(1) UID track:@ @number number mkvinfo(1) --replace-attachment--delete-attachment: 1. ID mkvmerge(1) ID 2. UID ( ID) = mkvmerge(1) ID 3. name:--replace-attachment\c 4. MIME mime-type: MIME --replace-attachment MIME \c LANGUAGE HANDLING mkvpropedit(1) mostly tries to do the right thing by default. Therefore changes to the language property will cause mkvpropedit(1) to apply the same change to both the new "LanguageIETF" element as well as the old "Language" element similar to how mkvmerge(1) applies the language to both elements. For example, when using mkvpropedit movie.mkv --edit track:2 --set language=zh-TW the "LanguageIETF" element will be set to zh-TW and the old "Language" element to chi. Additionally there's a new track header property named language-ietf that can be set or removed. Changes to this property only apply to the new "LanguageIETF" track header element. A caveat is that the old "Language" track header element is a mandatory element in Matroska -- meaning even if it isn't present in the file it still has an implied value. When the user only sets the language-ietf property but not the language property, mkvpropedit(1) will therefore add the old "Language" element in certain cases & set it to und (meaning "undetermined") as the user didn't specify a value for it. When reading XML chapter or tag files mkvpropedit(1) works like mkvmerge(1) does. The creation of the new elements can be disabled completely with the command-line option `--disable-language-ietf` which operates on all three new elements. You can chose the normalization method applied to extended language sub-tags with the parameter --normalize-language-ietf. '.mkv' --edit --edit $ mkvpropedit .mkv --edit info --set "title=" --edit track:a1 --set language=fre --edit track:a2 --set language=ita '' mkvpropedit(1) mkvmerge(1) '' '1' '0' $ mkvpropedit .mkv --edit track:s1 --set flag-default=0 --edit track:s2 --set flag-default=1 : $ mkvpropedit .mkv --tags track:s2:.xml : $ mkvpropedit .mkv --tags all: : $ mkvpropedit .mkv --chapters .xml : $ mkvpropedit .mkv --chapters '' (Arial.ttf) : $ mkvpropedit .mkv --add-attachment Arial.ttf (89719823.ttf) Arial: $ mkvpropedit .mkv --attachment-name Arial.ttf --attachment-description 'Arial TrueType ' --attachment-mime-type application/x-truetype-font --add-attachment 89719823.ttf (Comic.ttf) (Arial.ttf): $ mkvpropedit .mkv --attachment-name Arial.ttf --attachment-description 'Arial TrueType ' --replace-attachment name:Comic.ttf:Arial.ttf : $ mkvpropedit .mkv --delete-attachment 2 MIME : $ mkvpropedit .mkv --delete-attachment mime-type:application/x-truetype-font mkvpropedit(1) o 0 -- o 1 -- mkvpropedit(1) 'Warning:' o 2 -- mkvpropedit(1) / MKVToolNix / mkvmerge(1) mkvpropedit(1) ( LANG LC_* ) MKVPROPEDIT_DEBUG, MKVTOOLNIX_DEBUG MTX_DEBUG --debug MKVPROPEDIT_ENGAGE, MKVTOOLNIX_ENGAGE MTX_ENGAGE --engage mkvmerge(1), mkvinfo(1), mkvextract(1), mkvtoolnix-gui(1) MKVToolNix [1] Moritz Bunkus 1. MKVToolNix https://mkvtoolnix.download/ MKVToolNix 90.0 2025-02-08 MKVPROPEDIT(1)