makemkvcon, Linux: How to remux a DVD or BD backup folder?

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
BD-BD-BD
Posts: 10
Joined: Sun Aug 26, 2018 7:14 am

makemkvcon, Linux: How to remux a DVD or BD backup folder?

Post by BD-BD-BD »

I haven't found a way to remux a loose folder with the CLI build; the instructions has a related example:
Copy all titles from first disc and save as MKV files:

Code: Select all

makemkvcon mkv disc:0 all c:\folder
I'm not copying from a disk, but a local disk backup directory. I've tried running:

Code: Select all

makemkvcon --robot mkv /path/to/the/DVD/backup all /the/output/path
..and some variations, the process fails. I'm I only missing a prefix before '/path/to/the/DVD/backup' or is this functionality unavailable in the CLI app?

I've installed MakeMKV from Flathub — the actual command to launch the CLI version is:

Code: Select all

flatpak run --command=makemkvcon com.makemkv.MakeMKV
EDIT: The OP has been edited for clarity, refer to the next comment for functional makemkvcon commands.

EDIT-2: Cleaned the post title.
Last edited by BD-BD-BD on Tue Mar 19, 2024 11:02 am, edited 5 times in total.
BD-BD-BD
Posts: 10
Joined: Sun Aug 26, 2018 7:14 am

Re: makemkvcon: How to remux (into .mkv) a DVD backup folder?

Post by BD-BD-BD »

I was missing the `file:` prefix: example commands for both DVD and BD:

Code: Select all

makemkvcon mkv --robot file:/mnt/media/DVD-folder/VIDEO_TS.IFO all /the/output/path

Code: Select all

makemkvcon mkv --robot file:/mnt/media/BD-folder/BDMV/index.bdmv all /the/output/path
Extracts all titles from a DVD or BD directory. See the manual for other input options:
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)
dev:<DeviceName> - open disc with OS device name <DeviceName>
BD-BD-BD
Posts: 10
Joined: Sun Aug 26, 2018 7:14 am

Re: makemkvcon: How to remux (into .mkv) a DVD backup folder?

Post by BD-BD-BD »

The syntax appears to have changed somewhat recently — now makemkvcon doesn't detect nor require the 'file:' parameter. A sample command (Linux) to rip a BD folder:

Code: Select all

makemkvcon mkv --robot ~/Videos/discs/BD/BDMV/index.bdmv all ~/Videos/discs/remux/ | less
I tested with a DVD and BD, both decrypted to a folder (possibly using another program).

---

MakeMKV 1.17.6 (Flatpak)
yommish
Posts: 2
Joined: Fri Jun 27, 2025 11:54 am

Re: makemkvcon: How to remux (into .mkv) a DVD backup folder?

Post by yommish »

BD-BD-BD wrote:
Tue Mar 19, 2024 10:50 am
The syntax appears to have changed somewhat recently — now makemkvcon doesn't detect nor require the 'file:' parameter. A sample command (Linux) to rip a BD folder:
:D :D

Code: Select all

makemkvcon mkv --robot ~/Videos/discs/BD/BDMV/index.bdmv all ~/Videos/discs/remux/ | less
I tested with a DVD and BD, both decrypted to a folder (possibly using another program).

---

MakeMKV 1.17.6 (Flatpak)
Thanks for both posts, you helped me out here. :D
BD-BD-BD
Posts: 10
Joined: Sun Aug 26, 2018 7:14 am

Re: makemkvcon, Linux: How to remux a DVD or BD backup folder?

Post by BD-BD-BD »

I assumed that the 'file:' path prefix is redudant, but 'MakeMKV v1.18.3 linux(x64-release)' still prints (see 'Source specification'):

Code: Select all

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
  backup <source> <destination folder>                                                                                                                                                        
      backs up disc to a hard drive                                                                                                                                                           
  f <args>                                                                                                                                                                                    
      run universal firmware tool                                                                                                                                                             
  reg <key string or file name>                                                                                                                                                               
      enter registration key into program
                                                                                               
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)
  dev:<DeviceName>  - open disc with OS device name <DeviceName>
                                                                                               
Switches:                                                                                      
  -r --robot        - turn on "robot" mode, see http://www.makemkv.com/developers
EDIT: As if 1.18.3 were a over 15-years-old release, but that same version re-appears in the changelog:
MakeMKV v1.18.3 (25.1.2026)
[…]
Also the command-line client displays no errors for faulty discs (DVD/BD "backup" folders created with inaccurate software), the program immediately exists. The MakeMKV GUI application shows a warning pop-up and clearly communicates which titles weren't copied.
Woodstock
Posts: 10836
Joined: Sun Jul 24, 2011 11:21 pm

Re: makemkvcon, Linux: How to remux a DVD or BD backup folder?

Post by Woodstock »

EDIT: As if 1.18.3 were a over 15-years-old release,
Actually, as if the author decided to NOT change the message containing the current version constantly, so that one link worked since it was originally posted, dozens of versions ago...

Mike has a tendency to do that; check the link dates for the current release and the current beta key. You don't have to search for them, because they're always in the same place within the forum.
flojo
Posts: 334
Joined: Thu Jun 22, 2023 4:27 am
Location: El Paso

Re: makemkvcon, Linux: How to remux a DVD or BD backup folder?

Post by flojo »

BD-BD-BD wrote:
Tue Feb 17, 2026 5:30 pm
Also the command-line client displays no errors for...
The stdout is largely for CSV parsing but, I believe $? is set for all errors, so you should be able to check that, eg. if [ $1 -ne 0 ]; then echo ERROR; fi
Post Reply