[Mp4-tech] Re: PES packet byte alignment?
Samuel Rivas
samuel lambdastream.com
Mon Apr 23 09:53:09 EDT 2007
matt rosenthal2 wrote:
> Hi All,
> I am trying to write a program to extract PES packets from a mpeg
> transport stream. All of the PES packets I am looking for have the start
> code prefix = 0x000001.
> My question is: Will these 24 bits always be byte aligned?
They are. The first payload bytes of a TS packet marked with
payload_unit_start_indicator are always 0x000001 (for PIDs containing
PE streams).
Regards
--
Samuel
More information about the Mp4-tech
mailing list