[x264-devel] rbsp_alignment_zero_bit
Ludrao
ludh264 at ludrao.net
Mon Mar 23 23:16:42 CET 2009
Hi all,
I found h264 streams encoded with x264 that has a bizare sequence of trailing
bits.
This is linked to section 7.3.2.11 of the standard:
7.3.2.11 RBSP trailing bits syntax
rbsp_trailing_bits( ) {
rbsp_stop_one_bit /* equal to 1 */
while( !byte_aligned( ) )
rbsp_alignment_zero_bit /* equal to 0 */
}
This seems no always to be respected ?
For instance I found a stream where the last byte of the slice was 0x81.
The stream is using CABAC encoding.
I have done some checking, it happens to be the case in a lot of streams
encoded with x264.
This is not really a big deals since I can just ignore the trailing bits, but
still...
Maybe I am missing something in the spec ?
Regards,
Ludrao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20090323/16a1883e/attachment.htm>
More information about the x264-devel
mailing list