Good Day. I have 1000 Video files ( without Audio ) I want to add audio in the video. same audio for all the videos. Any software suggestions?

2 Answers 2


the Linux script should be

for filename in /Videos/*; do
    ffmpeg -i $filename -i <audio_file> -map 0:v -map 1:a -c:v copy -shortest OutputWithAudio_$filename
  • Not just linux, that will work on macs and Windows computers with bash installed.
    – stib
    Oct 30, 2020 at 6:43

Ffmpeg is by far the best software for this kind of thing. Here's the Powershell version for windows to add to @xer-rex's answer:

get-childItems "c:\path\to\videos\folder\"|%{
  ffmpeg -i $filename -i <audio_file> -map 0:v -map 1:a -c:v copy -shortest ("OutputWithAudio_" + $_.name)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.