[Libav-user] AudioToolbox AudioBufferList to/from AVFilter
ronak2121 at yahoo.com
Tue Nov 28 02:19:45 EET 2017
Do you mind pointing me to the relevant documentation?
I tried setting up an AVFrame instance with the sample rate, channel layout and data but the calls to av_frame_ref are failing with -22 errors. I’m looking for any sample code that shows how to properly initialize an AVFrame from an AudioBufferList.
Sent from my iPhone
> On Nov 26, 2017, at 2:17 PM, Paul B Mahol <onemda at gmail.com> wrote:
>> On 11/26/17, Ronak <ronak2121-at-yahoo.com at ffmpeg.org> wrote:
>> 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.
> And planar format into AVFrame->extended_data[ X ], where X is channel number.
> Libav-user mailing list
> Libav-user at ffmpeg.org
More information about the Libav-user