Skip to content

A simple batch script for bunch replacing audio part in TV series.

Notifications You must be signed in to change notification settings

Pheggas/Intro-Replacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Intro-Replacer

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.

Known issues

  • 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.

Folder structure

\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

Steps to get it working

  1. Create folder structure like mentioned above (only folders, not files)
  2. Download Intro Replacer.bat
  3. Put it into MkvTooNix folder (or somewhere where's the MkvToolNix is installed)
  4. Open it via text editor
  5. Edit sections that you're supposed to edit by the legend.

Conclusion

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.

About

A simple batch script for bunch replacing audio part in TV series.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published