[FFmpeg-devel] [PATCH] lavfi: add avolume filter
nicolas.george at normalesup.org
Wed Nov 2 21:47:10 CET 2011
Le duodi 12 brumaire, an CCXX, Stefano Sabatini a écrit :
> * maybe I should change the syntax for the relative value, indeed
> avolume=2.0 is confusingly different from avolume=2, I could for
> example require to add an x (as times) to it.
> So we would have:
> for increasing volume by two.
My humble opinion about that is that, for the users, the order of usefulness
is: "avolume=1.5" > "avolume=+3.5dB" > "avolume=384", and therefore, the
syntax should make the first one the most accessible.
What about: if there is a sign at the start, then it is in decibels, else it
is a float factor, and use the eval interface to get the value? This, the
above becomes: "avolume=1.5" > "avolume=+3.5" > "avolume=384/256".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel