Buffer audio frames, and make them available to the filter chain.
This source is not intended to be part of user-supplied graph descriptions but for insertion by calling programs through the interface defined in libavfilter/buffersrc.h.
It accepts the following named parameters:
- time_base
-
Timebase which will be used for timestamps of submitted frames. It must be either a floating-point number or in numerator/denominator form.
- sample_rate
-
Audio sample rate.
- sample_fmt
-
Name of the sample format, as returned by
av_get_sample_fmt_name()
. - channel_layout
-
Channel layout of the audio data, in the form that can be accepted by
av_get_channel_layout()
.
All the parameters need to be explicitly defined.