Method and device for playing multimedia file
A multimedia file and technology to be played, applied in the information field, can solve problems such as occupying large system memory and CPU resources, freeze applications, and no response, etc., to achieve the effect of reducing CPU usage, avoiding freeze phenomena, and reducing system load
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] figure 1 A flow chart showing the implementation of a method for playing a multimedia file according to an embodiment of the present invention is shown. Such as figure 1 As shown, the method mainly includes:
[0059] In step S101, a multimedia file to be played is acquired.
[0060] It should be noted that the execution subject of this embodiment may be a mobile terminal such as a mobile phone or a tablet computer, or other devices for playing multimedia files, which is not limited herein.
[0061] In the embodiment of the present invention, the multimedia file to be played may be acquired locally, or may be acquired from the server.
[0062] In a possible implementation, the method is based on the MediaCodec framework. In this implementation, the device for playing multimedia files is based on the Android operating system.
[0063] In step S102, the multimedia file is demultiplexed to obtain demultiplexed data corresponding to the multimedia file and format info...
Embodiment 2
[0094] Figure 7 A structural block diagram of an apparatus for playing multimedia files according to another embodiment of the present invention is shown. For ease of description, only parts related to the embodiments of the present invention are shown.
[0095] Such as Figure 7 As shown, the device includes: an acquisition module 71 for acquiring a multimedia file to be played; a demultiplexing module 72 for demultiplexing the multimedia file to obtain demultiplexing data corresponding to the multimedia file and Format information of the demultiplexed data; an initialization module 73, configured to initialize a hardware decoder according to the format information of the demultiplexed data; a decoding module 74, configured to use the hardware decoder to demultiplex the demultiplexed data Decoding is performed to obtain decoded data corresponding to the demultiplexed data; a rendering module 75 is configured to use a hardware renderer to render the decoded data.
[0096] ...
Embodiment 3
[0103] Figure 8 A structural block diagram of a device for playing multimedia files according to another embodiment of the present invention is shown. The device 1100 for playing multimedia files may be a host server with computing capabilities, a personal computer PC, or a portable portable computer or terminal. The specific embodiments of the present invention do not limit the specific implementation of the computing nodes.
[0104] The device 1100 for playing multimedia files includes a processor (processor) 1110 , a communication interface (Communications Interface) 1120 , a memory (memory) 1130 and a bus 1140 . Wherein, the processor 1110 , the communication interface 1120 , and the memory 1130 communicate with each other through the bus 1140 .
[0105] The communication interface 1120 is used for communicating with network devices, where the network devices include, for example, a virtual machine management center, shared storage, and the like.
[0106] The processor...
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