You are absolutely correct, I was wondering why the the sound seems to go up much more rapidely than I expect. is it possible to indicate Db instead of just a factor ?
2014-08-08 17:06 GMT+02:00 Brian Matherly <c...@brianmatherly.com>: > Pascal, > > >> Downloaded the latest version of shotcut and the included melt works just >> as expected ! >> one more question, I'm animating the audio level with this kind if string >> : >> -filter volume level=0=0;100=1;150=1;300=0 >> I wondering if this is the good way to do it and also what are the >> units for the level property ? >> I'm assuming 0 is no volume and 1 is original volume ? am I right ? > > From the code it looks like the level is applied as a linear scaling factor. > That is, the sample is just multiplied by the level. So yes, your assumption > is correct. > > This may not provide the results that you are looking for since is usually > works best to adjust levels logarithmically (in dB) rather than linearly. I > predict that you will find the volume ramps up much more quickly than you > want because when the level gets to 0.5, the gain will be at -6db. But you > should try it out and see if you like the results. > > ~BM ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel