[Libav-user] AudioToolbox AudioBufferList to/from AVFilter

Paul B Mahol onemda at gmail.com
Sun Nov 26 21:17:47 EET 2017


On 11/26/17, Ronak <ronak2121-at-yahoo.com at ffmpeg.org> wrote:
> Hi,
>
> I'm trying to build a graphic equalizer using the ffmpeg library for iOS,
> wrapping the AVFilter library in an AUAudioUnit.
>
> I'm having trouble figuring out how to convert an AudioBufferList's data to
> an AVFilter and back. The input buffers are in stereo, so I'm also unsure
> how to pass in both data arrays.
>
> Does anyone know how to do this?

Have you read already available documentation?

AVFrame stores samples for packed format into AVFrame->data[0].
And planar format into AVFrame->extended_data[ X ], where X is channel number.


More information about the Libav-user mailing list