Method for playing back audio/video of network stream media synchronously
A technology of audio and video synchronization and playback method, applied in the field of IP network, can solve the problems of not being suitable for multimedia playback system, stand-alone, large random errors, etc., and achieve the effect of improving streaming media playback effect, improving synchronization accuracy, and simple synchronization process
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2007-02-21
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to an IP network technology, in particular to an IP network stream media audio and video synchronization technology. Background technique
[0002] With the development of 3C integration of home appliances, communications, and consumer electronics, streaming media playback systems based on IP networks have gradually become a hot topic. In IP network streaming media playback technology, how to correctly restore the time relationship between audio and video at the receiving end, that is, to realize synchronous playback of audio and video, has become one of the key technologies.
[0003] In the prior art, after the terminal starts to play streaming media (on-demand or multicast), it begins to continuously receive media data packets from the network. The processing flow at this time is as follows (taking the media video as mpeg4 and audio as mp3 as an example):
[0004] (1) First judge the media type by RTP Payload (RTP load), and kn...
Examples
Embodiment
[0045] In this example, the streaming media playback process is as follows: figure 2 shown.
[0046] After receiving media data from the network, push it into a temporary storage area instead of directly pushing it to the audio / video buffer. Within the staging area, packets are reordered according to their sequence numbers. After that, the temporary storage area is regularly accessed by the audio and video timer, and the data is fetched into the audio / video buffer.
[0047] The synchronization of audio and video in the present invention is mainly realized by obtaining the reference time of each frame of video data sent by the streaming media server and the reference time of each audio data packet. Since the progress of the data sent by the streaming media server is basically synchronized with the actual playback progress, the audio and video timers are mainly controlled on the terminal side, so as to achieve the purpose of controlling the audio and video playback speed.
...