Command Line / Multi-File

Everything related to MakeMKV
Post Reply
rkmwpb
Posts: 4
Joined: Fri Jan 01, 2010 4:57 pm

Command Line / Multi-File

Post by rkmwpb » Fri Jan 01, 2010 5:34 pm

If MakeMKV had either feature:

1. Command Line Interface (CLI) capability
2. Ability to Queue or Process entire directories / multiple files


This would be very useful -- something I would be willing to pay for.

The reason? In the case of the CLI, it allows MakeMKV to be used with media centers that trigger processes. It also allows the user to write their own batch script, for example: to process every file in a directory.

The benefit of processing every file in a directory, for example, many of us have large collections we'd like to convert.

In my case, I have a collection of 800 DVD .ISO's that I would like to convert to .MKV's. While I would never do this point-and-click, I'd quickly buy a program that does it for me!

Thank you in advance for considering these features.

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Command Line / Multi-File

Post by mike admin » Sun Jan 03, 2010 7:39 am

makemkvcon.exe is a console version, you may find executable inside installation directory.

rkmwpb
Posts: 4
Joined: Fri Jan 01, 2010 4:57 pm

Re: Command Line / Multi-File

Post by rkmwpb » Sun Jan 03, 2010 5:34 pm

Hi Mike,
Thanks for the info, that's great news. I've tested it, and unfortunately the console version does not appear to be as effective as the GUI version.

I've tested it on about 10 movies, and it always does the same thing. It appears to stop at 12% (although I'm not sure if I'm interpreting the feedback correctly).

This is how I'm formatting the command-line:
MakeMKVCon mkv iso:c:\Movies\MovieName.iso NewMovieName.mkv c:\Movies\

This is the result of the command line:
001014:000000:0000 MakeMKV v1.4.9 beta win(x86-release) started
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%
005042:000000:0000 The program can't find any usable optical drives.
Current progress - 0% , Total progress - 100%
Current progress - 0% , Total progress - 0%
003010:000000:0000 Using direct disc access mode
Current action: Pre-calculating data
Current progress - 0% , Total progress - 0%
Current progress - 0% , Total progress - 0%
Current action: Processing title sets
Current progress - 50% , Total progress - 0%
Current progress - 50% , Total progress - 4%
Current action: Processing titles
Current progress - 0% , Total progress - 4%
003036:000000:0000 Title #0 was added (44 cell(s), 2:09:02)
Current action: Decrypting data
Current progress - 100% , Total progress - 4%
Current progress - 100% , Total progress - 12%
005011:000000:0000 Operation sucessfully completed

Notice that it appears to stop at 12%, and there is no MovieName.mkv created.

I'm guessing I must be doing something wrong, because I get the same results with every movie I try, but the GUI version works great.

Thank you in advance!

rkmwpb
Posts: 4
Joined: Fri Jan 01, 2010 4:57 pm

Re: Command Line / Multi-File

Post by rkmwpb » Fri Jan 15, 2010 8:33 pm

I didn't hear back, so I continued to try new things. I realized that I'm on a 64-bit system and there is a MakeMKVCon64 app, so I've tested that as well.

I get the same results with the 64-bit version, here is the result of a simple test. Like all others, it stops at 12% (yet the GUI works fine):

makemkvcon64 mkv iso:d:\video1\12.iso 12.mkv d:\video1\[/color]

001014:000000:0000 MakeMKV v1.4.9 beta win(x64-release) started
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%
005042:000000:0000 The program can't find any usable optical drives.
Current progress - 0% , Total progress - 100%
Current progress - 0% , Total progress - 0%
003010:000000:0000 Using direct disc access mode
Current action: Pre-calculating data
Current progress - 0% , Total progress - 0%
Current progress - 0% , Total progress - 0%
Current action: Processing title sets
Current progress - 50% , Total progress - 0%
Current progress - 50% , Total progress - 4%
Current action: Processing titles
Current progress - 0% , Total progress - 4%
003036:000000:0000 Title #0 was added (44 cell(s), 2:09:02)
Current action: Decrypting data
Current progress - 100% , Total progress - 4%
Current progress - 100% , Total progress - 12%
005011:000000:0000 Operation sucessfully completed

Notice that it stopped at 12%, then states that its completed successfully (yet no .mkv is created). This works fine on the GUI from the same machine; however, I must use the CLI to be able to convert entire directories in an automated manner.

Thank you!

Postyman
Posts: 7
Joined: Sun Jan 17, 2010 11:11 am

Re: Command Line / Multi-File

Post by Postyman » Sun Jan 17, 2010 11:24 am

Hi. When just writing makemkvcon64 I get the use of mkv: <source> <title id> <destination folder>.
Then I use it like this to extract the first title, with id=0 (make sure the destination folder exists and no trailing slash):

Code: Select all

makemkvcon64 mkv iso:"D:\Movies\I_AM_LEGEND.ISO" 0 "D:\Movies\I_AM_LEGEND"
It is very nice to be able to do this with a CLI. But still it seems as the GUI has a lot more to offer. For instance beeing able to select which subtitles and audio tracks to include. Anyone know how to do this with makemkvcon?

Post Reply