[FFmpeg-devel] [PATCH] lavfi audio framework
S.N. Hemanth Meenakshisundaram
Mon Aug 16 18:56:25 CEST 2010
> On Fri, Aug 13, 2010 at 07:40:15AM -0700, S.N. Hemanth Meenakshisundaram
>> 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
> 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?
I guess filters that treat their two inputs in different ways will need to
have two input pads and the code to handle them.
I will write an af_merge filter and add the framework changes. Should that
be part of this patch?
More information about the ffmpeg-devel