×

Auto latency correction method and apparatus for MPEG playback system

  • US 5,596,420 A
  • Filed: 06/07/1995
  • Issued: 01/21/1997
  • Est. Priority Date: 12/14/1994
  • Status: Expired due to Term
First Claim
Patent Images

1. An apparatus for controlling playback of audio and video signals from an encoded data stream comprising at least audio data packets, video data packets, audio presentation time stamps and video presentation time stamps, said apparatus comprising:

  • a system decoder for receiving the encoded data stream and separating the data stream into an encoded audio data stream comprising at least the audio data packets and audio presentation time stamps and an encoded video data stream comprising at least the video data packets and video presentation time stamps;

    an audio decoder, for receiving the audio data packets from the encoded audio data stream and decoding the audio data packets;

    a video decoder, coupled to said system decoder and said audio decoder, for receiving a system time clock and the encoded video data stream and decoding the encoded video data stream in synchronization with the system time clock, said video decoder further comprising;

    a latency value register for storing a video decoder latency value;

    counter means, coupled to said latency value register, for adding the latency value to a video presentation time stamp value to produce a normalized video presentation time stamp value;

    subtracter means, coupled to said counter means, for subtracting the normalized video presentation time stamp value from an audio presentation time stamp value to produce a difference value;

    comparator means, coupled to said subtracter means, for comparing the difference value with a predetermined time drift threshold and outputting a video frame skip signal if the difference value exceeds the pre-determined time drift threshold and the difference value is negative and outputting a video frame repeat signal if the difference value exceeds the predetermined time drift threshold and the difference value is positive; and

    latency value adjustment means, coupled to said comparator means and said latency value register, for adding a predetermined value to the latency value stored in said latency value register if the video frame repeat signal is generated by the comparator means and for subtracting the predetermined value from the latency value stored in said latency value register if the video frame skip signal is generated by the comparator means.

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