Update Adding files vs. Appending files vs. adding as additional parts

Moritz Bunkus 2023-08-16 09:02:01 +00:00
parent 0fd7b43808
commit 69333bddce

@ -15,6 +15,22 @@ What does "add" mean compared to "append"? And what is the difference between ap
Coming back to the GUI, when you "add files" their content will be laid out in parallel to the files/tracks that are part of the multiplexer job already. For example, when you have two separate source files, one with both audio & viedo tracks and a second file containing subtitles, you would use the "add files" action for both source files as you would like to have the audio, video & subtitle content play simultaneously.
### mkvmerge syntax
The default for all file names given to `mkvmerge` is to lay them out in parallel. If you want to append a file to another file so that the two are laid out sequentially, you'll have to use the `+` operator before the second file name. For example:
```
mkvmerge -o parallel_layout.mkv input1.mkv input2.opus input3.srt
```
vs
```
mkvmerge -o sequential_layout.mkv input1.mp4 + input2.mp4 + input3.mp4
```
See the [documentation](https://mkvtoolnix.download/doc/mkvmerge.html) for details.
### "Appending files" vs "adding as additional parts"
Even though the second option is named "adding…", both options actually cause the content to be laid out sequentially after all of the content of the file they're appended/added to. Which mode you should use depends on the type of source file, though, and unfortunately this decision cannot be fully automated.