Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

H264 parsing - slice header detection

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.

like image 637
chiv Avatar asked Jan 16 '23 16:01

chiv


1 Answers

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.

like image 73
Alex L Avatar answered Jan 19 '23 05:01

Alex L