CN107454445A - A kind of method and apparatus for carrying out video playback scheduling - Google Patents

A kind of method and apparatus for carrying out video playback scheduling Download PDF

Info

Publication number
CN107454445A
CN107454445A CN201610377968.5A CN201610377968A CN107454445A CN 107454445 A CN107454445 A CN 107454445A CN 201610377968 A CN201610377968 A CN 201610377968A CN 107454445 A CN107454445 A CN 107454445A
Authority
CN
China
Prior art keywords
video flowing
video
user equipment
decoding
played
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.)
Pending
Application number
CN201610377968.5A
Other languages
Chinese (zh)
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.)
BEIJING FENGXING ONLINE TECHNOLOGY Co Ltd
Original Assignee
BEIJING FENGXING ONLINE TECHNOLOGY 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 BEIJING FENGXING ONLINE TECHNOLOGY Co Ltd filed Critical BEIJING FENGXING ONLINE TECHNOLOGY Co Ltd
Priority to CN201610377968.5A priority Critical patent/CN107454445A/en
Publication of CN107454445A publication Critical patent/CN107454445A/en
Pending legal-status Critical Current

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/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/26208Content 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 the scheduling operation being performed under constraints

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a kind of method for carrying out video playback scheduling, wherein, this method includes:Obtain the decoding capacity information of user equipment;The Video stream information from the network equipment is received, wherein, the Video stream information is included based on video flowing h.265 and based on video flowing h.264;According to the decoding capacity information, video flowing to be played in the Video stream information is determined;Video flowing determined by broadcasting.According to the solution of the present invention, h.265 existing playing function of the video without influenceing user equipment can be introduced at user equipment end, and when video flowing to be played is based on video flowing h.265, realize the optimization of Consumer's Experience and cost.

Description

