[Mp4-tech] H.264 start code scenarios
John Cox
jc sj.co.uk
Tue Jul 3 14:03:30 EDT 2007
Hi
The reason for 4-byte start sequences is that it allows decoders that
are presented with a non-byte aligned bitstream to determine byte
alignment. (H.264 section B.3)
"Important" NAL units have to have the long start code (1st in picture,
PPS, SPS - H.264 section B.1.2)
Hope that helps
John Cox
>
>Hi All,
>
>I have seen some of the H.264 encoded streams having a start code of length 3 and some with 4.
>1. why is it that " number of preceding zeros is two in some cases and 3 in some cases".
>2. does the number difference for start code length have any significance. Can the length of start code change from NAL to NAL in a sequence.
>
>
>Best Regards,
>Velu
>
>
>
>
>
>
>The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
>
>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
>
>www.wipro.com
More information about the Mp4-tech
mailing list