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
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2014-04-09
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
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: ...