![]() If you want to combine them AND re-encode the audio to AAC format, you can use this command : ffmpeg -i INPUT_FILE.mp4 -i AUDIO.wav -c:v copy -c:a aac OUTPUT_FILE.mp4 Let’s suppose our video file name is INPUT_FILE.mp4 and the audio file name is AUDIO.wav. To ensure compatibility, we recommend using MP4 or MKV as the container. Please do note that the container (file extension) must accept the video and audio codec. If you have separate audio and video file, and the video file contains no audio, you can use this command to combine them into one video file. ![]() ![]() 6 Conclusion Combine separate video and audio using FFmpeg
0 Comments
Leave a Reply. |