Last active
January 7, 2019 10:03
-
-
Save shinchiro/20eee418864797e7417fb23d6032abd1 to your computer and use it in GitHub Desktop.
mkvpropedit's usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo OFF | |
set mkvpropedit="D:\mkvtoolnix\mkvpropedit.exe" | |
for %%A in (%*) do ( | |
::%mkvpropedit% "%%~fA" --delete-attachment name:"Impress BT.ttf" | |
::%mkvpropedit% "%%~fA" --chapters "%%~nA_chapter.xml" | |
:: Comment should be placed above. | |
:: | |
:: This will select first video/subtitle tracks to rename name and make first subtitle as default. | |
:: Adding fonts to the mkv. | |
%mkvpropedit% "%%~fA" --edit track:v1 --set name="[LowPower-Raws]" --set language=jpn ^ | |
--edit track:s1 --set name="[Funimation]" --set language=eng --set flag-default=1 ^ | |
--attachment-mime-type application/x-truetype-font --add-attachment "Cabin-Bold.otf" ^ | |
--attachment-mime-type application/x-truetype-font --add-attachment "Cabin-BoldItalic.ttf" ^ | |
--attachment-mime-type application/x-truetype-font --add-attachment "Cabin-Regular-TTF.ttf" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment