Decoding method for judging video played by Android mobile phone

A technology of playing video and decoding method, which is applied in the field of judging the decoding of video played by Android mobile phones, which can solve problems such as video decoding failure and non-support, and achieve the effects of avoiding black screen, improving user experience, and reducing the probability of abnormal playback

Active Publication Date: 2021-07-09
GUANGZHOU YIFANG INFORMATION TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The decoded device only supports the main profile, not the main 10 profile
Then the video still fails to decode at this time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Decoding method for judging video played by Android mobile phone
  • Decoding method for judging video played by Android mobile phone
  • Decoding method for judging video played by Android mobile phone

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] like Figure 1-2 As shown, a decoding method for judging the video played by an Android mobile phone, comprising steps S00: the mobile terminal acquires a video segment; S10: the mobile terminal sends the video segment to an initialized MediaCodec decoder for decoding, and the initialized MediaCodec The separation module in the decoder separates the audio data of the video segment, obtains audio data and video data, and saves the audio data and video data to the storage module in the MediaCodec decoder; Create a corresponding decoding unit; S30: read the decoding unit in the storage module through the computing module Thread in the MediaCodec decoder, if the computing module Thread can obtain yuv video data from the decoding unit, then the MediaCodec decoder outputs to the mobile terminal Operation result. Obtain video clips through the initialized MediaCodec decoder for decoding, use the separation module MediaExtractor to select the video track in the media stream, s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a decoding method for judging video playing of an Android mobile phone, and belongs to the field of video decoding. The method comprises the following steps: intercepting a video clip, decoding the intercepted video clip through an initialized MediaCodec decoder, capturing rendering data through a GPU, and judging whether the target video can be decoded and played by current equipment or not according to a capturing result, namely, decoding the video clip by a client before playing the video; in addition, the length of the video clip is very small, so that the decoding speed is very high, whether the equipment supports the video in the coding format or not can be quickly judged, and if no equipment is supported for decoding, software is used for decoding. In other words, the decoding priority level is that the code stream with the high coding level in the GPU is smaller than the code stream with the low coding level in the GPU which is smaller than the CPU.

Description

technical field [0001] The invention relates to the field of video decoding, in particular to a decoding method for judging the video played by an Android mobile phone. Background technique [0002] When using mobile phones to play videos, some videos use relatively new advanced coding standards to encode videos, such as H265 / hevc coding technology. When the mobile phone plays the h265-encoded video, due to the high bit rate, if the video is decoded using a software decoding solution, the workload of the CPU (central processing unit (Central Processing Unit, CPU for short)) will be increased, resulting in interface card Freezing, video freezing and other issues. Therefore, we will choose to use the hardware decoding scheme, and use the GPU (Graphics Processing Unit (GPU)) to decode the video in hardware, speed up the video decoding speed, and reduce the workload of the CPU, so as to achieve the effect of playing high-definition video smoothly. [0003] But the method used ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N19/44H04N19/85H04M1/72439
CPCH04N19/44H04N19/85
Inventor 黄伟杰白剑黄海亮梁瑛玮张海林鲁和平李长杰陈焕然邓叶秾李乐王浩洪行健冷冬丁一
Owner GUANGZHOU YIFANG INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products