diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-05-04 18:57:04 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-05-14 21:36:11 +0200 |
commit | 4c66c4071830e74afa1aea3df52059ab163c1ddb (patch) | |
tree | 84cd3f7be732f5f9b426da82af151fe2806e7b30 /doc/filters.texi | |
parent | 720c6b78d1e8323d2df070e3da2f0ed305156c65 (diff) | |
download | ffmpeg-4c66c4071830e74afa1aea3df52059ab163c1ddb.tar.gz |
lavfi: add an audio buffer source.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 8eff84a0e4..8d4242607a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -151,6 +151,33 @@ anullsrc=48000:4 anullsrc=48000:mono @end example +@section abuffer +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 +@file{libavfilter/buffersrc.h}. + +It accepts the following named parameters: +@table @option + +@item time_base +Timebase which will be used for timestamps of submitted frames. It must be +either a floating-point number or in @var{numerator}/@var{denominator} form. + +@item sample_rate +Audio sample rate. + +@item sample_fmt +Name of the sample format, as returned by @code{av_get_sample_fmt_name()}. + +@item channel_layout +Channel layout of the audio data, in the form that can be accepted by +@code{av_get_channel_layout()}. +@end table + +All the parameters need to be explicitly defined. + @c man end AUDIO SOURCES @chapter Audio Sinks |