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.
+ Reply to Thread
Results 1 to 6 of 6
-
Last edited by Ragnarok10; 17th Dec 2022 at 15:44.
-
--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 -
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.
-
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 -
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."
Similar Threads
-
Mkvmerge, batch to mkvmerge add multiple audio tracks
By SrBills in forum Newbie / General discussionsReplies: 5Last Post: 15th Mar 2024, 11:03 -
DVD Styler...title post command (play next title)
By Mikeymoo2351 in forum Authoring (DVD)Replies: 1Last Post: 20th Dec 2020, 10:33 -
MOV Files Blank in Picasa, Blank Icons in Win Explorer
By Alwyn in forum Software PlayingReplies: 0Last Post: 8th Dec 2020, 00:58 -
Invalid title time after jumping back to previous title
By Bencuri in forum Authoring (DVD)Replies: 3Last Post: 29th Oct 2019, 02:46 -
When you rip a chapter instead of title-set, is there loss?
By 90sTV in forum Newbie / General discussionsReplies: 2Last Post: 15th Oct 2018, 13:38