Audio and video playing method and multimedia player
A multimedia player, audio and video playback technology, applied in the field of audio and video processing, can solve problems such as consumption of equipment, inability to play audio and video, multimedia player can not meet the individual needs of users, etc., to achieve the effect of meeting individual needs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] refer to figure 1 , shows a flow chart of steps of an audio and video playback method provided in Embodiment 1 of the present invention.
[0030] The audio and video playing method of the embodiment of the present invention comprises the following steps:
[0031] Step S102: The screen detection module determines the current state of the device screen according to the set rules.
[0032] The multimedia player in the embodiment of the present invention is provided with a screen detection module and a demultiplexer. When playing audio and video, the screen detection module will determine the current state of the device screen according to the set rules.
[0033] It should be noted that the setting rules in the specific implementation process can be set by those skilled in the art according to actual needs, as long as the screen detection module can determine the current state of the device screen. For example: the screen detection module actively sends a request to the ...
Embodiment 2
[0042] refer to figure 2 , shows a flow chart of steps of an audio and video playback method provided in Embodiment 2 of the present invention.
[0043] The multimedia player in the embodiment of the present invention includes a screen detection module and a demultiplexer, and specifically includes the following steps when using the multimedia player in the embodiment of the present invention to play audio and video:
[0044] Step S202: the screen detection module monitors the callback information returned by the operating system at a set time interval.
[0045] Wherein, the callback information carries information for indicating the current state of the device screen.
[0046] The setting of the time interval may be set by those skilled in the art according to actual requirements, and this is not specifically limited in this embodiment of the present invention. For example: set the time interval to 1 second, 2 seconds or 0.5 seconds, etc.
[0047] Step S204: The screen de...
Embodiment 3
[0072] refer to Figure 4 , shows a structural block diagram of the multimedia player provided by Embodiment 3 of the present invention.
[0073] The multimedia player provided by the embodiment of the present invention includes: a screen detection module 402 and a demultiplexer 404; wherein, the screen detection module 402 includes: a screen monitoring sub-module 4022, which is used to determine the current state of the device screen according to the set rules ; The communication sub-module 4024 is used to receive the screen current state acquisition request sent by the demultiplexer, respond to the request and send the current state of the screen to the demultiplexer; when the current state of the screen is off At this time, the demultiplexer 404 is used to apply to the operating system for background work permission to decode the audio code stream in the background; and only send the decomposed audio code stream to the audio decoder for decoding, so as to only perform audio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


