[MPlayer-dev-eng] [PATCH] Automatic downmix
Clément Bœsch
ubitux at gmail.com
Sun Sep 26 11:18:40 CEST 2010
On Sun, Sep 26, 2010 at 11:04:00AM +0200, Nicolas George wrote:
> Le quintidi 5 vendémiaire, an CCXIX, Clément Bœsch a écrit :
> > OK. Then I attach two versions of the patch:
> > - patch-auto-downmix-pan.diff: my naive/arbitrary values
> > - patch-auto-downmix-pan-new-coeff.diff: with better values :)
> > I'm fine with both, but I think the second one is better. You to judge.
>
> As I said, I already committed (the first one) when you wrote this. If
Oh, thanks!
> someone else wants to alter the coefficients, I am fine with it, but I find
> the "new" ones less readable and I do not think they would bring a better
> experience.
In fact, I assumed that rear channels (and auxilary, etc) should have
their loudness reduced since they are further.
But in fact, it may not be a good idea. As you can see in the python code,
I used those values:
chlist = ('FL', 'FR', 'RL', 'RR', 'FC', 'LFE', 'AL', 'AR')
LR = {
'L': (1., 0., 1., 0., 0.707, 0.707, 1., 0.),
'R': (0., 1., 0., 1., 0.707, 0.707, 0., 1.)
}
Which in fact, seems simpler and quiet logical. Of course, normalized
values are not the same but ratio is kept.
Well anyway, thanks a lot for having the patch applied :)
Regards,
--
Clément B.
More information about the MPlayer-dev-eng
mailing list