Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method of intelligently switching hard decoding to soft decoding to play video in mobile terminal

A technology for intelligently switching and playing videos, applied in image communication, selective content distribution, electrical components, etc., can solve the problems of high CPU occupancy and fast power consumption in playback, and achieve the effect of solving fast power consumption and reducing occupancy rate.

Inactive Publication Date: 2018-06-29
HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD
View PDF6 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method for intelligently switching between hard decoding and soft decoding to play video on a mobile terminal in view of the deficiencies in the prior art, so as to solve the problem that hard decoding cannot be preferentially used to support various multimedia video formats and various streaming media protocols , The problem of high CPU usage and fast power consumption during playback

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
  • Method of intelligently switching hard decoding to soft decoding to play video in mobile terminal
  • Method of intelligently switching hard decoding to soft decoding to play video in mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] A method for selecting hard-decoded video playback provided by an embodiment of the present invention, such as figure 1 As shown, it is mainly included in the four core module steps of S110 (data module), S120 (demultiplexing module), S130 (decoding module), and S140 (rendering module).

[0021] A method for selecting hard-decoded video playback provided by an embodiment of the present invention, such as figure 2 As shown, it mainly includes the following steps:

[0022] Step S210, obtain the audio and video information of the streaming video to be played, capture the profile and level of the audio and video, codec number id, and create a corresponding renderer;

[0023] Step S211, combined with the specifications supported by Android for hard decoding, it is judged whether the profile and level of the audio and video are within the specifications, if not, go to M2 (that is, use soft decoding to decode and play);

[0024] Step S220, search for the mediacodec hard dec...

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 discloses a method of intelligently switching hard decoding to soft decoding to play a video in a mobile terminal. The method comprises the steps of demultiplexing an initial audio and video format to obtain a target audio and video; capturing video description information and video stream data of the target audio and video; filtering proper profile and level attributes according tovideo stream information, and performing soft decoding on improper profile and level attributes by using FFmpeg; searching a proper hard decoder name according to the video stream information, if proper hard decoder name is not found, performing soft decoding by using FFmpeg; creating a hard decoder according to hard decoding name, if creation fails, performing soft decoding by using FFmpeg; decoding audio data by using default FFmpeg; decoding the data stream data by using the hard decoder, and if decoding fails, performing soft decoding by using FFmpeg again; and rendering decoding data to play the target video, if play fails, performing soft decoding by using FFmpeg again. In the prior art, hard decoding cannot be used preferentially to support multiple multimedia video formats and multiple stream media protocols in Android. The method solves the above problem, lowers CPU use ratio in play and slows down power consumption by CPU in play.

Description

technical field [0001] The invention relates to the fields of multimedia data processing and audio and video decoding, in particular to a method for intelligently switching hard decoding and soft decoding to play video in a mobile terminal. Background technique [0002] Hard decoding is decoding realized by hardware, and soft decoding is to allow CPU to perform video decoding processing through software. [0003] The mobile device operating system Android (Android) has been more and more respected in the mobile field since it was released in 2007, and now it has occupied more than half of the country's share. Strong demand, a kind of multimedia system player that is used in Android is provided in the prior art, this player supports audio-video hard decoding, but the audio-video format that itself supports is too few, and the streaming media agreement that supports is also limited, can't Satisfies a wide variety of multimedia formats and streaming media protocols. In additio...

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): H04N21/426H04N21/434H04N21/439H04N21/4402H04N21/454
CPCH04N21/42607H04N21/4341H04N21/4398H04N21/440236H04N21/454
Inventor 陈小波田细亚李云龙
Owner HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products