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

Nicolas George nicolas.george at normalesup.org
Fri Sep 24 18:33:39 CEST 2010


Le duodi 2 vendémiaire, an CCXIX, Clément Bœsch a écrit :
> In fact, the prepend version issues a problem: since the pan2 downmix is
> placed before the pan6 filter, in the second run, it still observes a 6
> channels output at the end of the chain, and then adds again the downmix
> filter.

Like Reimer, I believe you should test the number of channels at the start
of the chain, just after the codec.

> So I introduce a first_run variable in order to avoid that. Then, here are
> the new results I observed with the attached patch.

With such a flag, what happens if there are sevral files, some of which
requiring auxiliary downmix but not all, possibly alternating?

(I'm sorry if I seem to be nagging you with always more requirements, that
is not intentional. I guess we all discover as we go along that the problem
you endeavored to solve has a lot of subtle pitfalls.)

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100924/44e73332/attachment.pgp>


More information about the MPlayer-dev-eng mailing list