Hi!
I'm trying to make a script for MKVMerge, so I can select one or more files, and then let MKVMerge mux them to one mkv file by clicking a button.
I have made this string:
mkvmerge.exe -o {file|noext}.mkv {allfile$}, where {file|noext}.mkv is supposed to be the name of the output file.
But the problem is, when I select 2 files, for examble, the script produces 2 mkv files, one for each file selected.
I want just one mkv file of course, named similary to one of the selected files.
Example:
I want to mux the file video1.avi and video1_subs.srt, and I want to the outuput to be named after the avi file. In other words -> video1.mkv
Any idea how to accomplish this?
Of course, the ideal script is to make it able to a batch job on several "pairs" of files, based on their filename.
video1.avi and video1_subs.srt goes to one mkv file
video2.avi and video1_subs.srt goes to another mkv file
and so on..
If someone could give me some pointers on where to start... the only programming I have done is with VBScript.. can that be used?
Thank you.
