A simple batch script to bunch replace sections from TV series.
This is my first attempt of scripting in Windows Batch. If you still doesn't know what this script does then here's the explanation: I wanted to have Shaun The Sheep with dubbed intro but original audio in rest of the episode. As the every series has 40+ episodes, do it manually would take large amount of time. Every episode has exactly the same lenght of intro. That's why i made this script.
With MkvMerge, this script is able to cut out the original intro part and replace it with dubbed one. You'll achieve to have dubbed intro + original lang rest of episodes.
- Filename with special characters. Special characters are always pain to deal with in Windows Batch...
- Script is not well written with variable file and function file. This might or might not change. Depends on my interest in this script.
\temp
\mka output\
\[merged audio].mka
\mka source after split\
\[original part].mka
\mka source intro\
\[dubbed intro].mka
\mkv output\
\[finished and merged].mkv
- Create folder structure like mentioned above (only folders, not files)
- Download Intro Replacer.bat
- Put it into MkvTooNix folder (or somewhere where's the MkvToolNix is installed)
- Open it via text editor
- Edit sections that you're supposed to edit by the legend.
As i never tried to make batch scripts before, this script took me around 6 hours with fixing issues, bugs, errors and learning a ton of new stuff. This repo is pretty much upload-and-forget so don't expect active maintanance and enhancements to come.