[MPlayer-dev-eng] [PATCH] Automatic downmix
Clément Bœsch
ubitux at gmail.com
Sun Sep 19 17:08:32 CEST 2010
On Sun, Sep 19, 2010 at 11:47:00AM +0200, Nicolas George wrote:
> Le decadi 30 fructidor, an CCXVIII, Clément Bœsch a écrit :
> > And here is a new one with a small design changement you may prefer.
>
> I had not yet had time to look deeper into the latest version of your patch.
> There are still a few tests I want to run. One in particular:
>
> If the user selects -channels 2 and then adds -af pan=6:..., is there an
> additional pan=2:... filter that will cancel the first one?
>
Normal downmix case (Flac 5.1, no options):
Before downmix, filter list is:
[dummy]
After downmix + reinit, filter list is:
[dummy] → [format] → [pan]
And with -channels 2 -af pan=6:...:
Before downmix, filter list is:
[format] → [pan (upmix 6 chan)]
After downmix + reinit, filter list is:
[format] → [pan (upmix 6 chan)] → [pan (downmix 2 chan)]
So yes, there is a final downmix filter added (and this is the same
without -channels 2 since it's the default).
However, if you set -channels 6, then only the pan filter for upmix
(specified in command line) is added.
--
Clément B.
More information about the MPlayer-dev-eng
mailing list