[Mp4-tech] Dropping NAL units on bit errors: Best approach?
Luqman
luqman_ngs gmx.net
Sat Oct 21 00:45:31 ESTEDT 2006
> Gary Sullivan wanted us to know:
>Yes, it's a byte-alignment recovery trick. As John points out, extra
>zero-valued bytes can be present between any pair of NAL units, but at
>least one such byte is required for the most important NAL units to
>enable decoder alignment recovery. Alignment recovery is important in
>some scenarios but not others, but the quantity of data necessary to
>enable it is so low (about 1-2 bytes per picture) that we decided to
>require it to be there all the time.
Thanks Gary for clarifying this. But there is some confusion where the
leading zero byte 0x00 before 3 byte start_code_prefix belongs to.
Example:
0x00000001................0x00000001.................0x00 0x00000001
The extra 0x00 preceeding third 0x00000001 belongs to the second NALU
whereas 0x00000001 belongs to the third NALU.
Similarly in case of second appearance of 0x00000001, these 4 bytes
belong to second NALU.
Am I correct? Or is it only ture in case of SPS, PPS and first NALU of
an access unit / frame / picture?
Regards,
Luqman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : /pipermail/mp4-tech/attachments/20061021/d60f6021/attachment.bin
More information about the Mp4-tech
mailing list