[MPlayer-dev-eng] [PATCH] Proof of concept extrasurround plugin

Arpi arpi at thot.banki.hu
Thu Apr 4 20:11:41 CEST 2002


Hi,

> On Thu, Apr 04, 2002 at 05:06:07PM +0200, Felix Buenemann wrote:
> > On Thursday 04 April 2002 15:55, Kis Gergely wrote:
> > > I added a sochans option for the pl_surround plugin.
> > > Usage:
> > > mplayer -aop list=surround:sochans=6 filename
> > why not reuse -channels switch?
> The -channels switch talks to the audio decoder. It would confuse users, if
> we used it in this situation too. 

hmm, not really.
maybe i'm wrong, but...
its purpose to set number of output(!) channels.
of course it's told to the decoder first, so it can try to produce N
channels output (only liba52 can produce more than 2).
of course the ao plugins can use (and should) this value to know how many
output channels teh user wants. it may be ignored, as it's only a hint,
but if you get 2 channels as input, but user wants 6 (-channels 6), you know
that you have to do 2->6 conversion in your plugin.

btw, about the 6 channel bugs...
there were a long discussion about it here, but i don't really remember the
end/solution. the problem source was that outburst isn't always divisable by
6, so pcm audio stream is cutted in the middle of a sample, insteda of
sample boundary.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list