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