摘要 |
The method and device of the present invention provide a mechanism at a network node to compensate for variable delays or delay jitters of video packets transported over a packet-switched network, such as an ATM network, and generate a continuous bitstream to an external decoder. The received video packets with variable delays are first depacketized and stored in a video information buffer and then are sent to the external decoder through another constant or variable bit-rate channel. Based on a hypothetical decoder buffer verifier condition, stuffing bits are inserted into the output video bitstream to prevent the decoder buffer from overflowing. Stuffing bits are sent if one of the following two cases occurs: A) the condition of the hypothetical decoder buffer verifier is violated; B) the video information buffer is empty. A minimum number of stuffing bits are sent each time to minimize the incurred delay and concurrently make the following three conditions satisfied: 1) overflow of the decoder buffer is avoided; 2) idleness of the channel is avoided; 3) the stuffing bits must comply with the syntax of the video bitstream.
|