Page 1 of 1

Incorrect 5.1 Surround speaker mapping playing .aif file from Logic Pro X

Posted: 19 May 2021 07:35
by greyham
VLC Media Player 3.0.14 on macOS Big Sur 11.3.1 plays 5.1 surround sound .aif files generated by Logic Pro X 10.6.2 with incorrect channel mappings.

Here's a Logic Pro test project with me speaking the names of each of the speakers in turn, in ITU order:
1. Front Left
2. Front Right
3. Front Centre (plays on Left Surround)
4. LFE (plays on Right Surround)
5. Left Surround (plays on Front Centre)
6. Right Surround (plays on LFE)

The .aif file was generated in Logic Pro X with File -> Bounce -> Project or Section and these parameters:
Destination: PCM
File Format: AIFF
Resolution: 16 Bit
Sample Rate: 44100
File Type: Interleved
Dithering: None
Surround Bounce: Yes

Logic Pro test project: https://drive.google.com/drive/folders/15ZuD_wVO1JOikSK-98KaM3HHckzNvZFp?usp=sharing
.aif Test file generated from Bounce Project: https://drive.google.com/file/d/1XDbMXI3Dsw7CaUUyvbY6NtcQXQeJ5Ut-/view?usp=sharing

The test file plays with correct channel mapping in QuickTime Player Version 10.5 (1086.4.2).

Note that this appear to be a different bug to these, and all the test files in those posts play correctly in VLC 3.0.14 for me:
https://forum.videolan.org/viewtopic.php?f=14&t=149757
https://forum.videolan.org/viewtopic.php?f=12&t=145451
https://code.videolan.org/videolan/vlc/-/issues/22420

Any ideas what might be causing this?

Re: Incorrect 5.1 Surround speaker mapping playing .aif file from Logic Pro X

Posted: 19 May 2021 14:41
by Lotesdelere
For the record, same issue on Windows while it's playing fine with FFplay and other players.

Re: Incorrect 5.1 Surround speaker mapping playing .aif file from Logic Pro X

Posted: 19 May 2021 15:02
by fkuehne
Thanks for the detailed and thorough report. I created a ticket on our tracker: https://code.videolan.org/videolan/vlc/-/issues/25756

Re: Incorrect 5.1 Surround speaker mapping playing .aif file from Logic Pro X

Posted: 20 May 2021 12:12
by greyham
Thanks fkuehne!