Luca Barbato <[email protected]> writes:

> Which channel layout are we missing?

The problem is when the xll data contains additional channels, not just
residuals to be added to the core channels. In this case, one ought to
extract the data on which channels they are from the xll headers,
translate to a libav channel mask, and permute the channels if needed.
(At least if that information is specified; I think dca can describe the
channels also in terms of angles for appropriate location of the
speakers, and that's more difficult to translate).

The current code doesn't do that at all, it just checks the total number
of channels and then uses the default layout for that number. Which
seems to work fine with the 7.1 file I tested, but not in general.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to