A kind of method and apparatus for carrying out video playback scheduling
Technical field
The present invention relates to field of computer technology, more particularly to one kind to be used to carry out video playback tune The method and apparatus of degree.
Background technology
H.265 it is the new video encoding standard formulated after h.264, the Video coding mark Standard have improve compression efficiency, improve robustness and error recovery capabilities, reduce real-time time delay, Reduce channel acquisition time and Stochastic accessing time delay, reduce the abilities such as complexity.But it is used as one The new video encoding standard of kind, much user equipmenies (such as mobile phone) are not supported to be based at present H.265 video playback.Therefore, user equipment end can be only provided based on regarding h.264 at present Frequency is played, and h.265 the server bandwidth ratio consumed based on video playback h.264 is based on When it is about more one times, also, because h.264 substandard video file is bigger, during user cache Between require longer, and video error tolerance is poor, it is easier to which flower screen etc. occur influences showing for Consumer's Experience As.
The content of the invention
H.265 and h.264 it is an object of the invention to provide a kind of based on carrying out video playback scheduling Method and apparatus.
According to an aspect of the present invention, there is provided a kind of method for carrying out video playback scheduling, Wherein, this method includes:
Obtain the decoding capacity information of user equipment;
The Video stream information from the network equipment is received, wherein, the Video stream information includes being based on H.265 video flowing and based on video flowing h.264;
According to the decoding capacity information, video flowing to be played in the Video stream information is determined;
Video flowing determined by broadcasting.
According to another aspect of the present invention, additionally provide a kind of for carrying out video playback scheduling Device, wherein, the device includes:
First obtains device, for obtaining the decoding capacity information of user equipment;
Reception device, for receiving the Video stream information from the network equipment, wherein, it is described to regard Frequency stream information is included based on video flowing h.265 and based on video flowing h.264;
First determining device, for according to the decoding capacity information, determining the video flowing letter Video flowing to be played in breath;
First playing device, for playing identified video flowing.
Compared with prior art, the present invention has advantages below:The network equipment carries to user equipment Simultaneously comprising based on video flowing h.265 and based on video h.264 in the Video stream information of confession Stream, user equipment can determine to wait to broadcast in Video stream information based on the decoding capability of user equipment The video flowing put, then for possessing the user equipment for decoding the h.265 ability of video, it can play Based on video flowing h.265, to reduce its load time and save network equipment flow, and it is right In the user equipment for not possessing the decoding h.265 ability of video, can directly play based on h.264 Video flowing, to prevent because handset capability reason and caused by play interim card or sound picture different The phenomenon of step, avoid influenceing Consumer's Experience, it is achieved thereby that introducing h.265 at user equipment end The effect of existing playing function of the video without influenceing user equipment, and operation cost can be saved And improve Consumer's Experience.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, The other features, objects and advantages of the present invention will become more apparent upon:
Fig. 1 is the flow for being used to carry out the method for video playback scheduling of one embodiment of the invention Schematic diagram;
Fig. 2 is the stream for being used to carry out the method for video playback scheduling of another embodiment of the present invention Journey schematic diagram;
Fig. 3 is the structure for being used to carry out the device of video playback scheduling of one embodiment of the invention Schematic diagram;
Fig. 4 is the knot for being used to carry out the device of video playback scheduling of another embodiment of the present invention Structure schematic diagram.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 is the flow for being used to carry out the method for video playback scheduling of one embodiment of the invention Schematic diagram.
Wherein, the method for the present embodiment is mainly realized by user equipment, wherein, the user Equipment include it is any can be used in carry out video playback equipment, as PC, tablet personal computer, Smart mobile phone, IPTV etc..The operating system that the user equipment uses includes but is not limited to Android, ios etc..
It should be noted that the user equipment is only for example, other are existing or from now on may The user equipment of appearance is such as applicable to the present invention, also should be included in the scope of the present invention with It is interior, and be incorporated herein by reference.
Step S1, step S2, step S3 and step S4 are included according to the method for the present embodiment.
In step sl, user equipment obtains the decoding capacity information of the user equipment.
Wherein, h.265 whether the decoding capacity information possesses decoding for instruction user equipment The ability of video.For example, h.265 the decoding capacity information instruction user equipment does not possess decoding The ability of video;In another example the decoding capacity information instruction user equipment possesses decoding arbitrarily The ability of the h.265 video of definition;For another example the decoding capacity information instruction user is set The ability of the standby h.265 video for possessing decoding SD.Preferably, the decoding capacity information bag The user equipment is included for hard decoder ability h.265 and soft decoding capability.For example, decoding Hard decoder ability instruction user equipment in ability information possesses the h.265 video for high definition Hard decoder ability;In another example the soft decoding capability instruction user equipment tool in decoding capacity information The soft decoding capability of the standby h.265 video for SD.
Specifically, user equipment obtains the implementation bag of the decoding capacity information of the user equipment Include but be not limited to:
1) the step S1 further comprises step S11-1 and step S11-2.
In step S11-1, user equipment reading is stored in the local decoding of the user equipment and matched somebody with somebody Put parameter;In step S11-2, user equipment calculates institute according to the decoding configuration parameter State the decoding capacity information of user equipment.
Wherein, the decoding configuration parameter can be used in judging whether user equipment has including any The standby parameter for decoding the h.265 ability of video, such as mobile phone EMS memory size, CPU (Central Processing Unit, central processing unit) core number, CPU highest frequencies, CPU architecture class Type.Preferably, it is described decoding configuration parameter include with each definition (as super clear, high definition, SD, smoothness etc.) corresponding parameter.It should be noted that user equipment is based on each clear Parameter corresponding to clear degree would know that it can decode that the minimum of the h.265 video of each definition It is required that;For example, contained in the decoding configuration information following corresponding to definition " smoothness " Parameter:CPU core calculation " 2 ", internal memory " 1G ", CPU frequency " 1.3 ", Gai Dengcan Number represents minimum requirements of the decoding definition for the h.265 video of " smoothness ", that is, working as user The CPU core calculation of equipment is not less than 1.3 not less than 2, internal memory not less than 1G, CPU frequency When, the user equipment just possesses ability of the decoding definition for the h.265 video of " smoothness ".
Preferably, the configuration parameter also includes predetermined version condition.The predetermined version condition Including it is any it is predetermined, for whether judging the currently employed operating system version of user equipment The condition for hard decoder h.265 is supported, namely for judging whether user equipment possesses pin To hard decoder ability h.265.For example, predetermined version condition includes predetermined multiple android Version, when the operating system version of user equipment is wherein one in the plurality of android versions When individual, the user equipment possesses for hard decoder ability h.265;In another example predetermined version Condition includes supporting the minimum android versions for hard decoder h.265 and minimum ios versions, When ios versions are higher than the minimum ios versions used by user equipment, user equipment tool The standby hard decoder ability being directed to h.265.
In step S11-2, specifically, user equipment according to it is described decoding configuration parameter and The device parameter of the user equipment, calculate the decoding capacity information of the user equipment.
Wherein, the device parameter represents the actual parameter of user equipment, the device parameter bag Include any ginseng that can be used in judging user equipment and whether possess the decoding h.265 ability of video Number, as mobile phone EMS memory size, CPU core calculation, CPU highest frequencies, CPU architecture type, Operating system version etc..
For example, user equipment is known according to decoding configuration parameter, corresponding to definition " smoothness " Parameter includes:CPU core calculation " 2 ", internal memory " 1G ", CPU frequency " 1.3 ";Clearly Parameter corresponding to clear degree " SD " includes:CPU core calculation " 2 ", internal memory " 2G ", CPU frequency " 1.8 ".The device capability information of user equipment indicates the CPU of the user equipment Core number is " 2 ", is inside saved as " 4G ", and CPU frequency is " 2.1 ".Then user equipment passes through Compare the decoding configuration parameter and device capability information, it may be determined that the decoding capability of the user equipment Information, the decoding capacity information indicate the user equipment possess decoding definition be " smoothness " and H.265 the ability of the video of " high definition ".
It should be noted that preferably, when the decoding configuration parameter before the deadline (namely For actual parameter) when, user equipment just performs step S11-2 to calculate decoding capacity information.
2) the step S1 further comprises step S12-1 and step S12-2.
In step S12-1, user equipment is asked corresponding with the user equipment to service equipment Newest decoding configuration parameter;In step S12-2, user equipment is according to the newest decoding Configuration parameter, calculate the decoding capacity information of the user equipment.
Wherein, the service equipment includes any for issuing decoding configuration parameter to user equipment Equipment.
It should be noted that preferably, the service equipment is in the form of configuration file to user Equipment issues newest decoding configuration parameter.Regarded it is highly preferred that starting in user equipment for broadcasting After the application of frequency, service equipment corresponding with the application regularly can issue newest to user equipment Configuration parameter is decoded, dynamically to adjust the decoding capability requirement for user equipment.Need to illustrate , service equipment can based on user feedback or user equipment end broadcasting situation feed back (such as interim card situation) adjusts decoding configuration parameter.
Wherein, step S12-2 implementation is identical with abovementioned steps S11-2 implementation Or it is similar, it will not be repeated here.
It should be noted that above-mentioned implementation 1) and 2) can be combined with each other.For example, User equipment, which is read, is stored in the local decoding configuration parameter of the user equipment;When based on the solution When the term of validity of code configuration parameter determines that the decoding configuration parameter has failed, asked to service equipment Newest decoding configuration parameter corresponding with the user equipment;If request is joined to newest decoding configuration Number, then user equipment calculates its decoding capacity information according to the newest decoding configuration parameter;If Do not ask newest decoding configuration parameter, then based on from locally read failed decoding configuration Parameter calculates the decoding capacity information of the user equipment.If it should be noted that user equipment Do not read decoding configuration parameter locally and do not ask the newest decoding from service equipment Configuration parameter, then user equipment determine its decoding capacity information, the decoding capacity information instruction should User equipment does not possess the ability for decoding h.265 video.
It should be noted that user equipment can perform step S1 in a number of situations.For example, When starting the application program of user's progress video playback in user equipment, the user equipment performs Step S1 obtains its decoding capacity information;In another example when user equipment is operated based on user When sending video request to the network equipment, user equipment performs step S1 and set to obtain the user Standby decoding capacity information.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, and Non- limitation of the present invention, it should be appreciated by those skilled in the art that any acquisition user equipment The implementation of decoding capacity information, should be included in the scope of the present invention.
In step s 2, user equipment receives the Video stream information from the network equipment.
Wherein, the network equipment includes but is not limited to single network server, multiple networks clothes The server group of business device composition;Network residing for the network equipment includes but is not limited to interconnect Net, wide area network, Metropolitan Area Network (MAN), LAN, VPN etc..It should be noted that the net Network equipment can be used as above-mentioned service equipment.
Wherein, the Video stream information is included based on video flowing h.265 and based on h.264 Video flowing.For example, the Video stream information includes being based on h.265 and definition is " smoothness " Video flowing, based on h.264 and definition for " SD " video flowing and based on h.264 and clearly Clear degree is the video flowing of " high definition ".
As an example, user equipment sends the video request letter from user to the network equipment Breath, afterwards, receives the video flowing corresponding with the video request information from the network equipment Information.
It should be noted that step S1 and step S2 execution has no strict sequencing.
In step s3, user equipment determines the video according to the decoding capacity information Video flowing to be played in stream information.
Specifically, user equipment judges the user equipment according to the decoding capacity information obtained Whether possess the ability for decoding h.265 video, and be based on judged result from the Video stream information One video flowing corresponding with the judged result of middle selection is as video flowing to be played.
As a kind of step S3 preferred scheme, the step S3 further comprises step S31-1, step S31-2 and step S31-3.
In step S31-1, user equipment obtains initial definition.
In step S31-2, when it is described based on video flowing h.265 in exist meet it is described clear The video flowing of clear degree, and the decoding capacity information indicates that the user equipment can decode that have During the h.265 video of the definition, user equipment is using the video flowing as video to be played Stream, otherwise, perform step S31-3.
In step S31-3, when it is described based on video flowing h.264 in exist meet it is described clear During the video flowing of clear degree, user equipment is using the video flowing as video flowing to be played, otherwise, One rank of definition reduction is obtained into new definition, and repeating said steps S31-2, Until determining video flowing to be played or in the absence of the other definition of even lower level.
Preferably, the initial definition is the definition selected by user.As another kind Scheme, can be using acquiescence definition as just as user and a non-selected desired definition The definition of beginning.It should be noted that when definition other in the absence of even lower level, Yong Hushe It is standby to provide a user miscue information, to remind user not find what can be played out Video flowing.
As an example of this preferred scheme, in step S31-1, user equipment is used Definition " super clear " selected by the equipment of family, and using the definition as initial definition; Then, in step S31-2, user equipment is determined based on not deposited in video flowing h.265 In super clear video flowing, then step S31-3 is performed, in step S31-3, user equipment is sentenced Break in based on video flowing h.264 and super clear video flowing is also not present, then user equipment will be clear Clear degree reduces a rank and obtains new definition " high definition ", and repeat step S31-2; In step S31-2, user equipment is determined based on regarding for high definition in video flowing being h.265 present Frequency flows, but the decoding capacity information of user equipment indicates that the user equipment can not decode high definition H.265 video, then user equipment perform step S31-3 again, in step S31-3, user Equipment is determined based on the video flowing that high definition in video flowing h.264 be present, then user equipment will Video flowing based on the high definition in video flowing h.264 is as video flowing to be played.
As step S3 another preferred scheme, the step S3 further comprises step S32-1 and step S32-2.
In step S32-1, when determining that the user equipment has according to the decoding capacity information During for decoding the h.265 ability of video, based on video h.265 out of described Video stream information A video flowing to be played is selected in stream.
As an example, the decoding capacity information that user equipment is obtained according to it determines its tool The ability of the h.265 video of standby decoding high definition and SD, then user equipment is out of Video stream information Based on the video flowing corresponding with acquiescence definition " SD " of selection in video flowing h.265.
Preferably, the step S32-1 includes following operation:When being based in Video stream information H.265 the video flowing for meeting the definition selected by user in video flowing be present, and according to institute State decoding capacity information and determine that the user equipment possesses the video flowing that decoding meets the definition Ability when, user equipment is using the video flowing of the definition met selected by user as to be played Video flowing.
It should be noted that when user equipment is not selected from based on video flowing h.265 (as when based on selected by being not present in video flowing h.265 and meeting user during video flowing to be played The video flowing for the definition selected, and/or, user equipment does not possess decoding and met selected by user During the ability of the video flowing of definition), user equipment is out of Video stream information based on h.264 A video flowing to be played is selected in video flowing.Wherein, user equipment is out of Video stream information Implementation based on one video flowing to be played of selection in video flowing h.264 will be in step It is described in detail, is will not be repeated here in S32-2.
In step S32-2, when determining the user equipment not according to the decoding capacity information Possess decoding h.265 the ability of video when, user equipment is based on out of described Video stream information H.264 a video flowing to be played is selected in video flowing.
As an example, when determining that user equipment does not have according to the decoding capacity information obtained Standby decoding h.265 the ability of video when, user equipment will in Video stream information based on h.264 and Meet the video flowing of acquiescence definition as video flowing to be played.
Preferably, user equipment performs following operation out of Video stream information based on regarding h.264 Frequency selects a video flowing to be played in flowing:
A1 obtains initial definition, it is preferable that the initial definition is selected by user Definition;
A2 judge it is described based in video flowing h.264 with the presence or absence of meeting the definition Video flowing;
This is met the definition by a3 when the video flowing for meeting the definition be present Video flowing is as the video flowing to be played;
A4 is when in the absence of the video flowing for meeting the definition, based on lower than the definition The definition of one rank come repeat it is described operation a2, a3 and a4, until determine it is to be played Video flowing or in the absence of the other definition of even lower level.
Determine that user equipment does not possess decoding according to the decoding capacity information obtained for example, working as H.265 during the ability of video, the definition that user equipment obtains selected by user is " high definition "; Then, user equipment judges clear based on being not present in video flowing h.264 in Video stream information Spend for the video flowing of " high definition ", then definition is reduced to " SD " by user equipment, and repeats to sentence Disconnected operation, in determining in Video stream information based on video flowing h.264 definition be present is During the video flowing of " SD ", using the video flowing that the definition is " SD " as video to be played Stream.
It should be noted that when definition other in the absence of even lower level, user equipment can to Family provides miscue information, to remind user not find the video flowing that can be played out.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, and Non- limitation of the present invention, it should be appreciated by those skilled in the art that any according to the decoding energy Force information, the implementation of video flowing to be played in the Video stream information is determined, all should wrapped Containing within the scope of the invention.
In step s 4, video flowing determined by played.
The implementation of video flowing determined by played will be given in subsequent embodiment To be described in detail, will not be repeated here.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, and Non- limitation of the present invention, it should be appreciated by those skilled in the art that any played institute The implementation of the video flowing of determination, should be included in the scope of the present invention.
In the Video stream information provided according to the scheme of the present embodiment, the network equipment to user equipment Simultaneously comprising based on video flowing h.265 and can based on video flowing h.264, user equipment Video flowing to be played in Video stream information is determined based on the decoding capability of user equipment, then it is right In the user equipment for possessing the decoding h.265 ability of video, can play based on video h.265 Stream, to reduce its load time and save network equipment flow, and for not possessing decoding h.265 The user equipment of the ability of video, can directly play based on video flowing h.264, with prevent because Interim card or the nonsynchronous phenomenon of sound picture are played caused by for handset capability reason, avoids influenceing Consumer's Experience, set it is achieved thereby that introducing h.265 video at user equipment end without influenceing user The effect of standby existing playing function, and operation cost can be saved and improve Consumer's Experience;This Outside, broadcasting situation that can be based on user feedback or at user equipment end feeds back (such as interim card feelings Condition) etc. adjust decoding configuration parameter, will with the decoding capability dynamically adjusted for user equipment Ask, so as to further lift Consumer's Experience.
Fig. 2 is the stream for being used to carry out the method for video playback scheduling of another embodiment of the present invention Journey schematic diagram.Wherein, the method for the present embodiment is mainly realized by user equipment, reference picture Any explanation done in 1 to user equipment, is incorporated herein by reference.
Step S1, step S2, step S3 and step S4 are included according to the method for the present embodiment, Wherein, the step S4 further comprises step S41, step S42 and step S43.Wherein, The step S1, step S2 and step S3 implementation are being implemented shown in reference picture 1 It is described in detail, is will not be repeated here in example.
When identified video flowing is based on video flowing h.265 in step S3, Yong Hushe It is standby to perform step S41 or step S42.
In step S41, when the decoding capacity information of user equipment indicates the user equipment tool During for for the hard decoder ability of the identified video flowing, user equipment is played using hard solve Device is decoded and played to the identified video flowing.
Wherein, the hard solution player is used to carry out hardware decoding to h.265 video and played.
For example, the identified definition based on video flowing h.265 is " high definition ", Yong Hushe Standby decoding capacity information indicates that the user equipment possesses the hard solution of the h.265 video for high definition Code ability, then user equipment determine that it possesses the hard decoder ability for identified video flowing, User equipment is decoded and played to the identified video flowing using hard solution player.
In step S42, when the decoding capacity information indicates that the user equipment does not possess pin During to the hard decoder ability of the identified video flowing, the initialization of soft solution player is performed, And after successful initialization, the identified video flowing is carried out using the soft solution player Decode and play.
Wherein, the soft solution player is used to carry out software decoding to h.265 video and played.
It should be noted that because user equipment should possess the energy of video flowing determined by decoding Power, therefore, when identified video flowing is based on video flowing h.265, if user equipment Do not possess the hard decoder ability for the video flowing, can possess pin equivalent to the user equipment is represented To the soft decoding capability of the video flowing.
It should be noted that preferably, when detecting that hard solution player can not continue normal play, And user equipment, when possessing the soft decoding capability for identified video flowing, user equipment can be cut It is changed to using software player to decode and play identified video flowing, when user equipment does not have During standby soft decoding capability for identified video flowing, user equipment can be from based on h.264 A video flowing to be played is selected in video flowing, and switches to and plays the selected video Stream.
Preferably, the step S4 also includes step S44.In step S44, when soft solution During the initialization failure of player, user equipment is from described based on being selected in video flowing h.264 One video flowing to be played, and switch to and play the selected video flowing.
Wherein, user equipment selects a video to be played from based on video flowing h.264 The implementation of stream is described in detail with reference to the embodiment shown in FIG. 1, will not be repeated here.
Preferably, the step S44 also includes following operation:User equipment renewal initialization is lost The number lost;When the number exceedes pre-determined number threshold value, user equipment is closed for h.265 Video playback capability.
Wherein, the pre-determined number threshold value can be determined based on experience.Preferably, can be based on coming The pre-determined number threshold value is adjusted from the feedback information of user equipment.
As an example, pre-determined number threshold value is 3, when the initialization failure of soft solution player Afterwards, the number of user equipment renewal initialization failure, when it is determined that the cumulative number of initialization failure For 4 (namely exceeding pre-determined number threshold value) when, user equipment is closed for regarding h.265 Frequency playing function, to avoid influenceing Consumer's Experience.
As a kind of preferred scheme, when what is played is based on video flowing h.265, this reality The method for applying example is further comprising the steps of:Playing process of the user equipment detection in soft solution player In frame loss condition information;When according to the frame loss condition information determine meet predetermined switching condition When, user equipment from it is described based in video flowing h.264 select a video flowing to be played, And switch to and play the selected video flowing.
Wherein, user equipment selects a video to be played from based on video flowing h.264 The implementation of stream is described in detail with reference to the embodiment shown in FIG. 1, will not be repeated here.
Wherein, the frame loss condition information includes any for indicating the frame losing feelings in playing process The information of condition.Preferably, the frame loss condition information includes but is not limited to:It is used to indicate whether There is configured information, current frame losing number, frame losing frequency of frame losing etc..
Wherein, the predetermined switching condition includes any predetermined being used to trigger Switch Video stream The condition of operation.For example, the predetermined switching condition, which is current frame losing number, reaches predetermined frame number Threshold value.
If it should be noted that being unsatisfactory for predetermined switching condition, user equipment continues to play institute Determine based on video flowing h.265, until finishing playing.Preferably, user equipment can be to Service equipment reports the feedback data such as interim card situation, user feedback, so that service equipment is based on being somebody's turn to do Feedback data more new decoding configuration parameter.
When identified video flowing is based on video flowing h.264 in step S3, Yong Hushe It is standby to perform step S43.
In step S43, user equipment directly plays identified based on video flowing h.264.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than Limitation of the present invention, it should be appreciated by those skilled in the art that any be used to play identified regard The implementation of frequency stream, should be included in the scope of the present invention.
According to the scheme of the present embodiment, when identified video flowing is based on video flowing h.265 When, hard solution player and soft solution can be broadcast to realize according to the system version information of user equipment The scheduling of device is put, so that not supporting the user equipment of hard decoder h.265 video can pass through Soft solution player comes to carrying out software decoding based on video flowing h.265;At the beginning of soft solution player When the number of beginningization failure exceedes pre-determined number threshold value, it can close for video playback h.265 Function, to avoid influenceing Consumer's Experience;In addition, playing the mistake based on video flowing h.265 Cheng Zhong, h.264 and h.265 video flowing can be carried out by detecting frame loss condition information come dynamic Switching, influence Consumer's Experience to avoid frame loss condition serious, can realize Consumer's Experience and into This optimization.
Fig. 3 is the structure for being used to carry out the device of video playback scheduling of one embodiment of the invention Schematic diagram.This is used for the device (hereinafter referred to as " dispatching device ") for carrying out video playback scheduling Device 1, reception device 2, the first determining device 3 and the first playing device 4 are obtained including first.
First obtains the decoding capacity information that device 1 obtains user equipment.
Wherein, h.265 whether the decoding capacity information possesses decoding for instruction user equipment The ability of video.For example, h.265 the decoding capacity information instruction user equipment does not possess decoding The ability of video;In another example the decoding capacity information instruction user equipment possesses decoding arbitrarily The ability of the h.265 video of definition;For another example the decoding capacity information instruction user is set The ability of the standby h.265 video for possessing decoding SD.Preferably, the decoding capacity information bag The user equipment is included for hard decoder ability h.265 and soft decoding capability.For example, decoding Hard decoder ability instruction user equipment in ability information possesses the h.265 video for high definition Hard decoder ability;In another example the soft decoding capability instruction user equipment tool in decoding capacity information The soft decoding capability of the standby h.265 video for SD.
Specifically, first the realization side that device 1 obtains the decoding capacity information of user equipment is obtained Formula includes but is not limited to:
1) first the further reading device (not shown) of device 1 and the first computing device are obtained (not shown).
Reading device, which is read, is stored in the local decoding configuration parameter of user equipment;First calculates dress Put the decoding capacity information for according to the decoding configuration parameter, calculating the user equipment.
Wherein, the decoding configuration parameter can be used in judging whether user equipment has including any The standby parameter for decoding the h.265 ability of video, such as mobile phone EMS memory size, CPU (Central Processing Unit, central processing unit) core number, CPU highest frequencies, CPU architecture class Type.Preferably, it is described decoding configuration parameter include with each definition (as super clear, high definition, SD, smoothness etc.) corresponding parameter.It should be noted that user equipment is based on each clear Parameter corresponding to clear degree would know that it can decode that the minimum of the h.265 video of each definition It is required that;For example, contained in the decoding configuration information following corresponding to definition " smoothness " Parameter:CPU core calculation " 2 ", internal memory " 1G ", CPU frequency " 1.3 ", Gai Dengcan Number represents minimum requirements of the decoding definition for the h.265 video of " smoothness ", that is, working as user The CPU core calculation of equipment is not less than 1.3 not less than 2, internal memory not less than 1G, CPU frequency When, the user equipment just possesses ability of the decoding definition for the h.265 video of " smoothness ".
Preferably, the configuration parameter also includes predetermined version condition.The predetermined version condition Including it is any it is predetermined, for whether judging the currently employed operating system version of user equipment The condition for hard decoder h.265 is supported, namely for judging whether user equipment possesses pin To hard decoder ability h.265.For example, predetermined version condition includes predetermined multiple android Version, when the operating system version of user equipment is wherein one in the plurality of android versions When individual, the user equipment possesses for hard decoder ability h.265;In another example predetermined version Condition includes supporting the minimum android versions for hard decoder h.265 and minimum ios versions, When ios versions are higher than the minimum ios versions used by user equipment, user equipment tool The standby hard decoder ability being directed to h.265.
Specifically, first computing device is according to the decoding configuration parameter and the user equipment Device parameter, calculate the decoding capacity information of the user equipment.
Wherein, the device parameter represents the actual parameter of user equipment, the device parameter bag Include any ginseng that can be used in judging user equipment and whether possess the decoding h.265 ability of video Number, as mobile phone EMS memory size, CPU core calculation, CPU highest frequencies, CPU architecture type, Operating system version etc..
For example, the first computing device is known according to decoding configuration parameter, definition " smoothness " institute is right The parameter answered includes:CPU core calculation " 2 ", internal memory " 1G ", CPU frequency " 1.3 "; Parameter corresponding to definition " SD " includes:CPU core calculation " 2 ", internal memory " 2G ", CPU frequency " 1.8 ".The device capability information of user equipment indicates the CPU of the user equipment Core number is " 2 ", is inside saved as " 4G ", and CPU frequency is " 2.1 ".Then the first computing device By comparing the decoding configuration parameter and device capability information, it may be determined that the decoding of the user equipment Ability information, it is " smoothness " that the decoding capacity information, which indicates that the user equipment possesses decoding definition, H.265 the ability of the video of " high definition ".
It should be noted that preferably, when the decoding configuration parameter before the deadline (namely For actual parameter) when, the first computing device just performs operation to calculate decoding capacity information.
2) the first acquisition device 1 further comprises request unit (not shown) and second Computing device (not shown).
Request unit configures to service equipment request newest decoding corresponding with the user equipment Parameter;Second computing device calculates the user equipment according to the newest decoding configuration parameter Decoding capacity information.
Wherein, the service equipment includes any for issuing decoding configuration parameter to user equipment Equipment.
It should be noted that preferably, the service equipment is in the form of configuration file to user Equipment issues newest decoding configuration parameter.Regarded it is highly preferred that starting in user equipment for broadcasting After the application of frequency, service equipment corresponding with the application regularly can issue newest to user equipment Configuration parameter is decoded, dynamically to adjust the decoding capability requirement for user equipment.Need to illustrate , service equipment can based on user feedback or user equipment end broadcasting situation feed back (such as interim card situation) adjusts decoding configuration parameter.
Wherein, the implementation of the second computing device and the implementation of foregoing first computing device It is same or similar, it will not be repeated here.
It should be noted that above-mentioned implementation 1) and 2) can be combined with each other.For example, First acquisition device 1, which is read, is stored in the local decoding configuration parameter of user equipment;When based on this , please to service equipment when the term of validity of decoding configuration parameter determines that the decoding configuration parameter has failed Seek newest decoding configuration parameter corresponding with the user equipment;If request configures to newest decoding Parameter, then first device 1 is obtained according to the newest decoding configuration parameter, calculate its decoding capability Information;If not asking newest decoding configuration parameter, based on failed from what is locally read Configuration parameter is decoded to calculate the decoding capacity information of the user equipment.If it should be noted that First acquisition device 1 is not reading decoding configuration parameter locally and is not asking to set from service Standby newest decoding configuration parameter, then first obtain device 1 determine its decoding capacity information, should Decoding capacity information indicates that the user equipment does not possess the ability for decoding h.265 video.
It should be noted that the first acquisition device 1 can perform operation in a number of situations.For example, When starting the application program of user's progress video playback in user equipment, first obtains device 1 Operation is performed to obtain its decoding capacity information;In another example when user equipment is operated based on user When sending video request to the network equipment, the first acquisition device 1 performs operation to obtain the user The decoding capacity information of equipment.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, and Non- limitation of the present invention, it should be appreciated by those skilled in the art that any acquisition user equipment The implementation of decoding capacity information, should be included in the scope of the present invention.
Reception device 2 receives the Video stream information from the network equipment.
Wherein, the network equipment includes but is not limited to single network server, multiple networks clothes The server group of business device composition;Network residing for the network equipment includes but is not limited to interconnect Net, wide area network, Metropolitan Area Network (MAN), LAN, VPN etc..It should be noted that the net Network equipment can be used as above-mentioned service equipment.
Wherein, the Video stream information is included based on video flowing h.265 and based on h.264 Video flowing.For example, the Video stream information includes being based on h.265 and definition is " smoothness " Video flowing, based on h.264 and definition for " SD " video flowing and based on h.264 and clearly Clear degree is the video flowing of " high definition ".
As an example, user equipment sends the video request letter from user to the network equipment Breath, afterwards, reception device 2 receives relative with the video request information from the network equipment The Video stream information answered.
It should be noted that first obtains between device 1 and operation performed by reception device 2 Have no strict sequencing.
First determining device 3 is determined in the Video stream information according to the decoding capacity information Video flowing to be played.
Specifically, the first determining device 3 judges the use according to the decoding capacity information obtained Whether family equipment possesses the ability for decoding h.265 video, and is based on judged result from the video A video flowing corresponding with the judged result is selected in stream information as video to be played Stream.
As a kind of preferred scheme of the first determining device 3, first determining device 3 enters one Step includes the second acquisition device (not shown), the first judgment means (not shown) and second is sentenced Disconnected device (not shown).
Second, which obtains device, obtains initial definition.
The video flowing for meeting the definition in based on video flowing h.265 be present, and it is described Decoding capacity information indicates that the user equipment can decode that h.265 regarding with the definition During frequency, the first judgment means are using the video flowing as video flowing to be played, otherwise, triggering the Two judgment means perform operation.
When it is described based on video flowing h.264 in exist meet the definition video flowing when, Second judgment means are using the video flowing as video flowing to be played, otherwise, by the definition Reduce a rank and obtain new definition, and trigger the first judgment means and repeat operation, Until determining video flowing to be played or in the absence of the other definition of even lower level.
Preferably, the initial definition is the definition selected by user.As another kind Scheme, can be using acquiescence definition as just as user and a non-selected desired definition The definition of beginning.It should be noted that when definition other in the absence of even lower level, Yong Hushe It is standby to provide a user miscue information, to remind user not find what can be played out Video flowing.
As an example of this preferred scheme, second, which obtains device, obtains selected by user equipment Definition " super clear ", and using the definition as initial definition;Then, first sentences Disconnected device is determined based on super clear video flowing is not present in video flowing h.265, then triggers Two judgment means perform operation, and the second judgment means are determined based in video flowing h.264 In the absence of super clear video flowing, then user equipment obtains one rank of definition reduction new clear Clear degree " high definition ", and trigger the first judgment means and repeat operation;First judgment means are sentenced Break in based on video flowing h.265 and the video flowing of high definition be present, but the decoding energy of user equipment Force information indicates that the user equipment can not decode the h.265 video of high definition, then user equipment is again The second judgment means of secondary triggering perform operation, and the second judgment means are determined based on regarding h.264 There is the video flowing of high definition in frequency, then the second judgment means are by based in video flowing h.264 in flowing The high definition video flowing as video flowing to be played.
As another preferred scheme of the first determining device 3, the first determining device 3 is further Including the second determining device (not shown) and the 3rd determining device (not shown).
H.265 video is decoded when determining that the user equipment possesses according to the decoding capacity information Ability when, the second determining device is out of described Video stream information based in video flowing h.265 Select a video flowing to be played.
As an example, the decoding capacity information that the second determining device is obtained according to it determines It possesses the ability of the h.265 video of decoding high definition and SD, then the second determining device is from video Based on the video corresponding with acquiescence definition " SD " of selection in video flowing h.265 in stream information Stream.
Preferably, second determining device performs following operate:When being based in Video stream information H.265 the video flowing for meeting the definition selected by user in video flowing be present, and according to institute State decoding capacity information and determine that the user equipment possesses the video flowing that decoding meets the definition Ability when, the second determining device is using the video flowing of the definition met selected by user as treating The video flowing of broadcasting.
It should be noted that when user equipment is not selected from based on video flowing h.265 (as when based on selected by being not present in video flowing h.265 and meeting user during video flowing to be played The video flowing for the definition selected, and/or, user equipment does not possess decoding and met selected by user During the ability of the video flowing of definition), user equipment is out of Video stream information based on h.264 A video flowing to be played is selected in video flowing.Wherein, user equipment is out of Video stream information Implementation based on one video flowing to be played of selection in video flowing h.264 will be follow-up It is described in detail, is will not be repeated here.
H.265 regarded when determining that the user equipment does not possess to decode according to the decoding capacity information During the ability of frequency, the 3rd determining device is out of described Video stream information based on video flowing h.264 One video flowing to be played of middle selection.
As an example, when determining that user equipment does not have according to the decoding capacity information obtained During for decoding the h.265 ability of video, the 3rd determining device will be in Video stream information based on h.264 And meet the video flowing of acquiescence definition as video flowing to be played.
Preferably, the 3rd determining device performs following operation out of Video stream information based on h.264 Video flowing in select a video flowing to be played:
A1 obtains initial definition, it is preferable that the initial definition is selected by user Definition;
A2 judge it is described based in video flowing h.264 with the presence or absence of meeting the definition Video flowing;
This is met the definition by a3 when the video flowing for meeting the definition be present Video flowing is as the video flowing to be played;
A4 is when in the absence of the video flowing for meeting the definition, based on lower than the definition The definition of one rank come repeat it is described operation a2, a3 and a4, until determine it is to be played Video flowing or in the absence of the other definition of even lower level.
Determine that user equipment does not possess decoding according to the decoding capacity information obtained for example, working as H.265 during the ability of video, the definition that the 3rd determining device obtains selected by user is " high Clearly ";Then, the 3rd determining device judge in Video stream information based in video flowing h.264 not The video flowing that definition is " high definition " be present, then definition is reduced to " mark by the 3rd determining device Clearly ", and repeat to judge operation, when determining in Video stream information based in video flowing h.264 Exist definition be " SD " video flowing when, using the definition for " SD " video flowing as Video flowing to be played.
It should be noted that when definition other in the absence of even lower level, user equipment can to Family provides miscue information, to remind user not find the video flowing that can be played out. It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than it is right The limitation of the present invention, it should be appreciated by those skilled in the art that any believe according to the decoding capability Breath, determines the implementation of video flowing to be played in the Video stream information, should be included in In the scope of the present invention.
First playing device 4 plays identified video flowing.
The implementation that first playing device 4 plays identified video flowing will be in subsequent embodiment In be described in detail, will not be repeated here.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, and Non- limitation of the present invention, it should be appreciated by those skilled in the art that any played institute The implementation of the video flowing of determination, should be included in the scope of the present invention.
In the Video stream information provided according to the scheme of the present embodiment, the network equipment to user equipment Simultaneously comprising based on video flowing h.265 and can based on video flowing h.264, user equipment Video flowing to be played in Video stream information is determined based on the decoding capability of user equipment, then it is right In the user equipment for possessing the decoding h.265 ability of video, can play based on video h.265 Stream, to reduce its load time and save network equipment flow, and for not possessing decoding h.265 The user equipment of the ability of video, can directly play based on video flowing h.264, with prevent because Interim card or the nonsynchronous phenomenon of sound picture are played caused by for handset capability reason, avoids influenceing Consumer's Experience, set it is achieved thereby that introducing h.265 video at user equipment end without influenceing user The effect of standby existing playing function, and operation cost can be saved and improve Consumer's Experience;This Outside, broadcasting situation that can be based on user feedback or at user equipment end feeds back (such as interim card feelings Condition) etc. adjust decoding configuration parameter, will with the decoding capability dynamically adjusted for user equipment Ask, so as to further lift Consumer's Experience.
Fig. 4 is the knot for being used to carry out the device of video playback scheduling of another embodiment of the present invention Structure schematic diagram.The dispatching device includes first and obtains device 1, the determination of reception device 2, first The playing device 4 of device 3 and first.Wherein, first playing device 4 further comprises firmly Solve playing device 41 and soft solution playing device 42.Wherein, described first obtain device 1, connect Receiving apparatus 2, the implementation of the first determining device 3 are given with reference to the embodiment shown in FIG. 3 To be described in detail, will not be repeated here.
When video flowing determined by the first determining device 3 is based on video flowing h.265, firmly Solution playing device 41 or soft solution playing device 42 perform operation.
When the decoding capacity information of user equipment indicates that the user equipment possesses for the institute During the hard decoder ability of the video flowing of determination, the hard playing device 41 that solves uses hard solution player pair Video flowing determined by described is decoded and played.
Wherein, the hard solution player is used to carry out hardware decoding to h.265 video and played.
For example, the identified definition based on video flowing h.265 is " high definition ", Yong Hushe Standby decoding capacity information indicates that the user equipment possesses the hard solution of the h.265 video for high definition Code ability, then solution playing device 41 determines that it possesses the hard solution for identified video flowing firmly Code ability, the hard playing device 41 that solves are carried out using hard solution player to the identified video flowing Decode and play.
Determined when the decoding capacity information indicates that the user equipment does not possess for described Video flowing hard decoder ability when, it is soft solution playing device 42 perform it is soft solution player it is initial Change, and after successful initialization, using the soft solution player to the identified video flowing Decoded and played.
Wherein, the soft solution player is used to carry out software decoding to h.265 video and played.
It should be noted that because user equipment should possess the energy of video flowing determined by decoding Power, therefore, when identified video flowing is based on video flowing h.265, if user equipment Do not possess the hard decoder ability for the video flowing, can possess pin equivalent to the user equipment is represented To the soft decoding capability of the video flowing.
It should be noted that preferably, when detecting that hard solution player can not continue normal play, And user equipment, when possessing the soft decoding capability for identified video flowing, user equipment can be cut It is changed to using software player to decode and play identified video flowing, when user equipment does not have During standby soft decoding capability for identified video flowing, user equipment can be from based on h.264 A video flowing to be played is selected in video flowing, and switches to and plays the selected video Stream.
Preferably, first playing device 4 also includes the first switching device (not shown). When the initialization failure of soft solution player, the first switching device is from described based on regarding h.264 Frequency selects a video flowing to be played in flowing, and switches to and play the selected video flowing.
Wherein, the first switching device selected from based on video flowing h.264 one it is to be played The implementation of video flowing is with the 3rd determining device in reference picture 3 from based on video flowing h.264 The implementation of one video to be played of middle selection is same or similar, will not be repeated here.
Preferably, first switching device also includes updating device (not shown) and closed to fill Put (not shown).The number of updating device renewal initialization failure;When the number exceedes in advance When determining frequency threshold value, shutoff device is closed for video playback capability h.265.
Wherein, the pre-determined number threshold value can be determined based on experience.Preferably, can be based on coming The pre-determined number threshold value is adjusted from the feedback information of user equipment.
As an example, pre-determined number threshold value is 3, when the initialization failure of soft solution player Afterwards, the number of updating device renewal initialization failure, when it is determined that the cumulative number of initialization failure For 4 (namely exceeding pre-determined number threshold value) when, shutoff device is closed for regarding h.265 Frequency playing function, to avoid influenceing Consumer's Experience.
As a kind of preferred scheme, when what is played is based on video flowing h.265, this reality Applying the dispatching device of example also includes detection means (not shown) and the second switching device (not shown). Frame loss condition information of the detection means detection in the playing process of soft solution player;When according to institute State frame loss condition information to determine when meeting predetermined switching condition, the second switching device is from the video Based on one video flowing to be played of selection in video flowing h.264 in stream information, and switch to Play the selected video flowing.
Wherein, second switching device out of described Video stream information based on video h.264 Selected in stream video flowing to be played and the 3rd determining device in reference picture 3 from based on H.264 select the implementation of a video to be played same or similar in video flowing, It will not be repeated here.
Wherein, the frame loss condition information includes any for indicating the frame losing feelings in playing process The information of condition.Preferably, the frame loss condition information includes but is not limited to:It is used to indicate whether There is configured information, current frame losing number, frame losing frequency of frame losing etc..
Wherein, the predetermined switching condition includes any predetermined being used to trigger Switch Video stream The condition of operation.For example, the predetermined switching condition, which is current frame losing number, reaches predetermined frame number Threshold value.
If it should be noted that being unsatisfactory for predetermined switching condition, user equipment continues to play institute Determine based on video flowing h.265, until finishing playing.Preferably, user equipment can be to Service equipment reports the feedback data such as interim card situation, user feedback, so that service equipment is based on being somebody's turn to do Feedback data more new decoding configuration parameter.
, should when video flowing determined by the first determining device 3 is based on video flowing h.264 Dispatching device also includes being used to directly play the identified device based on video flowing h.264 (not shown).
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than Limitation of the present invention, it should be appreciated by those skilled in the art that any be used to play identified regard The implementation of frequency stream, should be included in the scope of the present invention.
According to the scheme of the present embodiment, when identified video flowing is based on video flowing h.265 When, hard solution player and soft solution can be broadcast to realize according to the system version information of user equipment The scheduling of device is put, so that not supporting the user equipment of hard decoder h.265 video can pass through Soft solution player comes to carrying out software decoding based on video flowing h.265;At the beginning of soft solution player When the number of beginningization failure exceedes pre-determined number threshold value, it can close for video playback h.265 Function, to avoid influenceing Consumer's Experience;In addition, playing the mistake based on video flowing h.265 Cheng Zhong, h.264 and h.265 video flowing can be carried out by detecting frame loss condition information come dynamic Switching, influence Consumer's Experience to avoid frame loss condition serious, can realize Consumer's Experience and into This optimization.
It should be noted that the present invention can be in the assembly of software and/or software and hardware by reality Apply, for example, the present invention each device can use application specific integrated circuit (ASIC) or it is any its He realizes similar to hardware device.In one embodiment, software program of the invention can lead to Computing device is crossed to realize steps described above or function.Similarly, software journey of the invention Sequence (including related data structure) can be stored in computer readable recording medium storing program for performing, example Such as, RAM memory, magnetically or optically driver or floppy disc and similar devices.In addition, this hair Some bright steps or function can employ hardware to realize, for example, as with processor coordinate from And perform the circuit of each step or function.
It is obvious to a person skilled in the art that the invention is not restricted to above-mentioned one exemplary embodiment Details, and without departing from the spirit or essential characteristics of the present invention, can be with it His concrete form realizes the present invention.Therefore, all should be by embodiment no matter from the point of view of which point Regard exemplary as, and be nonrestrictive, the scope of the present invention is by appended claims Rather than described above limit, it is intended that by fall the equivalency of claim implication and In the range of all changes be included in the present invention.Should not be by any accompanying drawing mark in claim Note is considered as the involved claim of limitation.Furthermore, it is to be understood that the word of " comprising " one is not excluded for other lists Member or step, odd number are not excluded for plural number.The multiple units or device stated in system claims It can also be realized by a unit or device by software or hardware.The first, the second grade word Pragmatic represents title, and is not offered as any specific order.

