Method and device for multi-thread video and audio synchronous control

A technology of audio and video synchronization and control method, which is applied in the field of digital audio and video, can solve the problems of not considering the uncertainty of image and sound content, the difficulty and trouble of dividing video and audio, and achieve a clear software structure and reduce the use of system resources , to achieve the effect of low complexity

Inactive Publication Date: 2011-03-09
SHENZHEN CHIPSBANK TECH
View PDF6 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method does not take into account the uncertainty of the image and sound content, and the segmentation of video and audio also brings difficulties and troubles

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
  • Method and device for multi-thread video and audio synchronous control
  • Method and device for multi-thread video and audio synchronous control
  • Method and device for multi-thread video and audio synchronous control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to describe the technical content, structural features, achieved goals and effects of the present invention in detail, the following will be described in detail in conjunction with the embodiments and accompanying drawings.

[0021] An embodiment of the multi-threaded audio-video synchronization control method of the present invention is developed and realized based on the platform of an embedded Linux operating system, and the operating system performs multi-threaded parallel processing on audio-video transmission streams or program streams. Of course, this embodiment Only the Linux operating system is listed for illustration, and in other embodiments, other types of operating systems are also applicable. The specific implementation process is as figure 1 shown, including the following steps:

[0022] Step 101: splitting the transport stream or program stream into audio elementary streams, video elementary streams, and time information respectively correspond...

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 method and a device for multi-thread video and audio synchronous control. The method comprises the following steps of: splitting transport stream or program stream into audio basic steam, video basic stream and respective time information; acquiring audio data and image data to be output by decoding; selecting the audio data and the image data to be output in accordance with the local system clock requirement according to the time information for outputting respectively, and selecting the audio data and the image data, the time information of which is closest to the local system clock value; calculating the difference between the corresponding time of the audio data and the corresponding time of the image data; and when the corresponding time of the video data is greater than the corresponding time of the audio data, repeatedly outputting the video data for displaying, otherwise, skipping the video play of the video data and performing frame kipping processing so as to synchronously output the audio and the video. The method and the device do not need to supplement a large amount of video coding data and audio image data so as to greatly reduce the utilization of the system resources.

Description

technical field [0001] The invention relates to the technical field of digital audio and video, in particular to a multi-threaded audio and video synchronization control method and device. Background technique [0002] Currently popular video codec standards, such as MPEG-1, MPEG-2, MPEG-4, H.26x, etc., all adopt the traditional hybrid coding structure, which uses time and space prediction, transformation, quantization and entropy coding methods , encode video frames into different frame types: intra-frame prediction frame (I frame), inter-frame prediction frame (P frame) and bi-directional prediction frame (B frame), which will inevitably cause video decoding speed to vary due to video content Different, but the playback frame rate of the video is fixed, which leads to problems such as the mismatch between the video decoding speed and the display speed, and the audio and video are encoded and transmitted separately, and synchronous output is required during playback. If it ...

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/434H04N21/8547H04N7/26
Inventor 庄厝边李惠卿王欢
Owner SHENZHEN CHIPSBANK TECH
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