[FFmpeg-devel] [PATCH] lavfi: add avolume filter
Nicolas George
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:
> avolume=2x
> 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".
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111102/afae6689/attachment.asc>
More information about the ffmpeg-devel
mailing list