Claims (20)

1. a kind of method for carrying out video playback scheduling, wherein, this method includes:
Obtain the decoding capacity information of user equipment;
The Video stream information from the network equipment is received, wherein, the Video stream information includes being based on H.265 video flowing and based on video flowing h.264;
According to the decoding capacity information, video flowing to be played in the Video stream information is determined;
Video flowing determined by broadcasting.
2. according to the method for claim 1, wherein, the decoding capacity information includes described User equipment is for hard decoder ability h.265 and soft decoding capability.
3. the method according to claim 11, wherein, the decoding energy for obtaining user equipment The step of force information, includes:
Read and be stored in the local decoding configuration parameter of the user equipment;
According to the decoding configuration parameter, the decoding capacity information of the user equipment is calculated.
4. the method according to claim 11, wherein, the decoding energy for obtaining user equipment The step of force information, includes:
Newest decoding configuration parameter corresponding with the user equipment is asked to service equipment;
According to the newest decoding configuration parameter, the decoding capacity information of the user equipment is calculated.
5. according to the method for claim 1, wherein, it is described according to the decoding capacity information, The step of determining video flowing to be played in the Video stream information includes:
A obtains initial definition;
B when described based on the video flowing that meets the definition in video flowing being h.265 present, and The decoding capacity information indicates h.265 the user equipment can decode that with the definition During video, using the video flowing as video flowing to be played, otherwise, step C is performed;
C when it is described based on video flowing h.264 in exist meet the definition video flowing when, Using the video flowing as video flowing to be played, otherwise, one rank of definition reduction is obtained To new definition, and repeating said steps B, until determining video flowing to be played or not depositing In the other definition of even lower level.
6. according to the method for claim 1, wherein, it is described according to the decoding capacity information, The step of determining video flowing to be played in the Video stream information includes:
When determining that the user equipment possesses decoding h.265 video according to the decoding capacity information During ability, from described based on one video flowing to be played of selection in video flowing h.265;
H.265 video is decoded when determining that the user equipment does not possess according to the decoding capacity information Ability when, from the video flowing h.264 select a video flowing to be played.
7. method according to any one of claim 1 to 6, wherein, identified video Flow based on video flowing h.265, to include determined by the broadcasting the step of video flowing:
When the decoding capacity information indicates that the user equipment possesses for the identified video During the hard decoder ability of stream, the identified video flowing is decoded simultaneously using hard solution player Play;
Identified regarded for described when the decoding capacity information indicates that the user equipment does not possess During the hard decoder ability of frequency stream, the initialization of soft solution player is performed, and after successful initialization, The identified video flowing is decoded and played using the soft solution player.
8. the method according to claim 11, wherein, video flowing determined by the broadcasting Step also includes:
When initializing failure, from it is described based on selected in video flowing h.264 one it is to be played Video flowing, and switch to and play the selected video flowing.
9. the method according to claim 11, wherein, it is described when initializing failure, by institute State in Video stream information based on video flowing h.264 as video flowing to be played, and switch to and broadcast The step of putting the video flowing also includes:
The number of renewal initialization failure;
When the number exceedes pre-determined number threshold value, close for video playback capability h.265.
10. according to the method for claim 7, wherein, this method also includes:
Detect the frame loss condition information in the playing process of the soft solution player;
When determining to meet predetermined switching condition according to the frame loss condition information, it is based on from described H.264 a video flowing to be played is selected in video flowing, and switch to broadcasting this is selected Video flowing.
11. a kind of device for being used to carry out video playback scheduling, wherein, the device includes:
First obtains device, for obtaining the decoding capacity information of user equipment;
Reception device, for receiving the Video stream information from the network equipment, wherein, the video Stream information is included based on video flowing h.265 and based on video flowing h.264;
First determining device, for according to the decoding capacity information, determining the Video stream information In video flowing to be played;
First playing device, for playing identified video flowing.
12. device according to claim 11, wherein, the decoding capacity information includes institute State the hard decoder ability of user equipment and soft decoding capability.
13. device according to claim 11, wherein, the first acquisition device includes:
Reading device, the local decoding configuration parameter of the user equipment is stored in for reading;
First computing device, for according to the decoding configuration parameter, calculating the user equipment Decoding capacity information.
14. device according to claim 11, wherein, the first acquisition device includes:
Request unit, for matching somebody with somebody to service equipment request newest decoding corresponding with the user equipment Put parameter;
Second computing device, for according to the newest decoding configuration parameter, calculating the user and setting Standby decoding capacity information.
15. device according to claim 11, wherein, first determining device includes:
Second obtains device, for obtaining initial definition;
First judgment means, it is described based on described clear in the presence of meeting in video flowing h.265 for working as The video flowing of clear degree, and the decoding capacity information indicates that the user equipment can decode that with institute When stating the h.265 video of definition, using the video flowing as video flowing to be played, otherwise, touch Send out the second judgment means and perform operation;
Second judgment means, it is described based on described clear in the presence of meeting in video flowing h.264 for working as , otherwise, will be described clear using the video flowing as video flowing to be played during the video flowing of clear degree Degree reduces a rank and obtains new definition, and triggers the first judgment means and repeat operation, Until determining video flowing to be played or in the absence of the other definition of even lower level.
16. device according to claim 11, wherein, first determining device includes:
Second determining device, determine that the user equipment has according to the decoding capacity information for working as During for decoding the h.265 ability of video, treated from described based on selection one in video flowing h.265 The video flowing of broadcasting;
3rd determining device, the user equipment is determined not according to the decoding capacity information for working as Possess decoding h.265 the ability of video when, from it is described based in video flowing h.264 select one Video flowing to be played.
17. the device according to any one of claim 11 to 16, wherein, it is identified Video flowing is to be included based on video flowing h.265, first playing device:
Hard solution playing device, for indicating that the user equipment possesses pin when the decoding capacity information During to the hard decoder ability of the identified video flowing, determined using hard solution player to described Video flowing decoded and played;
Soft solution playing device, for not possessing for described identified when the determination user equipment During the hard decoder ability of video flowing, the initialization of soft solution player is performed, and after successful initialization, The identified video flowing is decoded and played using the soft solution player.
18. device according to claim 17, wherein, first playing device also includes:
First switching device, for when initialize failure when, from described based on video flowing h.264 One video flowing to be played of middle selection, and switch to and play the selected video flowing.
19. device according to claim 18, wherein, first switching device also includes:
Updating device, for updating the number of initialization failure;
Shutoff device, for when the number exceedes pre-determined number threshold value, closing for h.265 Video playback capability.
20. device according to claim 17, wherein, the device also includes:
Detection means, for detecting the frame loss condition letter in the playing process of the soft solution player Breath;
Second switching device, for when according to the predetermined switching bar of frame loss condition information determination satisfaction During part, from described based on one video flowing to be played of selection in video flowing h.264, and switch To play the selected video flowing.
CN201610377968.5A 2016-05-31 2016-05-31 A kind of method and apparatus for carrying out video playback scheduling Pending CN107454445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610377968.5A CN107454445A (en) 2016-05-31 2016-05-31 A kind of method and apparatus for carrying out video playback scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610377968.5A CN107454445A (en) 2016-05-31 2016-05-31 A kind of method and apparatus for carrying out video playback scheduling

