[Mp4-tech] H264: Emulation prevention Bytes
Samuel Rivas
samuel lambdastream.com
Thu Oct 12 14:31:28 ESTEDT 2006
Satendra wrote:
> 1)in normal scenes this is how we will use emulation prevention bytes.
> 0x000000 ------------------> 0x00000300
> 0x000001 ------------------> 0x00000301
> 0x000002 ------------------> 0x00000302
> 0x000003 ------------------> 0x00000303
>
> 2) but how this byte sequence will map
> 0x000000000005
> ---------------------> 0x000003 000003 0005
> or
> ---------------------> 0x00000300 000005
The first one. For the second one, 0x000003 000000 05 has an illegal
^^^^^^
sequence of bytes.
The standard is a bit confusing on this subject:
"[...]
and a byte equal to 0x03 is inserted to replace these bit patterns with
the patterns
'00000000 00000000 00000011 000000xx',
[...]"
But it does not make clear is that 000000xx takes part in the next
0x000000
sequence if it is present.
Regards
--
Samuel
More information about the Mp4-tech
mailing list