This walk-through explains how to merge multiple video files. Simple merging the ripped files with MKVToolNix will result in black section of several seconds at the location where part 1 and part 2 are joined, to avoid this we have to add several steps to the merging process. The steps are similar for 3D and 2D movies, below is the example for Avatar: The Way of Water 3D. For a 2D movie, replace steps 1-3 with a transcode with HandbrakeCLI.
__MUX_3D_OPTIONS.json
in folder MKV3D
and multiply with this value. For the Avatar 3D movie these values are as follows:160,027
to 160,002
MKV3D\__ENCODE_3D.cmd MKV3D\__ENCODE_3D_MOVIE.avs
MKV3D\__ENCODE_3D_LAUNCHER.cmd
to generate the file without the black frames at the end