Hello, On Wed, Nov 08, 2006 at 10:00:47PM -0800, Corey Hickey wrote:
This patch makes mplayer and mencoder auto-insert the channels filter when necessary in order to maintain the proper order. Remapping is necessary when reading from or writing to formats that have a different native order from what mplayer and mencoder use internally.
I am fine with changing the de/encoders to do the reordering, but I am against this remapping via filter, it is IMO immensely complex and there are already without it some bugs in filter chain building (like command line parameters lost on reinit). I agree with whoever suggested on ffmpeg-devel that audio should preferably use a planar format, which each channel in a separate memory area. Although this will be a major effort, this allows reodering without any speed loss and for most decoders is closer to their original output anyway (AFAICT). Greetings, Reimar Döffinger