To merge a Video file and an audio file, only FFmpeg is required. I needed the audio from one other video, I ripped it like this.
ffmpeg -i Online-1.mp4 -vn -acodec copy output-audio.aac |
Then I could use this command to merge the aac audio with a silent video to make a copy of the video with sound. This worked perfectly, this copies the audio and video as-is and just puts them together without requiring the video to be processed into another format.
ffmpeg -i "Online.mp4" -i output-audio.aac -shortest outPutFile.mp4 |
This is how easy it is to copy audio and video together with FFmpeg.