Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th November 2007, 04:23   #1  |  Link
fancolumn
Registered User
 
Join Date: Nov 2007
Posts: 8
where is spec of LPCM used in blu-ray and HDVD?

Hi, people
I'm developing an audio decoder of blu-ray audio. But I can't find the specification of LPCM. For example, the format header of it, sampling frequency, bit/sample, channnel configuration and so on.

Could anybody give me a hint?

Thank you very much!
Sen.
fancolumn is offline   Reply With Quote
Old 19th November 2007, 09:42   #2  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
HDDVD use no LPCM

HDDVD : TrueHD/ DTSHD/ EAC3
BluRay : TrueHD/DTS(HD)/ AC3/ LPCM
ACrowley is offline   Reply With Quote
Old 19th November 2007, 10:08   #3  |  Link
fancolumn
Registered User
 
Join Date: Nov 2007
Posts: 8
ok.

Where is the spec of LPCM used in blu-ray?
fancolumn is offline   Reply With Quote
Old 19th November 2007, 11:28   #4  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,640
Can someone verify/complete this specs?

- Raw data (without header)
- Samplerate: 48000, 96000, 192000
- Bitdepth: 16, 24
- Sample format: Integer Big Endian
- Channels: 2.0, 5.1, 7.1
- Channel mapping: FL, FR, [C, BL, [SL, SR,] BR, LFE]

All correct now?

Edit: Adding inputs

Last edited by tebasuna51; 21st November 2007 at 21:19.
tebasuna51 is offline   Reply With Quote
Old 19th November 2007, 21:47   #5  |  Link
Shakey_Jake33
Registered User
 
Join Date: May 2006
Posts: 233
Quote:
Originally Posted by tebasuna51 View Post
Can someone verify/complete this specs?

- Raw data (without header)
- Samplerate: 48000, ... (more ?)
- Bitdepth: 16, 24, ... (more ?)
- Sample format: Integer Big Endian
- Channel mapping: FL, FR, C, SL, SR, LFE (more ?)
I have a Japanese Blu-Ray that has 2.0 LPCM 24-bit 96KHz, I think it supports that up to 7.1 too.
Shakey_Jake33 is offline   Reply With Quote
Old 20th November 2007, 01:37   #6  |  Link
killa_kid
Registered User
 
Join Date: Aug 2007
Posts: 39
Quote:
Originally Posted by ACrowley View Post
HDDVD use no LPCM
I don't know the specs, but from what I've read HDDVD requires all players to be able to decode LPCM, and the only reason we haven't seen it is because the size wasn't feasible on the 30gb dual layers or the bandwidth wasn't high enough. Now that triple layers have been approved at 51gb, we may see them now (unless the bandwidth is the problem, then who knows).

Last edited by killa_kid; 20th November 2007 at 06:15.
killa_kid is offline   Reply With Quote
Old 20th November 2007, 12:18   #7  |  Link
xkodi
Registered User
 
Join Date: Aug 2002
Posts: 221
@fancolumn

here:

http://www.rarewares.org/files/others/lpcm24.zip

you can find the source code in C of an open-source LPCM decoder and as you will see from that source, the LPCM decoding is pretty simple.

i'm using the code above to decode 96kHz/24bit/stereo LPCM (used on some DVD discs) to stereo WAV files, but probably it will work with multichannel LPCM too, after some modification, like writing of correct multichannel WAV header, etc.
xkodi is offline   Reply With Quote
Old 21st November 2007, 17:50   #8  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
Quote:
Originally Posted by tebasuna51 View Post
- Raw data (without header)
- Samplerate: 48000, 96000 ... (more ?)
- Bitdepth: 16, 24, ... (more ?)
- Sample format: Integer Big Endian
According to a german home cinema magazine I'm reading it's:

Blu-Ray:
max 8 x 96kHz
max 6 x 192kHz

HD-DVD:
max 8 x 96kHz
max 2 x 192kHz

The rest of your list above is correct. Max bitdepth is 24 bit integer.

Quote:
Originally Posted by tebasuna51 View Post
- Channel mapping: FL, FR, [C, SL, SR, [BL, BR,] LFE] (correct ?)
No, IIRC it should be: L, R, C, BL, SL, SR, BR, LFE
madshi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:25.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.