Created
November 4, 2017 21:36
-
-
Save uahim/310346f1d3aa1f08cee650de2c4451d6 to your computer and use it in GitHub Desktop.
This file contains 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 | |
for /F "tokens=*" %%A in ('dir /b *.mp4') do call :mvkitnow %%A | |
goto :EOF | |
:mvkitnow <bookid> | |
SET ofilex=%ofile:.mp4=% | |
echo. | |
"C:\Program Files\MKVToolNix\mkvmerge.exe" --ui-language en --output "%ofilex%.mkv" --language 0:und --language 1:und ^"^(^" ^"%1^" ^"^)^" --track-order 0:0,0:1 | |
"C:\Program Files\MKVToolNix\mkvalidator.exe" %ofilex%.mkv | |
goto :EOF | |
:EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment