[Libav-user] Odp: Re: Odp: Re: Odp: Mixing many video and audio files
marcinus_007 at wp.pl
Mon Mar 31 11:29:20 CEST 2014
Dnia Poniedziałek, 31 Marca 2014 11:07 Nicolas George <george at nsup.org> napisał(a)
> Le primidi 11 germinal, an CCXXII, Marcin krycho a écrit :
> > sorry but I sent this message almost week ago, I did not know it was not visible on the list.
> Your MUA is breaking threads (see the archive on Gmane for example). This is
> probably linked. You should fix this
> > Thank you for answer. So my understanding is that there are two solutions
> > for this problem. First solution is to use amix: filter graph + buffer for
> > each input + mixing. Second solution would be to create video file with
> > many audio streams with "amerge" and than mix these all channels using
> > pan(recomended)?
> They are the same solution, with only a slight difference in implementation,
> in the way you write the filter graph. The global result is the same: you
> feed frames on all inputs and you get a single mixed frame on the output.
> > Is there any code example for these two methods? FFMPEG allows to do it,
> > so maybe you know where it is implemented in FFMPEG? Which file etc. It is
> > not easy to start from scratch with such mixing, this is why I am looking
> > for example.
> There are examples for filtering audio, although I believe there are no
> example for graphs with several inputs.
> Nicolas George
Thanks for hints. For now I do not have more questions. In the nearest future I will try to do this so maybe than I will write again.
More information about the Libav-user