Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Video synchronizing method and device

A technology of video synchronization and video data, applied in the field of multimedia, can solve the problem of playing video stuck, and achieve the effect of solving stuck, ensuring video synchronization, and ensuring video frame rate

Active Publication Date: 2015-08-05
TENCENT TECH (BEIJING) CO LTD
View PDF13 Cites 16 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 synchronizing method and device
  • Video synchronizing method and device
  • Video synchronizing 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
IPC IPC(8): H04N5/04
Inventor 李大龙
Owner TENCENT TECH (BEIJING) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products