Log in

View Full Version : BLU-RAY LPCM audio format


edo1080
18th November 2007, 00:45
I demuxed the PCM 5.1 audio track from a blu ray disc. I sadly discovered the LPCM 5.1 of the Blu Ray is not a simple fl,fr,c,Lfe,Sl,SR 5.1 wav file. I tryied several time to import a standard wav 51 file into Sonic scenarist but it's not accepted . So I tryied to demux a track and analyze it, but no program handling wav files is able to open it and show its properties. Can anyone help me to find a program displayinf .wav file properties? I tested Audition 3, Wavelab 5, Nuendo 3. None of them was useful.

drmpeg
18th November 2007, 04:46
You need to convert the raw file to .wav format with sox.

For 16 bit LPCM:

sox -B -r48000 -t .raw -c 6 -2 -s bits0001.mpa bits.wav

For 20 or 24 bit LPCM

sox -B -r48000 -t .raw -c 6 -3 -s bits0001.mpa bits.wav

Channel format:

http://forum.doom9.org/showthread.php?p=968627#post968627

Ron

edo1080
18th November 2007, 09:55
Thank you but what I need is the reverse procedure. I took a look at the post you linked and seen what I expected: once converted with sox the raw file is recognized by wav editors, but the channels are remapped. It's not sox to remap the channel, but their order is different in the source file. This is the reason why Sonic scenarist HDMV doesn't accept standard 5.1 wav files: it's because the channel order in a standard wav 5.1 is different, or maybe the Blu Ray LPCM file format is not a .wav one. I want to unterstand which format is it and how to encode in that format. Maybe a reverse procedure with sox?

drmpeg
18th November 2007, 12:37
Looks like folks are using Wavewizard to remap the channels.

http://forum.doom9.org/showthread.php?p=968533#post968533

Ron