HI Mike,
on my hard disks, I have a bunch of DVDs that were ripped in VIDEO_TS folders or ISO.
I would like to process them through MakeMKV during the night.
All these ripped DVDs already contain only the audio and subs tracks I need, so I basically don't need to edit anything, just "makemkv" them and generate the mkv file in the same folder where the VIDEO_TS files are located.
Is there any way I could do a batch process with makemkv to process all folders one after the other ? Is there any command-line mode to makeMKV so I could wrote a small script with AutoIT in order to process all my movies like this ?
Thanks a lot for your help
PierreLo
Batch run MakeMKV ? Is it possible ?
-
- Posts: 4075
- Joined: Wed Nov 26, 2008 2:26 am
- Contact:
Re: Batch run MakeMKV ? Is it possible ?
Pierrelo,
Launch makemkvcon.exe insted of standard makemkv.exe, this is it!
Launch makemkvcon.exe insted of standard makemkv.exe, this is it!
Re: Batch run MakeMKV ? Is it possible ?
Thanks Mike, this is good news.
But are there any command-line parameters to this makemkvcon.exe ?
For example, to specify input drive letter or input folder and output file name and location ?
Thanks
PierreLo
But are there any command-line parameters to this makemkvcon.exe ?
For example, to specify input drive letter or input folder and output file name and location ?
Thanks
PierreLo
Re: Batch run MakeMKV ? Is it possible ?
You can get the following from a command prompt window by just running makemkvcon.exe with out any parameters.
I don't understand what is needed here though for Disc ID. When I use the folder command line it crashes makemkvcon.exe and gives the following output in the command prompt window.
Being able to run MakeMKV from the commandline would be awesome in the future, but it looks like it needs some improvement before that it possible.
Code: Select all
Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Program Files\MakeMKV>makemkvcon.exe
Use: makemkvcon [switches] Command [Parameters]
Commands:
info <source>
prints info about disc
mkv <source> <title id> <destination folder>
saves a single title to mkv file
Source specification:
iso:<FileName> - open iso image FileName
file:<FolderName> - open files in folder FolderName
disc:<DiscId> - open disc with id <DiscId> (see list Command)
C:\Program Files\MakeMKV>
Code: Select all
C:\Program Files\MakeMKV>makemkvcon.exe info file:H:\DVDIMAGES\DanInRealLife\VIDEO_TS
Current action: Scanning CD-ROM devices
Current progress - 0% , Total progress - 0%
Current progress - 0% , Total progress - 0%
Current progress - 100% , Total progress - 0%
Current progress - 100% , Total progress - 100%
Current progress - 0% , Total progress - 100%
Current progress - 0% , Total progress - 0%
Current action: Pre-calculating data
Current progress - 0% , Total progress - 0%
Current progress - 0% , Total progress - 0%
Current action: Processing AV clips
C:\Program Files\MakeMKV>
Re: Batch run MakeMKV ? Is it possible ?
Thanks tyborg.
Couldn't test it as I am at work now.
I will do some tests later tonight
PierreLo
Couldn't test it as I am at work now.
I will do some tests later tonight
PierreLo
Re: Batch run MakeMKV ? Is it possible ?
How I do it :
1)
To be able to eject a disk in Windows :
download wizmo and put in the target folder (here in o:\DVDRIP\auto)
https://www.grc.com/WIZMO/WIZMO.HTM
test the command
wizmo open
it should open the DVD tray
2)
check location of the program
"C:\Program Files (x86)\MakeMKV\makemkvcon64.exe"
3)
check disk info (if no disk it can generate error but will help confirm if that's the right disk ID, here 0)
"C:\Program Files (x86)\MakeMKV\makemkvcon64.exe" -r info disc:0
4)
the default option come from the GUI
a)
set UI language to english (not default), as that will also be the language for the cmd line output if your windows is not english ()
b)
check the expert mode option and change to
+sel:all,-sel:mvcvideo,=100:all,-10:favlang
(
from
https://www.makemkv.com/forum/viewtopic ... 4386&__c=1
https://www.makemkv.com/forum/viewtopic ... 1435&__c=1
)
4)
on the following block of command
change if needed the
300 (skip track less than 300 sec = 5 min)
two paths in 3rd and 4th command (target dir, here o:\DVDRIP\auto)
disk ID, here disc:0
always change the DVD title and disk on the 5th command, here xxxx_DVD1
"{title}_{disk} - %a"
1st cmd : close tray
2nd cmd : wait more or less 20 sec
3rd cmd : move to the target directory
4th cmd : rip to MKV (options from
5th cmd : rename
6th cmd : eject
(
rip cmd samples, thanks to
https://shkspr.mobi/blog/2012/02/comman ... -for-dvds/
https://www.makemkv.com/developers/usage.txt
)
5)
launch cmd
copy this block of command (without the lines ===), past in cmd
6)
after eject, change the DVD, change the xxxx_DVD1, copy past in cmd ...repeat
=================================================================
wizmo close
PING localhost -n 20 >NUL
cd /d o:\DVDRIP\auto
"C:\Program Files (x86)\MakeMKV\makemkvcon64.exe" --minlength=300 --decrypt --directio=true mkv disc:0 all o:\DVDRIP\auto
for %a in (title_t*.mkv) do ren "%a" "xxxx_DVD1 - %a"
wizmo open
=================================================================
1)
To be able to eject a disk in Windows :
download wizmo and put in the target folder (here in o:\DVDRIP\auto)
https://www.grc.com/WIZMO/WIZMO.HTM
test the command
wizmo open
it should open the DVD tray
2)
check location of the program
"C:\Program Files (x86)\MakeMKV\makemkvcon64.exe"
3)
check disk info (if no disk it can generate error but will help confirm if that's the right disk ID, here 0)
"C:\Program Files (x86)\MakeMKV\makemkvcon64.exe" -r info disc:0
4)
the default option come from the GUI
a)
set UI language to english (not default), as that will also be the language for the cmd line output if your windows is not english ()
b)
check the expert mode option and change to
+sel:all,-sel:mvcvideo,=100:all,-10:favlang
(
from
https://www.makemkv.com/forum/viewtopic ... 4386&__c=1
https://www.makemkv.com/forum/viewtopic ... 1435&__c=1
)
4)
on the following block of command
change if needed the
300 (skip track less than 300 sec = 5 min)
two paths in 3rd and 4th command (target dir, here o:\DVDRIP\auto)
disk ID, here disc:0
always change the DVD title and disk on the 5th command, here xxxx_DVD1
"{title}_{disk} - %a"
1st cmd : close tray
2nd cmd : wait more or less 20 sec
3rd cmd : move to the target directory
4th cmd : rip to MKV (options from
5th cmd : rename
6th cmd : eject
(
rip cmd samples, thanks to
https://shkspr.mobi/blog/2012/02/comman ... -for-dvds/
https://www.makemkv.com/developers/usage.txt
)
5)
launch cmd
copy this block of command (without the lines ===), past in cmd
6)
after eject, change the DVD, change the xxxx_DVD1, copy past in cmd ...repeat
=================================================================
wizmo close
PING localhost -n 20 >NUL
cd /d o:\DVDRIP\auto
"C:\Program Files (x86)\MakeMKV\makemkvcon64.exe" --minlength=300 --decrypt --directio=true mkv disc:0 all o:\DVDRIP\auto
for %a in (title_t*.mkv) do ren "%a" "xxxx_DVD1 - %a"
wizmo open
=================================================================
Re: Batch run MakeMKV ? Is it possible ?
if you don't want all the intermediate data to be written to disk and have enough memory you can replace
--directio=true
by
--cache=2048
in my command line
"C:\Program Files (x86)\MakeMKV\makemkvcon64.exe" --minlength=300 --decrypt --directio=true mkv disc:0 all o:\DVDRIP\auto
so
"C:\Program Files (x86)\MakeMKV\makemkvcon64.exe" --minlength=300 --decrypt --cache=2048 mkv disc:0 all o:\DVDRIP\auto
--directio=true
by
--cache=2048
in my command line
"C:\Program Files (x86)\MakeMKV\makemkvcon64.exe" --minlength=300 --decrypt --directio=true mkv disc:0 all o:\DVDRIP\auto
so
"C:\Program Files (x86)\MakeMKV\makemkvcon64.exe" --minlength=300 --decrypt --cache=2048 mkv disc:0 all o:\DVDRIP\auto