Set video stream number to 1
As per T-REC.H-222.0 (ISO/IEC 13818-1) Table 2-22, video stream_id is 1110 xxxx for video stream number xxxx. As checked on multiple commercial Blu-rays, video stream_id should be 1, not 0. This fix solves error reported by `BD-ROM Part3 Verifier`: `---------------------------------------------- Error ID : HEVC0116 Target File : 00000.m2ts <HEVC PID=0x1011> Target Field : <PES packet of the HDMV HEVC video stream>.stream_id Section No : 9.19.7 Error Message : stream_id is set to 0xe0. File offset of PES packet = 776. Explanation : stream_id: This field shall be set to 1110 0001b. - - - - - - - - - - - - - - - - - - - - - - - [HEVC0116] : 346 times. ----------------------------------------------`
This commit is contained in:
parent
717f5f821e
commit
15616768a9
@ -27,7 +27,7 @@ static const uint8_t PES_PRIVATE_DATA2 = 0xbf;
|
||||
static const uint8_t PROGRAM_STREAM_DIRECTORY = 0xff;
|
||||
|
||||
static const uint8_t PES_AUDIO_ID = 0xc0;
|
||||
static const uint8_t PES_VIDEO_ID = 0xe0;
|
||||
static const uint8_t PES_VIDEO_ID = 0xe1;
|
||||
static const uint8_t PES_VC1_ID = 0xfd;
|
||||
|
||||
static const uint8_t DVB_SUBT_DESCID = 0x59;
|
||||
|
Loading…
x
Reference in New Issue
Block a user