Created
September 25, 2015 01:15
-
-
Save corbanmailloux/ccf1b2a3d8dd208e4f35 to your computer and use it in GitHub Desktop.
Loop through a folder, merge SRT files with MP4s and make a MKV.
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
for i in *.mp4 | |
do | |
i="${i%.mp4}" | |
"C:\Program Files\MKVToolNix\mkvmerge.exe" -o "$i.mkv" --default-track 0 --language 0:eng "$i.srt" "$i.mp4" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment