


c, -cache MB Specify size of read cache in megabytes. l, -minlength SECS Specify minimum title length in seconds. i, -input PATH Specify input, can be either a device, a. Command-line interface Usage: pymakemkv COMMAND Message isn't appropriate for most users, feel free to open an issue or a If you think that the log level of a specific Messages, you can modify the makemkv.output_codes.MESSAGE_CODESĭictionary accordingly. Python-makemkv uses the logging module from Python's standard library, from makemkv import MakeMKV, ProgressParser with ProgressParser () as progress : makemkv = MakeMKV ( 0, progress_handler = progress. Makemkv.ProgressParser class to show pretty progress bars Since this will take some time you can define aįunction that analyzes the program's progress or you can use the To create a mkv file from the first title of the first disc you can use from pprint import pp from makemkv import MakeMKV makemkv = MakeMKV ( '/dev/sr0' ) disc_info = makemkv. Makemkv.MakeMKV object which provides its () To get information about discs, you need to instantiate a If you want to use the CLI, you need to install it with pip install makemkv Python-makemkv can be installed using pip. Location to your PATH environment variable. That makemkvcon can be run from the terminal, e. If MakeMKV isn't installed at the default location, you also need to ensure

Python-makemkv requires Python 3.9 or later.Īdditionally, a copy of MakeMKV is required, which can be downloadedįrom their website. While it can be imported as a module, it also offersĪ command-line interface that tries to be more intuitive than Python-makemkv is a simple python wrapper for MakeMKV (written by
