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

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

CN102665141BActive Publication Date: 2014-04-09HARBIN INST OF TECH SHENZHEN GRADUATE SCHOOL
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2014-04-09

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 stream media synchronization, in particular to the field of AVS audio and video media synchronization for RTP encapsulation and 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 Codec Technology Standard Working Group. The AVS standard includes 9 parts including system, video, audio, digital rights management, and mobile video. AVS multimedia communication systems usually transmit real-time multimedia data on packet-switched networks that do not guarantee QoS (Quality of Service). Due to factors such as transmission delay, real-time data communication often encounters a series of problems such as packet loss, disorder, jitter, and repetition. In order to effectively transmit real-time data in the network, IETF (Internet Engineering Task Force, Internet Engineering Tas...

Examples

Embodiment Construction

[0043] The present invention will be further described below in conjunction with 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 receiving RTP audio and video packets, open the audio buffer, set its initial value size as Am; open the video buffer, set its initial value size as Vm, and prepare to receive new RTP audio packets and RTP video packets. figure 1 A1, A2, ---, An are the serial numbers of the RTP audio packets, V1, V2, ---, Vm are the serial numbers of the RTP video packets, and the actual serial numbers represented are not necessarily continuous. remove figure 1 In addition, the audio listening port, the video listening port and the missing mark are not drawn in other figures, but they are actually there, and they are not drawn for the sake of clarity in the follow-up.

[0047] 2. Analyze the lateness of the package and deal with it: ...