| 31 | | |
| 32 | | But I cannot identify a cause and if nal is a cause for the above. |
| 33 | | Now what I can do is to report facts. |
| 34 | | |
| 35 | | my understanding nal. If wrong, please pointing out. |
| 36 | | Nal unit consists of VCL(Video Coding Layer) and non-VCL. |
| 37 | | VCL-NAL unit is slice data. |
| 38 | | Non-VCL-NAL units are |
| 39 | | SEI(Supplemental Enhancement Information) |
| 40 | | SPS(Sequence Parameter Set) |
| 41 | | PPS(Picture Parameter Set) |
| 42 | | AUD(Access Unit Delimiter) |
| 43 | | Filler data(since x264 r1480, when using --nal-hrd=cbr) |
| 44 | | |
| 45 | | SEI-NAL can includes some SEI messages |
| 46 | | Buffering period |
| 47 | | Picture timing |
| 48 | | User data registered by ITU-T Recommendation T.35 |
| 49 | | User data unregistered(the enode settings in x264) |
| 50 | | Recovery point(including broken_link_flag) |
| 51 | | and so on. omit them because x264 don't use them |
| 52 | | |
| 53 | | SPS is basic information of decoding stream |
| 54 | | profile_idc |
| 55 | | level_idc |
| 56 | | num_ref_frames |
| 57 | | pic_width_in_mbs_minus1 |
| 58 | | pic_height_in_map_units_minus1 |
| 59 | | frame_mbs_only_flag |
| 60 | | mb_adaptive_frame_field_flag(MBAFF) |
| 61 | | direct_8x8_inference_flag |
| 62 | | frame_cropping_flag |
| 63 | | VUI(Video Usability Information) |
| 64 | | and so on. omit them |
| 65 | | |
| 66 | | PPS is necessary information for decoing each picture(frame) |
| 67 | | entropy_coding_mode_flag(CAVLC/CABAC) |
| 68 | | weighted_pred_flag(weightp) |
| 69 | | weighted_bipred_flag(weightb) |
| 70 | | pic_init_qp_minus26(QP) |
| 71 | | chroma_qp_index_offset |
| 72 | | deblocking_filter_control_present_flag |
| 73 | | constrained_intra_pred_flag |
| 74 | | slice and picture corresponding infomation |
| 75 | | and so on. omit them |
| 76 | | |
| 77 | | AUD(Access Unit Delimiter) |
| 78 | | |
| 79 | | The order of NAL unit is important, eg、AUD, SPS, PPS, SEI….. |