[FFmpeg-devel] [PATCH] lavfi audio framework

Michael Niedermayer michaelni
Tue Aug 17 04:12:02 CEST 2010

On Mon, Aug 16, 2010 at 09:56:25AM -0700, S.N. Hemanth Meenakshisundaram wrote:
> > On Fri, Aug 13, 2010 at 07:40:15AM -0700, S.N. Hemanth Meenakshisundaram
> > wrote:
> >> Same patch as before, but changed if (planar > 0) to if (planar) as
> >> indicated earlier.
> >
> > How does the framework handle merging 2 audio streams?
> > Its unreasonable to expect that every filter with 2 inputs has to do
> > buffering on all its inputs. A filter should be able to request
> > a specific number of samples and have the filter core do whatever is
> > needed
> > in terms of buffering (it could also insert a filter to do it ...)
> >
> If I understand you correctly, you are saying that we need an
> af_merge/af_join filter to do the opposite of what af_asplit filter does.
> All filters that just need audio data from two sources they consider equal
> will use this filter as their only input.
> Is this right?

no, iam saying that writing filters with more than 1 input is not as
simple as i would want it to be
i suspect this can be looked into later


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100817/954d4e60/attachment.pgp>

More information about the ffmpeg-devel mailing list