ffmpeg merge audio and video with using an sowt audio codec code example
Example: ffmpeg combine audio and video
ffmpeg -i video.mp4 -i audio.wav -c:v copy -c:a aac output.mp4
ffmpeg -i video.mp4 -i audio.wav -c:v copy -c:a aac output.mp4