]> code.delx.au - bluplayer/blob - makemkvcon_docs.txt
Removed unused line
[bluplayer] / makemkvcon_docs.txt
1 makemkvcon [options] Command Parameters
2
3 General options:
4
5 --messages=file
6 Output all messages to file. Following special file names are recognized:
7 -stdout - stdout
8 -stderr - stderr
9 -null - disable output
10 Default is stdout
11
12 --progress=file
13 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.
14
15 --debug[=file]
16 Enables debug messages and optionally changes the location of debug file. Default: program preferences.
17
18 --directio=true/false
19 Enables or disables direct disc access. Default: program preferences.
20
21 --noscan
22 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.
23
24 --cache=size
25 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.
26
27 Streaming options:
28
29 --upnp=true/false
30 Enable or disable UPNP streaming. Default: program preferences.
31
32 --bindip=address string
33 Specify IP address to bind. Default: None, UPNP server binds to the first available address and web server listens on all available addresses.
34
35 --bindport=port
36 Specify web server port to bind. Default: 51000.
37
38 Backup options:
39
40 --decrypt
41 Decrypt stream files during backup. Default: no decryption.
42
43 Conversion options:
44
45 --minlength=seconds
46 Specify minimum title length. Default: program preferences.
47
48 Automation options.
49
50 -r , --robot
51 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.
52
53
54 Message formats:
55
56 Message output
57 MSG:code,flags,count,message,format,param0,param1,...
58 code - unique message code, should be used to identify particular string in language-neutral way.
59 flags - message flags, see AP_UIMSG_xxx flags in apdefs.h
60 count - number of parameters
61 message - raw message string suitable for output
62 format - format string used for message. This string is localized and subject to change, unlike message code.
63 paramX - parameter for message
64
65 Current and total progress title
66 PRGC:code,id,name
67 PRGT:code,id,name
68 code - unique message code
69 id - operation sub-id
70 name - name string
71
72 Progress bar values for current and total progress
73 PRGV:current,total,max
74 current - current progress value
75 total - total progress value
76 max - maximum possible value for a progress bar, constant
77
78 Drive scan messages
79 DRV:index,visible,enabled,flags,drive name,disc name
80 index - drive index
81 visible - set to 1 if drive is present
82 enabled - set to 1 if drive is accessible
83 flags - media flags, see AP_DskFsFlagXXX in apdefs.h
84 drive name - drive name string
85 disc name - disc name string
86
87 Disc information output messages
88 TCOUT:count
89 count - titles count
90
91 Disc, title and stream information
92 CINFO:id,code,value
93 TINFO:id,code,value
94 SINFO:id,code,value
95
96 id - attribute id, see AP_ItemAttributeId in apdefs.h
97 code - message code if attribute value is a constant string
98 value - attribute value
99
100
101 Examples:
102
103 Copy all titles from first disc and save as MKV files:
104 makemkvcon mkv disc:0 all c:\folder
105
106 List all available drives
107 makemkvcon -r --cache=1 info disc:9999
108
109 Backup first disc decrypting all video files in automation mode with progress output
110 makemkvcon backup --decrypt --cache=16 --noscan -r --progress=-same disc:0 c:\folder
111
112 Start streaming server with all output suppressed on a specific address and port
113 makemvcon stream --upnp=1 --cache=128 --bindip=192.168.1.102 --bindport=51000 --messages=-none