TWI353759B

Synchronization of audio and video data in a wirel

Abstract

The present invention discloses a technique for encoding an audio video stream transmitted over a network (e.g., a wireless network or an IP network) such that a complete audio frame and a complete video message are simultaneously transmitted in a desired cycle. a frame for reproducing the audio video stream frames by an application in a receiver. Aspects of such techniques include receiving audio and video RTP streams, and assigning a complete frame of RTP video data to a communication channel packet occupying the same period as the video frame rate or less than the video frame rate. . A complete frame of RTP audio data is also assigned to a communication channel packet occupying the same period as the audio frame rate or less than the audio frame rate. These video and audio communication channel packets are simultaneously transmitted. Receiving and assigning RTP streams can be performed at a remote station or a base station.

TWI353759B, drawing sheet 1
Sheet 1 of 10

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Granted
  4. Today

20 claims: 12 independent, 8 dependent

  1. 1
    A data stream synchronizer, comprising:a first decoder configured to receive a first encoded data stream and output a first decoded data stream, wherein the first encoded data stream is an information The interval has a first bit rate;a second decoder configured to receive a second coded data stream and output a second decoded data stream, wherein the second coded data stream is in the information The interval period has a second bit rate, and the second coded data stream is audio data;a first buffer is configured to accumulate the first decoded data stream of at least one information interval, and the Output a frame of the first decoded data stream during each interval;a second buffer configured to accumulate the second decoded data stream of at least one information interval, and output the second decoded data stream during each interval A frame of the second decoded data stream;and a combiner configured to receive the first decoded data stream frame and the second decoded data stream frame, and output the first and second decodes One of the data streams is a synchronized frame. 一種資料串流同步器,其包含:一第一解碼器,其經組態以接收一第一編碼資料串流並輸出一第一解碼資料串流,其中該第一編碼資料串流在一資訊間隔期間具有一第一位元速率;一第二解碼器,其經組態以接收一第二編碼資料串流並輸出一第二解碼資料串流,其中該第二編碼資料串流在該資訊間隔期間具有一第二位元速率,且其中該第二編碼資料串流為音頻資料;一第一緩衝器,其經組態以累積至少一資訊間隔之該第一解碼資料串流,並在每一間隔期間輸出該第一解碼資料串流之一訊框;一第二緩衝器,其經組態以累積至少一資訊間隔之該第二解碼資料串流,並在每一間隔期間輸出該第二解碼資料串流之一訊框;及一組合器,其經組態以接收該第一解碼資料串流訊框及該第二解碼資料串流訊框,並輸出第一及第二解碼資料串流之一同步訊框。
  2. 4
    A remote site equipment, which includes:a video decoder, which is configured to receive encoded video data and output Decode video data;an audio decoder, which is configured to receive encoded audio data and output decoded audio data;a video buffer, which is configured to accumulate decoded video data for at least one frame period, and in each signal Frame period output a video data frame;an audio buffer configured to accumulate decoded audio data of multiple frame periods, and output an audio data frame in each frame period;and a combiner, which It is configured to receive the video data frame and the audio data frame, and output a synchronous frame of audio and video data. 一種遠端站台設備,其包含:一視頻解碼器,其經組態以接收編碼視頻資料並輸出 解碼視頻資料;一音頻解碼器,其經組態以接收編碼音頻資料並輸出解碼音頻資料;一視頻緩衝器,其經組態以累積至少一訊框週期之解碼視頻資料,並在每一訊框週期輸出一視頻資料訊框;一音頻緩衝器,其經組態以累積多個訊框週期之解碼音頻資料,並在每一訊框週期輸出一音頻資料訊框;及一組合器,其經組態以接收該視頻資料訊框及該音頻資料訊框,並輸出音頻視頻資料之一同步訊框。
  3. 8
    A base station equipment comprising:a video decoder configured to receive encoded video data and output decoded video data;an audio decoder configured to receive encoded audio data and output decoded audio data;a video Buffer, which is configured to accumulate decoded video data of a video frame period, and output a video data frame in each frame period;an audio buffer, which is configured to accumulate a video frame period of untie Code audio data, and output an audio data frame in each frame period;and a combiner configured to receive the video data frame and the audio data frame, and output a synchronization signal of the audio and video data frame. 一種基地台設備,其包含:一視頻解碼器,其經組態以接收編碼視頻資料並輸出解碼視頻資料;一音頻解碼器,其經組態以接收編碼音頻資料並輸出解碼音頻資料;一視頻緩衝器,其經組態以累積一視頻訊框週期之解碼視頻資料,並在每一訊框週期輸出一視頻資料訊框;一音頻緩衝器,其經組態以累積一音頻訊框週期之解 碼音頻資料,並在每一訊框週期輸出一音頻資料訊框;及一組合器,其經組態以接收該視頻資料訊框及該音頻資料訊框,並輸出音頻視頻資料之一同步訊框。
  4. 12
    A wireless communication system, which includes:a base station device, which includes: a video communication channel interface, which is configured to receive a video real-time transmission protocol (RTP) stream and assign a complete frame of RTP video data Pre-occupied communication channel packets of the same or less period than the video frame rate;an audio communication channel interface, which is configured to receive an audio RTP stream, and one of the RTP audio data The complete frame is assigned to communication channel packets occupying the same or less period than the audio frame rate;a transmitter configured to receive and transmit the video and audio communication channel packets;A remote site equipment, which includes: a video decoder configured to receive video communication channel packets And output decoded video data;an audio decoder, which is configured to receive audio communication channel packets and output decoded audio data;a video buffer, which is configured to accumulate decoded video data for a video frame period, and Output a video data frame for each frame period;an audio buffer configured to accumulate decoded audio data for an audio frame period, and output an audio data frame for each frame period;and a combination The device is configured to receive the video data frame and the audio data frame, and output a synchronous frame of audio and video data. 一種無線通信系統,其包含:一基地台設備,其包含:一視頻通信頻道介面,其經組態以接收一視頻即時傳送協定(RTP)串流,並將RTP視頻資料之一完整訊框指派予佔用與該視頻訊框速率相同或比該視頻訊框速率更少之週期的通信頻道封包;一音頻通信頻道介面,其經組態以接收一音頻RTP串流,並將RTP音頻資料之一完整訊框指派予佔用與該音頻訊框速率相同或比該音頻訊框速率更少之週期的通信頻道封包;一傳輸器,其經組態以接收並傳輸該等視頻及音頻通信頻道封包;一遠端站台設備,其包含:一視頻解碼器,其經組態以接收視頻通信頻道封包 並輸出解碼視頻資料;一音頻解碼器,其經組態以接收音頻通信頻道封包並輸出解碼音頻資料;一視頻緩衝器,其經組態以累積一視頻訊框週期之解碼視頻資料,並在每一訊框週期輸出一視頻資料訊框;一音頻緩衝器,其經組態以累積一音頻訊框週期之解碼音頻資料,並在每一訊框週期輸出一音頻資料訊框;及一組合器,其經組態以接收該視頻資料訊框及該音頻資料訊框,並輸出一音頻視頻資料之同步訊框。
  5. 13
    A wireless communication system includes:a remote station device, including: a video communication channel interface, which is configured to receive a video RTP stream, and assign a complete frame of RTP video data to the A communication channel packet with the same video frame rate or a period less than the video frame rate;an audio communication channel interface, which is configured to receive an audio RTP stream and assign a complete frame of RTP audio data Pre-occupied communication channel packets of the same or less period than the audio frame rate;a transmitter configured to receive and transmit the video and audio communication channel packets;a base station equipment , Which contains: A video decoder, which is configured to receive video communication channel packets and output decoded video data;an audio decoder, which is configured to receive audio communication channel packets and output decoded audio data;a video buffer, which is configured to receive audio communication channel packets and output decoded audio data;Mode to accumulate the decoded video data of a video frame period, and output a video data frame in each frame period;an audio buffer, which is configured to accumulate the decoded audio data of an audio frame period, and Each frame period outputs an audio data frame;and a combiner configured to receive the video data frame and the audio data frame, and output a synchronization frame of audio and video data. 一種無線通信系統,其包含:一遠端站台設備,其包含:一視頻通信頻道介面,其經組態以接收一視頻RTP串流,並將RTP視頻資料之一完整訊框指派予佔用與該視頻訊框速率相同或比該視頻訊框速率更少之週期的通信頻道封包;一音頻通信頻道介面,其經組態以接收一音頻RTP串流,並將RTP音頻資料之一完整訊框指派予佔用與該音頻訊框速率相同或比該音頻訊框速率更少之週期的通信頻道封包;一傳輸器,其經組態以接收並傳輸該等視頻及音頻通信頻道封包;一基地台設備,其包含: 一視頻解碼器,其經組態以接收視頻通信頻道封包並輸出解碼視頻資料;一音頻解碼器,其經組態以接收音頻通信頻道封包並輸出解碼音頻資料;一視頻緩衝器,其經組態以累積一視頻訊框週期之解碼視頻資料,並在每一訊框週期輸出一視頻資料訊框;一音頻緩衝器,其經組態以累積一音頻訊框週期之解碼音頻資料,並在每一訊框週期輸出一音頻資料訊框;及一組合器,其經組態以接收該視頻資料訊框及該音頻資料訊框,並輸出一音頻視頻資料之同步訊框。
  6. 14
    A method for decoding a synchronous data stream, comprising:receiving a first coded data stream, decoding the first coded data and outputting a first decoded data stream, wherein the first coded data stream is an information The interval has a first bit rate;receiving a second coded data stream, decoding the second coded data and outputting a second decoded data stream, wherein the second coded data stream has a A second bit rate, wherein the second encoded data stream is audio data;the first decoded data stream of at least one information interval is accumulated, and one of the first decoded data streams is output in each interval period Frame;accumulate the second decoded data stream of at least one information interval, and output a frame of the second decoded data stream in each interval period;and Combine the first decoded data stream frame and the second decoded data stream frame, and output a synchronization frame of one of the first and second decoded data streams. 一種用於解碼同步資料串流之方法,其包含:接收一第一編碼資料串流、解碼該第一編碼資料並輸出一第一解碼資料串流,其中該第一編碼資料串流在一資訊間隔期間具有一第一位元速率;接收一第二編碼資料串流、解碼該第二編碼資料並輸出一第二解碼資料串流,其中該第二編碼資料串流在該資訊間隔期間具有一第二位元速率,且其中該第二編碼資料串流為音頻資料;累積至少一資訊間隔之該第一解碼資料串流,並在每一間隔週期輸出該第一解碼資料串流之一訊框;累積至少一資訊間隔之該第二解碼資料串流,並在每一間隔週期輸出該第二解碼資料串流之一訊框;及 組合該第一解碼資料串流訊框及該第二解碼資料串流訊框,並輸出第一及第二解碼資料串流之一同步訊框。
  7. 15
    A method for decoding and synchronizing audio and video data. The method includes:receiving encoded video data and outputting decoded video data;receiving encoded audio data and outputting decoded audio data;accumulating decoded video data for at least one video frame period, and Output a video data frame in each frame period;accumulate decoded audio data for at least one audio frame period, and output an audio data frame in each frame period;and combine the video data frame and the audio data Frame, and output a synchronous frame of audio and video data in each video frame period. 一種用於解碼並同步音頻及視頻資料之方法,該方法包含:接收編碼視頻資料並輸出解碼視頻資料;接收編碼音頻資料並輸出解碼音頻資料;累積至少一視頻訊框週期之解碼視頻資料,並在每一訊框週期輸出一視頻資料訊框;累積至少一音頻訊框週期之解碼音頻資料,並在每一訊框週期輸出一音頻資料訊框;及組合該視頻資料訊框及該音頻資料訊框,並在每一視頻訊框週期輸出音頻視頻資料之一同步訊框。
  8. 16
    A computer-readable medium implementing a method for decoding and synchronizing data streams, the method comprising:receiving a first encoded data stream, decoding the first encoded data, and outputting a decoded first data stream, wherein The first encoded data stream has a first bit rate during an information interval;receiving a second encoded data stream, decoding the second encoded data and outputting a decoded second data stream, wherein the second encoding The data stream has a second bit rate during the information interval, and the second encoded data stream is audio data;the first decoded data stream for at least one information interval is accumulated, and output in each interval period A frame of the first decoded data stream;the second decoded data stream of at least one information interval is accumulated, and each Output a frame of the second decoded data stream at an interval period;and combine the first decoded data stream frame and the second decoded data stream frame, and output the first and second decoded data streams A sync frame. 一種實施一用於解碼及同步資料串流之方法的電腦可讀取媒體,該方法包含:接收一第一編碼資料串流、解碼該第一編碼資料並輸出一解碼第一資料串流,其中該第一編碼資料串流在一資訊間隔期間具有一第一位元速率;接收一第二編碼資料串流、解碼該第二編碼資料並輸出一解碼第二資料串流,其中該第二編碼資料串流在該資訊間隔期間具有一第二位元速率,且其中該第二編碼資料串流為音頻資料;累積至少一資訊間隔之該第一解碼資料串流,並在每一間隔週期輸出該第一解碼資料串流之一訊框;累積至少一資訊間隔之該第二解碼資料串流,並在每 一間隔週期輸出該第二解碼資料串流之一訊框;及組合該第一解碼資料串流訊框及該第二解碼資料串流訊框,並輸出第一及第二解碼資料串流之一同步訊框。
  9. 17
    A computer-readable medium that implements a method for decoding and synchronizing audio and video data. The method includes:receiving encoded video data and outputting decoded video data;receiving encoded audio data and outputting decoded audio data;accumulating a video frame Periodically decode video data, and output a video data frame in each frame period;accumulate decoded audio data for an audio frame period, and output an audio data frame in each frame period;and combine the video data The frame and the audio data frame, and output a synchronous frame of audio and video data. 一種實施一用於解碼及同步音頻及視頻資料之方法的電腦可讀取媒體,該方法包含:接收編碼視頻資料並輸出解碼視頻資料;接收編碼音頻資料並輸出解碼音頻資料;累積一視頻訊框週期之解碼視頻資料,並在每一訊框週期輸出一視頻資料訊框;累積一音頻訊框週期之解碼音頻資料,並在每一訊框週期輸出一音頻資料訊框;及組合該視頻資料訊框及該音頻資料訊框,並輸出音頻視頻資料之一同步訊框。
  10. 18
    A data stream synchronizer, comprising:a component for decoding a first encoded data stream and outputting a first decoded data stream, wherein the first encoded data stream has a first during an information interval Bit rate;a component used to decode a second coded data stream and output a second decoded data stream, wherein the second coded data stream has a second bit rate during the information interval, and wherein The second encoded data stream is audio data;a component for accumulating the first decoded data stream of at least one information interval, and outputting a frame of the first decoded data stream in each interval period;A member for accumulating the second decoded data stream of at least one information interval, and outputting a frame of the second decoded data stream in each interval period;and for combining the first decoded data stream frame And the second decoded data stream frame, and output a synchronization frame of the first and second decoded data streams. 一種資料串流同步器,其包含:用於解碼一第一編碼資料串流,並輸出一第一解碼資料串流之構件,其中該第一編碼資料串流在一資訊間隔期間具有一第一位元速率;用於解碼一第二編碼資料串流,並輸出一第二解碼資料串流之構件,其中該第二編碼資料串流在該資訊間隔期間具有一第二位元速率,且其中該第二編碼資料串流為音頻資料;用於累積至少一資訊間隔之該第一解碼資料串流,並在每一間隔週期輸出該第一解碼資料串流之一訊框的構件; 用於累積至少一資訊間隔之該第二解碼資料串流,並在每一間隔週期輸出該第二解碼資料串流之一訊框的構件;及用於組合該第一解碼資料串流訊框及該第二解碼資料串流訊框,並輸出一第一及第二解碼資料串流之同步訊框的構件。
  11. 19
    A remote station equipment comprising:a component for receiving encoded video data and outputting decoded video data;a component for receiving encoded audio data and outputting decoded audio data;a component for accumulating decoded video data for a video frame period, And a component for outputting a video data frame in each frame period;a component for accumulating decoded audio data for an audio frame period and outputting an audio data frame for each frame period;and for combining the The video data frame and the audio data frame, and a component that outputs a synchronous frame of audio and video data. 一種遠端站台設備,其包含:用於接收編碼視頻資料並輸出解碼視頻資料之構件;用於接收編碼音頻資料並輸出解碼音頻資料之構件;用於累積一視頻訊框週期之解碼視頻資料,並在每一訊框週期輸出一視頻資料訊框的構件;用於累積一音頻訊框週期之解碼音頻資料,並在每一訊框週期輸出一音頻資料訊框的構件;及用於組合該視頻資料訊框及該音頻資料訊框,並輸出一音頻視頻資料之同步訊框的構件。
  12. 20
    A base station equipment comprising:a component for receiving encoded video data and outputting decoded video data;a component for receiving encoded audio data and outputting decoded audio data;a component for accumulating decoded video data for a video frame period, and A component for outputting a video data frame in each frame period;a component for accumulating decoded audio data for an audio frame period and outputting an audio data frame for each frame period;and for combining the video The data frame and the audio data frame, and a component that outputs a synchronous frame of audio and video data. 一種基地台設備,其包含:用於接收編碼視頻資料並輸出解碼視頻資料之構件;用於接收編碼音頻資料並輸出解碼音頻資料之構件;用於累積一視頻訊框週期之解碼視頻資料,並在每一訊框週期輸出一視頻資料訊框的構件;用於累積一音頻訊框週期之解碼音頻資料,並在每一訊框週期輸出一音頻資料訊框的構件;及用於組合該視頻資料訊框及該音頻資料訊框,並輸出一音頻視頻資料之同步訊框的構件。