DOSBox runs on both Linux and Windows (and probably Mac too?); I was suggesting it since you might be able to replace the dying DOS computers with a modern system and just launch the legacy system as an application under it. (You might be able to do the same with a VM as well, but DOSBox came to mind first and may be easier to setup and distribute.)
Just a thought. If it's not useful, feel free to disregard.
I don't know how to do it with KDE's tools, but on the command line with ffmpeg you can do something like this:
Breaking it down, it:
ffmpeg
-i
flag) -- a video file, and two audio files.-map 0:v
maps input 0 (the first file) as video (v
) to the output file and-map 1:a
maps the next input as audio (a
), etc.-metadata:s:a:0 language=jpn
sets the first audio track (again counting from 0...) to Japanese; the second metadata option sets the next audio track to English.-c:v copy
specifies that the video codec should be copied directly (i.e. don't re-encode -- remove this if you DO need to re-encode)-c:a copy
specifies that the audio codec should be copied directly (i.e. don't re-encode -- remove this if you DO need to re-encode)output.mp4
-- finally, list the name of the file you want the result written into.See documentation here: https://ffmpeg.org/ffmpeg.html
If you need another language in the future, I think the language abbreviations are the three letter codes from here: https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes -- but I'm not certain on that.