[FFmpeg-cvslog] doc/filters: clarify behaviour of weights in amix

Gyan Doshi git at videolan.org
Tue Aug 9 11:30:14 EEST 2022


ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Tue Aug  9 14:16:16 2022 +0530| [9e029dc265398f6a50cd61837959010c52228869] | committer: Gyan Doshi

doc/filters: clarify behaviour of weights in amix

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e029dc265398f6a50cd61837959010c52228869
---

 doc/filters.texi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index c85c33a104..01a359f20f 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2236,8 +2236,10 @@ The transition time, in seconds, for volume renormalization when an input
 stream ends. The default value is 2 seconds.
 
 @item weights
-Specify weight of each input audio stream as sequence.
-Each weight is separated by space. By default all inputs have same weight.
+Specify weight of each input audio stream as a sequence of numbers separated
+by a space. If fewer weights are specified compared to number of inputs, the
+last weight is assigned to the remaining inputs.
+Default weight for each input is 1.
 
 @item normalize
 Always scale inputs instead of only doing summation of samples.



More information about the ffmpeg-cvslog mailing list