Publications (1)

Publication Number Publication Date
CN107454445A true CN107454445A (en) 2017-12-08

Family

ID=60485894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610377968.5A Pending CN107454445A (en) 2016-05-31 2016-05-31 A kind of method and apparatus for carrying out video playback scheduling

Country Status (1)

Country Link
CN (1) CN107454445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827668A (en) * 2022-03-23 2022-07-29 百果园技术(新加坡)有限公司 Video gear selection method, device and equipment based on decoding capability

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859561A (en) * 2005-11-01 2006-11-08 华为技术有限公司 Stream media ordered telecast system and method
CN102761736A (en) * 2011-04-29 2012-10-31 腾讯科技(深圳)有限公司 Video decoding method and device
CN103269331A (en) * 2013-04-20 2013-08-28 华为技术有限公司 Method and device for selectively playing code rate content
CN105141569A (en) * 2014-05-30 2015-12-09 华为技术有限公司 Media processing method and device
WO2016060968A1 (en) * 2014-10-13 2016-04-21 Microsoft Technology Licensing, Llc Buffer optimization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859561A (en) * 2005-11-01 2006-11-08 华为技术有限公司 Stream media ordered telecast system and method
CN102761736A (en) * 2011-04-29 2012-10-31 腾讯科技(深圳)有限公司 Video decoding method and device
CN103269331A (en) * 2013-04-20 2013-08-28 华为技术有限公司 Method and device for selectively playing code rate content
CN105141569A (en) * 2014-05-30 2015-12-09 华为技术有限公司 Media processing method and device
WO2016060968A1 (en) * 2014-10-13 2016-04-21 Microsoft Technology Licensing, Llc Buffer optimization

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827668A (en) * 2022-03-23 2022-07-29 百果园技术(新加坡)有限公司 Video gear selection method, device and equipment based on decoding capability
CN114827668B (en) * 2022-03-23 2024-02-13 百果园技术(新加坡)有限公司 Video gear selection method, device and equipment based on decoding capability

