FFMPEG add additional audio track in video (mix 2 audio)
Solution 1:
Basic command syntax is
ffmpeg -i main.mp4 -i newaudio
-filter_complex "[0:a][1:a]amix=duration=shortest[a]" -map 0:v -map "[a]"
-c:v copy out.mp4
Basic command syntax is
ffmpeg -i main.mp4 -i newaudio
-filter_complex "[0:a][1:a]amix=duration=shortest[a]" -map 0:v -map "[a]"
-c:v copy out.mp4