AVS (audio video standard) audio and video presynchronizing method based on RTP (real time protocol) package

An audio and video, pre-synchronization technology, applied in the direction of image communication, selective content distribution, electrical components, etc., can solve the problem of unsatisfactory synchronization effect and achieve the effect of eliminating jitter in the media

CN102665141AActive Publication Date: 2012-09-12HARBIN INST OF TECH SHENZHEN GRADUATE SCHOOL
3 Cites 25 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2012-09-12

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides an AVS (audio video standard) audio and video presynchronizing method based on RTP (real time protocol) package. The AVS audio and video presynchronizing method mainly comprises the following steps of: receiving an RTP audio and video packet through an audio and video buffer area; judging the retardance of a packet and carrying out corresponding process according to a serial number of the RTP audio and video packet; calculating absolute playback time zone represented by the RTP audio and video packet according to information, such as a time stamp, a data type, a frame number and the like carried by the packet head character section of the RTP audio and video packet; establishing the mapping of the RTP audio and video packet according to the absolute playback time zone; determining an RTP video and audio step-out situation according to a mapping relation of the RTP audio and video packet; and carrying out corresponding regulation on different step-out situations. The method provided by the invention can effectively improve the step-out situations among AVS medias and simultaneously realize fast synchronization of frequency medias to achieve a total audio and video synchronization effect.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of streaming media synchronization, in particular to the field of AVS audio and video media synchronization for RTP package transmission. Background technique

[0002] AVS (Audio Video coding Standard, audio and video coding standard) is a digital audio and video coding standard formulated by the digital audio and video coding and decoding technical standard working group. The AVS standard includes 9 parts such as system, video, audio, digital rights management, and mobile video. AVS multimedia communication systems mostly transmit real-time multimedia data on packet-switched networks that do not guarantee QoS (Quality of Service), and their users all hope to have a good quality of service guarantee, but due to the unreliability and Due to factors such as transmission delay, a series of problems such as packet loss, disorder, jitter, and repetition are often encountered in the process of real-time data communication....

Examples

Embodiment Construction

[0043] The present invention will be further described below with reference to the accompanying drawings and specific embodiments.

[0044] The specific implementation is as follows:

[0045] 1. Receive RTP audio and video packets:

[0046] Start the thread that receives RTP audio and video packets, open the audio buffer, and set its initial value to Am; open the video buffer, set its initial value to Vm, and prepare to receive new RTP audio packets and RTP video packets. figure 1 A1, A2, ---, An is the serial number of the RTP audio package, V1, V2, ---, Vm is the serial number of the RTP video package, and the actual serial numbers represented are not necessarily consecutive. remove figure 1 In addition, the audio listening port, video listening port and missing mark are not drawn in other figures, but they are actually there. They are not drawn for the sake of clear explanation later.

[0047] 2. Analyze packet lateness and handle:

[0048] Start the thread that parses ...