i have multiple mp4 file (i already converted it into .ts) and while concat i am missing the audio synch. I mean it just push the audio track together.
say i have four .mp4 file where 2 of them doesn't have audio track (because those are image based video clip). when i try to concat using below code, the output is totally different where the audio of 4.ts starts playing when video of 2.ts start or in other words the audio files are left-aligning and i guess there is something i need to play with -map but not sure how to fix it.
ffmpeg -i "concat:1.ts|2.ts|3.ts|4.ts" -c copy -bsf:a aac_adtstoasc output.mp4