问题
I know that in h264 we can detect a NAL Unit by the bit pattern 0x000001
.
Is there an equivalent method to detect a slice header in a NAL Unit? How does one handle multi-slice NAL units?
Currently I'm using parsing code for h264 and get the slice header in a respective structure.
回答1:
The slice header syntax is discussed on page 36 (section 7.3.3) of the H.264 standard.
It might be worth having a look at the reference software.
来源:https://stackoverflow.com/questions/10612893/h264-parsing-slice-header-detection