Log in

View Full Version : AC-3 PES Header in BD Stream


videophool
27th April 2009, 17:47
I am working on a writer to produce BD compliant A/V streams

The following is a PES header for AC3 from a ripped BD stream.

00 00 01 FD 03 0B 84 81 08 21 00 3F FF E1 01 81 71

The stream type is extended_stream_id (0xFD). The last two bytes (0x81 0x71) are the extended stream id information as follows (from 13818-1 2007 spec):

0x81 0x71 = 1000 0001 0111 0001

1 = marker bit
000 0001 = PES_extension_field_length == 1

0 = stream_id_extension_flag
111 0001 = stream_id_extension

My question is the stream_id_extension value of 0x71. Is this AC3 specific. I have not found any reference to the meaning of this except that the spec says that 100 0000 … 111 1111 is a private stream.

rack04
27th April 2009, 17:57
Maybe this post by madshi can provide insight.

http://forum.doom9.org/showthread.php?p=1223582#post1223582

drmpeg
28th April 2009, 06:42
My question is the stream_id_extension value of 0x71. Is this AC3 specific. I have not found any reference to the meaning of this except that the spec says that 100 0000 … 111 1111 is a private stream.
It's Blu-ray specific.

0x71 = AC3 or independent sub-stream 0 of DD+
0x72 = dependent sub-stream of DD+
0x76 = AC3 in MLP

0x72 = MLP

0x71 = DTS or core sub-stream
0x72 = DTS extension sub-stream

0x72 = Secondary DD+

0x72 = Secondary DTS-HD LBR

Ron