A kind of video and audio recording method and device, computer readable storage medium
A technology for audio and video and computer programs, applied in the fields of computer-readable storage media, video and audio recording methods and devices, can solve problems such as the price acceptance of video and audio synchronous signal sources, and achieve the goal of improving look and feel, avoiding delay, and satisfying audio and video quality. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] like figure 1 As shown, this embodiment can provide a video and audio recording method, which is a technical solution for video and audio recording that can be based on an asynchronous state, and can achieve accurate alignment of video frames and audio frames. The method includes, but is not limited to, the following steps that can be cyclically executed multiple times.
[0022] This embodiment may be implemented in a thread mode, and a thread is started to perform video and audio matching. First, a frame of current video and video timestamp is read from the video buffer, and a frame of current audio and audio timestamp corresponding to the current video is read from the audio buffer. It should be understood that "current video" refers to a frame of video to be processed during the execution of this process, and "current audio" refers to the current video corresponding to the current video during the execution of this process to be processed during the execution of thi...
Embodiment 2
[0032] The video and audio recording method in Embodiment 1 is based on the same inventive concept, and this embodiment can provide a product corresponding to the video and audio recording method in Embodiment 1, that is, this embodiment can provide an audio and video recording apparatus.
[0033] The device includes, but is not limited to, a data reading module, a synchronization judgment module, a delay detection module, a data insertion module, a data deletion module, etc. The working modes and principles of each module are specifically described as follows.
[0034] The data reading module is used for reading a frame of current video and video time stamp from the video buffer, and for reading a frame of current audio and audio time stamp corresponding to the current video from the audio buffer.
[0035] The synchronization judgment module judges whether the current video and the current audio are synchronized according to the time stamp, and is specifically configured to us...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

