Audio and video synchronizing method and electronic device

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: 2014-04-23
LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
View PDF8 Cites 27 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
  • Audio and video synchronizing method and electronic device
  • Audio and video synchronizing method and electronic device
  • Audio and video synchronizing method and electronic device

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

The embodiment of the invention provides an audio and video synchronizing method and an electronic device and relates to electronic information technical field. The method may decrease video jitter generated when a video is played and improve video playing quality. The method comprises: acquiring the time stamp of audio data, played by an audio playing module, of media content and the time of a system clock; further acquiring a difference value between the time stamp of the audio data and the time of the system clock; comparing the difference value with a preset time threshold value; determining whether to synchronize the time of the system clock with the time stamp of the audio data according a compared result; acquiring video data corresponding to the time of the system clock according to synchronized time of the system clock if the time of the system clock is synchronized with the time stamp of the audio data; and using a video playing module to continue to play the media content from the video data corresponding to the time after the time of the system clock is synchronized. The method is suitable for synchronizing audio data with video data of the 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 Applications(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