Today, we show how to add, mix or replace a soundtrack on a video. Each shown command can of course be fully customized to suit your needs!
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
EXAMPLE
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
❶ Replaces the original audio soundtrack
→ ffmpeg -i firework.mp3 -i input03.mp4 output01.mp4
with:
-i firework.mp3 = Reads audio file «firework.mp3» …
-i input03.mp4 = … and video file “input03.mp4” …
output01.mp4 = … and outputs the result to “output01.mp4”. Note: The audio track from “output03.mp4” is dropped
❷ Mixes with the original audio soundtrack
→ ffmpeg -i firework.mp3 -i input03.mp4 -filter_complex amix output02.mp4
with:
-i firework.mp3 -i input03.mp4 = Reads audio file «firework.mp3» and video file «input03.mp4»…
-filter_complex = … and starts a complex filter …
amix = … calling the audio mixing filter (amix, with default settings) …
output02.mp4 = … and outputs the result to “output02.mp4”
❸ Mixes with the original audio soundtrack with custom audio mixing levels
→ ffmpeg -i firework.mp3 -i input03.mp4 -filter_complex amix=normalize=0:weights=""1 0.25"" output03.mp4
with:
-i firework.mp3 -i input03.mp4 = Reads audio file «firework.mp3» and video file «input03.mp4»…
-filter_complex = … and starts a complex filter …
amix = … calling the audio mixing filter (amix) …
normalize=0 = … disabling audio normalization …
weights=""1 0.25"" = … setting audio levels to 1 for firework.mp3 and 0.25 for input03.mp4 …
output03.mp4 = … outputting the result to “output03.mp4”
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
→ Catch up with the FFMPEG guy Channel
• ALL THE VIDEOS FROM THE CHANNEL
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
MUSIC
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
→ Kazoom - Quincas Moreira
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
An FFMPEG question?
Ask the FFMPEG guy
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
Смотрите видео How to make add a soundtrack to a video | Audio mixing VFX онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The FFMPEG guy 06 Ноябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 377 раз и оно понравилось 18 людям.