[FFmpeg-devel] [PATCH] af_volumedetect: Work with sample formats other than s16/s16p

Paul B Mahol onemda at gmail.com
Sun Aug 14 00:41:07 EEST 2016


On Saturday, August 13, 2016, Burt P. <pburt0 at gmail.com> wrote:

> On Sat, Aug 13, 2016 at 4:23 AM, Paul B Mahol <onemda at gmail.com
> <javascript:;>> wrote:
> >
> > Also, swresample already does what converting code do, but faster.
>
> Doing the conversion in the filter itself instead of using the
> auto-inserted conversion filter is that the original data is left
> completely untouched.
> Using astats, the sample format is converted to DBL for the astats
> filter and everything after.
> I can't risk anything affecting the LSB of the input or the HDCD code
> may be disrupted.




Integer mode could be easily added. Doesn't dbl hold enough bits?


More information about the ffmpeg-devel mailing list