MKVPROPEDIT(1) MKVPROPEDIT(1) NAME mkvpropedit - remux Matroska(TM) mkvpropedit [options] {source-filename} {actions} Matroska(TM) . . (: ) (: , ' ' ) . : -l, --list-property-names , (, , ) . . source-filename . -p, --parse-mode mode . 'mode' 'fast'( ) 'full' . 'fast' . 99% . 'full' . . : -e, --edit selector add, set delete Matroska(TM) ( ) . . mkvpropedit(1) . edit selectors . -a, --add name=value value name . . . -s, --set name=value name value . . -d, --delete name name . . : -t, --tags selector:filename filename , filename . mkvpropedit(1) mkvmerge(1) XML . selector all, global track . all mkvpropedit(1) . global global . track mkvpropedit(1) . filename . edit selectors ( ). --tags track:a1:new-audio-tags.xml. --add-track-statistics-tags . . --delete-track-statistics-tags . . -c, --chapters filename filename , filename . mkvpropedit(1) mkvmerge(1) XML . : --add-attachment filename filename . --attachment-name , . filename . --attachment-mime-type , MIME . filename . --attachment-description , . . --attachment-uid , UID . UID . --replace-attachment selector:filename selector filename . selector , filename . selector . attachment selectors . --attachment-name , . . --attachment-mime-type , MIME . MIME . --attachment-description , . . --attachment-uid , UID . UIDs . --update-attachment selector selector . selector . selector . attachment selectors . --attachment-name , . . --attachment-mime-type , MIME . MIME . --attachment-description , . . --attachment-uid , UID . UIDs . --delete-attachment selector selector . selector . attachment selectors . : --attachment-name name --add-attachment --replace-attachment . --attachment-mime-type mime-type --add-attachment --replace-attachment MIME . --attachment-description --add-attachment --replace-attachment . --enable-legacy-font-mime-types MIME . TrueType 'fonts/ttf' 'application/x-truetype-font' . , MIME . . MIME 'application/x-truetype-fonts' 'font/sfnt' 'font/ttf', 'font/collection' 'application/vnd.ms-opentype' 'font/otf' . : --disable-language-ietf 'language' mkvpropedit(1) Language LanguageIETF . Language . language-ietf . --normalize-language-ietf mode IETF BCP 47 'canonical' , 'extlang' 'off' . . . 'zh-yue-jyutping' 'yue-jyutping' 'fr-FX' 'fr-FR' . . . 'yue-jyutping' 'zh-yue-jyutping' 'fr' 'fr-FR' . : o . . . o . o . . mkvmerge(1) remux '--normalize-language-ietf' . --command-line-charset . . --output-charset . . -r, --redirect-output file-name . . --output-charset . --ui-language (: 'de_DE'). 'list' mkvextract(1) . --abort-on-warnings . 1. --debug . . --engage . mkvpropedit --engague list . . --gui-mode GUI . GUI . '#GUI#message' . '#GUI#message#key1=value1#key2=value2...' / . . -v, --verbose Matroska(TM) . -h, --help . -V, --version . @ .json - . mkvmerge(1) man page " " . --edit add, set delete Matroska(TM) ( ) . --edit . . mkvpropedit(1) . 'info', 'segment_info' 'segmentinfo' . UID . . 'track:' . , ' ' . track:n n n . mkvmerge(1) --identify . 1 . track:tn t n . t 'a', 'b', 's', 'v' . mkvmerge(1) --identify . 1 . track:=uid '=' uid UID uid . UIDs mkvinfo(1) . track:@number '@' number , number . mkvinfo(1) . . . --replace-attachment --delete-attachment . : 1. ID . mkvmerge(1) ID . 2. UID( ID) . = , ID mkvmerge(1) . 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. 'movie.mkv' . . --edit --edit . $ mkvpropedit movie.mkv --edit info --set "title=The movie" --edit track:a1 --set language=fre --edit track:a2 --set language=ita ' ' . mkvpropedit(1) mkvmerge(1) ' ' '1' '0' . $ mkvpropedit movie.mkv --edit track:s1 --set flag-default=0 --edit track:s2 --set flag-default=1 . $ mkvpropedit movie.mkv --tags track:s2:new-subtitle-tags.xml . $ mkvpropedit movie.mkv --tags all: . $ mkvpropedit movie.mkv --chapters new-chapters.xml . $ mkvpropedit movie.mkv --chapters '' (Arial.ttf) : $ mkvpropedit movie.mkv --add-attachment Arial.ttf (89719823.ttf) Arial . $ mkvpropedit movie.mkv --attachment-name Arial.ttf --attachment-description 'The Arial font as a TrueType font' --attachment-mime-type application/x-truetype-font --add-attachment 89719823.ttf (Comic.ttf) (Arial.ttf) : $ mkvpropedit movie.mkv --attachment-name Arial.ttf --attachment-description 'The Arial font as a TrueType font' --replace-attachment name:Comic.ttf:Arial.ttf : $ mkvpropedit movie.mkv --delete-attachment 2 MIME : $ mkvpropedit movie.mkv --delete-attachment mime-type:application/x-truetype-font mkvpropedit(1) . o 0 - . o 1 -- mkvpropedit(1) . 'Warning:' . . . o 2 - . . / . 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) WWW MKVToolNix [1] . AUTHOR Moritz Bunkus NOTES 1. MKVToolNix https://mkvtoolnix.download/ MKVToolNix 83.0 2024-03-10 MKVPROPEDIT(1)