×

Method for ensuring synchronization of MPEG-1 data carried in an MPEG-2 transport stream

  • US 5,726,989 A
  • Filed: 11/06/1995
  • Issued: 03/10/1998
  • Est. Priority Date: 11/06/1995
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of ensuring synchronization of MPEG-1 video and audio data carried in an MPEG-2 transport stream for decoding by an MPEG-1 video decoder and an MPEG-1 audio decoder, the transport stream including a plurality of packetized elementary stream (PES) packets containing video or audio data, each PES packet including a packet start code prefix identifying it as a PES packet and identifying the PES packet as either a video or an audio packet, with two or more of the PES packets including a video presentation time stamp (PTS) or an audio PTS that enables playback of data in the PES packet to be synchronized with a system time clock, the PES packets having video data and a video PTS including one or more picture start codes that indicate the beginning of a new frame of video data, the method comprising:

  • (a) searching the MPEG-2 transport stream for a packet start code prefix indicating the start of a PES packet;

    (b) if the PES packet is a video PES packet, examining the video PES packet to determine if a video PTS is present;

    (c) storing the data associated with the PES packet into a buffer;

    (d) if the PES packet is a video PES packet that includes a video PTS in its header,(i) examining the video data in the PES packet during storage to locate the first occurrence of a picture start code, and upon locating the first occurrence of a picture start code, setting a flag indicating the correspondence between the video PTS and the identified picture start code and storing the video data remaining in the video PES packet without further examination; and

    (ii) transmitting blocks of the video data from the buffer to the video decoder in known lengths, each block including a flag indicative of whether the identified video PTS corresponds to a picture start code within that block, if a picture start code is present in that block; and

    (e) if the PES packet is a video PES packet that does not include a video PTS in its header, transmitting blocks of the video data from the buffer to the video decoder in known lengths.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×