Audio stream flow velocity error processing method and apparatus, computer apparatus and computer readable storage medium
An audio stream and audio technology, applied in the field of audio and video, can solve problems such as mismatching decoding speed, overflow and overflow of audio and video buffer data of the player, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] figure 1 A method for processing an audio stream velocity error provided by an embodiment of the present invention is shown, and the details are as follows:
[0034] In step S110, the audio frame data in the cache is acquired.
[0035] In the embodiment of the present invention, the audio frame data can specifically receive real-time audio and video stream data through a communication port such as a network port or a USB port, and demultiplex the audio data after being demultiplexed by the demultiplexing module.
[0036] In step S120, the audio frame data is parsed to obtain the timestamp of the first frame of the audio frame data.
[0037] As an embodiment of the present invention, the audio frame data includes an audio frame sequence, and the acquired audio frame sequence is transmitted to the AudioQueue audio processing framework for playback processing. After the AudioQueue audio processing framework receives the audio frame sequence, it passes through the audio fr...
Embodiment 2
[0062] In the embodiment of the present invention, in step S120, the parsing of the audio frame data to obtain the timestamp of the first frame of the audio frame data includes:
[0063] In step S121, the decoding parameters of the audio data frame are analyzed, the audio sampling rate and the audio frame duration are obtained, and the timestamp of the first frame of the audio frame data is recorded;
[0064] In the embodiment of the present invention, the audio sampling rate is the number of audio samples corresponding to each audio frame, and the audio frame duration is the playback duration of each audio frame.
[0065] As an embodiment of the present invention, the audio frame data includes an audio frame sequence, and the acquired audio frame sequence is transmitted to the AudioQueue audio processing framework for playback processing. After the AudioQueue audio processing framework receives the audio frame sequence, it passes through the audio frame sequence The PES packe...
Embodiment 3
[0079] image 3 It shows the implementation process of another audio stream flow rate error processing method provided by the embodiment of the present invention, which is similar to the first embodiment, except that the acquisition of the audio frame data in the cache includes:
[0080] In step S210, audio stream data is received in real time.
[0081] In the embodiment of the present invention, the audio stream data may be received in real time through a communication port such as a network port, a USB port, etc., and the audio stream data may be compressed audio data or original audio data.
[0082] In step S220, the audio stream data is demultiplexed to obtain audio frame data.
[0083] In the embodiment of the present invention, after the audio stream data is received, the packets of the same type in the audio stream data are stored and processed separately by the demultiplexing module. To distinguish audio or other business information data. Its function is to separat...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com