Similar Documents

Publication Publication Date Title
CN112087633B (en) Video decoding method, device and storage medium
US9973806B2 (en) Method and an electronic device for playback of video
US7860996B2 (en) Media streaming with seamless ad insertion
CN108282164A (en) A kind of data encoding and coding/decoding method and device
US20120183040A1 (en) Dynamic Video Switching
CN102648584B (en) Use the system of forward error correction inspection available bandwidth, method and medium
CN110024409A (en) The key frame of video flowing with multiple receivers weakens
CN106210884A (en) The code-transferring method of video file and device
CN103517143A (en) Method, device and terminal device for playing network video
CN103096163A (en) Media player and play method of media file
CN106888169A (en) Video broadcasting method and device
CN102596342B (en) System delay mitigation in interactive systems
CN106210927A (en) A kind of track switching method and apparatus
CN108235075A (en) Video quality grade matching process, computer readable storage medium and terminal
CN107454445A (en) A kind of method and apparatus for carrying out video playback scheduling
CN105009208B (en) Method and apparatus for the DTX hangover in audio coding
CN104427383B (en) A kind of information processing method and electronic equipment
US8255492B2 (en) Dynamic content play control
CN108854062B (en) A kind of voice-enabled chat module of moving game
US8077813B2 (en) Apparatus for decoding convolutional codes and associated method
CN112511887B (en) Video playing control method, corresponding device, equipment, system and storage medium
RU2662648C1 (en) Method and device for data processing
CN105430527B (en) Streaming media reminding method and terminal equipment
CN107888859A (en) A kind of processing method and processing device of video playback
CN114363666A (en) Video processing method and device and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171208

WD01 Invention patent application deemed withdrawn after publication