摘要:
In a method for transmitting data in packets in a transport stream the temporal relationship is stored in memory with each of the packets in that a timestamp is attached to each packet that reflects the exact arrival time of a data element of the packet. To accomplish this, a firmware counter called the Receive Timing Register (RTR) is clocked by a local oscillator to generate a Receive Timing Register value at the time the PCR reference bit arrives to create a timestamp that is associated with each packet. The oscillator and firmware register are located on the card that receives the stream. Alternatively stuffing is applied to each packet to control the transmission rate by the length of the sequentially transmitted packets. This can be done at alternating faster and slower rates or can be applied between PCR packets.
摘要:
A method is provided for synchronizing video data buffers in a system including: an encoder for encoding input data into a compressed data bitstream; an encoder buffer for storing the compressed data bitstream; a decoder buffer for receiving the compressed data bitstream, with a sum of an encoder buffer delay and a decoder buffer delay is constant; a variable rate transmission channel operatively connecting the encoder buffer and the decoder buffer; and a decoder for receiving and decoding the compressed data bitstream. The instantaneous encoder buffer delay is used to generate a control signal; the control signal is inserted into the compressed data bitstream following the encoder buffer. In an exemplary embodiment, each of the encoder and decoder performs encoding and decoding operations, respectively, in the Motion Picture Experts Group (MPEG) standard, using the VBV.sub.-- DLY parameter of the MPEG standard as the control signal.
摘要:
A method and apparatus for synchronizing the playback of audio and video frames from a program source. The method associates an audio presentation time stamp ("PTS") value with an output audio frame. Selected ones of audio and video data packets include respective audio and video PTS values representing desired playback times of the respective audio and data associated therewith. The selected ones of the audio data packets further include audio frame numbers representing a number of output frames of audio to be played back between the selected ones of the audio data packets. The method comprises the steps of first storing the audio and video PTS values in respective audio and video PTS tables during an audio demultiplexing process. In addition, the audio frame numbers are stored in frame counters in association with respective PTS values during the demultiplexing process. Thereafter, the process sequentially decodes the audio and video input data to produce respective frames of audio and video which are presented to the user. With the presentation of each audio and video frame, the respective audio and video frame counters are selectively decremented. Upon detecting one of the audio frame counters having a zero value, the audio PTS value for that zero value audio frame counter is retrieved. Thereafter, the playback of the audio and video frames is selectively modified so that frames of audio and video are played back in synchronization.
摘要:
A data packet which contains time information is time compressed and the time information is extracted from the time compressed data packet. A system clock is synchronized with the extracted time information and is multiplied by a predetermined compression ratio to produce replacement time information which replaces the time information in the time compressed data packet. The time compressed data packet that now contains the replacement time information is modulated and transmitted or recorded.
摘要:
A timing detection device employed in a video decoder comprising a counter for counting the number of frames of coded picture data stored in a frame memory area of a RAM; a register where the count value of the counter is loaded in accordance with the timing when a PTS (presentation time stamp) is supplied from a demultiplexer to a host processor, and the loaded count value is decremented upon completion of each analysis performed per frame of the coded picture data read out from the storage area; and a frame counter for outputting a timing detection signal from a "0" detector when the count value of the register is reset to zero. In detection of the timing to process the frame data corresponding to the PTS used as reproduction output time management information for video and audio synchronism control, it becomes possible to achieve proper interchangeability and reduction of the cost.
摘要:
In a moving picture decoding control system, when the amount of codes accumulated in a buffer memory is between first and second thresholds, the reading-out of the buffer memory is stopped and an image memory is repeatedly read out just after the I-picture or the P-picture of one frame is decoded until the amount of codes accumulated in the buffer memory exceeds the second threshold. When the amount of codes accumulated in the buffer memory is smaller than the first threshold, the reading-out of the buffer memory is stopped and the image memory is repeatedly read out until the amount of codes accumulated in the buffer memory exceeds the second threshold.
摘要:
A decoder for decoding compressed data obtained through compression of digital data based on a high efficiency coding technique. The compressed data is processed in units of a predetermined amount of data and the predetermined data unit contains information indicative of a first point of time at which the data unit is to be output from the decoder. The decoder includes a decoding circuit, a time measuring circuit for measuring a second point of time as a timing reference at which the decoding circuit outputs the data, a comparator for comparing a value of the first point of time with a value of the second point of time and/or for comparing a difference value corresponding a subtraction of the value of the second point of time from the value of the first point of time with a predetermined value, and a controller, when the difference value is larger than a predetermined value, for controlling the decoding circuit to cause no output of the data decoded from the data unit including information indicative of the first point of time and to process a next unit.
摘要:
An audio/video decoding system capable of providing sufficient synchronization between an audio output and a video output. The decoding system has a parser, an audio decoder and a video decoder. The parser extracts an SCR (System Clock Reference), an audio time stamp and a video time stamp from a system stream, and demultiplexing the system stream into an audio stream and a video stream. The audio decoder computes an output timing for an audio output based on its decoding time, the SCR and the audio time stamp, and decodes the audio stream in accordance with the output timing. The video decoder computes an output timing for a video output based on its decoding time, the SCR and the video time stamp, and decodes the video stream in accordance with the output timing.
摘要:
A method of transmitting timing critical data via an asynchronous channel. The timing critical data can be an MPEG transport stream of packets. The asynchronous channel can be a computer or telephone network, a digital storage media such as a digital VCR, or a digital interface. The packets are processed serially through a remuxer to obtain a constant rate and delivered to and consumed by one or more target decoders, for example, inside a TV set or in a set-top decoder. To prevent overflow of the transport buffers inside these decoders, a single monitor-scheduler is provided which monitors the transport buffers and delivers to each the packets wanted scheduled so as to avoid buffer overflow and loss of information. The method also includes restamping the transport packets with new PCRs. The remuxing scheme is simple enough to implement on DVCR or other consumer applications. Also described is a method for recording the output stream which selects out desired program material and tags the transport packets with SOA tags.
摘要:
A coded video signal encoded into a variable length code is packed into a frame called a cell having a predetermined number of fixed bits for transmission through ATM (Asynchronous Transfer Mode) which is subject to cell loss due to the congestion of network nodes or bit errors in cell headers, causing burst errors or synchronization slips in a received video signal. In order to avoid such errors, one idea for a variable length transmission unit is introduced. A transmission unit has a plurality of cells and any coded video signal terminates in the transmission unit; in other words, a coded video signal is not shared by two transmission units. A transmission unit is closed or terminated during packing operation when the number of available bits in a cell under packing operation becomes less than a predetermined first threshold value and when a cell number in the transmission unit reaches a predetermined second threshold value, so that transmission efficiency is improved. The remainder of bit positions not occupied by a coded video signal in the last cell in a transmission unit are filled with idle fill bits. The first threshold value depends upon a cell number in a transmission unit so that the smaller the cell number is, the smaller the first threshold value.