[MPlayer-dev-eng] [PATCH] Automatic downmix

Grigori Goronzy greg at chown.ath.cx
Tue Aug 10 22:20:24 CEST 2010


On 08/10/2010 08:56 PM, ubitux wrote:
> So the question is: should I make a proper patch (without depending on a
> filter) to the flac decoder in {libavcodec,libavformat}/flacdec.c?
> 

I think FLAC isn't the only decoder that is unable to output stereo, if
necessary. Besides, IMO it is a good idea to have some sort of fallback
solution in place.

> (I still note saturations with pan, but less).

Given the coefficients you pass to the pan filter, that's expected. :)
They sum up to 2.5 for each channel, ideally they should sum up to 1.
However I am not sure how volume will suffer if they're scaled down to
achieve that.

Grigori


More information about the MPlayer-dev-eng mailing list