kbin account: [email protected]

This is my Lemmy alt. I’m about 50/50 between kbin and reddthat these days, but my kbin account is more established. If you’re looking for my older posts, check there.

Interests: programming, video games, anime, music composition

This profile is from a federated server and may be incomplete. View on remote instance

e0qdk ,
@e0qdk@reddthat.com avatar

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:

ffmpeg -i video_track.mp4 -i audio_jp.m4a -i audio_en.m4a -map 0:v -map 1:a -map 2:a -metadata:s:a:0 language=jpn -metadata:s:a:1 language=eng -c:v copy -c:a copy output.mp4

Breaking it down, it:

  • runs ffmpeg
  • with three inputs (-i flag) -- a video file, and two audio files.
  • The streams are explicitly mapped into the result, counting the inputs from 0 -- i.e. -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.
  • It sets the metadata for the audio tracks -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.

e0qdk ,
@e0qdk@reddthat.com avatar

To clarify, the word OP brought up is "aiseki".

(Takoboto is a dictionary site.)

e0qdk ,
@e0qdk@reddthat.com avatar

Can you run the DOS software under DOSBox?

e0qdk ,
@e0qdk@reddthat.com avatar

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.

e0qdk ,
@e0qdk@reddthat.com avatar

If you really want a setup with that many disks, you might look into Ceph. It's intended for handling stupidly huge amounts of data spread across multiple servers with self-healing and other nice features. (As the name suggests it's a bit of a tentacle monster though.) One of my colleagues set up a deployment at work. It took a while for him to figure out how to get it running well but it's been pretty useful.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines