How to stack three videos side by side with ffmpeg
For vertical stacking, the widths have to be equalized.

[1:v][0:v]scale2ref=iw:ow/mdar[1v][0v];[2:v][0v]scale2ref=iw:ow/mdar[2v][0v];[0v][1v][2v]vstack=3