I have a MKV
file in which I want to embed an AC3
audio file. I also want to embed a SRT
subtitle file into it. How can I achieve that?
Note: AC3 file is the same length of the original video.
audiomatroskasubtitlesvideovideo editing
I have a MKV
file in which I want to embed an AC3
audio file. I also want to embed a SRT
subtitle file into it. How can I achieve that?
Note: AC3 file is the same length of the original video.
Best Answer
If you have MKVToolnix installed, you can use the
mkvmerge
command to merge together the streams.The
-A
switch makes sure no sound is taken frominput.mkv
. See the examples section for more.For Windows, there exists the MKVToolnix GUI, which would make this a little easier:
In Ubuntu and similar distros, there should be the
mkvtoolnix-gui
package.