For streaming reasons I wrap all my video material in a matroska container. Mostly sitcoms, so there are plenty files. I have my batch files in the root drive and move all the files there before running the batch file. If they are avi files for example, the batch file looks like this
for %%i in (*.avi) do mkvmerge -o aaaa/"%%i.mkv" --title "%%1" --generate-chapters interval:3m --no-subtitles "%%i"
I end up with all the files ending in .avi.mkv, and use a bulk rename utility to remove the .avi. Not that it does any harm except make the file name longer and look silly in the home theatre.
I can of course put the files in a specific folder, remove all the .avi extensions, and then use a modified version of the batch file.
Both these methods are a bit of a schlepp. Is there any way to make mkvmerge remove the existing extension. I can't see anything in the documentation. And I haven't been able to find a method to change extensions in a batch file.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
Code:
for %%i in (*.avi) do mkvmerge -o "aaaa\%%~ni.mkv" --title "%%1" --generate-chapters interval:3m --no-subtitles "%%i"
Similar Threads
-
MKVMerge batch muxing only attachments from other file
By kuodo20 in forum Newbie / General discussionsReplies: 2Last Post: 8th Jan 2018, 01:17 -
Find correct file extension and removing Metatags (Batch)
By anon2 in forum EditingReplies: 3Last Post: 19th Sep 2017, 12:43 -
MKVMerge - Batch Mux Video and Audio File but provide ID?
By m3 in forum Newbie / General discussionsReplies: 25Last Post: 7th Sep 2015, 19:41 -
Batch M4V to MKV? (MKVMerge)
By newoski in forum Newbie / General discussionsReplies: 2Last Post: 4th Dec 2013, 18:37 -
Script to Batch edit MKV files with MKVMerge or any other program
By Animebuster in forum EditingReplies: 3Last Post: 21st Oct 2013, 18:17