CN106658072A - Method and system for adjusting video encoding rates - Google Patents
Method and system for adjusting video encoding rates Download PDFInfo
- Publication number
- CN106658072A CN106658072A CN201611102875.8A CN201611102875A CN106658072A CN 106658072 A CN106658072 A CN 106658072A CN 201611102875 A CN201611102875 A CN 201611102875A CN 106658072 A CN106658072 A CN 106658072A
- Authority
- CN
- China
- Prior art keywords
- user
- frequency coding
- encoder bit
- video frequency
- video
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2405—Monitoring of the internal components or processes of the server, e.g. server load
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25891—Management of end-user data being end-user preferences
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a method and system for adjusting video encoding rates. The method comprises the following steps: determining available bandwidth distribution of a user according to historical watching records of the user of watching a variety of videos with different definitions, wherein the variety of videos with different definitions correspond to a variety of original video encoding rates; and adjusting the original video encoding rates to new video encoding rates adaptive to the available bandwidth of the user according to the available bandwidth distribution. According to the method for adjusting the video encoding rates provided by the embodiment of the invention, the available bandwidth distribution of the user is determined according to the historical watching records of the user of watching videos with different definitions (corresponding to different video encoding rates), and then the video encoding rates for encoding the videos are adjusted according to the actual available bandwidth distribution of the user, so that the adjusted video encoding rates are better applicable to the actual bandwidth of the user.
Description
Technical field
The present invention relates to video technique field, more particularly to a kind of video frequency coding rate method of adjustment and system.
Background technology
In Web Video Service, the setting of different class video code rates has larger to the participation each side of Video Applications system
Affect.For example, video content provider, video service providing and terminal use.Video content provider wishes video quality
It is clear and to consume bandwidth cost less, and terminal use wishes to obtain preferable video-see under existing network bandwidth resources
Experience.Therefore, in order to while meeting the demand video service providing of video content provider and terminal use there is provided various
The video of different video code check, for example, smoothness, SD, high definition, super clear, blue light etc..
However, inventor has found during the present invention is realized, with the continuous development of the Internet infrastructure, terminal
The available bandwidth of user is in continuous lifting.For example, originally the available bandwidth of terminal use may only have 2M, 4M, 10M etc., but
The available bandwidth for being present terminal use is probably 20M, 50M, 100M etc..Therefore, adopt and be directed to original terminal use's
Smoothness (video frequency coding rate using the smooth broadcasting in 2M bandwidth is guaranteed), SD (employing that available bandwidth is provided
Guarantee the video frequency coding rate of the smooth broadcasting in 4M bandwidth), high definition is (using guaranteeing broadcast smooth in 10M bandwidth
The video frequency coding rate put) etc. the video that obtains coded by the video frequency coding rate of different definition, on the one hand can not match with
The actual available bandwidth of user causes the waste of bandwidth resources, on the other hand can not meet terminal use to video definition
Demand.
The content of the invention
The embodiment of the present invention provides a kind of video frequency coding rate method of adjustment and system, at least solving in prior art
Different definition video code rates and the unmatched technical problem of user's actual available bandwidth.
In a first aspect, the embodiment of the present invention provides a kind of video frequency coding rate method of adjustment, it includes:Watched according to user
The history viewing record of various different definition videos determines the available bandwidth distribution of user, various different definition videos
Corresponding to various former video frequency coding rates;According to available bandwidth distribution adjustment various former video frequency coding rates to being suitable to
The new video frequency coding rate of the available bandwidth of the user.
In a first aspect, the embodiment of the present invention provides a kind of video frequency coding rate adjusts system, it includes:
Available bandwidth is distributed determining module, for watching the history viewing record of various different definition videos according to user
Determine the available bandwidth distribution of user, various different definition videos correspond to various former video frequency coding rates;
Video frequency coding rate adjusting module, for compiling according at least to available bandwidth distribution adjustment various former videos
The new video frequency coding rate of code code check to the available bandwidth for being suitable to the user.
The third aspect, the embodiment of the present invention provides a kind of non-volatile computer readable storage medium storing program for executing, the storage medium
In be stored with one or more including execute instruction programs, the execute instruction can be by electronic equipment (including but not limited to
Computer, server, or network equipment etc.) read and perform, for performing any of the above-described coded video bitstream of the present invention
Rate method of adjustment.
Fourth aspect, there is provided a kind of electronic equipment, it includes:At least one processor, and with described at least one at
The memory of reason device communication connection, wherein, the memory storage has can be by the instruction of at least one computing device, institute
Instruction is stated by least one computing device, so that at least one processor is able to carry out any of the above-described of the present invention
Video frequency coding rate method of adjustment.
5th aspect, the embodiment of the present invention also provides a kind of computer program, and the computer program includes
The calculation procedure being stored on non-volatile computer readable storage medium storing program for executing, the computer program includes programmed instruction, works as institute
When stating programmed instruction and being computer-executed, the computer is set to perform any of the above-described video frequency coding rate method of adjustment.
The video frequency coding rate method of adjustment and system of the embodiment of the present invention is by watching user different definition videos
The history viewing record of (correspond to different video frequency coding rates) is distributed come the available bandwidth for determining user, then further according to
The actual available bandwidth in family is distributed to adjust the video frequency coding rate for encoded video so that the video frequency coding rate after adjustment
It is more suitable for the actual available bandwidth of user.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to use needed for embodiment description
Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, can be attached to obtain others according to these accompanying drawings
Figure.
Fig. 1 is the flow chart of the embodiment of video frequency coding rate method of adjustment one of the present invention;
Fig. 2 is the flow chart of an embodiment of step S11 in Fig. 1;
Fig. 3 is the flow chart of an embodiment of step S12 in Fig. 1;
Fig. 4 is the flow chart of another embodiment of step S12 in Fig. 1;
Fig. 5 is matched curve schematic diagram;
Fig. 6 is user density distribution curve schematic diagram;
Fig. 7 is the structured flowchart that the video frequency coding rate of the present invention adjusts the embodiment of system one;
Fig. 8 is the knot that the available bandwidth in the video frequency coding rate adjustment system of the present invention is distributed the embodiment of determining module one
Structure block diagram;
Fig. 9 is an embodiment of the video frequency coding rate adjusting module in the video frequency coding rate adjustment system of the present invention
Structured flowchart;
Figure 10 is another enforcement of the video frequency coding rate adjusting module in the video frequency coding rate adjustment system of the present invention
The structured flowchart of example;
Figure 11 is the structural representation of an embodiment of the electronic equipment of the present invention.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combination.
The present invention can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes execution particular task or realizes routine, program, object, the unit of particular abstract data type
Part, data structure etc..The present invention can also be in a distributed computing environment put into practice, in these DCEs, by
The remote processing devices connected by communication network are performing task.In a distributed computing environment, program module can be with
In local and remote computer-readable storage medium including including storage device.
In the present invention, " module ", " device ", " system " etc. refer to and be applied to the related entities of computer, such as hardware, hard
The combination of part and software, software or executory software etc..In detail, for example, element can with but be not limited to run on place
The process of reason device, processor, object, executable element, execution thread, program and/or computer.Further, server is run on
On application program or shell script, server can be element.One or more elements can be in the process and/or line for performing
Cheng Zhong, and element can on one computer be localized and/or be distributed between two or multiple stage computers, it is possible to by
Various computer-readable medium operations.Element can be with according to the signal with one or more packets, for example, from one
Interact with another element in local system, distributed system, and/or the network in internet is handed over by signal with other systems
The signal of mutual data is communicated by locally and/or remotely process.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " including ", "comprising", not only including those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or equipment institute inherently
Key element.In the absence of more restrictions, the key element for being limited by sentence " including ... ", it is not excluded that including it is described will
Also there is other identical element in process, method, article or the equipment of element.
As shown in figure 1, the video frequency coding rate method of adjustment of one embodiment of the invention, including:
S11, the available bandwidth of the history viewing record determination user that various different definition videos are watched according to user divide
Cloth, various different definition videos correspond to various former video frequency coding rates;
S12, adjustment various former video frequency coding rates are distributed according to the available bandwidth can be suitable to the user
With the new video frequency coding rate of bandwidth.
The video frequency coding rate method of adjustment of the present embodiment is by watching user different definition videos (corresponding to difference
Video frequency coding rate) history viewing record be distributed the available bandwidth that determines user, then further according to user it is actual can
The video frequency coding rate for encoded video is adjusted with bandwidth distribution so that the video frequency coding rate after adjustment is more suitable for using
The actual available bandwidth in family.
The history viewing of step S11 in above-described embodiment is recorded as user and watches different definition within a predetermined period of time
The record of video, and different definition videos at least include regarding for various definition such as smooth, general clear, high definition, super clear, blue light
Frequently.Each definition video all has corresponding original video frequency coding rate.Therefore, by the history viewing note in step S11
Record can determine the distribution situation of the user of the different definition videos of user's viewing, and according to user different definition videos are watched
Distribution situation can reflect the available bandwidth distribution of user (because that what is watched selected by user necessarily can use band with oneself again
The video of the definition that width matches).In above-mentioned steps S12, when (for example, available bandwidth distribution shows a certain definition video
It is general clear) viewing number is zero or considerably less, and it is higher than another definition video (for example, high definition) of a certain definition
When viewing number is more, then the available bandwidth for showing user has lifted and has been concentrated mainly on another definition video,
Therefore will can be promoted between original coding code check and institute for the video frequency coding rate for encoding a certain definition video
State the code check value between the original coding code check of another definition video.
As shown in Fig. 2 in certain embodiments, the history viewing that various different definition videos are watched according to user
Record determines that the available bandwidth distribution of user includes:
S21, the history viewing record for watching various different definition videos according to user determine that user's viewing is described various
The accounting value of any one in different definition videos;
S22, the accumulation accounting value that a certain definition video of user's viewing is determined according to the accounting value, the accumulation accounting
The accounting value that is worth corresponding to a certain definition video and less than a certain definition video video corresponding to
The accumulation of accounting value and;
S23, the reaction use is determined according to various different definition videos and corresponding accumulation accounting value
The matched curve of the available bandwidth distribution at family, the abscissa of the matched curve is video frequency coding rate, and ordinate is accounted for for accumulation
Ratio.
The history viewing of the various different definition videos of user's viewing in the present embodiment is recorded as multiple users' viewing differences
The historical record of definition video, and the historical record can be the different definition videos of user's viewing number of times and/or
Total duration.For example, user watches within a predetermined period of time total degree that different definition regard as 100 times, wherein viewing smoothness is regarded
The number of times of frequency is 1 time, and the number of times for watching general clear video is 30 times, and the number of times for watching HD video is 40 times, watches super clear video
Number of times be 28 times, watch Blu-ray video number of times be 1 time.Or, user watches within a predetermined period of time different definition and regards
The total duration of frequency is 100 hours, wherein the smooth video of viewing when a length of 1 hour, watch general clear video when it is a length of 30 little
When, watch HD video when a length of 40 hours, watch super clear video when a length of 28 hours, watch Blu-ray video when it is a length of
1 hour.
Accounting value in step S21 can be user watch corresponding definition video number of times and/or duration, or
The number of times of the corresponding definition video of user's viewing accounts for the ratio/of the total degree for watching all definition videos or user's viewing is corresponding
The duration of definition video accounts for the ratio of the total duration for watching all definition videos.
The accounting value corresponding to each original encoding code check obtained according to statistics in step S21 in step S22 is determined
User watches the accounting of the accounting value of a certain original encoding bit-rate video and viewing less than the video of a certain original encoding code check
The accumulation of value and for accumulation accounting value.
In step S23, the original encoding code check of the different definition videos that user is watched as abscissa, and by phase
Corresponding accumulation accounting value is retouched in a coordinate system as the point of ordinate.Then determine that one passes through according to multiple points of gained
The matched curve (as shown in Figure 5) of the origin of coordinates is distributed for the available bandwidth for reacting user.
The present embodiment is not only able to from matched curve by way of the history viewing record of user determines matched curve
In determine that user (for example, corresponds respectively to smooth, general clear, high definition, super clear, blue light etc. in discrete former video frequency coding rate
The former video frequency coding rate of definition video) place distribution situation, additionally it is possible to reflect and compiled between the former video adjacent per two kinds
The use (for example, corresponded respectively between the former video frequency coding rate of two kinds of definition videos of general cleer and peaceful high definition) between code code check
The bandwidth distribution at family.Therefore, the present embodiment can more accurately reflect the available bandwidth distribution situation of user.
As shown in figure 3, in certain embodiments, it is described to be compiled according to available bandwidth distribution adjustment various former videos
The new video frequency coding rate of code code check to the available bandwidth for being suitable to the user includes:
S31, the matched curve is differentiated to determine the user density distribution curve on available bandwidth;
S32, it is each the multiple alternative videos encoder bit rate of configuration in various former video frequency coding rates determining
Multiple alternative videos encoder bit rate groups, the plurality of alternative videos encoder bit rate is more than and/or compiles less than corresponding former video
Code code check, the plurality of alternative videos encoder bit rate group is corresponding to different definition videos;
S33, successively one coded video bitstream of any selection from each group of the plurality of alternative videos encoder bit rate group
Rate cover encoder bit rates more to constitute;
S34, multiple data flow values are calculated according to the user density distribution curve and many set encoder bit rates;
S35, various former video frequency coding rates are adjusted corresponding to the minimum of a value into the plurality of data flow value
A set of encoder bit rate.
Method in the present embodiment by quantifying defines multigroup video that can be used for current difference definition coding and compiles
Code code check, and further by minimize the method for data traffic define cost minimum a group be used to encoding it is different clearly
The video frequency coding rate of degree video.Therefore, the method for the present embodiment reduces as far as possible the cost of video provider.
The user density distribution curve shown in Fig. 6 is obtained to the matched curve derivation shown in Fig. 5 in step S31.
In step S32 by multiple alternative videos encoder bit rates be dimensioned to be more than and/or regard less than corresponding original
Frequency encoder bit rate, the plurality of alternative videos encoder bit rate group is corresponding to different definition videos.In the present embodiment, can take big
In and/or less than the code check at former video frequency coding rate ± 5%, ± 10% and ± 15% be multiple alternative videos encoder bit rates.
Wherein, constantly carrying for user's available bandwidth can preferably be matched more than the alternative videos encoder bit rate of former video frequency coding rate
Rise.But, although inventor is in practice, it has been found that with the continuous development of the Internet infrastructure, Virtual network operator is user
The bandwidth for being provided is increasing, but also there is the situation that multiple users share same account, and at this moment each user obtains
The available bandwidth for arriving may be also less than original available bandwidth.Therefore, will also compile less than corresponding former video in the present embodiment
The video frequency coding rate of code code check is set to alternative videos encoder bit rate.
It is any from each group of the plurality of alternative videos encoder bit rate group successively in step S33 to select a video to compile
Code code check cover encoder bit rates more to constitute.For example, when there is three kinds of different definition videos, then there are accordingly three groups it is standby
Video frequency coding rate group is selected, one is at this moment arbitrarily selected in each group from three groups of alternative videos encoder bit rate groups of step S43
Constitute many set encoder bit rates.If each alternative videos encoder bit rate group includes three alternative code check values, 3 can be obtained
× 3 × 3=27 covers encoder bit rate.
Multiple data traffics are calculated according to the user density distribution curve and many set encoder bit rates in step S34
Value.For example, 27 data flow values are calculated according to the 27 sets of encoder bit rates determined in step S33.Determine 27 by step S35 again
Minimum of a value is selected in individual data flow value, and various former video frequency coding rates are adjusted to corresponding to the minimum of a value
Set encoder bit rate.
As shown in figure 4, in certain embodiments, it is described to be compiled according to available bandwidth distribution adjustment various former videos
The new video frequency coding rate of code code check to the available bandwidth for being suitable to the user includes:
S41, the matched curve is differentiated to determine the user density distribution curve on available bandwidth;
S42, it is each the multiple alternative videos encoder bit rate of configuration in various former video frequency coding rates determining
Multiple alternative videos encoder bit rate groups, the plurality of alternative videos encoder bit rate is more than and/or compiles less than corresponding former video
Code code check, the plurality of alternative videos encoder bit rate group is corresponding to different definition videos;
S43, successively one coded video bitstream of any selection from each group of the plurality of alternative videos encoder bit rate group
Rate cover encoder bit rates more to constitute;
S44, multiple video quality value of utilities are calculated according to the user density distribution curve and many set encoder bit rates;
S45, many sets according to corresponding to the video quality value of utility of the user density distribution curve and predetermined quantity are compiled
Code code check calculates multiple data flow values, and the video quality value of utility of the predetermined quantity is from the plurality of video quality effectiveness
The predetermined number value that descending order is selected in value;
S46, various former video frequency coding rates are adjusted corresponding to the minimum of a value into the plurality of data flow value
A set of encoder bit rate.
The method of the present embodiment is that the present embodiment is minimizing data flow with the difference of the method for embodiment illustrated in fig. 3
Amount, before cost is preferably minimized requirement of the user to video quality has been additionally contemplates that.By step S44 using calculated
Many set encoder bit rates and user density distribution curve calculated user watch using every suit encoder bit rate obtain Bu Tong clearly
The video quality value of utility of clear degree video.Then using corresponding to the higher multiple values of video quality value of utility in step S45
Many set encoder bit rates a set of encoder bit rate minimum further to determine cost.Therefore, the method for the present embodiment is not only
Reduce the cost of video provider, additionally it is possible to which the terminal use that more matching has different available bandwidths regards to different definition
The demand of frequency.
The present embodiment is counted according to the viewing of user, instructs setting and the self adaptation of each class (each definition) code check
Adjustment, to provide terminal use and balance is obtained in the quality of video in the cost and lifting that reduce video content provider.
The another specific embodiment of the present invention includes following part:
1st, the available bandwidth distribution of user is estimated according to the viewing statistics of user.
The number of video institute stepping time is designated as into N, the code check of existing each class is designated as
It is, as foundation, to select the most clear of energy smooth playing with the available bandwidth of oneself during each terminal use's viewing video
The video of clear class.The statistics that (such as one week) each class video is watched in certain time period is
This means that available bandwidth is not enoughUser all select the code check to beThe video of class, and the statistic isAvailable bandwidth
Be more than or equal toAnd it is less than or equal toUser all select the code check to beThe video of class, and the statistic is
The like, until available bandwidth is more than or equal toUser all select the code check to beThe video of class, and statistical magnitude is
Each class watches statistical magnitude percentageAccumulative perception at each class is designated as
Pi cI ∈ [1, N], can by its described point to coordinate diagram, whereinCorresponding value is P at coordinate1 c,Corresponding value is at coordinateThe like;And most at last all described points are fitted to a polynomial function for crossing origin.As shown in figure 5, the letter after fitting
Number is f (r).
F ' (r) is obtained to f (r) derivations, a profile is as shown in fig. 6, its implication for representing can use band as each user
User density on width, the cartographic represenation of area that in other words f ' (r) curves, x-axis and any two available bandwidth vertical line are surrounded this
The interval user's proportion of two available bandwidths.
2nd, according to each class code check of user's available bandwidth distribution adjustment.
The video code rate of different class is arranged to different values, will produce different user's viewing experiences.For a collection of
Representational sequence, at existing code check (that is, former video frequency coding rate)And adjust on the basis of existing code check
± 5%, ± 10% and ± 15% code check at, these alternative code checks and existing code check are integrated alternatively, and are designated asThe mean value V that this batch represents the viewing experience of sequence is determined respectivelyi,j i∈[1,N],j∈[-
3,3], specific measure also directly use objective indicator PSNR (Peak in the way of with subjective testing or in order to simplify
Signal to Noise Ratio, Y-PSNR) etc..
The combination of the target bit rate of each class has 7NIt is individual, and the combination of certain target bit rate is designated asTo 7N
It is as follows that individual combination calculates respectively corresponding total utility:
Wherein ViIt is the corresponding viewing effectiveness of one of 7 alternative code checks at certain class.
From 7 for calculatingNIndividual VtotalLarger 5 effectiveness and value are selected in value, [V is designated asm0,Vm1,Vm2,Vm3,Vm4], its
Middle Vm0Maximum, reduces successively, and each corresponds to one group of alternative encoder bit rate.If additionally, certain effectiveness and Vm,i, compare Vm,i+1It is high
The ratio for going out is more than certain percentage threshold δ (such as 3%), then the range shorter of alternative code check is to effectiveness and [Vm0,Vm1,...,
Vm,i] corresponding alternative encoder bit rate.
Again from [Vm0,Vm1,...,Vm,i] choose in corresponding alternative code check video content provider cost can be made minimum
Encoder bit rate is used as the encoder bit rate after adjustment.Cost herein is minimum can be by minimizing user's request total flow come table
Levy.And under each alternative encoder bit rate, total flow CtotalMay be calculated as:
WhereinFor one of 7 at certain class alternative code checks.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Action merge, but those skilled in the art should know, the present invention do not limited by described sequence of movement because
According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art also should know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiment.
As shown in fig. 7, the embodiment of the present invention also provides a kind of video frequency coding rate adjustment system 700, including:
Available bandwidth is distributed determining module 710, for watching the history viewing of various different definition videos according to user
Record determines the available bandwidth distribution of user, and various different definition videos correspond to various former video frequency coding rates;
Video frequency coding rate adjusting module 720, for regarding according at least to available bandwidth distribution adjustment various originals
The new video frequency coding rate of frequency encoder bit rate to the available bandwidth for being suitable to the user.
The video frequency coding rate method of adjustment of the present embodiment is by watching user different definition videos (corresponding to difference
Video frequency coding rate) history viewing record be distributed the available bandwidth that determines user, then further according to user it is actual can
The video frequency coding rate for encoded video is adjusted with bandwidth distribution so that the video frequency coding rate after adjustment is more suitable for using
The actual available bandwidth in family.
As shown in figure 8, in certain embodiments, the available bandwidth distribution determining module 710 includes:
User's viewing video statistics unit 711, for watching the history viewing of various different definition videos according to user
Record determines the accounting value of any one that user is watched in various different definition videos;
Accumulation accounting value determining unit 712, for determining that user watches a certain definition video according to the accounting value
Accumulation accounting value, the accumulation accounting value is the accounting value corresponding to a certain definition video and a certain clear less than described
It is clear degree video video corresponding to accounting value accumulation and;
Matched curve determining unit 713, for according to various different definition videos and corresponding accumulation accounting
Value determines the matched curve of an available bandwidth distribution for reacting the user, and the abscissa of the matched curve is Video coding
Code check, ordinate is accumulation accounting value.
As shown in figure 9, in certain embodiments, the video frequency coding rate adjusting module 720 includes:
Matched curve derivation unit 721, it is close to determine the user on available bandwidth for differentiating to the matched curve
Degree distribution curve;
Alternative videos encoder bit rate group determining unit 722, for for each in various former video frequency coding rates
Configure multiple alternative videos encoder bit rates to determine multiple alternative videos encoder bit rate groups, the plurality of alternative videos encoder bit rate
More than and/or less than corresponding former video frequency coding rate, the plurality of alternative videos encoder bit rate group is corresponding to different clear
Degree video;
Encoder bit rate determining unit 723, for successively from each group of the plurality of alternative videos encoder bit rate group appoint
Meaning selects a video frequency coding rate to constitute many set encoder bit rates;
Data flow value computing unit 724, for according to the user density distribution curve and many set encoder bit rates
Calculate multiple data flow values;
Encoder bit rate adjusts unit 725, for various former video frequency coding rates to be adjusted to the plurality of data traffic
A set of encoder bit rate corresponding to minimum of a value in value.
As shown in Figure 10, in certain embodiments, the video frequency coding rate adjusting module 720 includes:
Matched curve derivation unit 721 ', it is close to determine the user on available bandwidth for differentiating to the matched curve
Degree distribution curve;
Alternative videos encoder bit rate group determining unit 722 ', for for each in various former video frequency coding rates
Configure multiple alternative videos encoder bit rates to determine multiple alternative videos encoder bit rate groups, the plurality of alternative videos encoder bit rate
More than and/or less than corresponding former video frequency coding rate, the plurality of alternative videos encoder bit rate group is corresponding to different clear
Degree video;
Encoder bit rate determining unit 723 ', for successively from each group of the plurality of alternative videos encoder bit rate group appoint
Meaning selects a video frequency coding rate to constitute many set encoder bit rates;
Video quality value of utility computing unit 724 ', for according to the user density distribution curve and many set encoder bit rates
Calculate multiple video quality value of utilities;
Data flow value computing unit 725 ', for according to the video matter of the user density distribution curve and predetermined quantity
Many set encoder bit rates corresponding to amount value of utility calculate multiple data flow values, and the video quality value of utility of the predetermined quantity is
From the predetermined number value that descending order in the plurality of video quality value of utility is selected;
Encoder bit rate adjusts unit 726 ', for various former video frequency coding rates to be adjusted to the plurality of data traffic
A set of encoder bit rate corresponding to minimum of a value in value.
The video frequency coding rate adjustment system of the embodiments of the present invention can be used to perform the video of the embodiment of the present invention and compile
Code code rate adjustment method, and the technology that the video frequency coding rate method of adjustment of the embodiments of the present invention is reached is reached accordingly
Effect, repeats no more here.
Correlation function mould can be realized by hardware processor (hardware processor) in the embodiment of the present invention
Block.
On the other hand, the embodiment of the present invention provides a kind of non-volatile computer readable storage medium storing program for executing, the storage medium
In be stored with one or more including execute instruction programs, the execute instruction can be by electronic equipment (including but not limited to
Computer, server, or network equipment etc.) read and perform, for the correlation step in execution said method embodiment,
For example:The history viewing record for watching various different definition videos according to user determines the available bandwidth distribution of user, described
Various different definition videos correspond to various former video frequency coding rates;According to available bandwidth distribution adjustment various originals
The new video frequency coding rate of video frequency coding rate to the available bandwidth for being suitable to the user.
On the other hand, the embodiment of the present invention is also disclosed a kind of electronic equipment, and the electronic equipment includes:
At least one memory, for depositing computer-managed instruction;
At least one processor, for performing the computer-managed instruction of the memory storage, to perform said method
Correlation step in embodiment, for example:User is determined according to the history viewing record that user watches various different definition videos
Available bandwidth distribution, various different definition videos correspond to various former video frequency coding rates;According to the available band
The new video frequency coding rate of width distribution adjustment various former video frequency coding rates to the available bandwidth for being suitable to the user.
Figure 11 is the hardware of the electronic equipment of the execution video frequency coding rate method of adjustment that another embodiment of the application is provided
Structural representation, as shown in figure 11, the equipment includes:
One or more processors 1110 and memory 1120, in Figure 11 by taking a processor 1110 as an example.
Performing the equipment of video frequency coding rate method of adjustment can also include:Input unit 1130 and output device 1140.
Processor 1110, memory 1120, input unit 1130 and output device 1140 can by bus or other
Mode connects, in Figure 11 as a example by being connected by bus.
Memory 1120 can be used to store non-volatile software journey as a kind of non-volatile computer readable storage medium storing program for executing
Sequence, non-volatile computer executable program and module, the video frequency coding rate method of adjustment pair such as in the embodiment of the present application
Programmed instruction/the module answered.Processor 1110 is stored in the non-volatile software program in memory 1120, instruction by operation
And module, the various function application and data processing so as to execute server, that is, realize that said method embodiment video is compiled
Code code rate adjustment method.
Memory 1120 can include storing program area and storage data field, wherein, storing program area can store operation system
Application program required for system, at least one function;Storage data field can store making according to video frequency coding rate adjusting apparatus
With data for being created etc..Additionally, memory 1120 can include high-speed random access memory, can also include non-volatile
Memory, for example, at least one disk memory, flush memory device or other non-volatile solid state memory parts.In some realities
In applying example, memory 1120 is optional including relative to the remotely located memory of processor 1110, and these remote memories can be with
By network connection to video frequency coding rate adjusting apparatus.The example of above-mentioned network includes but is not limited to internet, enterprises
Net, LAN, mobile radio communication and combinations thereof.
Input unit 1130 can receives input numeral or character information, and produce with video frequency coding rate adjusting apparatus
User arrange and function control it is relevant key signals input.Output device 1140 may include the display devices such as display screen.
One or more of modules are stored in the memory 1120, when by one or more of processors
During 1110 execution, the video frequency coding rate method of adjustment in above-mentioned any means embodiment is performed.
The method that the executable the embodiment of the present application of the said goods is provided, possesses the corresponding functional module of execution method and has
Beneficial effect.Ins and outs of detailed description in the present embodiment, not can be found in the method that the embodiment of the present application is provided.
Device embodiment described above is only schematic, wherein the unit as separating component explanation can
To be or may not be physically separate, can be as the part that unit shows or may not be physics list
Unit, you can be located at a place, or can also be distributed on multiple NEs.It can according to the actual needs be selected
In some or all of module realizing the purpose of this embodiment scheme.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realize by the mode of software plus general hardware platform, naturally it is also possible to by hardware.Based on such understanding, above-mentioned technology
The part that scheme substantially contributes in other words to correlation technique can be embodied in the form of software product, the computer
Software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions to
So that computer equipment (can be personal computer, server, either network equipment etc.) perform each embodiment or
Method described in some parts of embodiment.
Finally it should be noted that:Above example only to illustrate the technical scheme of the application, rather than a limitation;Although
The application has been described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic;
And these modifications or replace, do not make appropriate technical solution essence depart from each embodiment technical scheme of the application spirit and
Scope.
Claims (9)
1. a kind of video frequency coding rate method of adjustment, including:
The history viewing record for watching various different definition videos according to user determines the available bandwidth distribution of user, described many
Plant different definition videos and correspond to various former video frequency coding rates;
According to available bandwidth distribution adjustment various former video frequency coding rates to the available bandwidth for being suitable to the user
New video frequency coding rate.
2. method according to claim 1, wherein, it is described to watch various different clear within a predetermined period of time according to user
The history viewing record of degree video determines that the available bandwidth distribution of user includes:
User's viewing institute is determined according to the history viewing record that user watches within a predetermined period of time various different definition videos
State the accounting value of any one in various different definition videos;
Determine that user watches the accumulation accounting value of a certain definition video according to the accounting value, the accumulation accounting value is described
Accounting value corresponding to a certain definition video and less than a certain definition video video corresponding to accounting value
Accumulation and;
Determine that is reacted the available of the user according to various different definition videos and corresponding accumulation accounting value
The matched curve of bandwidth distribution, the abscissa of the matched curve is video frequency coding rate, and ordinate is accumulation accounting value.
3. method according to claim 2, wherein, it is described according to available bandwidth distribution adjustment various former videos
The new video frequency coding rate of encoder bit rate to the available bandwidth for being suitable to the user includes:
The matched curve is differentiated to determine the user density distribution curve on available bandwidth;
It is multiple alternative to determine for each the multiple alternative videos encoder bit rate of configuration in various former video frequency coding rates
Video frequency coding rate group, the plurality of alternative videos encoder bit rate is more than and/or less than corresponding former video frequency coding rate, institute
Multiple alternative videos encoder bit rate groups are stated corresponding to different definition videos;
A video frequency coding rate is arbitrarily selected from each group of the plurality of alternative videos encoder bit rate group successively to constitute
Many set encoder bit rates;
Multiple data flow values are calculated according to the user density distribution curve and many set encoder bit rates;
Various former video frequency coding rates are adjusted a set of volume corresponding to the minimum of a value into the plurality of data flow value
Code code check.
4. method according to claim 2, wherein, it is described according to available bandwidth distribution adjustment various former videos
The new video frequency coding rate of encoder bit rate to the available bandwidth for being suitable to the user includes:
The matched curve is differentiated to determine the user density distribution curve on available bandwidth;
It is multiple alternative to determine for each the multiple alternative videos encoder bit rate of configuration in various former video frequency coding rates
Video frequency coding rate group, the plurality of alternative videos encoder bit rate is more than and/or less than corresponding former video frequency coding rate, institute
Multiple alternative videos encoder bit rate groups are stated corresponding to different definition videos;
A video frequency coding rate is arbitrarily selected from each group of the plurality of alternative videos encoder bit rate group successively to constitute
Many set encoder bit rates;
Multiple video quality value of utilities are calculated according to the user density distribution curve and many set encoder bit rates;
Many set encoder bit rate meters according to corresponding to the video quality value of utility of the user density distribution curve and predetermined quantity
Calculate multiple data flow values, the video quality value of utility of the predetermined quantity is from big from the plurality of video quality value of utility
To the predetermined number value that little order is selected;
Various former video frequency coding rates are adjusted a set of volume corresponding to the minimum of a value into the plurality of data flow value
Code code check.
5. a kind of video frequency coding rate adjusts system, including:
Available bandwidth is distributed determining module, and the history viewing record for watching various different definition videos according to user determines
The available bandwidth distribution of user, various different definition videos correspond to various former video frequency coding rates;
Video frequency coding rate adjusting module, for according at least to available bandwidth distribution adjustment various former coded video bitstreams
The new video frequency coding rate of rate to the available bandwidth for being suitable to the user.
6. system according to claim 5, wherein, the available bandwidth distribution determining module includes:
User watches video statistics unit, for watching going through for various different definition videos within a predetermined period of time according to user
History viewing record determines the accounting value of any one that user is watched in various different definition videos;
Accumulation accounting value determining unit, for determining that user watches the accumulation accounting of a certain definition video according to the accounting value
Value, the accumulation accounting value is the accounting value corresponding to a certain definition video and less than a certain definition video
Video corresponding to accounting value accumulation and;
Matched curve determining unit, for determining one according to various different definition videos and corresponding accumulation accounting value
Bar reacts the matched curve of the available bandwidth distribution of the user, and the abscissa of the matched curve is video frequency coding rate, is indulged
Coordinate is accumulation accounting value.
7. system according to claim 6, wherein, the video frequency coding rate adjusting module includes:
Matched curve derivation unit, it is bent to determine the distribution of the user density on available bandwidth for differentiating to the matched curve
Line;
Alternative videos encoder bit rate group determining unit, for for each configuration in various former video frequency coding rates it is multiple
Alternative videos encoder bit rate to determine multiple alternative videos encoder bit rate groups, the plurality of alternative videos encoder bit rate more than and/
Or less than corresponding former video frequency coding rate, the plurality of alternative videos encoder bit rate group is corresponding to different definition videos;
Encoder bit rate determining unit, for the arbitrarily selection one from each group of the plurality of alternative videos encoder bit rate group successively
Individual video frequency coding rate cover encoder bit rates more to constitute;
Data flow value computing unit, for calculating multiple according to the user density distribution curve and many set encoder bit rates
Data flow value;
Encoder bit rate adjusts unit, for various former video frequency coding rates to be adjusted into the plurality of data flow value most
A set of encoder bit rate corresponding to little value.
8. system according to claim 6, wherein, the video frequency coding rate adjusting module includes:
Matched curve derivation unit, it is bent to determine the distribution of the user density on available bandwidth for differentiating to the matched curve
Line;
Alternative videos encoder bit rate group determining unit, for for each configuration in various former video frequency coding rates it is multiple
Alternative videos encoder bit rate to determine multiple alternative videos encoder bit rate groups, the plurality of alternative videos encoder bit rate more than and/
Or less than corresponding former video frequency coding rate, the plurality of alternative videos encoder bit rate group is corresponding to different definition videos;
Encoder bit rate determining unit, for the arbitrarily selection one from each group of the plurality of alternative videos encoder bit rate group successively
Individual video frequency coding rate cover encoder bit rates more to constitute;
Video quality value of utility computing unit, for calculating multiple according to the user density distribution curve and many set encoder bit rates
Video quality value of utility;
Data flow value computing unit, for according to the video quality value of utility of the user density distribution curve and predetermined quantity
Corresponding many set encoder bit rates calculate multiple data flow values, and the video quality value of utility of the predetermined quantity is from described many
The predetermined number value that descending order is selected in individual video quality value of utility;
Encoder bit rate adjusts unit, for various former video frequency coding rates to be adjusted into the plurality of data flow value most
A set of encoder bit rate corresponding to little value.
9. a kind of electronic equipment, it includes:
At least one processor, and
The memory being connected with least one processor communication, wherein, the memory storage has can be by described at least one
The instruction of individual computing device, the instruction by least one computing device so that at least one processor energy
It is enough to perform:
The history viewing record for watching various different definition videos according to user determines the available bandwidth distribution of user, described many
Plant different definition videos and correspond to various former video frequency coding rates;
According to available bandwidth distribution adjustment various former video frequency coding rates to the available bandwidth for being suitable to the user
New video frequency coding rate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611102875.8A CN106658072A (en) | 2016-12-05 | 2016-12-05 | Method and system for adjusting video encoding rates |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611102875.8A CN106658072A (en) | 2016-12-05 | 2016-12-05 | Method and system for adjusting video encoding rates |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106658072A true CN106658072A (en) | 2017-05-10 |
Family
ID=58819278
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611102875.8A Pending CN106658072A (en) | 2016-12-05 | 2016-12-05 | Method and system for adjusting video encoding rates |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106658072A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107835200A (en) * | 2017-12-19 | 2018-03-23 | 北京奇艺世纪科技有限公司 | A kind of system of selection of video definition, device and electronic equipment |
CN109348259A (en) * | 2018-11-14 | 2019-02-15 | 迪爱斯信息技术股份有限公司 | A kind of the transmission code rate adjustment method and system of wireless network video |
CN109660826A (en) * | 2019-02-01 | 2019-04-19 | 广州视源电子科技股份有限公司 | Video transmission method, device, equipment and storage medium |
CN111405319A (en) * | 2020-03-31 | 2020-07-10 | 北京达佳互联信息技术有限公司 | Bandwidth determination method and device, electronic equipment and storage medium |
WO2024174908A1 (en) * | 2023-02-20 | 2024-08-29 | 抖音视界有限公司 | Bitrate control method, apparatus, media server, terminal device, and storage medium |
-
2016
- 2016-12-05 CN CN201611102875.8A patent/CN106658072A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107835200A (en) * | 2017-12-19 | 2018-03-23 | 北京奇艺世纪科技有限公司 | A kind of system of selection of video definition, device and electronic equipment |
CN107835200B (en) * | 2017-12-19 | 2021-02-23 | 北京奇艺世纪科技有限公司 | Video definition selection method and device and electronic equipment |
CN109348259A (en) * | 2018-11-14 | 2019-02-15 | 迪爱斯信息技术股份有限公司 | A kind of the transmission code rate adjustment method and system of wireless network video |
CN109348259B (en) * | 2018-11-14 | 2021-02-26 | 迪爱斯信息技术股份有限公司 | Method and system for adjusting sending code rate of wireless network video |
CN109660826A (en) * | 2019-02-01 | 2019-04-19 | 广州视源电子科技股份有限公司 | Video transmission method, device, equipment and storage medium |
CN109660826B (en) * | 2019-02-01 | 2020-09-29 | 广州视源电子科技股份有限公司 | Video transmission method, device, equipment and storage medium |
CN111405319A (en) * | 2020-03-31 | 2020-07-10 | 北京达佳互联信息技术有限公司 | Bandwidth determination method and device, electronic equipment and storage medium |
CN111405319B (en) * | 2020-03-31 | 2021-07-23 | 北京达佳互联信息技术有限公司 | Bandwidth determination method and device, electronic equipment and storage medium |
US11388459B2 (en) | 2020-03-31 | 2022-07-12 | Beijing Dajia Internet Information Technology Co., Ltd. | Method and apparatus for determining bandwidth, and electronic device and storage medium |
WO2024174908A1 (en) * | 2023-02-20 | 2024-08-29 | 抖音视界有限公司 | Bitrate control method, apparatus, media server, terminal device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106658072A (en) | Method and system for adjusting video encoding rates | |
CN110268717A (en) | The bit rate of more presentation codes is optimized using statistical information is played | |
CN105208390B (en) | The bit rate control method and its system of Video coding | |
Jiang et al. | Reinforcement learning based rate adaptation for 360-degree video streaming | |
CN101658045B (en) | Coding of a plurality of information signals using common computing power | |
CN106454437B (en) | A kind of streaming media service rate prediction method and device | |
CN104598292A (en) | Adaptive streaming adaptation and resource optimization method applied to cloud-game system | |
Madlener et al. | The electricity-and CO2-saving potentials offered by regulation of European video-streaming services | |
CN107911716A (en) | Adaptation rate for conveying Video service to service group changes | |
CN101656887B (en) | Method and device for selecting rate control algorithm | |
CN103338393A (en) | Video code rate selecting method driven by user experience under HSPA system | |
CN106961603A (en) | Intracoded frame code rate allocation method and device | |
US11800166B2 (en) | Forecasting and reservation of transcoding resources for live streaming | |
CN102148747A (en) | Media stream transmission method and device | |
Hu et al. | Toward Wi-Fi AP-assisted content prefetching for an on-demand TV series: A learning-based approach | |
CN106791850A (en) | Method for video coding and device | |
CN116095355B (en) | Video display control method and device, equipment, medium and product thereof | |
Byrne | Testing models of differentiated products markets: Consolidation in the cable tv industry | |
CN101127883A (en) | Network TV system and content scheduling method for system recording and playing | |
CN103002329B (en) | Device and method for predicting reach-frequency table data of network video advertisements | |
CN112714315A (en) | Layered buffering method and system based on panoramic video | |
CN111669617A (en) | Live video stream transmission method based on intelligent edge | |
CN108737818A (en) | Frame losing method, device and terminal device under a kind of congested network | |
Mu et al. | AMIS: Edge computing based adaptive mobile video streaming | |
CN114040257B (en) | Self-adaptive video stream transmission playing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170510 |