[Mp4-tech] H.264 start code scenarios
Girish
girishht bluebottle.com
Wed Jul 4 03:42:41 EDT 2007
Dear shanmugavel,
Please find the answers below..
Hi,
Start code can be any no. of consecutive zeros(atleast 2) followed by 1.
Reason:
If there is 3 consecutive 0s means you have to skip first 0.
So 00 00 00 => 00 00 only
now you consider these start codes
00 00 00 01 => skip first 0 as 3 consecutive 0s are there. so it will become
00 00 01.
similarly you can check 00 00 00 00 00 01 this is also start code.
I think this will clear your doubt.
Regards,
Sanjay
Quoting shanmugavel.balasubramanian wipro.com:
>
> 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
----------------------------------------------------------------------
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3
More information about the Mp4-tech
mailing list