Unable to concatenate videos due to identical MOOV atoms
Without knowing the exact details of your workflow it is hard to answer this question, so more information would be greatly helpful.

One approach would be to use raw video during your "joining" phase of the algo to strip the moov atom. The final step would be to convert your concat'ed raw video back into mp4.