The part of the header of most interest to DVD is the first 10 bytes
byte 0 | byte 1 | byte 2 | byte 3 | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
byte 4 | byte 5 | byte 6 | byte 7 | byte 8 | byte 9 | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ftype | indicates the frame type, 1 = normal, 0 = termination. |
short | the number of core samples by which a termination frame falls short of the normal length of 32 samples.
For a normal frame the value must be 31. |
cpf | A flag that indicates if a CRC is present if TRUE (1).
This will be FALSE for DVD. |
nblks | The number less 1 of sample blocks.
This will always be 15 for DVD. This means each frame is 16*32 (512) samples. At a sampling rate of 48K this translates to 10 and 2/3 milliseconds, or 960 ticks of the 90KHz clock. |
fsize | The size less 1 of the frame in bytes.
For DVD this will be 1005 (0x3ED) for 768 Kbps streams or 2012 (0x7DC) for 1536 Kbps streams. |
amode - Audio Channel Arrangement
|
sfreq - audio sampling rate
|
rate | This is a coded value for the targeted bitrate of the encoded stream.
For DVD only 2 values are possible: 0F - targeted rate is 768 Kbps, actual rate is 754.5 Kbps 18 - targeted rate is 1536 Kbps, actual rate is 1509.75 Kbps |
DVD-Video info home | Copyright © 2001 - 2024 MPUCoder, all rights reserved. |