[libav-tools] Overlaying audio onto a video at specific points

Chris Angelico rosuav at gmail.com
Sat Nov 8 15:09:22 CET 2014


On Sat, Oct 11, 2014 at 12:31 PM, Chris Angelico <rosuav at gmail.com> wrote:
> On Sat, Oct 11, 2014 at 11:50 AM, Leon Brooks <leon.rj.brooks at gmail.com> wrote:
>> The way I would do it (a variant on this may suit you) is:
>>
>> ‘rip’ the audio from the original video into a lossless format (such as WAV)
>> using avconv;
>> overlay/mix the additional audio using a tool such as Audacity (GUI) or sox
>> (command-line);
>> make a new video file by replacing the audio track on the original with your
>> mix using avconv.
>
> Okay, thanks for the tip. I'll dig into the sox parameters and see how
> that goes. (There's going to be a lot of files to mix together, so I
> definitely want to script this.)
>
> ChrisA

Thanks for the tip, Leon, and sorry for not following up sooner. This
technique is working beautifully, if a little inefficiently; a full
build takes over five hours, piecing together 70-80 separate tracks!
But the end result is what I'm looking for. Much appreciated.

ChrisA


More information about the libav-tools mailing list