VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Member
    Join Date
    Apr 2018
    Location
    United States
    Search PM
    I don't like when mkv files have an explicit title set since I'd rather they just "inherit" the title from the filename. I know I can delete titles using mkvpropedit, but since I'm already muxing multiple files with mkvmerge I'd rather just do it in a single step. Most of the time, the source mkv doesn't have a title, so it's fine. But when the source mkv does have a title that gets copied over to the output file, which I don't want.

    First I tried this, putting the --title argument before the mkv file and sub file that I'm muxing:
    mkvmerge -o "output.mkv" --title "" "input.mkv" "input.ass"

    This results in only the subtitle file being muxed, with the mkv file being ignored, even though putting any non-empty title in the title's argument makes it include both as expected.

    Then I tried moving the title to the end:
    mkvmerge -o "output.mkv" "input.mkv" "input.ass" --title ""

    This results in the following: "Error: '--title' lacks the title."
    Again, putting in a non-empty title allows this to work.

    My understanding was that global attributes like --title can be specified in any order anyway. Additionally, I looked at the command generated from muxing those two files in MKVToolNix, and it does seem to put --title "" after the individual files (though technically it's not last since it also specifies the --track-order after that).

    I was on a year old version of mkvmerge, but I just updated to the most recent version and the issue still occurs.

    Any help would be appreciated.
    Last edited by Ragnarok10; 17th Dec 2022 at 15:44.
    Quote Quote  
  2. Member Ennio's Avatar
    Join Date
    May 2005
    Location
    Netherlands
    Search Comp PM
    --title "" works on my Windows 7 pc, wherever I put it. Maybe try a Qt5 build:

    https://forum.videohelp.com/threads/405407-NON-OFFICIAL-Windows-builds-of-MKVtoolnix/p...e3#post2672418
    Quote Quote  
  3. Member
    Join Date
    Apr 2018
    Location
    United States
    Search PM
    I'm on Windows 10, so I'm pretty sure the official release is just fine. Seems like the version you linked to is for Windows 7 compatibility. Thanks anyway though.
    Quote Quote  
  4. Member
    Join Date
    Apr 2018
    Location
    United States
    Search PM
    I suppose I should add that I'm running mkvmerge from Powershell. I just tried copying the command to cmd and it works correctly with the --title "". Is there a known issue with running mkvmerge in Powershell or is it supposed to work there perfectly fine?
    Quote Quote  
  5. Member
    Join Date
    Apr 2018
    Location
    United States
    Search PM
    Apparently it was a bug in Powershell. Sending empty arguments just outright didn't work in Powershell until a recent feature (experimental in 7.2, enabled by default in 7.3). Unfortunately this update makes some other things I wanted to do harder, but at least the core functionality works now.

    See: https://github.com/PowerShell/PowerShell/issues/6280
    Quote Quote  
  6. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by Ragnarok10 View Post
    I suppose I should add that I'm running mkvmerge from Powershell. I just tried copying the command to cmd and it works correctly with the --title "". Is there a known issue with running mkvmerge in Powershell or is it supposed to work there perfectly fine?
    Thanks for making things clear. *THUMBS UP*
    PowerShell is much more complicated than the olde and goode command-line interpreter of Windows
    (cmd.exe, which was command.com in the non-NT versions).
    Most people, including myself, have no idea of how to use PowerShell, and so we keep it solemnly ignored.
    "Programmers are human-shaped machines that transform alcohol into bugs."
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!