Audio and video playing method and device
A technology for audio and video playback and audio playback, applied in the multimedia field, can solve the problems of poor playback effect of multimedia players and lack of playback methods of audio and video synchronization, and achieve the effect of improving playback effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2017-05-10
Smart Images

Figure 1 
Figure 2
Abstract
Description
technical field
[0001] The invention relates to the field of multimedia technology, in particular to an audio and video playing method and device. Background technique
[0002] With the development of Internet technology, the channels for users to obtain multimedia information are becoming more and more convenient, and various multimedia players are showing a trend of rapid development. Synchronous playback of audio and video is an important content that reflects the service quality of multimedia players.
[0003] Audio and video synchronization refers to maintaining the time synchronization relationship between audio frames and video frames, which can be achieved by reducing the playing time difference between audio frames and video frames. Since each audio frame has an audio time stamp and each video frame has a video time stamp, the audio and video synchronization method mainly uses a time stamp synchronization method, that is, first select a reference clock (the time on ...
Examples
Embodiment Construction
[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
[0040] The embodiment of the present invention discloses an audio and video playing method and device, which are applied to a multimedia player in an audio direct mode, and will be described in detail below.
[0041] see figure 1 , figure 1 A schematic flow diagram of an audio and video playback method provided by an embodiment of the present invention, including the following steps:
[0042]S101. Calculate the buffering time of the current audio buffer every tim...