MakeMKV batch processing (Win XP-7)
Contentsadvanced usage forum first).
The problem with MakeMKV's GUI however, is that it's done with the Qt framework whose widgets are not immediately accessible from AutoIt (yet) which is the tool I used to script MultiMakeMKV. Thus it's essential to set things up as explained under usage. What might appear somewhat clumsy at first will become a breeze after a couple of runs.
Once you've done this in all instances, open up MultiMakeMKV, adjust settings and select "Run". MultiMakeMKV will now start the backup process and background to the tray to check every 5 seconds whether the "MakeMKV Beta popup" window exists which indicates that one encode is finished. It will then close it and start the next encode and so on. Once all backups are through, it will terminate itself after having executed any of those actions listed below.
- Play sound Just put any wav file into MultiMakeMKV's directory and rename it to "done.wav". If the file is not present, you'll hear a short beep instead.
- Execute batch
If present, MultiMakeMKV will run "execute.bat" from its directory. Add any commands to it as you would to a regular batch. This line would remux all MKVs from "d:\video" to "e:\done" compressing all subs with zlib by default to make them work on the WDTV Live:
FOR %%A IN ("d:\video\*.mkv") DO "c:\program files\mkvtoolnix\mkvmerge.exe" -o "e:\done\%%~nA.mkv" "%%~A"
- Shutdown computer
There will be a 60 second countdown which can be aborted by pressing "Cancel". This setting will be ignored if "Execute batch" is checked since I can't foresee the scope of your batches. In case you want to execute a batch and shut down the computer afterwards, just make "shutdown /s" or something the final line of your batch.
This software is Donationware, you can use and distribute it in any way as long as it is accompanied by this unmodified readme and provided you do not charge money for it. However, you are encouraged to donate a small amount of money (say 1 $ or whatever suits you fine) to help make my time spent on this worthwile. Simply click on the Paypal or Flattr button on my download page. Thanks! AutoIt3.
Thanks to ddlooping for hosting my stuff.