[FFmpeg-devel] [PATCH 3/3] ffmpeg: support audio in complex filters

Matthieu Bouron matthieu.bouron at gmail.com
Mon May 7 10:31:24 CEST 2012


On Sat, May 05, 2012 at 11:14:19AM +0200, Matthieu Bouron wrote:
> On Thu, May 03, 2012 at 03:42:02PM +0200, Matthieu Bouron wrote:
> > On Thu, May 03, 2012 at 03:22:26PM +0200, Nicolas George wrote:
> > > Le quintidi 15 floréal, an CCXX, Matthieu Bouron a écrit :
> > > > ---
> > > >  ffmpeg.c |  185 ++++++++++++++++++++++++++++++++++++++++++++++++++++----------
> > > >  1 file changed, 157 insertions(+), 28 deletions(-)
> > > 
> > > Cool! Thanks.
> > > 
> > > > +    for (i = 0; i < ist->nb_filters; i++) {
> > > > +        if (av_asrc_buffer_add_buffer(ist->filters[i]->filter,
> > > > +                                      samples, decoded_data_size,
> > > > +                                      ist->st->codec->sample_rate,
> > > > +                                      ist->st->codec->sample_fmt,
> > > > +                                      ist->st->codec->channel_layout,
> > > > +                                      0, ist->pts, 0) < 0) {
> > > 
> > > This API is about to be deprecated. Would you consider rebasing your patch
> > > on top of my proposal to merge vsrc_buffer and asrc_buffer? I intend to push
> > > most patches in less than a few hours and re-submit the other ones.
> > 
> > No problem, i'll wait for your patches.
> 
> Patch updated using av_buffersrc_add_frame.

ping



More information about the ffmpeg-devel mailing list