diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-05-21 21:27:59 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-05-23 16:37:34 -0400 |
commit | c7448c182a701b4c6efc52e0224bcbecc1aa6c3b (patch) | |
tree | d57d6e0ae5394ecc4731a6f74e0f6f1afba721b7 /doc/filters.texi | |
parent | 1e8561e36931d6e2c4294702907ca0beb4cba3b6 (diff) | |
download | ffmpeg-c7448c182a701b4c6efc52e0224bcbecc1aa6c3b.tar.gz |
lavfi: add audio mix filter
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index ac780299b4..0179682918 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -133,6 +133,44 @@ For example to force the output to either unsigned 8-bit or signed 16-bit stereo aformat=sample_fmts\=u8\,s16:channel_layouts\=stereo @end example +@section amix + +Mixes multiple audio inputs into a single output. + +For example +@example +avconv -i INPUT1 -i INPUT2 -i INPUT3 -filter_complex amix=inputs=3:duration=first:dropout_transition=3 OUTPUT +@end example +will mix 3 input audio streams to a single output with the same duration as the +first input and a dropout transition time of 3 seconds. + +The filter accepts the following named parameters: +@table @option + +@item inputs +Number of inputs. If unspecified, it defaults to 2. + +@item duration +How to determine the end-of-stream. +@table @option + +@item longest +Duration of longest input. (default) + +@item shortest +Duration of shortest input. + +@item first +Duration of first input. + +@end table + +@item dropout_transition +Transition time, in seconds, for volume renormalization when an input +stream ends. The default value is 2 seconds. + +@end table + @section anull Pass the audio source unchanged to the output. |