Video synchronization method and device

A video synchronization and video data technology, applied in the multimedia field, can solve problems such as video card interruption, achieve the effect of solving video interruption, ensuring video frame rate, and ensuring video synchronization

Active Publication Date: 2019-01-08
TENCENT TECH (BEIJING) CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a video synchronization method and device, to at least solve the technical problem of serious stuck phenomenon in the prior art when playing video

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
  • Video synchronization method and device
  • Video synchronization method and device
  • Video synchronization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] According to an embodiment of the present invention, a video synchronization method is provided, such as figure 1 As shown, the method includes:

[0033] S102, acquiring the current system time when the decoding of the current video data frame is completed and the preset playing time for playing the current video data frame;

[0034] Optionally, in this embodiment, the above-mentioned video synchronization method can be applied to a media player. Optionally, the video synchronization method in this embodiment can also be applied to audio synchronization, or, the audio synchronization method in this embodiment The method may adopt a synchronization solution in the prior art, which is not limited in this application.

[0035] Optionally, in this embodiment, the video data frames include but are not limited to: B frames, wherein the multiple video data frames including the B frames constitute a GOP (Group Of Pictures, image collection) frame set, where A GOP frame set re...

Embodiment 2

[0100] According to an embodiment of the present invention, a video synchronization device for implementing the above video synchronization method is also provided, such as Figure 6 As shown, the device includes:

[0101] (1) the first acquisition unit 602, used to acquire the current system time when the decoding of the current video data frame is completed and the preset playback time for playing the current video data frame;

[0102] Optionally, in this embodiment, the above-mentioned video synchronization method can be applied to a media player. Optionally, the video synchronization method in this embodiment can also be applied to audio synchronization, or, the audio synchronization method in this embodiment The method may adopt a synchronization solution in the prior art, which is not limited in this application.

[0103] Optionally, in this embodiment, the video data frames include but are not limited to: B frames, wherein the multiple video data frames including the B...

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 invention discloses a video synchronizing method and a device. The method comprises the steps of acquiring current system time when decoding of a current video data frame is finished, and preset play time when the current video data frame is played; according to the difference value of the current system time and the play time, updating global synchronization parameters, so as to obtain updated global synchronization parameters; acquiring synchronization operation corresponding to the updated global synchronization parameters; and performing synchronization operation on hind video data frame behind the current video data frame, so as to reduce the difference value between the current system time when decoding of the hind video data frame is finished and the preset play time when the hind video data frame is played. The method solves the technical problem of seriously unsmooth play of the video in the prior art.

Description

technical field [0001] The present invention relates to the field of multimedia, in particular to a video synchronization method and device. Background technique [0002] At present, the mature media file format protocols on the market all include some time information to define at what speed and at what time the player displays corresponding audio and video information. Specifically, the display speed or the interval between adjacent frames is respectively defined by the audio signal sampling rate and the video image frame rate. Of course, it is obviously not enough to synchronize audio and video simply by frame number and frame rate. So as a supplement, the DTS (Decoding Time-Stamp, decoding timestamp) and PTS (Presentation Time-Stamp, display timestamp) mechanisms are included in the audio and video code stream, where DTS defines the decoding time point of the frame data, and PTS Define the playback time point of the frame data. Considering that the current mainstream ...

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 Patents(China)
IPC IPC(8): H04N5/04
Inventor 李大龙
Owner TENCENT TECH (BEIJING) 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