Video App decoding method and device
A decoding method and a video decoding technology, which are applied in the field of video App decoding methods and devices, can solve problems such as differences in video App decoding effects, and achieve the effects of improving user experience, wide application range, and reducing decoding differences
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] refer to figure 1 , shows a flow chart of steps of a video App decoding method in an embodiment of the present invention, and the specific steps include:
[0046] Step 101, collecting video codec information needed for video decoding;
[0047] Usually, the video app can display and play video resource files in various formats, and the video app in the mobile terminal decodes the video to match the fixed hardware decoding scheme for the corresponding terminal through the terminal model. In the present invention, the video codec information needed for video decoding is collected by the video App, the video codec information is Mediacodecinfo information, and the Mediacodecinfo information is the definition of the video data compression protocol, codec format, etc. (such as, at least including the data format , color formats, etc.). Android provides the Mediacodec class to allow developers to process video codecs more flexibly. Compared with high-level APIs such as Media...
Embodiment 2
[0058] refer to figure 2 , shows a flow chart of steps of a video App decoding method in an embodiment of the present invention, and the specific steps include:
[0059] Step 201, collecting hardware information of the mobile terminal;
[0060] Generally speaking, a hardware product has its corresponding application manual, which specifies the usage instructions and performance parameters of the hardware product in detail. Hardware information refers to CPU, GPU and other parameter information related to video decoding and playback. These hardware information are used to configure the type of decoder and decoding type, that is, to determine the type of decoder as H.264AVC, H.265HEVC, VP8, VP9 Wait for which category, and whether to use software decoding or hardware decoding. Based on these information, the present invention can establish a hardware information configuration table in the video software, recording the decoding types and decoder types supported by hardware suc...
Embodiment 3
[0086] refer to image 3 , which shows a structural block diagram of a video App decoding device in an embodiment of the present invention, the device includes:
[0087] The first collection module 301 is used to collect video codec information needed for video decoding;
[0088] The generation module 302 is configured to generate a decoding strategy according to the video codec information, wherein the decoding strategy includes each playback bit rate supported by the current terminal and a mapping relationship between decoding types corresponding to each playback bit rate, and the decoding The type is determined by the hardware information;
[0089] An analysis module 303, configured to analyze the decoding strategy to select one of the playback bit rates as the target playback bit rate;
[0090] The decoding module 304 is configured to determine the decoding type corresponding to the target playback bit rate according to the mapping relationship to decode the video.
[0...
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