sliceh.264flagsbitstream

Slice header flag of H.264 bitstream


I'm a beginner to H.264 data compression standard, and i need to know where the slice header flag (slc_hdr) of the H.264 bitstream is located ? Is it for example existed in the slice header? cause i need to extract it and set it to 1.

Link of the flag


Solution

  • Summarized answer from Comments:

    In order to understand a received packet, to see whether it is a slice, you need to get the NAL Header from the packet. Then, parse the NAL header and check nal_unit_type. If nal_unit_type matches to one of the values {1, 2, 3, 4 ,5}, set the slc_hdr flag. This slc_hdr flag has nothing to do with H.264 standard, it's just implementation specific.

    What you pointed in your screen-shot may be to deal with VC-1 codec.