Have you tried ffmpeg with -copyts argument?
ffmpeg -i <input file> -y -loglevel panic -c:v copy -c:a copy -bsf:a aac_adtstoasc -copyts <output file>
If you use linux or mac os, you can automate the task by the script:
Code:
#!/bin/bash
mkdir -p _ts
for i in `ls *.ts`;
do
echo "Creating" ${i%.*}.mp4
ffmpeg -i $i -y -loglevel panic -c:v copy -c:a copy -bsf:a aac_adtstoasc -copyts ${i%.*}.mp4
if [ $? -eq 0 ]; then
mv $i _ts/
fi
done