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
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2012-09-12
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
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 ...