[FFmpeg-user] Using ffmpeg to combine video and audio?

Steve Boyer steveboyer85 at gmail.com
Tue Sep 5 22:53:55 EEST 2017

On Tue, Sep 5, 2017 at 12:25 PM, Andrew Valenkov <
manwithgoodtaste-at-yahoo.com at ffmpeg.org> wrote:

> Hello, everyone I guess. Never used such "mailing lists" before to
> communicate with a bunch of people at once.


> I am trying to become more computer-savvy, and learn all the digital
> multimedia trickery. I am also trying my best to preserve select YouTube
> videos in their original quality.

Kieran O Leary's original comment would do it:
ffmpeg -i videofile -i audiofile -c copy output.mkv (note, if you can't
play it back afterwards, change it to output.mp4).

> The situation is such: I have a video file with no audio, and the original
> audio from that video, both in /Downloads folder. I have searched for the
> solution, and seem to have found the command for the Terminal. But the
> closest thing to success I got was "no such command found" or "no such file
> or directory found".

This is probably the bigger part of your problem. If you don't have FFmpeg
already (which if it isn't downloaded and installed
https://www.ffmpeg.org/download.html#build-mac, telling the computer to run
a program it doesn't have wouldn't help any). I don't have a Mac and freely
admit my experience is poo, so I can't help you with the install process,
maybe someone else on the forum can walk you through with their eyes closed
in that aspect.

> I am a Mac El Capitan user, and have almost no Terminal experience. In
> other words, a n00b. And help that results in me succeeding is appreciated.

More information about the ffmpeg-user mailing list