Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

I'm looking for a method to add an audio file (a short blip) to many short video files. Is there a method on any popular video software to create a batch process that will add the same audio file to many video files, so that the 'blip' plays at the start of each video?

Thanks!

share|improve this question
add comment

2 Answers 2

Using FFMPEG the command would look something like this:

ffmpeg -i <sourceVideoFile> -i <sourceAudioFile1> -i <sourceAudioFile2> -map 0:0 -map 0:1 -map 1:0 -map 2:0 -c:v copy -c:a copy <outputVideoFile>

Basically you're taking the source video file and multiple audio inputs, then mapping multiple audio files to the output's audio stream 0. Using -c:v copy and -c:a copy, you arent doing any encoding, so your file will keep its original quality.

That command was taken from the link below, which has more instructions:

http://zoid.cc/ffmpeg-audio-video/

Edit: Forgot to mention the point about wanting to do it in batch. Use the link below to create a bat file in Windows that would target all the specific types like *.avi (or all types using .). You'd want to replace the ffmpeg portion of their bat file with the above. Since you have one audio file, try something like:

for %%a in ("*.avi") do ffmpeg -i "%%a" -i -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy "%%a"

You might want to back up your files and make a copy elsewhere before you process them, because the above will overwrite them I believe.

Link to that below: http://forum.videohelp.com/threads/356314-How-to-batch-convert-multiplex-any-files-with-ffmpeg

share|improve this answer
add comment

You mentioned Adobe and "any popular video software" - I don't know how to do it in Adobe products, but you can do it in Vegas Pro with Vegasaur extension (transcoder tool)

You can also try ffmpeg - free command-line utility with myriad functions.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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