How to merge audio and video file in ffmpeg code example Example: ffmpeg combine audio and video ffmpeg -i video.mp4 -i audio.wav -c:v copy -c:a aac output.mp4