CN109640192A - Video player optimization method, device, playback terminal and storage medium - Google Patents

Video player optimization method, device, playback terminal and storage medium Download PDF

Info

Publication number
CN109640192A
CN109640192A CN201811604799.XA CN201811604799A CN109640192A CN 109640192 A CN109640192 A CN 109640192A CN 201811604799 A CN201811604799 A CN 201811604799A CN 109640192 A CN109640192 A CN 109640192A
Authority
CN
China
Prior art keywords
player
function
file
video
video player
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811604799.XA
Other languages
Chinese (zh)
Other versions
CN109640192B (en
Inventor
付华东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201811604799.XA priority Critical patent/CN109640192B/en
Publication of CN109640192A publication Critical patent/CN109640192A/en
Application granted granted Critical
Publication of CN109640192B publication Critical patent/CN109640192B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8193Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4856End-user interface for client configuration for language selection, e.g. for the menu or subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of video player optimization methods, and the file browsing interface based on playback terminal receives the operational order of user, and video player interface obtains file and play instruction to be played from multimedia service layer;Video player calls the hard decoder player of chip expanded definition according to the play instruction;Video player carries out hard decoder broadcasting to the file to be played using the hard decoder player.The invention also discloses a kind of video players to optimize device, playback terminal, storage medium.The present invention solve video file code rate to be played it is excessively high when, there is the problems such as Caton, Hua Ping, restart in playback terminal, and improves the play quality of video file.Video playing can also support the setting function such as fast forwarding and fast rewinding, Subtitle Demonstration, subtitle font size and color simultaneously, meet customized demand.

Description

Video player optimization method, device, playback terminal and storage medium
Technical field
The invention belongs to TV technology more particularly to a kind of video player optimization method, device, playback terminal and Storage medium.
Background technique
As TV set intelligent and diversification are fast-developing, android system starts largely to use in television field.Depending on Frequency player is the core of television multimedia part, and Android primary player decoding efficiency is lower, and video playing quality is not It is high.Currently, the primary player of Android calls audio/video decoding by OMX (OpenMAX, the standard of multimedia application) Device is decoded broadcasting, but the audio-video format that this coding/decoding method is supported is less.Especially present mainstream television screen body Physical resolution have reached 3840x2160, can be gone out using the code stream that Android primary player decoding plays 4K high code rate The problems such as showing Caton, Hua Ping, restarting.And video playing does not support fast forwarding and fast rewinding, Subtitle Demonstration, subtitle font size, subtitle Function is arranged in color etc., is unable to satisfy customized requirement.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of video player optimization methods, it is intended to solve former using Android The problems such as code stream of the high code rate of raw player plays will appear Caton, Hua Ping, restart, and do not support fast forwarding and fast rewinding, subtitle is aobvious The technical issues of showing, the functions such as subtitle font size and color be set.
To achieve the goals above, this hair invention provides a kind of video player optimization method, and the video player is excellent Change method the following steps are included:
File browsing interface based on playback terminal receives the operational order of user, and video player interface takes from multimedia File and play instruction to be played are obtained in business layer;
Video player calls the hard decoder player of chip expanded definition according to the play instruction;
Video player carries out hard decoder broadcasting to the file to be played using the hard decoder player.
Optionally, the video player includes multimedia player and multimedia player service layer;
The video player calls the step of hard decoder player of chip expanded definition to wrap according to the play instruction It includes:
The enumerated value of the player of each type is defined in the function file of multimedia player service layer;
In the function file of multimedia player service layer, the player types of selection are assigned a value of chip expanded definition The enumerated value of hard decoder player;
Multimedia player is based on the play instruction and calls multimedia player service layer, calls the hard solution to realize Code player.
Optionally, the video player further includes hard decoder player management level;
The video player carries out the step of hard decoder broadcasting using the hard decoder player to the file to be played Before rapid further include:
Multimedia player obtains the execution parameter of extension function;
Hard decoder player management level call the function of hard decoder player to execute function;
Multimedia player is based on the function and executes function, is obtained from function class file according to the execution parameter pair The execution order for the extension function of answering is handled, to realize extension function.
Optionally, the multimedia player is based on the function and executes function, according to the execution parameter from function class The execution order that corresponding extension function is obtained in file is handled, and includes: the step of extension function to realize
Multimedia player is based on the function and executes function according to the execution parameter, determines target extension to be called Function;
Multimedia player executes holding for the extension function of target described in function call function class file based on the function Line command is handled, to realize extension function.
Optionally, the multimedia player is based on the function and executes function, according to the execution parameter from function class Before the step of execution order for obtaining corresponding extension function in file is handled, and extends function with realization further include:
Video player obtains the function class file that extension function defines based on player plug-in from chip.
Optionally, the step of execution parameter of the multimedia player acquisition extension function includes:
Multimedia player obtains the call instruction that player plug-in calls the standard interface of multimedia player;
Based on the call instruction, the standard interface obtains the execution parameter of extension function.
Optionally, the file browsing interface based on playback terminal receives the operational order of user, video player circle Face obtains the step of file and play instruction to be played from multimedia service layer and includes:
Video player interface receives the text to be played that file browsing interface is sent based on the operational order for receiving user Behind part position, starts video player and obtain document location to be played;
Video player interface sends to multimedia service layer according to the document location to be played and obtains file to be played Acquisition instruction;
Video player interface obtains the file to be played and broadcast that multimedia service layer is fed back based on the acquisition instruction Put instruction.
In addition, to achieve the above object, the present invention also provides a kind of video players to optimize device, which is characterized in that institute Stating video player optimization device includes:
Module is obtained, the operational order of user, video player are received for the file browsing interface based on playback terminal Interface obtains file and play instruction to be played from multimedia service layer;
Calling module calls the hard decoder of chip expanded definition to play for video player according to the play instruction Device;
Hard decoder module solves the file to be played using the hard decoder player for video player firmly Code plays.
In addition, to achieve the above object, the present invention also provides a kind of playback terminal, the playback terminal include: memory, The video player optimization program that processor and being stored in can be run on the memory and on the processor, the video The step of player optimization program realizes video player optimization method as described above when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of storage medium, being stored with video on the storage medium Player optimizes program, and the video player optimization program realizes that video player as described above is excellent when being executed by processor The step of change method.
A kind of video player optimization method that the embodiment of the present invention proposes, passes through the multimedia player of video player Service layer selects the hard decoder player of chip definition, and it is hard to carry out GPU to video file to be played using hard decoder player Decoding plays.Standard interface based on the primary player of Android carries out Function Extension, and video playing can also support that F.F. is fast It moves back, the setting function such as Subtitle Demonstration, subtitle font size and color, meets customized demand.It avoids former using Android The audio/video decoder of raw player is decoded broadcasting, when the code rate of video file to be played is excessively high, it may appear that Caton, flower The problems such as shielding, restarting improves the play quality of video file.It is also avoided simultaneously using the primary player video of Android The problem of fast forwarding and fast rewinding, Subtitle Demonstration, setting setting function such as subtitle font size and color, is not supported in broadcasting.
Detailed description of the invention
Fig. 1 is the playback terminal structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of video player optimization method first embodiment of the present invention;
Fig. 3 is the schematic diagram that the interface of playback terminal playing process is called;
Fig. 4 is the schematic diagram of each layer call relation in video player optimization method client of the present invention and server-side.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: the file browsing interface based on playback terminal receives the operation of user Instruction, video player interface obtains file and play instruction to be played from multimedia service layer;Video player according to The play instruction calls the hard decoder player of chip expanded definition;Video player is using the hard decoder player to institute It states file to be played and carries out hard decoder broadcasting.
Due in the prior art, will appear card using the code stream that the primary player decoding of Android plays 4K high code rate , Hua Ping, the problems such as restarting, Android primary player video playing does not support fast forwarding and fast rewinding, Subtitle Demonstration, subtitle word Function is arranged in body size, subtitle color etc., is unable to satisfy customized requirement.
The present invention provides a solution, selects chip definition by the multimedia player service layer of video player Hard decoder player, the broadcasting of GPU hard decoder is carried out to video file to be played using hard decoder player.It is based on The standard interface of the primary player of Android carries out Function Extension, and video playing can support fast forwarding and fast rewinding, Subtitle Demonstration, word Function is arranged in curtain font size and color etc., meets customized demand.It avoids and is regarded using the sound of the primary player of Android Frequency decoder is decoded broadcasting, when the code rate of video file to be played is excessively high, it may appear that Caton, Hua Ping, the problems such as restarting, Improve the play quality of video file.It also avoids not supporting F.F. using the primary player video playing of Android simultaneously The problem of function is arranged in rewind, Subtitle Demonstration, setting subtitle font size and color etc..
As shown in Figure 1, Fig. 1 is the playback terminal structural representation for the hardware running environment that the embodiment of the present invention is related to Figure.
As shown in Figure 1, playback terminal of the embodiment of the present invention may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 for realizing these components it Between connection communication.User interface 1003 may include input unit such as keyboard (Keyboard), optional user interface 1003 It can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include the wireline interface of standard, nothing Line interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non- Volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 Storage device.
Optionally, playback terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, Voicefrequency circuit, WiFi module etc..Wherein, sensor such as infrared sensor, optical sensor, motion sensor and other biographies Sensor.Certainly, playback terminal can also configure other sensings such as gyroscope, barometer, hygrometer, thermometer, infrared sensor Device, details are not described herein.
It will be understood by those skilled in the art that playback terminal structure shown in Fig. 1 does not constitute the limit to playback terminal It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe that module, Subscriber Interface Module SIM and video player optimize program.
In playback terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, with background server Carry out data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And locate Reason device 1001 can be used for that the video player stored in memory 1005 is called to optimize program, and execute following operation:
File browsing interface based on playback terminal receives the operational order of user, and video player interface takes from multimedia File and play instruction to be played are obtained in business layer;
Video player calls the hard decoder player of chip expanded definition according to the play instruction;
Video player carries out hard decoder broadcasting to the file to be played using the hard decoder player.
Further, the video player includes multimedia player and multimedia player service layer;
The video player calls the step of hard decoder player of chip expanded definition to wrap according to the play instruction It includes:
The enumerated value of the player of each type is defined in the function file of multimedia player service layer;
In the function file of multimedia player service layer, the player types of selection are assigned a value of chip expanded definition The enumerated value of hard decoder player;
Multimedia player is based on the play instruction and calls multimedia player service layer, calls the hard solution to realize Code player.
Further, the video player further includes hard decoder player management level;The video player uses institute Before stating the step of hard decoder player carries out hard decoder broadcasting to the file to be played, processor 1001 can call storage The video player optimization program stored in device 1005, also executes following operation:
Multimedia player obtains the execution parameter of extension function;
Hard decoder player management level call the function of hard decoder player to execute function;
Multimedia player is based on the function and executes function, is obtained from function class file according to the execution parameter pair The execution order for the extension function of answering is handled, to realize extension function.
Further, the multimedia player is based on the function and executes function, according to the execution parameter from function The execution order that corresponding extension function is obtained in class file is handled, and includes: the step of extension function to realize
Multimedia player is based on the function and executes function according to the execution parameter, determines target extension to be called Function;
Multimedia player executes holding for the extension function of target described in function call function class file based on the function Line command is handled, to realize extension function.
Further, the multimedia player is based on the function and executes function, according to the execution parameter from function The execution order that corresponding extension function is obtained in class file is handled, before realizing the step of extending function, processor 1001 can call the video player stored in memory 1005 to optimize program, also execute following operation:
Video player obtains the function class file that extension function defines based on player plug-in from chip.
Further, the step of execution parameter of the multimedia player acquisition extension function includes:
Multimedia player obtains the call instruction that player plug-in calls the standard interface of multimedia player;
Based on the call instruction, the execution parameter of extension function is obtained for the standard interface.
Further, the file browsing interface based on playback terminal receives the operational order of user, video player Interface obtains the step of file and play instruction to be played from multimedia service layer and includes:
Video player interface receives the text to be played that file browsing interface is sent based on the operational order for receiving user Behind part position, starts video player and obtain document location to be played;
Video player interface sends to multimedia service layer according to the document location to be played and obtains file to be played Acquisition instruction;
Video player interface obtains the file to be played and broadcast that multimedia service layer is fed back based on the acquisition instruction Put instruction.
Based on above-mentioned hardware configuration, embodiment of the present invention method is proposed.
Referring to Fig. 2, in video player optimization method first embodiment of the present invention, video player optimization method packet It includes:
Step S10, file browsing interface based on playback terminal receive the operational order of user, video player interface from File and play instruction to be played are obtained in multimedia service layer;
In order to facilitate understanding, can show with further reference to what the interface that Fig. 3 and Fig. 4, Fig. 3 are playback terminal playing process was called The playback terminal being intended in the embodiment of the present invention is the playback terminal of android system, and playback terminal includes file browsing interface With video player interface and multimedia service layer.Wherein, file browsing interface is individual Android application journey Sequence, file browsing interface are the entrances at video player interface;The effect of file browsing interface is that user is allowed to select video file, And transmit corresponding value and give video player interface, to start video player.Video player interface is also individual one The starting of Android application program, video player interface is completed by file browsing interface.Video player interface and file are clear The communication look between interface is realized by the putExtra mode of Intent.Multimedia service layer is the background service of playback terminal Program is used for services video player plays video file.It is to be played from the acquisition of multimedia service layer after video player starting File receives the play instruction of multimedia service layer.
As shown in Figure 4, wherein communicated between client and server-side by binder foundation, the implementation pattern of binder It is the invocation pattern based on CS (client-server-side), it is possible to binder is simply interpreted as connection client process With the interface of server-side process.Using the primary player of Android, multimedia player service layer will by NuPlayer or Person StageFright calls OMX interface to carry out audio/video decoding, finally exports audio-video;Based on the primary player of Android Standard interface is extended transformation, and the hard decoder player that just will use chip expanded definition carries out hard decoder to audio-video and broadcasts It puts, Tu4Zhong multimedia player service layer is called hard by HiMediaPlayerManage (i.e. hard decoder player management level) Decoding players carry out audio/video decoding broadcasting;Hard decoder player is issued in a manner of the library so, is had under lib catalogue
libHA.AUDIO.FFMPEG_ADEC.decode.so,libHV.VIDEO.FFMPEG_VDEC.decode.so, Libffmpegformat.so, these are all FFMpeg hard decoder library files, libhiplayer_utils.so, Libplayer.so etc. is the relevant library file of hard decoder player.Hard decoder player carries out sound using FFMpeg hard decoder library Video hard decoder supports many audio/video coding formats because FFMpeg itself has registered many decoders, than The audio-video format that the primary player of Android is supported is more.Furthermore FFMpeg hard decoder is used, execution efficiency is high, especially It is substantially not in Caton, Hua Ping, the problems such as restarting in playing process when playing the code stream of high code rate;And use Android Primary player will appear Caton, Hua Ping, the problems such as restarting in playing process.
Optionally, step S10 includes:
Step S11, video player interface receive what file browsing interface was sent based on the operational order for receiving user After document location to be played, starts video player and obtain document location to be played;
Specifically, after user selects the video for needing to play, user selects the video file i.e. to be played for needing to play, text Part browser interface be first user is selected, the video file that stores under equipment current path is added to the playlist, play List is added to multimedia service layer, and playlist is saved by multimedia service layer, safeguarded and controlled.File browsing interface meeting The listed files position to video player interface an of current file is transmitted, video player interface starts and receives ought be above The listed files position of part;File browsing interface be transmitted to the listed files position of the current file at video player interface i.e. to Played file position.The position index of list where the video file chosen is passed through putExtra method by file browsing interface It is attached to Intent, final act browser interface starts video player by way of startActivity.
Step S12, video player interface obtain to be played according to document location to be played to the transmission of multimedia service layer The acquisition instruction of file;
Video player interface starts and receives the listed files position of current file, i.e. video player interface receives Behind the played file position of file browsing interface transmitting, the acquisition instruction for obtaining file to be played is sent to multimedia service layer. Specifically, the playback method of multimedia service layer is called at video player interface, and multimedia service layer further calls video to broadcast Put the playback method of PlugIn;File to be played is called by call-back manner in the playback method of video playing PlugIn.
Specifically, play (int MediaIndex) method of multimedia service layer, more matchmakers are called in video player interface Body service layer can go to call video playing PlugIn, if Plugin is the PlugIn of video playing, continue to call PlugIn Play (String url) method of the inside;Play (String url) method inside PlugIn, by way of readjustment It goes to call VideoPlayListener.begin (videoPath), tells multimedia service layer video that will start to play.
PlugIn is translated into plug-in unit, is a kind of computer applied algorithm, it and primary application program interact with each other, to provide spy Fixed function.Application program supports Plugin there are many reason, and some main causes include: so that third party developer has the ability Extension application, to provide the characteristic that can not be expected in advance;Reduce the size of application program;Due between software copyright not Compatibility shares source code with application program.
Step S13, video player interface obtain the file to be played that multimedia service layer is fed back based on acquisition instruction with And play instruction.
Multimedia service layer after receiving the acquisition instruction for obtaining file to be played, to video player interface feedback to Played file simultaneously issues play instruction;Video player interface receives the file to be played of multimedia service layer feedback, prepares out Begin to play video.
Specifically, multimedia service layer can send a BCT_ after being called back begin (String url) MEDIAPLAYER_BEGIN is broadcast out, and notifies other application, and video will start to play.Video player interface can receive The broadcast that multimedia service layer issues, preparation start to play video.
In embodiments of the present invention, the file position to be played that video player interface is sent by receiving file browsing interface It sets to start video player, and obtains file to be played from multimedia service layer according to document location to be played and play and refer to Enable so that video player interface can with quick start, and can according to according to document location to be played from multimedia service layer Quick obtaining is played out to file to be played;It ensure that normally starting and carry out broadcasting for audio-video for video player interface It puts.
Step S20, video player call the hard decoder player of chip expanded definition according to play instruction;
Wherein, video player includes video player interface.It is anti-that video player interface receives multimedia service layer After the file and play instruction to be played of feedback, the hard decoder player of chip expanded definition is called.Wherein, the hard solution of chip definition Code player.Specifically, the player of playback terminal is cut by changing the frame logic realization of Framework first It changes, switches to the hard decoder player of chip definition, realize that GPU hard decoder plays using hard decoder player, without the use of Android primary OMX (OpenMAX, the standard of multimedia application) calls audio/video decoder to be decoded broadcasting.
Optionally, video player includes multimedia player and multimedia player service layer;Step S20 includes:
Step S21 defines the enumerated value of the player of each type in the function file of multimedia player service layer;
In embodiments of the present invention, multimedia player refers to the primary player of Android.Multimedia player service layer In function file by way of enumerating, the player of one or more types is defined as one or more enumerated values.Wherein, It include hard decoder player in the player of one or more types, hard decoder player has been assigned an enumerated value.
The player types of selection in the function file of multimedia player service layer, are assigned a value of chip and expanded by step S22 Open up the enumerated value of the hard decoder player of definition;
In the function file of multimedia player service layer, by the player types of calling in the calling function of player It is assigned a value of the enumerated value of hard decoder player, player is switched to hard decoder player to realize.
Step S23, multimedia player are based on play instruction and call multimedia player service layer, call hard solution to realize Code player.
After video player interface receives the file and play instruction to be played of multimedia service layer feedback, multimedia is broadcast It puts device and calls multimedia player service layer, hard decoder player is called by multimedia player service layer.
In order to facilitate understanding, citing is illustrated.For example, multimedia player has used NU_PLAYER, which kind of selects broadcast Putting device is the MediaPlayerService::decode in Framework layers of MediaPlayerService.cpp file Function definition the inside is by calling function MediaPlayerFactory::getPlayerType () to carry out playerType Assignment, playerType are an enumeration types, and content is as follows:
enum player_type{
PV_PLAYER=1,
SONIVOX_PLAYER=2,
STAGEFRIGHT_PLAYER=3,
NU_PLAYER=4,
TEST_PLAYER=5,
HIMEDIA_PLAYER=6,
};
Wherein, HIMEDIA_PLAYER=6 is enumerating of newly increasing, and is hard decoder player;And in this playerType By assignment at HIMEDIA_PLAYER, player is switched to hard decoder player to realize.Android can will be each when starting A mediaplayer type is registered to inside MediaPlayerFactory when starting video playing, is being called When setDataSource, it can go to obtain player types;If the clearly not specified type of player this when of meeting The scoreFactory function of each player registered inside MediaPlayerFactory is traversed, highest scoring is to work as The preceding player for playing video and using, from the point of view of the setting of current code, the score set inside HiMediaPlayer is up to 1.0, the player substantially defaulted at present is all hiMediaplayer.
In embodiments of the present invention, the broadcasting of each type is defined in the function file by multimedia player service layer The enumerated value of device;And the player types of selection are assigned a value of to the enumerated value of the hard decoder player of chip expanded definition, thus It realizes and multimedia player is switched into hard decoder player, and then played file progress can be treated using hard decoder player GPU hard decoder plays, and avoids and is decoded broadcasting using the primary player of Android, solves playback terminal and plays high code The problems such as code stream of rate will appear Caton, Hua Ping, restart.
Step S30, video player treat played file using hard decoder player and carry out hard decoder broadcasting.
After video player calls hard decoder player by multimedia player service layer, using hard decoder player pair File to be played carries out the broadcasting of GPU hard decoder.
In the present embodiment, it is carried out by the way that the decoding broadcast mode of multimedia player is switched to hard decoder broadcast mode Hard decoder plays, and specifically, multimedia player is switched to the hard decoder player of chip expanded definition in decoding process, is adopted Played file is treated with hard decoder player and carries out GPU hard decoder broadcasting, calls sound view without the OMX using multimedia player Frequency decoder is decoded broadcasting;It avoids and is played using multimedia player decoding, the code stream for playing high code rate will appear card , Hua Ping, the problems such as restarting.A variety of different audio-video lattice can also be supported by carrying out hard decoder broadcasting using hard decoder player Formula greatly improves the audio and video playing quality of playback terminal;Carrying out hard decoder broadcasting using hard decoder player simultaneously can To further expand the setting functions such as fast forwarding and fast rewinding, Subtitle Demonstration, subtitle font size, subtitle color, meet customized demand.
Further, it is based on above-mentioned embodiment shown in Fig. 2, in video player optimization method second embodiment of the present invention In, video player further includes hard decoder player management level;After step S20, before step S30 further include:
Step S40, multimedia player obtain the execution parameter of extension function;
User can play out setting to video player interface audio-video being played on by operation, as F.F. is fast It moves back, the setting of the extension function such as Subtitle Demonstration, subtitle font size, subtitle color.The standard interface of multimedia player obtains Execution parameter based on the extension function that user's operation generates.Wherein, parameter is executed, refers to and is automatically generated based on user's operation Parameter value.
Optionally, optionally, step S40 includes:
Step S41, multimedia player obtain the call instruction that player plug-in calls the standard interface of multimedia player;
In embodiments of the present invention, the standard interface based on the primary player of Android carries out Function Extension, is to be based on broadcasting Put plug-in unit completion.The java file of player plug-in directly acquires the function class file of expanded definition in chip and calls more matchmakers The standard interface of body player calls the standard interface of multimedia player to be used to transmit the execution parameter of extension function and right Parameter is executed to be handled.In the method function of the java file of player plug-in, is issued to multimedia player and call more matchmakers The call instruction of the standard interface of body player, multimedia player obtain the call instruction of player plug-in.
Step S42 is based on call instruction, and the execution parameter of extension function is obtained for standard interface.
After multimedia player obtains the call instruction of player plug-in, the standard interface based on multimedia player, which obtains, to be expanded The execution parameter of function is opened up, further to carry out processing realization pair to execution parameter on the standard interface of multimedia player The extension function of answering.
In embodiments of the present invention, the standard interface that multimedia player is called based on player plug-in, is broadcast by multimedia The standard interface for putting device obtains the execution parameter that user's operation generates, so that playback terminal is available fast to user setting F.F. Move back, the extension function such as Subtitle Demonstration, subtitle font size, subtitle color when the execution parameter that generates, and then to extension function It executes parameter to be handled, to make playback terminal that fast forwarding and fast rewinding, Subtitle Demonstration, subtitle font size, subtitle face may be implemented Color etc. extends function, and user can select to play out setting to the video of broadcasting according to demand, meet the needs of customized, mention High user experience.
Step S50, hard decoder player management level call the function of hard decoder player to execute function;
Specifically, frameworks av media libmediaplayerservice HiMediaPlayer catalogue Under have HiMediaPlayerManage.h and HiMediaPlayerManage.cpp.Standard based on multimedia player connects Mouth carries out Function Extension HiMediaPlayerManage.h and HiMediaPlayerManage.cpp both of these documents, hard to solve Code player management level pass through HiMediaPlayerManage.h and HiMediaPlayerManage.cpp both of these documents Go to call the function inside the HiMediaPlayer.cpp of hard decoder player to execute function doInvoke function.
Step S60, multimedia player are based on function and execute function, obtain from function class file pair according to parameter is executed The execution order for the extension function of answering is handled, to realize extension function.
Wherein, function class file is the file defined in chip comprising multiple functional interfaces.
After the standard interface of multimedia player obtains the execution parameter for the extension function of generating based on user's operation, pass through The function for the hard decoder player that hard decoder player management level are called executes function, executes function using function and determines the execution The corresponding extension function of parameter;Then the function of the hard decoder player called by hard decoder player management level executes letter Number executes the execution order that function obtains corresponding extension function from function class file using function, carries out to order is executed Processing, realizes corresponding extension function.
In order to facilitate understanding, citing is illustrated.For example, user video player interface to video being played on into Row " F.F. " operation, the standard interface of multimedia player will receive the execution parameter of the F.F. generated based on user's operation. Standard interface based on multimedia player is extended, and the function of hard decoder player is called to execute function, and function executes letter The execution order of " F.F. " function is handled in several pairs of function class files, and then realizes fast-forward functionality.
In embodiments of the present invention, the execution parameter, hard of extension function is obtained by the standard interface of multimedia player Decoding players management level call the function of hard decoder player to execute function, and execute function based on function, according to executing ginseng The execution order that number obtains corresponding extension function from function class file is handled, to realize extension function.Guarantee to play While the play quality of terminal, video player interface can be according to fast forwarding and fast rewinding, Subtitle Demonstration, subtitle font size, word The execution parameter that the user settings such as curtain color generate obtains different execution orders and carries out the corresponding extension function of processing realization. To make playback terminal that the extension functions such as fast forwarding and fast rewinding, Subtitle Demonstration, subtitle font size, subtitle color, user may be implemented It can select to play out setting to the audio-video of broadcasting according to demand, meet the needs of customized, improve user experience.
Optionally, after step S40, before step S60 further include:
Step S70, video player obtain the function class file that extension function defines based on player plug-in from chip.
Before the execution order for obtaining corresponding extension function in function class file, need to obtain function class file, The execution order of corresponding extension function in function class file can be used to be handled.Video player is based on player plug-in from core The function class file of definition is obtained in piece, contains multiple functional interfaces in function class file.
In the present embodiment, the standard interface of multimedia player obtains the execution parameter of extension function, and in multimedia Processing is carried out to execution parameter on the standard interface of player and realizes corresponding extension function;Whole process is practical are as follows: plays and inserts The java file of part directly acquires the function class file of expanded definition in chip and calls the standard interface of multimedia player, The standard interface of multimedia player is called to be used to transmit the execution parameter of extension function and handle parameter is executed.
Specifically, the java file in player plug-in directly obtains function class file, such as: import com.hisilicon. Android.himediaplayer.HiMediaPlayerInvoke, and then obtain the execution order of each extension function;It is broadcasting It puts by calling the standard interface of multimedia player inside the corresponding method function of plug-in unit, and then transmits the execution of extension function Parameter;Then, it obtains to execute to order according to execution parameter on the standard interface of multimedia player and be handled;Finally, pressing It is executed according to the playing flow of multimedia player, when decoding file to be played, multimedia player is switched to hard decoder and is played Device decoding.device\hisilicon\bigfish\frameworks\himediaplayer\java\com\hisilicon\ Android him ediaplayer define hard decoder inside HiMediaPlayerInvoke.java (function class file) and broadcast The functional interface of device offer is put, (multimedia is broadcast by calling these functional interfaces that the primary player of some Android may be implemented Put device) interface function do not supported, such as subtitle parsing and display open or close subtitle, be arranged subtitle font size and Color, fast forwarding and fast rewinding etc..These newly-increased functions are the standard interfaces based on the primary player of Android (multimedia player) The extension of progress, frameworks av media libmediaplayerservice HiMediaPlayer have under catalogue Two files of HiMediaPlayerManage.h and HiMediaPlayerManage.cpp, HiMediaPlayerManage.h and HiMediaPlayerManage.cpp both of these documents are based on the primary broadcasting of Android The standard interface of device (multimedia player) is extended, and HiMediaPlayer.cpp can be called literary by both of these documents DoInvoke function inside part, doInvoke function can the primary broadcastings of Android called of java file to player plug-in The execution parameter of the standard interface transmitting of device (multimedia player) is handled, and the hard decoder player for recalling master chip makes GPU hard decoder is carried out to audio-video with base layer decoder, finally exports audio-video.
In embodiments of the present invention, video player obtains the function that extension function defines based on player plug-in from chip Class file allows video player to obtain different execution orders from function class file according to different execution parameters and carries out Processing, to realize different extension functions, user can play out the video of broadcasting according to use habit and demand and set It sets, meets the broadcasting setting demand of different user, improve user experience.
Further, it is based on above-mentioned embodiment shown in Fig. 2, in video player optimization method 3rd embodiment of the present invention In, step S60 includes:
Step S61, multimedia player are based on function and execute function according to parameter is executed, and determine target extension to be called Function;
After the standard interface of multimedia player obtains the execution parameter for the extension function of generating based on user's operation, pass through The function for the hard decoder player that hard decoder player management level are called executes function, executes function based on function and determines the execution The corresponding target of parameter extends function.For example, being generated in playback terminal if user carries out " F.F. " operation and executing parameter, lead to The function for the hard decoder player that decoding players management level really up to the mark are called executes function, executes function based on function and determines execution The corresponding target extension function of parameter is " F.F. ".If user carries out " Subtitle Demonstration " operation, generates and execute in playback terminal The function of parameter, the hard decoder player called by hard decoder player management level executes function, executes function based on function Determine that executing the corresponding target extension function of parameter is " Subtitle Demonstration ".
Step S62, multimedia player execute target in function call function class file based on function and extend holding for function Line command is handled, to realize extension function;
Then, the function for the hard decoder player that multimedia player is called by hard decoder player management level executes letter Number executes the execution order that function obtains corresponding extension function in function class file using function.For example, if target extends function It can be " F.F. ", then execute order using extension function in function execution function acquisition function class file for " F.F. " is corresponding. If it is " Subtitle Demonstration " that target, which extends function, executing function to obtain extension function from function class file using function is " word Curtain display " is corresponding to execute order.
On the standard interface of multimedia player, the execution order of target extension function is handled, realizes and corresponds to Extension function.For example, executing function if target extension function is " F.F. " using function and obtaining expansion from function class file Exhibition function, which is that " F.F. " is corresponding, executes order, handles the execution order of " F.F. ", to realize " F.F. " this expansion Open up function.If it is " Subtitle Demonstration " that target, which extends function, function is executed using function and obtains extension function from function class file Order can be executed for " Subtitle Demonstration " is corresponding, the execution order of " Subtitle Demonstration " is handled, to realize that " subtitle is aobvious Show " this extension function.Wherein, subtitle is divided into text subtitle (plug-in subtitle) and two kinds of graphic subtitle (embedded subtitle).First Judge whether current film source has subtitle, if there is subtitle will distinguish text subtitle or graphic subtitle, both subtitles Processing method is different.Graphic subtitle is all shown by hard decoder player.For the display of text subtitle, pass through:
HiMediaPlayerInvoke.CMD_SET_SUB_MODE
It is on showing or return in hard decoder player that this cmd (executing order), which can choose subtitle on earth, Layer app is shown." mode 1 " is selected to show for hard decoder player, " mode 0 " is that hard decoder player returns subtitle to app, by App oneself display.It is defaulted as " mode 0 ", that is, text subtitle is given app and shown.It is shown if necessary to hard decoder player Subtitle then needs Subtitle Demonstration pattern switching to be " mode 1 ".The invoke interface of Subtitle Demonstration mode is arranged, and (i.e. function connects Mouthful) called before prepare.
Specifically, the functional interface defined inside function class file, as follows:
Public final static int CMD_SET_AUDIO_TRACK_PID=CMD_INVOKE_BASE+ 12;// setting track
Public final static int CMD_SET_STOP_FASTPLAY=CMD_INVOKE_BASE+199;// F.F. is set
Public final static int CMD_SET_FORWORD=CMD_INVOKE_BASE+200;// setting is fast It moves back
Public final static int CMD_SET_SUB_FONT_SIZE=CMD_INVOKE_BASE+104;// Subtitle font size is set
Public final static int CMD_SET_SUB_FONT_COLOR=CMD_INVOKE_BASE+ 114;// setting subtitle font color
Public final static int CMD_SET_SUB_ENABLE=CMD_INVOKE_BASE+135;// beat Subtitle is closed on or off
By taking interface function is setting track as an example, corresponding code is accomplished by
Be above realize that the code of setting track realizes that other extension functions are that corresponding functional interface is different, but Corresponding extension function will be realized by calling the method function of player plug-in.Player plug-in calls multimedia player Standard interface (i.e. standard invoke interface):
Status_t invoke(const Parcel&request,Parcel*reply)
The functional interface of these extensions is all to call invoke interface, and the data transmission between Android layers is Parcel.For simple point, Parcel is exactly the container that data are read in a storage, the binder process in android system Between communication (IPC) used Parcel class just to carry out client and service the interaction of end data, and AIDL (Android Interface Definition Language, Android Interface Definition Language) data be also to be interacted by Parcel 's.Parcel is all realized with C++ in the space Java, since Parcel is in C/C++, memory has directly been used to read number According to therefore, Parcel is more efficiently.
In embodiments of the present invention, the execution parameter generated according to user setting, determines the extension function of user setting, and Obtain the corresponding extension function of executing and order and realize to user setting;To accurately determine the extension function of user setting, And realize the extension function of user setting, the extension fuction output audio-video according to user setting, client is met to audio-video Broadcasting setting requirements, improve user experience.
In addition, the embodiment of the present invention also proposes that a kind of video player optimization device, video player optimization device include:
Module is obtained, the operational order of user, video player are received for the file browsing interface based on playback terminal Interface obtains file and play instruction to be played from multimedia service layer;
Calling module calls the hard decoder of chip expanded definition to play for video player according to the play instruction Device;
Hard decoder module solves the file to be played using the hard decoder player for video player firmly Code plays.
Optionally, calling module is also used to:
The enumerated value of the player of each type is defined in the function file of multimedia player service layer;
In the function file of multimedia player service layer, the player types of selection are assigned a value of chip expanded definition The enumerated value of hard decoder player;
Multimedia player is based on the play instruction and calls multimedia player service layer, calls the hard solution to realize Code player.
Optionally, video player optimization device includes extended function module, and extended function module is used for:
Multimedia player obtains the execution parameter of extension function;
Hard decoder player management level call the function of hard decoder player to execute function;
Multimedia player is based on the function and executes function, is obtained from function class file according to the execution parameter pair The execution order for the extension function of answering is handled, to realize extension function.
Optionally, module is also used to:
Multimedia player is based on the function and executes function according to the execution parameter, determines target extension to be called Function;
Multimedia player executes holding for the extension function of target described in function call function class file based on the function Line command is handled, to realize extension function.
Optionally, extended function module is also used to:
Video player obtains the function class file that extension function defines based on player plug-in from chip.
Optionally, extended function module is also used to:
Multimedia player obtains the call instruction that player plug-in calls the standard interface of multimedia player;
Based on the call instruction, the execution parameter of extension function is obtained for the standard interface.
Optionally, module is obtained to be also used to:
Video player interface receives the text to be played that file browsing interface is sent based on the operational order for receiving user Behind part position, starts video player and obtain document location to be played;
Video player interface sends to multimedia service layer according to the document location to be played and obtains file to be played Acquisition instruction;
Video player interface obtains the file to be played and broadcast that multimedia service layer is fed back based on the acquisition instruction Put instruction.
In addition, the embodiment of the present invention also proposes a kind of storage medium, it is excellent to be stored with video player on the storage medium Change program, the video player optimization program realizes video player optimization method as described above when being executed by processor Step.
Storage medium specific embodiment of the present invention is referred to above-mentioned each embodiment of video player optimization method, herein It repeats no more.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a playing terminal equipment (can be electricity Depending on mobile phone, computer etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of video player optimization method, which is characterized in that the video player optimization method includes:
File browsing interface based on playback terminal receives the operational order of user, and video player interface is from multimedia service layer It is middle to obtain file and play instruction to be played;
Video player calls the hard decoder player of chip expanded definition according to the play instruction;
Video player carries out hard decoder broadcasting to the file to be played using the hard decoder player.
2. video player optimization method as described in claim 1, which is characterized in that the video player includes multimedia Player and multimedia player service layer;
The video player according to the play instruction call chip expanded definition hard decoder player the step of include:
The enumerated value of the player of each type is defined in the function file of multimedia player service layer;
In the function file of multimedia player service layer, the player types of selection are assigned a value of to the hard solution of chip expanded definition The enumerated value of code player;
Multimedia player is based on the play instruction and calls multimedia player service layer, calls the hard decoder to broadcast to realize Put device.
3. video player optimization method as claimed in claim 2, which is characterized in that the video player further includes solving firmly Code player management level;
The video player carries out before hard decoder plays step the file to be played using the hard decoder player Further include:
Multimedia player obtains the execution parameter of extension function;
Hard decoder player management level call the function of hard decoder player to execute function;
Multimedia player is based on the function and executes function, is obtained from function class file according to the execution parameter corresponding The execution order of extension function is handled, to realize extension function.
4. video player optimization method as claimed in claim 3, which is characterized in that the multimedia player is based on described Function executes function, carried out according to the execution parameter from the execution order for obtaining corresponding extension function in function class file from It manages, includes: the step of extension function to realize
Multimedia player is based on the function and executes function according to the execution parameter, determines target extension function to be called Energy;
Multimedia player executes life based on target extension function described in function execution function call function class file Order is handled, to realize extension function.
5. video player optimization method as claimed in claim 3, which is characterized in that the multimedia player is based on described Function executes function, carried out according to the execution parameter from the execution order for obtaining corresponding extension function in function class file from Reason, before the step of realization extension function further include:
Video player obtains the function class file that extension function defines based on player plug-in from chip.
6. video player optimization method as claimed in claim 3, which is characterized in that the multimedia player obtains extension The step of execution parameter of function includes:
Multimedia player obtains the call instruction that player plug-in calls the standard interface of multimedia player;
Based on the call instruction, the execution parameter of extension function is obtained for the standard interface.
7. video player optimization method as described in claim 1, which is characterized in that the file based on playback terminal is clear Look at interface receive user operational order, video player interface obtains file to be played and broadcasting from multimedia service layer The step of instruction includes:
Video player interface receives the file position to be played that file browsing interface is sent based on the operational order for receiving user It postpones, start video player and obtains document location to be played;
Video player interface sends to multimedia service layer according to the document location to be played and obtains obtaining for file to be played Instruction fetch;
Video player interface obtains the file to be played that multimedia service layer feed back based on the acquisition instruction and broadcasting refers to It enables.
8. a kind of video player optimizes device, which is characterized in that the video player optimizes device and includes:
Module is obtained, the operational order of user, video player interface are received for the file browsing interface based on playback terminal File and play instruction to be played are obtained from multimedia service layer;
Calling module calls the hard decoder player of chip expanded definition for video player according to the play instruction;
Hard decoder module carries out hard decoder to the file to be played using the hard decoder player for video player and broadcasts It puts.
9. a kind of playback terminal, which is characterized in that the playback terminal includes: memory, processor and is stored in the storage On device and the video player optimization program that can run on the processor, video player optimization program is by the place Manage the step of realizing the video player optimization method as described in any one of claims 1 to 7 when device executes.
10. a kind of storage medium, which is characterized in that be stored with video player optimization program, the view on the storage medium Frequency player optimization program realizes the video player optimization as described in any one of claims 1 to 7 when being executed by processor The step of method.
CN201811604799.XA 2018-12-26 2018-12-26 Video player optimization method and device, playing terminal and storage medium Active CN109640192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811604799.XA CN109640192B (en) 2018-12-26 2018-12-26 Video player optimization method and device, playing terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811604799.XA CN109640192B (en) 2018-12-26 2018-12-26 Video player optimization method and device, playing terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109640192A true CN109640192A (en) 2019-04-16
CN109640192B CN109640192B (en) 2021-07-20

Family

ID=66077984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811604799.XA Active CN109640192B (en) 2018-12-26 2018-12-26 Video player optimization method and device, playing terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109640192B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130077690A1 (en) * 2011-09-23 2013-03-28 Qualcomm Incorporated Firmware-Based Multi-Threaded Video Decoding
CN104333808A (en) * 2014-11-14 2015-02-04 复旦大学 General player applied to Android and Linux smart televisiosn
CN104754349A (en) * 2013-12-25 2015-07-01 炫一下(北京)科技有限公司 Method and device for hardware decoding of audio/video
CN105721921A (en) * 2016-01-29 2016-06-29 四川长虹电器股份有限公司 Self-adaptive selection method for multi-window video decoder
CN106791546A (en) * 2017-01-04 2017-05-31 腾讯科技(深圳)有限公司 media data playing method and device
CN108184163A (en) * 2017-12-29 2018-06-19 深圳华侨城卡乐技术有限公司 A kind of video broadcasting method, storage medium and player

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130077690A1 (en) * 2011-09-23 2013-03-28 Qualcomm Incorporated Firmware-Based Multi-Threaded Video Decoding
CN104754349A (en) * 2013-12-25 2015-07-01 炫一下(北京)科技有限公司 Method and device for hardware decoding of audio/video
CN104333808A (en) * 2014-11-14 2015-02-04 复旦大学 General player applied to Android and Linux smart televisiosn
CN105721921A (en) * 2016-01-29 2016-06-29 四川长虹电器股份有限公司 Self-adaptive selection method for multi-window video decoder
CN106791546A (en) * 2017-01-04 2017-05-31 腾讯科技(深圳)有限公司 media data playing method and device
CN108184163A (en) * 2017-12-29 2018-06-19 深圳华侨城卡乐技术有限公司 A kind of video broadcasting method, storage medium and player

Also Published As

Publication number Publication date
CN109640192B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN104159151B (en) A kind of device and method for carrying out video intercepting on OTT boxes and handling
US8875204B2 (en) Information processor, information processing method and program
CN101789935B (en) To the technology of connected device push content
CN104902290B (en) Manage the display device and its control method of multiple time source datas
US20120197977A1 (en) Information processing apparatus, information processing method, and program
CN105830456B (en) The method and apparatus of transmission and receiving media data
CN101860698B (en) EPG system for realizing personalized function
CN110324671A (en) Video web page playback method and device, electronic equipment and storage medium
CN101091217A (en) Information storage medium, information reproducing apparatus, and information reproducing method
JP2010154554A (en) Systems and methods for video-rich navigation
CN105518614A (en) Screencasting for multi-screen applications
CN102647629A (en) Content playing method and content playing device
CN103517135B (en) Method, system and television capable of playing MP4-format video files continuously
CN103686368A (en) Method and device for turning on television to play cartoons and television
CN112383790B (en) Live broadcast screen recording method and device, electronic equipment and storage medium
CN104202677A (en) Multi-screen display and control method and multi-screen display and control device supportive to multi-window applications
CN103517101A (en) Method and system for simultaneously playing time line advertisement based on multi-screen interaction scene
AU2009265087A1 (en) Extensions for system and method for an extensible media player
CN204013943U (en) A kind of device that carries out video intercepting and process on OTT box
CN105245959A (en) System and method for maintaining connection channel in multi-device linkage services
US9232256B2 (en) System and method for generating flash-based media stream
CN104427357A (en) Language type setting method and device
CN101420546A (en) Digital television set-top box and customized setting method
CN103561326A (en) Broadcasting method based on digital TV browser
CN103269450B (en) A kind of multimedia system towards Android intelligent television

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant