Command Line Package

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
treasonoustoaster
Posts: 2
Joined: Thu Sep 12, 2024 5:53 pm

Command Line Package

Post by treasonoustoaster »

Hi, I was wondering if there's a CLI package for MakeMKV, or perhaps documentation on how to use MakeMKV without the GUI?

I'm trying to build a pipeline on my computer that is capable of standardizing DVD/BluRay files into m4v format and have every part of the process automated other than the initial disc rip. Fingers crossed that something like this exists, it would be great to be able to reduce the process to inserting the disc, typing in the title, and clicking "run".
Woodstock
Posts: 10947
Joined: Sun Jul 24, 2011 11:21 pm

Re: Command Line Package

Post by Woodstock »

MakeMKV is a GUI wrapped around a CLI, so you're limited by the existing documentation.
treasonoustoaster
Posts: 2
Joined: Thu Sep 12, 2024 5:53 pm

Re: Command Line Package

Post by treasonoustoaster »

Yeah, I was having a lot of difficulty finding the documentation but between the time I originally wrote this and now I found this page with what I was looking for:

https://www.makemkv.com/developers/usage.txt
Bandito
Posts: 17
Joined: Thu Jul 18, 2024 6:35 pm

Re: Command Line Package

Post by Bandito »

Hello,

where can i found this TXT ?
This Link https://www.makemkv.com/developers/usage.txt
is not realy working.
Has somebody this information?

Many Thanks
AstralWanderer
Posts: 32
Joined: Wed Feb 04, 2026 10:45 am

Re: Command Line Package

Post by AstralWanderer »

Here is a copy I made of that page a few weeks ago - unfortunately it does not list all options (in particular the firmware update flag f and the --all-yes options aren't listed) but this should hopefully suffice till the webpage is working again.

makemkvcon [options] Command Parameters

General options:

--messages=file
Output all messages to file. Following special file names are recognized:
-stdout - stdout
-stderr - stderr
-null - disable output
Default is stdout

--progress=file
Output all progress messages to file. The same special file names as in --messages are recognized with additional value "-same" to output to the same file as messages. Naturally --progress should follow --messages in this case. Default is no output.

--debug[=file]
Enables debug messages and optionally changes the location of debug file. Default: program preferences.

--directio=true/false
Enables or disables direct disc access. Default: program preferences.

--noscan
Don't access any media during disc scan and do not check for media insertion and removal. Helpful when other applications already accessing discs in other drives.

--cache=size
Specifies size of read cache in megabytes used by MakeMKV. By default program uses huge amount of memory. About 128 MB is recommended for streaming and backup, 512MB for DVD conversion and 1024MB for Blu-ray conversion.

Streaming options:

--upnp=true/false
Enable or disable UPNP streaming. Default: program preferences.

--bindip=address string
Specify IP address to bind. Default: None, UPNP server binds to the first available address and web server listens on all available addresses.

--bindport=port
Specify web server port to bind. Default: 51000.

Backup options:

--decrypt
Decrypt stream files during backup. Default: no decryption.

Conversion options:

--minlength=seconds
Specify minimum title length. Default: program preferences.

Automation options.

-r , --robot
Enables automation mode. Program will output more information in a format that is easier to parse. All output is line-based and output is flushed on line end. All strings are quoted, all control characters and quotes are backlash-escaped. If you automate this program it is highly recommended to use this option. Some options make reference to apdefs.h file that can be found in MakeMKV open-source package, included with version for Linux. These values will not change in future versions.


Message formats:

Message output
MSG:code,flags,count,message,format,param0,param1,...
code - unique message code, should be used to identify particular string in language-neutral way.
flags - message flags, see AP_UIMSG_xxx flags in apdefs.h
count - number of parameters
message - raw message string suitable for output
format - format string used for message. This string is localized and subject to change, unlike message code.
paramX - parameter for message

Current and total progress title
PRGC:code,id,name
PRGT:code,id,name
code - unique message code
id - operation sub-id
name - name string

Progress bar values for current and total progress
PRGV:current,total,max
current - current progress value
total - total progress value
max - maximum possible value for a progress bar, constant

Drive scan messages
DRV:index,visible,enabled,flags,drive name,disc name
index - drive index
visible - set to 1 if drive is present
enabled - set to 1 if drive is accessible
flags - media flags, see AP_DskFsFlagXXX in apdefs.h
drive name - drive name string
disc name - disc name string

Disc information output messages
TCOUT:count
count - titles count

Disc, title and stream information
CINFO:id,code,value
TINFO:id,code,value
SINFO:id,code,value

id - attribute id, see AP_ItemAttributeId in apdefs.h
code - message code if attribute value is a constant string
value - attribute value


Examples:

Copy all titles from first disc and save as MKV files:
makemkvcon mkv disc:0 all c:\folder

List all available drives
makemkvcon -r --cache=1 info disc:9999

Backup first disc decrypting all video files in automation mode with progress output
makemkvcon backup --decrypt --cache=16 --noscan -r --progress=-same disc:0 c:\folder

Start streaming server with all output suppressed on a specific address and port
makemvcon stream --upnp=1 --cache=128 --bindip=192.168.1.102 --bindport=51000 --messages=-none
Bandito
Posts: 17
Joined: Thu Jul 18, 2024 6:35 pm

Re: Command Line Package

Post by Bandito »

AstralWanderer wrote: Sat Jul 25, 2026 8:07 am Here is a copy I made of that page a few weeks ago - unfortunately it does not list all options (in particular the firmware update flag f and the --all-yes options aren't listed) but this should hopefully suffice till the webpage is working again.
First THANK'S !!!
Have you some more Infos about this:
(in particular the firmware update flag f and the --all-yes options aren't listed)

This is my actually new GUI for the MakeMKV.
Some features that i miss in the original GUI.

The System sends me now TELEGRAM MESSAGES in sequences that i can use in for example 10% or 33% or 1min or 5min finished.
Then i must not stay the complete time and wait here on the PC if it finished.

And it will be open the drive if it finished or i make a log file and after it finished the backup the logfile will be renamed like the movie folder and it moved the the main movie folder, like Backup.
new.jpg
telegram.jpg

Image

Image

What make i'm wrong.
The jpg will not com vissible here.
Intern UPLOAD not working and extern from Dropbox also not working.


https://www.dropbox.com/scl/fi/5sfi2kf0 ... fzmb5&dl=0

https://www.dropbox.com/scl/fi/jb7kg1qo ... 4gh09&dl=0
Post Reply