[vlc-devel] [PATCH] h264_nal: fix NAL parsing
Francois Cartegnie
fcvlcdev at free.fr
Mon Jul 13 14:17:54 CEST 2015
Le 13/07/2015 14:06, Rémi Denis-Courmont a écrit :
> Le 2015-07-13 15:04, Thomas Guillem a écrit :
>> On Mon, Jul 13, 2015, at 13:58, Rémi Denis-Courmont wrote:
>>> Le 2015-07-13 14:22, Thomas Guillem a écrit :
>>> > The NAL start code prefix is "0x00 0x00 0x01" and is not always
>>> > followed by an other zero byte.
>>>
>>> NAL start code is always followed by the first NAL byte, which cannot
>>> be zero in current H.264.
>>
>> Oops, I wanted to say prefixed, not followed.
>> "The NAL start code prefix is "0x00 0x00 0x01" and is not always
>> prefixed by an other zero byte."
>
> That's still wrong.
>
NAL start code is always "0x00 0x00 0x01" and is prefixed by one more
zero byte when first in sequence or NAL is sps or pps.
Francois
More information about the vlc-devel
mailing list