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.

Active Publication Date: 2017-05-10
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the existing multimedia player lacks a playback method for synchronizing audio and video in the audio output mode, resulting in a poor playback effect of the multimedia player.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Audio and video playing method and device
  • Audio and video playing method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses an audio and video playing method and device which are applied to a multimedia player in an audio direct mode. The method comprises the steps of: at an interval of a preset synchronization duration or every when a preset synchronization time point is reached, calculating current buffer time of an audio buffer region; according to the buffer time and a first target timestamp, determining audio play time; according to the audio play time and a second target timestamp, determining whether audio frames currently stored in the audio buffer region and video frames currently stored in a video buffer region meet synchronous playing conditions; and if yes, pushing the video frames currently stored in the video buffer region to video equipment for playing, and pushing the audio frames currently stored in the audio buffer region to audio equipment for playing. By applying the audio and video playing method and device disclosed by the embodiment of the invention, the audio frames and the video frames, which meet the synchronous playing conditions, are simultaneously played, synchronous playing of an audio and a video when the multimedia player is in the audio direct mode is implemented, and a playing effect of the multimedia player is improved.

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 ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/43H04N21/439H04N21/44H04N21/8547
CPCH04N21/4302H04N21/4392H04N21/4394H04N21/44004H04N21/8547
Inventor 孙晨飞肖健
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products