Posted: . At: 5:12 PM. This was 3 years ago. Post ID: 15331
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.



Sponsored



How to merge sound and video in FFmpeg. This is very helpful sometimes.


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.

The very old disk space display.
The very old disk space display.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.