I use ffmpeg to concat videos in a fashion similar to this:
I ran into a weird error with my inputs
[Parsed_concat_0 @ 000000002a05bb80] Input link i
Add the setsar filter:
ffmpeg -i 0.mp4 -i 1.mp4 -i 2.mp4 -filter_complex "[0:v]setsar=1[v0];[v0][1:v][2:v]concat=n=3:v=1:a=0[v]" -map "[v]" out.mp4
This example is assuming that 0.mp4 is the video with the wrong SAR.
0.mp4