Surround channel order for LPCM audio broken?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
potscrubber
New Cone
New Cone
Posts: 6
Joined: 11 Jun 2019 11:41
VLC version: 7
Operating System: Win 10

Surround channel order for LPCM audio broken?

Postby potscrubber » 12 Jun 2019 01:51

Hello - I've joined the forum in order to try and assist with this issue. (URL tags removed as they don't seem to be working).

Surround channel mapping for LPCM audio in MOV containers seems to be broken.

Please find the following file, which is a zipped MOV with 5.1 surround 16 bit LPCM audio, with SMPTE channel order of L-R-C-LFE-Ls-Rs. This file plays correctly in MCP-HC, Quicktime for Win, Vegas and others. In VLC 3.0.7 the output channel order is not correct.
http://bit.ly/2F2ELZQ
* Note, ignore the final spoken comment which describes it as AAC - see below for file sources by way of explanation. The MOV has LPCM audio.

The incorrect channel order is output like this:

Code: Select all

FILE SPEAKER L (1) -> L (1) R (2) -> R (2) C (3) -> Ls (5) LFE (4) -> Rs (6) Ls (5) -> C (3) Rs (6) -> LFE (4)


The same VLC player plays the MP4 AAC version correctly with correct channel mapping (link below).

All file sources are from the Fraunhofer Multichannel Audio Playback Tests page here:
https://www2.iis.fraunhofer.de/AAC/multichannel.html


The MOV LPCM 5.1 test file I provided is a remux of the 16 bit WAV version here:
https://www2.iis.fraunhofer.de/AAC/ChID-BLITS-EBU-Narration441-16b.wav
with the HE-AAC Channel ID - With H.264 Video here:
https://www2.iis.fraunhofer.de/AAC/ChID-BLITS-EBU.mp4

ffmpeg remux command line FYI:

Code: Select all

ffmpeg -probesize 50M -analyzeduration 100M -i "ChID-BLITS-EBU.mp4" -i "ChID-BLITS-EBU-Narration441-16b.wav" -map 0:0 -map 1:0 -c:a pcm_s16le -async 1 -c:v copy -aspect 800:600 -pix_fmt yuv420p -threads 8 -metadata creation_time=now -sn -y "ChID-BLITS-EBU_LPCM_5.1.mov"

As noted above, the MP4 AAC video plays out correctly with regard to channel order.

Please let me know if I can clarify anything.
Thanks,
pot.


MOV LPCM 5.1 MediaInfo (just container and audio due to post character limit):

Code: Select all

General Complete name : E:\ChID-BLITS-EBU_LPCM_5.1.mov Format : MPEG-4 Format profile : QuickTime Codec ID : qt 0000.02 (qt ) File size : 23.6 MiB Duration : 46 s 625 ms Overall bit rate : 4 253 kb/s Encoded date : UTC 2019-06-11 09:34:02 Tagged date : UTC 2019-06-11 09:34:02 Writing application : Lavf58.12.100 Audio ID : 2 Format : PCM Format settings : Little / Signed Codec ID : sowt Duration : 46 s 527 ms Bit rate mode : Constant Bit rate : 4 234 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 44.1 kHz Bit depth : 16 bits Stream size : 23.5 MiB (99%) Language : English Default : Yes Alternate group : 1 Encoded date : UTC 2019-06-11 09:34:02 Tagged date : UTC 2019-06-11 09:34:02

potscrubber
New Cone
New Cone
Posts: 6
Joined: 11 Jun 2019 11:41
VLC version: 7
Operating System: Win 10

Re: Surround channel order for LPCM audio broken?

Postby potscrubber » 12 Jun 2019 12:41

Updated my OP with additional information (nature of the incorrect channel order).

Lotesdelere
Cone Master
Cone Master
Posts: 9605
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Surround channel order for LPCM audio broken?

Postby Lotesdelere » 13 Jun 2019 09:31

You should create a new ticket on the [url=https://trac.videolan.org/vlc/]VLC Trac[/url] with the links to your file and to this thread.

potscrubber
New Cone
New Cone
Posts: 6
Joined: 11 Jun 2019 11:41
VLC version: 7
Operating System: Win 10

Re: Surround channel order for LPCM audio broken?

Postby potscrubber » 13 Jun 2019 10:42

Thanks for the pointer. Have done so here. [url]https://trac.videolan.org/vlc/ticket/22420[/url]
Strangely I can no longer edit my OP.

User avatar
InTheWings
Developer
Developer
Posts: 1273
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Surround channel order for LPCM audio broken?

Postby InTheWings » 13 Jun 2019 18:33

This is fixed on master
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

AlvaroB
New Cone
New Cone
Posts: 1
Joined: 16 Dec 2019 23:43

Re: Surround channel order for LPCM audio broken?

Postby AlvaroB » 16 Dec 2019 23:45

I have just tried. I'm in version 3.0.8 and I have this exact issue. The audio from my MKV with ProRes video and PCM 5.1 audio gets reordered and the center channel goes to the rear left one.

Other programs like MPC-HC play the audio correctly.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests