h.264h.265

do you need remove emulation prevention bytes of H.264 stream in AVCC or HVCC format?


There are mainly two formats of H.264(H.265) stream, Annexb and AVCC(HVCC), in Annexb, we need to add emulation prevention bytes to escape start code, I want to know wheather emulation prevention bytes exist in AVCC(HVCC) formatted stream, I checked the ITU specification, but didn't find the answer.


Solution

  • An AVCC(HVCC) formatted stream still uses the emulation prevention byte because it is part of the NAL unit syntax and not something specific to Annex B, such as start code prefix.