Patent ID: 9456209
Filing Date: 2016-09-27
CPC Classification: H04L,H04N

Claim Text:
1. A method for multiplexing high definition video elementary streams that do not have timing information coded to create a transport stream (TS), the method comprising: constructing ‘n’ number of access units (AU) in a list, each AU capable of looking ahead to obtain information on timing for the next AU, including: initiating a pointer to indicate start of an AU from the list; iteratively checking start of an AU from the list; constructing a header by calculating timing information from the topmost AU of the list; writing the header in the TS; and filling the remaining bytes of the TS with data from a packetized elementary stream (PES), wherein the step of constructing ‘n’ number of access units comprises: reading the elementary stream from the start while converting the elementary stream to the PES until a single AU is formed and noting its start and end points; pushing the just formed single AU into the list; checking primary picture type coded in the AU pushed into the list; calculating if the primary picture type coded is a B frame, and decoding B frames and presenting at the same time without including any offset between pts and dts of the B frames; calculating if the primary picture coded type is an I or P frame, and checking next access units for the number of B frames (pts_offset) that precede before the next I or P frames occurs; and constructing a next AU and pushing the next AU into the list for repeating the steps of calculating timing information.