A kind of audio and video synchronization method and electronic equipment

A technology for audio and video synchronization and electronic equipment, which is applied in the field of electronic information and can solve problems such as poor video playback quality

Active Publication Date: 2018-04-06
LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide an audio and video synchronization method and electronic equipment, which solve the problem of poor video playback quality caused by serious video jitter caused by audio and video asynchronization when playing video, and can reduce video jitter generated during video playback , improve video playback quality

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
  • A kind of audio and video synchronization method and electronic equipment
  • A kind of audio and video synchronization method and electronic equipment
  • A kind of audio and video synchronization method and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] 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 making creative efforts belong to the protection scope of the present invention.

[0048] Embodiments of the present invention provide an audio and video synchronization method, such as figure 1 shown, including:

[0049] 101. During the playback of media content, the electronic device obtains the time stamp of the audio data played by the audio playback module of the media content and the time of the system clock. The media content includes audio data and video data, and the system clock counts from the time when the media content starts to...

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

Embodiments of the present invention provide an audio and video synchronization method and electronic equipment, which relate to the technical field of electronic information, and can reduce video jitter generated during video playback and improve video playback quality. The method is: obtain the time stamp of the audio data played by the audio playback module of the media content and the time of the system clock, and then obtain the deviation value between the time stamp of the audio data and the time of the system clock, and make the deviation value and the preset time threshold Compare, determine whether to synchronize the system clock time to the time stamp of the audio data according to the comparison result, if the system clock time is synchronized to the time stamp of the audio data, then obtain the time corresponding to the time of the system clock according to the time of the system clock after synchronization Video data, so that the video playback module continues to play the media content from the video data corresponding to the time after the system clock is synchronized. The embodiment of the present invention is used for synchronizing audio data and video data of media content.

Description

technical field [0001] The invention relates to the technical field of electronic information, in particular to an audio and video synchronization method and electronic equipment. Background technique [0002] In the original Android (Android) ecosystem, the synchronization principle of video file playback is that when the video is playing, the video playback module obtains the timestamp when the audio playback module is playing audio data, and then obtains the timestamp of the audio data and the time stamp of each frame of the video. If the error is within the allowable range, the frame of video will be played. If the error is outside the allowable range, and the time stamp of the video frame is later than the time stamp of the audio data, the video frame will be discarded. If the video If the time stamp of the frame is earlier than the time stamp of the audio data, the video frame is played when the time stamp of the video frame and the time stamp of the audio data are syn...

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): H04N21/43H04N21/8547
Inventor 平凯
Owner LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) 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