CN107872684A - Video code rate method of adjustment, equipment and system, method for video coding and server - Google Patents

Video code rate method of adjustment, equipment and system, method for video coding and server Download PDF

Info

Publication number
CN107872684A
CN107872684A CN201610846851.7A CN201610846851A CN107872684A CN 107872684 A CN107872684 A CN 107872684A CN 201610846851 A CN201610846851 A CN 201610846851A CN 107872684 A CN107872684 A CN 107872684A
Authority
CN
China
Prior art keywords
video
code
code stream
stream
stackable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610846851.7A
Other languages
Chinese (zh)
Other versions
CN107872684B (en
Inventor
阮科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201610846851.7A priority Critical patent/CN107872684B/en
Publication of CN107872684A publication Critical patent/CN107872684A/en
Application granted granted Critical
Publication of CN107872684B publication Critical patent/CN107872684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2385Channel allocation; Bandwidth allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/613Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for the control of the source by the destination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting

Abstract

The invention discloses a kind of video code rate method of adjustment, equipment and system, method for video coding and video server, it is related to video transfer techniques field.Wherein, video code rate method of adjustment includes:Client is asked to add or leave multicast channel corresponding to stackable code stream to bearer network, and the video code rate of video is played with adjustment;Wherein, the video of broadcasting includes main bit stream or including main bit stream and the stackable code stream.The embodiment of the present invention can realize the adjustment of video code rate by client.

Description

Video code rate method of adjustment, equipment and system, method for video coding and server
Technical field
The present invention relates to video transfer techniques field, especially a kind of video code rate method of adjustment and system, Video coding Method, client and video server.
Background technology
In net cast or other video distribution fields, in order to ensure the video tastes of user, video server fibrous root Actual performance or user's request according to bearer network, it is excellent using the application layer coding such as different code check codings or forward error correction coding Change technology adjusts video code rate, and whole users are served so as to personalization.
But in order to realize that user customizes and personalized service, video server need dynamic monitoring, safeguard and all use The network state and individual demand at family, this seriously constrains scalability when video server provides extensive service.And And the condition monitoring of server side is limited to the precision and real-time of monitoring, it is difficult to comply fully with the actual need of whole users Ask, effect of optimization is limited.
The content of the invention
It is an object of the invention to:A kind of video code rate method of adjustment is proposed, video can be realized by client The adjustment of code check.
According to an aspect of the present invention, there is provided a kind of video code rate method of adjustment, including:Client is asked to bearer network Multicast channel corresponding to stackable code stream is added or left, the video code rate of video is played with adjustment;Wherein, the video bag of broadcasting Include main bit stream or including main bit stream and the stackable code stream.
In one embodiment, client end response in user the demand of video code rate is asked to add to bearer network or from Multicast channel corresponding to stackable code stream is opened, the video code rate of video is played with adjustment;Or client is according to the net monitored Network quality is asked to add or leave multicast channel corresponding to stackable code stream from trend bearer network, and regarding for video is played with adjustment Frequency code rate.
In one embodiment, the stackable code stream includes one or more code streams for being used to increase video definition, Each code stream for being used to increase video definition corresponds to different multicast channels, for increasing different degrees of video definition.
In one embodiment, the client end response asks to add to the demand of video code rate in user to bearer network Or multicast channel corresponding to stackable code stream is left, the video code rate of video is played with adjustment to be included:Regarded in response to user's increase The demand of frequency definition, client determine that the one or more to be obtained is used to increasing the code stream of video definition, and to carrying What network request addition to be obtained is used to increase multicast channel corresponding to the code stream of video definition;Reduce video in response to user The demand of definition, client determine that the one or more to be given up is used to increasing the code stream of video definition, and to bearer network Network request leave to be given up be used for increase multicast channel corresponding to the code stream of video definition.
In one embodiment, the client according to the network quality monitored from trend bearer network ask add or Multicast channel corresponding to stackable code stream is left, the video code rate of video is played with adjustment to be included:Client determines and network matter Target video code check corresponding to flux matched video definition;If target video code check is more than current video code check, client According to the difference of the target video code check and current video code check determination code stream for being used to increase video definition to be obtained, and to What bearer network request addition to be obtained is used to increase multicast channel corresponding to the code stream of video definition;If target video code check Less than current video code check, then client determines that to be given up is used for according to the difference of target video code check and current video code check Increase the code stream of video definition, and it is corresponding that the code stream for being used to increase video definition to be given up is left to bearer network request Multicast channel.
In one embodiment, the stackable code stream includes one or more code streams for being used to provide more High redundancy; Each code stream for being used to provide more High redundancy corresponds to different multicast channels, for providing different degrees of redundancy;It is described Client asks to add from trend bearer network according to the network quality monitored or multicast frequency corresponding to leaving stackable code stream Road, the video code rate of video is played with adjustment to be included:The size of client comparing cell packet loss and preset value;If Network Packet Loss Rate is more than preset value, then client determines that the one or more to be obtained is used to provide more High redundancy according to network packet loss rate Code stream, and add multicast channel corresponding to the code stream that offer more High redundancy is provided to be obtained to bearer network request;In visitor After family end adds multicast channel corresponding to the code stream for being used for offer more High redundancy to be obtained, if network packet loss rate becomes less than Or equal to preset value, then client left to bearer network request added be used to provide corresponding to the code stream of more High redundancy Multicast channel.
According to another aspect of the present invention, there is provided a kind of method for video coding, including:Video server is by original video stream It is split as main bit stream and stackable code stream;The main bit stream and the stackable code stream are encapsulated into carrying by video server respectively Different multicast channel in network.
In one embodiment, the stackable code stream is including for increasing the code stream of video definition and for providing more The code stream of High redundancy, each stackable code stream correspond to different multicast channels.
In one embodiment, the multicast corresponding with the stackable code stream of multicast channel address corresponding to the main bit stream Channel address is interrelated.
According to another aspect of the invention, there is provided a kind of client, including:Code check adjustment unit, for bearer network Request adds or left multicast channel corresponding to stackable code stream, and the video code rate of video is played with adjustment;Wherein, broadcasting regards Frequency includes main bit stream or including main bit stream and the stackable code stream.
In one embodiment, the code check adjustment unit is specifically used in response to user to the demand of video code rate to holding Carry network request and add or leave multicast channel corresponding to stackable code stream, the video code rate of video is played with adjustment;Or root Addition is asked from trend bearer network according to the network quality monitored or leave multicast channel corresponding to stackable code stream, with adjustment Play the video code rate of video.
In one embodiment, the stackable code stream includes one or more code streams for being used to increase video definition, Each code stream for being used to increase video definition corresponds to different multicast channels, for increasing different degrees of video definition.
In one embodiment, the code check adjustment unit includes:Requirement analysis module, for being regarded in response to user's increase The demand of frequency definition, it is determined that the one or more to be obtained is used for the code stream for increasing video definition;Reduce in response to user The demand of video definition, it is determined that the one or more to be given up is used for the code stream for increasing video definition;Multicast request module, For to bearer network request add to be obtained be used for increase multicast channel corresponding to the code stream of video definition;To bearer network Network request leave to be given up be used for increase multicast channel corresponding to the code stream of video definition.
In one embodiment, the code check adjustment unit includes:Network Quality Analysis module, for determining and network matter Target video code check corresponding to flux matched video definition;Code stream determining module, if being more than for target video code check current Video code rate, then video definition is increased according to the difference of target video code check and current video code check being used for of determining to be obtained Code stream;If target video code check is less than current video code check, according to the difference of target video code check and current video code check It is determined that to be given up is used to increase the code stream of video definition;Multicast request module, for be obtained to bearer network request addition Take be used for increase multicast channel corresponding to the code stream of video definition;To bearer network request leave to be given up be used for increase Multicast channel corresponding to the code stream of video definition.
In one embodiment, the stackable code stream includes one or more code streams for being used to provide more High redundancy; Each code stream for being used to provide more High redundancy corresponds to different multicast channels, for providing different degrees of redundancy;It is described Code check adjustment unit includes:Network Quality Analysis module, the size for comparing cell packet loss and preset value;Code stream determines mould Block, if being more than preset value for network packet loss rate, determine that the one or more to be obtained is used to provide according to network packet loss rate The code stream of more High redundancy;Multicast request module, it is used for offer more highly redundant for what is obtained to bearer network request addition Multicast channel corresponding to the code stream of degree adds multicast corresponding to the code stream for being used for offer more High redundancy to be obtained in client After channel, if network packet loss rate becomes less than or equal to preset value, client leaves added use to bearer network request Multicast channel corresponding to code stream in offer more High redundancy.
In accordance with a further aspect of the present invention, there is provided a kind of video server, including:Split cells, for by original video Stream is split as main bit stream and stackable code stream;Encapsulation unit, for the main bit stream and the stackable code stream to be encapsulated respectively The different multicast channel into bearer network.
In one embodiment, the stackable code stream is including for increasing the code stream of video definition and for providing more The code stream of High redundancy, each stackable code stream correspond to different multicast channels.
In one embodiment, the multicast channel address of the main bit stream and the stackable code stream is interrelated.
According to the further aspect of the present invention, there is provided a kind of video code rate adjusts system, including:Any one above-mentioned embodiment Video server described in described client and any one above-mentioned embodiment.
The adjustment of video code rate is realized in proposition of the embodiment of the present invention using client, and specifically, client passes through addition Or the i.e. adjustable video code rate for playing video of multicast channel corresponding to stackable code stream is left, with passing through video in the prior art Server realizes that the adjustment of video code rate is compared, and video code rate method of adjustment of the present invention is without server intervention, the degree of accuracy and reality When property is all more preferable, and considerably reduces the burden of server, can effectively lift the scalability of extensive Video service.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of method for video coding according to an embodiment of the invention;
Fig. 2 shows the schematic diagram of an example of method for video coding;
Fig. 3 is the schematic flow sheet of video code rate method of adjustment according to an embodiment of the invention;
Fig. 4 is the structural representation of client according to an embodiment of the invention;
Fig. 5 is the structural representation according to the code check adjustment unit of invention one embodiment;
Fig. 6 is the structural representation according to the code check adjustment unit for inventing another embodiment;
Fig. 7 is the structural representation according to the code check adjustment unit for inventing another embodiment;
Fig. 8 is the structural representation of video server according to an embodiment of the invention;
Fig. 9 is the structural representation of video code rate adjustment system according to an embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Unless specifically stated otherwise, the part and positioned opposite, the digital table of step otherwise illustrated in these embodiments Do not limited the scope of the invention up to formula and numerical value.
Simultaneously, it should be appreciated that for the ease of description, the size of the various pieces shown in accompanying drawing is not according to reality Proportionate relationship draw.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable In the case of, the technology, method and apparatus should be considered as authorizing part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely exemplary, without It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it need not be further discussed in subsequent accompanying drawing in individual accompanying drawing.
Fig. 1 is the schematic flow sheet of method for video coding according to an embodiment of the invention.As shown in figure 1, this method Comprise the following steps:
Step 102, original video stream is split as main bit stream and stackable code stream by video server.
Here it is possible to original video stream is split as by main bit stream and stackable code stream by video encoder.Main bit stream is It is adapted to the code stream of mainstream user's demand and network condition.Stackable code stream can include but is not limited to be used to increase video definition Code stream and code stream etc. (as shown in Figure 2) for providing more High redundancy.For example, variable bitrate coding can be passed through Technology obtains the code stream for increasing video definition.In another example it can be used for by forward error correction (FEC) coding techniques The code stream of more High redundancy is provided, to adapt to different network conditions.
Main bit stream can improve video definition, such as video code rate with for increasing after the code stream of video definition is superimposed 720P etc. is brought up to from 480P.Main bit stream can overcome different degrees of net with for providing after the code stream of more High redundancy is superimposed Network packet loss, such as 1% packet loss, 5% packet loss etc..
It should be noted that the type of above-mentioned stackable code stream can be increased or be deleted according to actual conditions, with full The sufficient more individual demands of user.
Step 104, main bit stream and stackable code stream are encapsulated into multicast different in bearer network by video server respectively Channel.
With reference to figure 2, for example, by network encoder main bit stream and stackable code stream can be encapsulated into bearer network respectively Middle different multicast channel, each stackable code stream can correspond to different multicast channels.In one embodiment, main bit stream pair The multicast channel address multicast channel address corresponding with stackable code stream answered can with interrelated, namely the address of main channel with Multicast channel 1-1, multicast channel 1-2, multicast channel 2-1, multicast channel 2-2 address can be with interrelated.For example, it can lead to Cross preset algorithm (such as hash algorithm etc.) and the keyword (such as type, code check etc.) of stackable code stream is mapped to one individually Numerical value, then corresponding with the main bit stream multicast channel address of the numerical value is added, so as to obtain the group of each stackable code stream Broadcast channel address.
After Internet coding is completed, the video frequency program can provide the user service.
The present embodiment is combined application layer coding techniques with network layer multicast technology, and the video flowing of application layer is split, entered And be respectively mapped to the code stream of fractionation in different multicast channels, so as to realize distributed video code rate in client Dynamic adjustment.
It is described below and video code rate method of adjustment is realized by client.
Fig. 3 is the schematic flow sheet of video code rate method of adjustment according to an embodiment of the invention.As shown in figure 3, should Method includes:
Step 302, client asks to add or leave multicast channel corresponding to stackable code stream to bearer network, with adjustment Play the video code rate of video.Here, the video of broadcasting can include main bit stream or can include main bit stream and stackable code Stream.Main bit stream and stackable code stream are packaged into multicast channel different in bearer network.In one embodiment, stackable code Stream can include one or more code streams for being used to increase video definition, and each code stream for increasing video definition is corresponding Different multicast channel, for increasing different degrees of video definition.In another embodiment, stackable code stream can wrap Include one or more code streams for being used to provide more High redundancy;Each code stream for being used to provide more High redundancy corresponds to different groups Channel is broadcast, for providing different degrees of redundancy.It should be understood that stackable code stream is not limited to the code stream of above two type, In other examples, stackable code stream can also include other kinds of code stream according to actual conditions.
For example, the currently playing video of client only includes main bit stream, by adding stackable code to bearer network request Multicast channel corresponding to stream, client can get corresponding stackable code stream, for example, client adds the group shown in Fig. 2 After broadcasting channel 1-1, video code rate can increase to 720P from 480P, and the video now played includes main bit stream and multicast channel 1- Stackable code stream corresponding to 1.
In another example the currently playing video of client includes to fold corresponding to main bit stream and multicast channel 1-1 shown in Fig. 2 Raise the price stream, by leaving multicast channel corresponding to stackable code stream to bearer network request, client, which can be given up, accordingly may be used Code stream is superimposed, for example, after client leaves the multicast channel 1-1 shown in Fig. 2, video code rate is just reduced to 480P from 720P, this When the video that plays only include main bit stream.
In the present embodiment, client is regarded by adding or leaving the i.e. adjustable broadcasting of multicast channel corresponding to stackable code stream The video code rate of frequency, for this video code rate method of adjustment without video server intervention, the degree of accuracy and real-time are all more preferable, and The burden of video server is considerably reduced, can effectively lift the scalability of extensive Video service.
In actual applications, the adjustment that client carries out video code rate, the present invention can be triggered by different modes Provide the following two kinds mode.
Under a kind of triggering mode, client can add in response to user to the demand of video code rate to bearer network request Enter or leave multicast channel corresponding to stackable code stream, the video code rate of video is played with adjustment.
For example, increasing the demand of video definition in response to user, client can determine the one or more to be obtained For increasing the code stream of video definition, and the code stream for being used to increase video definition to be obtained is added to bearer network request Corresponding multicast channel.Reduce the demand of video definition in response to user, client determines the one or more use to be given up In the code stream of increase video definition, and the code stream pair for being used to increase video definition to be given up is left to bearer network request The multicast channel answered.
For example, with reference to figure 2, it is assumed that current video code check is 480P, if user's request increases to video code rate 720P, then client can determine the stackable code stream to be obtained accordingly, can ask to add afterwards corresponding to multicast channel 1- 1.Here, client can determine it is determined that after the stackable code stream to be obtained according to preset algorithm (such as hash algorithm) Multicast channel corresponding to the stackable code stream to be obtained, then ask multicast channel determined by addition;Or can in client To pre-save multicast channel corresponding to the different stackable code streams of server transmission, it is determined that the stackable code to be obtained It can directly ask to add corresponding multicast channel after stream.If user continues request increases to 1080P, client by video code rate End can ask to add multicast channel 1-2 again.
Under another triggering mode, client can add according to the network quality monitored from the request of trend bearer network Enter or leave multicast channel corresponding to stackable code stream, the video code rate of video is played with adjustment.
In a specific implementation, client can determine mesh corresponding with the video definition of network quality matching Mark video code rate;If target video code check is more than current video code check, client is according to target video code check and current video The code stream for being used to increase video definition that the difference of code check determines to be obtained, and ask the addition use to be obtained to bearer network Multicast channel corresponding to code stream in increase video definition;If target video code check is less than current video code check, client According to the code stream for being used to increase video definition to be given up of the difference of target video code check and current video code check determination, and to Bearer network request leave to be given up be used for increase multicast channel corresponding to the code stream of video definition.
In another specific implementation, client can be with the size of comparing cell packet loss and preset value;If network Packet loss is more than preset value, then client determines that the one or more to be obtained is used to provide more highly redundant according to network packet loss rate The code stream of degree, and add multicast channel corresponding to the code stream that offer more High redundancy is provided to be obtained to bearer network request; After client adds multicast channel corresponding to the code stream for being used for offer more High redundancy to be obtained, if network packet loss rate becomes Less than or equal to preset value, then client leaves the code stream pair for being used to provide more High redundancy added to bearer network request The multicast channel answered.
Above two triggering mode only needs network quality of each client according to residing for user's request and itself to touch The adjustment of video code rate is sent out, this mode can better adapt to users ' individualized requirement and network environment, and without video Server monitors the demand of each user and residing network environment, greatly reduces the pressure of video server, improves The scalability of video server.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and its The difference of its embodiment, same or analogous part cross-reference between each embodiment.For client kimonos For device embodiment of being engaged in, because it is substantially corresponding with embodiment of the method, so description is fairly simple, related part is referring to method The part explanation of embodiment.
Fig. 4 is the structural representation of client according to an embodiment of the invention.As shown in figure 4, client can wrap Code check adjustment unit 401 is included, for asking to add or leave multicast channel corresponding to stackable code stream to bearer network, with adjustment The video code rate of video is played, the video of broadcasting can include main bit stream or can include main bit stream and stackable code stream.
The client of the present embodiment is regarded by adding or leaving the i.e. adjustable broadcasting of multicast channel corresponding to stackable code stream The video code rate of frequency, for this video code rate method of adjustment without server intervention, the degree of accuracy and real-time are all more preferable, and significantly Degree reduces the burden of server, can effectively lift the scalability of extensive Video service.
In one implementation, the specific need that can be used in response to user to video code rate of code check adjustment unit 401 Ask and ask to add or leave multicast channel corresponding to stackable code stream to bearer network, the video code rate of video is played with adjustment; Or it can ask to add from trend bearer network according to the network quality monitored or multicast corresponding to leaving stackable code stream Channel, the video code rate of video is played with adjustment.Each client can be according to the network quality residing for user's request and itself The adjustment of video code rate is can trigger, this mode can better adapt to users ' individualized requirement and network environment, and nothing Video server is needed to monitor the demand of each user and residing network environment, greatly reduces the pressure of video server, Improve the scalability of video server.Fig. 5 is the structural representation according to the code check adjustment unit of invention one embodiment. Fig. 6 is the structural representation according to the code check adjustment unit for inventing another embodiment., can in Fig. 5 and embodiment illustrated in fig. 6 Superposition code stream can include one or more code streams for being used to increase video definition, each code for being used to increase video definition The corresponding different multicast channel of stream, for increasing different degrees of video definition.
As shown in figure 5, code check adjustment unit 401 can include requirement analysis module 411 and multicast request module 421.
Requirement analysis module 411 is used for the demand for increasing video definition in response to user, it is determined that to be obtained one or Multiple code streams for being used to increase video definition;Reduce the demand of video definition in response to user, it is determined that one that to be given up Or multiple code streams for being used to increase video definition.Multicast request module 421 is used to add what is obtained to bearer network request For increasing multicast channel corresponding to the code stream of video definition;To bearer network request leave to be given up be used for increase video Multicast channel corresponding to the code stream of definition.
As shown in fig. 6, code check adjustment unit 401 can include Network Quality Analysis module 431, code stream determining module 441 With multicast request module 451.
Network Quality Analysis module 431 is used to determine target video code corresponding with the video definition of network quality matching Rate.If code stream determining module 441 is more than current video code check for target video code check, according to target video code check and currently The code stream for being used to increase video definition that the difference of video code rate determines to be obtained;If target video code check is less than current video Code check, then determine that to be given up is used to increase the code of video definition according to the difference of target video code check and current video code check Stream.Multicast request module 451 is used for corresponding to the bearer network request addition code stream for being used to increase video definition to be obtained Multicast channel;To bearer network request leave to be given up be used for increase multicast channel corresponding to the code stream of video definition.
Fig. 7 is the structural representation according to the code check adjustment unit for inventing another embodiment.It is stackable in the embodiment Code stream includes one or more code streams for being used to provide more High redundancy;Each code stream for being used to provide more High redundancy corresponds to not Same multicast channel, for providing different degrees of redundancy.
As shown in fig. 7, code check adjustment unit 401 can include Network Quality Analysis module 461, code stream determining module 471 With multicast request module 481.
Network Quality Analysis module 461 is used for the size of comparing cell packet loss and preset value.Code stream determining module 471, If being more than preset value for network packet loss rate, it is higher to determine that the one or more to be obtained is used for offer according to network packet loss rate The code stream of redundancy.Multicast request module 481 is used to be used for offer more High redundancy to what bearer network request addition to be obtained Code stream corresponding to multicast channel client add to be obtained be used for provide more High redundancy code stream corresponding to multicast frequency Behind road, if network packet loss rate becomes less than or equal to preset value, client leaves being used for of being added to bearer network request Multicast channel corresponding to the code stream of more High redundancy is provided.
Fig. 8 is the structural representation of video server according to an embodiment of the invention.As shown in figure 8, Video service Device can include split cells 801 and encapsulation unit 802.Split cells 801 be used for by original video stream be split as main bit stream and Stackable code stream.Encapsulation unit 802 is used to main bit stream and stackable code stream being encapsulated into multicast different in bearer network respectively Channel.In one embodiment, stackable code stream can include be used for increase video definition code stream and for provide it is higher The code stream of redundancy, each stackable code stream correspond to different multicast channels.In one embodiment, main bit stream and stackable code The multicast channel address of stream can be with interrelated.
Fig. 9 is the structural representation of video code rate adjustment system according to an embodiment of the invention.As shown in figure 9, regard Frequency code rate adjustment system can include the client 901 described in any one above-mentioned embodiment and any one above-mentioned embodiment institute The video server 902 stated.
In the present embodiment, the video flowing of application layer is split into main bit stream and stackable code stream by video server, and then will Code stream after fractionation is respectively mapped in different multicast channels, and client is by adding or leaving group corresponding to stackable code stream Broadcast the i.e. adjustable video code rate for playing video of channel, this video code rate method of adjustment is without video server intervention, accurately Degree and real-time are all more preferable, and considerably reduce the burden of video server, can effectively lift extensive Video service Scalability.One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can lead to The related hardware of programmed instruction is crossed to complete, foregoing program can be stored in a computer read/write memory medium, the journey Sequence upon execution, execution the step of including above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. is various can be with the medium of store program codes.
Video code rate method of adjustment provided by the invention and method for video coding are suitable to but are not limited to net cast field.
Description of the invention provides for the sake of example and description, and is not exhaustively or by the present invention It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Select and retouch State embodiment and be to more preferably illustrate the principle and practical application of the present invention, and one of ordinary skill in the art is managed The present invention is solved so as to design the various embodiments with various modifications suitable for special-purpose.

Claims (19)

  1. A kind of 1. video code rate method of adjustment, it is characterised in that including:
    Client is asked to add or leave multicast channel corresponding to stackable code stream to bearer network, and regarding for video is played with adjustment Frequency code rate;
    Wherein, the video of broadcasting includes main bit stream or including main bit stream and the stackable code stream.
  2. 2. according to the method for claim 1, it is characterised in that
    Client end response asks to add or leave corresponding to stackable code stream to the demand of video code rate in user to bearer network Multicast channel, the video code rate of video is played with adjustment;Or
    Client asks to add from trend bearer network according to the network quality monitored or group corresponding to leaving stackable code stream Channel is broadcast, the video code rate of video is played with adjustment.
  3. 3. according to the method for claim 2, it is characterised in that the stackable code stream includes one or more for increasing The code stream of video definition, each code stream for being used to increase video definition corresponds to different multicast channels, for increasing difference The video definition of degree.
  4. 4. according to the method for claim 3, it is characterised in that demand of the client end response in user to video code rate Ask to add or leave multicast channel corresponding to stackable code stream to bearer network, the video code rate bag of video is played with adjustment Include:
    Increase the demand of video definition in response to user, client determines that the one or more to be obtained is clear for increasing video The code stream of clear degree, and it is used to increase multicast frequency corresponding to the code stream of video definition to what bearer network request addition to be obtained Road;
    Reduce the demand of video definition in response to user, client determines that the one or more to be given up is clear for increasing video The code stream of clear degree, and left to bearer network request to be given up be used to increase corresponding to the code stream of video definition multicast frequency Road.
  5. 5. according to the method for claim 3, it is characterised in that the client is according to the network quality monitored from trend Bearer network request adds or left multicast channel corresponding to stackable code stream, and the video code rate of video is played with adjustment and is included:
    Client determines target video code check corresponding with the video definition of network quality matching;
    If target video code check is more than current video code check, client is according to the difference of target video code check and current video code check The different determination code stream for being used to increase video definition to be obtained, and regarded to what bearer network request addition to be obtained for increase Multicast channel corresponding to the code stream of frequency definition;
    If target video code check is less than current video code check, client is according to the difference of target video code check and current video code check What different determination to be given up is used to increase the code stream of video definition, and being regarded for increase of being given up is left to bearer network request Multicast channel corresponding to the code stream of frequency definition.
  6. 6. according to the method for claim 2, it is characterised in that the stackable code stream includes one or more for providing The code stream of more High redundancy;Each code stream for being used to provide more High redundancy corresponds to different multicast channels, for providing difference The redundancy of degree;
    The client asks addition from trend bearer network or leaves stackable code stream to correspond to according to the network quality monitored Multicast channel, with adjustment play video video code rate include:
    The size of client comparing cell packet loss and preset value;
    If network packet loss rate is more than preset value, client determines that the one or more to be obtained is used to carry according to network packet loss rate Added for the code stream of more High redundancy, and to bearer network request corresponding to the code stream that offer more High redundancy is provided to be obtained Multicast channel;
    After client adds multicast channel corresponding to the code stream for being used for offer more High redundancy to be obtained, if network packet loss rate Preset value is become less than or equal to, then client leaves the code for being used to provide more High redundancy added to bearer network request Multicast channel corresponding to stream.
  7. A kind of 7. method for video coding, it is characterised in that including:
    Original video stream is split as main bit stream and stackable code stream by video server;
    The main bit stream and the stackable code stream are encapsulated into multicast channel different in bearer network by video server respectively.
  8. 8. according to the method for claim 7, it is characterised in that the stackable code stream includes being used to increase video definition Code stream and code stream for providing more High redundancy, each stackable code stream correspond to different multicast channels.
  9. 9. the method according to claim 7 or 8, it is characterised in that multicast channel address corresponding to the main bit stream and institute It is interrelated to state multicast channel address corresponding to stackable code stream.
  10. A kind of 10. client, it is characterised in that including:
    Code check adjustment unit, for asking to add or leave multicast channel corresponding to stackable code stream to bearer network, with adjustment Play the video code rate of video;
    Wherein, the video of broadcasting includes main bit stream or including main bit stream and the stackable code stream.
  11. 11. client according to claim 10, it is characterised in that
    The code check adjustment unit be specifically used for the demand of video code rate is asked to add to bearer network in response to user or from Multicast channel corresponding to stackable code stream is opened, the video code rate of video is played with adjustment;Or according to the network quality monitored Ask to add or leave multicast channel corresponding to stackable code stream from trend bearer network, the video codes of video are played with adjustment Rate.
  12. 12. client according to claim 11, it is characterised in that the stackable code stream is used for including one or more Increase the code stream of video definition, each code stream for being used to increase video definition corresponds to different multicast channels, for increasing Different degrees of video definition.
  13. 13. client according to claim 12, it is characterised in that the code check adjustment unit includes:
    Requirement analysis module, for increasing the demand of video definition in response to user, it is determined that the one or more use to be obtained In the code stream of increase video definition;Reduce the demand of video definition in response to user, it is determined that the one or more to be given up For increasing the code stream of video definition;
    Multicast request module, it is used to increase corresponding to the code stream of video definition for what is obtained to bearer network request addition Multicast channel;To bearer network request leave to be given up be used for increase multicast channel corresponding to the code stream of video definition.
  14. 14. client according to claim 12, it is characterised in that the code check adjustment unit includes:
    Network Quality Analysis module, for determining target video code check corresponding with the video definition of network quality matching;
    Code stream determining module, if being more than current video code check for target video code check, according to target video code check and currently The code stream for being used to increase video definition that the difference of video code rate determines to be obtained;If target video code check is less than current video Code check, then determine that to be given up is used to increase the code of video definition according to the difference of target video code check and current video code check Stream;
    Multicast request module, it is used to increase corresponding to the code stream of video definition for what is obtained to bearer network request addition Multicast channel;To bearer network request leave to be given up be used for increase multicast channel corresponding to the code stream of video definition.
  15. 15. client according to claim 11, it is characterised in that the stackable code stream is used for including one or more The code stream of more High redundancy is provided;Each code stream for being used to provide more High redundancy corresponds to different multicast channels, for providing Different degrees of redundancy;
    The code check adjustment unit includes:
    Network Quality Analysis module, the size for comparing cell packet loss and preset value;
    Code stream determining module, if being more than preset value for network packet loss rate, to be obtained one is determined according to network packet loss rate Or multiple code streams for being used to provide more High redundancy;
    Multicast request module, for being added to bearer network request corresponding to the code stream for being used for offer more High redundancy to be obtained Multicast channel is after client adds multicast channel corresponding to the code stream for being used for offer more High redundancy to be obtained, if network is lost Bag rate becomes less than or equal to preset value, then client to bearer network request leave added be used for provide more High redundancy Code stream corresponding to multicast channel.
  16. A kind of 16. video server, it is characterised in that including:
    Split cells, for original video stream to be split as into main bit stream and stackable code stream;
    Encapsulation unit, for the main bit stream and the stackable code stream to be encapsulated into multicast frequency different in bearer network respectively Road.
  17. 17. video server according to claim 16, it is characterised in that the stackable code stream includes regarding for increase The code stream of frequency definition and the code stream for providing more High redundancy, each stackable code stream correspond to different multicast channels.
  18. 18. the video server according to claim 16 or 17, it is characterised in that the main bit stream and the stackable code The multicast channel address of stream is interrelated.
  19. 19. a kind of video code rate adjusts system, it is characterised in that including:Client described in claim 11-15 any one With the video server described in claim 16-18 any one.
CN201610846851.7A 2016-09-23 2016-09-23 Video code rate adjusting method, device and system, video coding method and server Active CN107872684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610846851.7A CN107872684B (en) 2016-09-23 2016-09-23 Video code rate adjusting method, device and system, video coding method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610846851.7A CN107872684B (en) 2016-09-23 2016-09-23 Video code rate adjusting method, device and system, video coding method and server

Publications (2)

Publication Number Publication Date
CN107872684A true CN107872684A (en) 2018-04-03
CN107872684B CN107872684B (en) 2020-02-28

Family

ID=61750747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610846851.7A Active CN107872684B (en) 2016-09-23 2016-09-23 Video code rate adjusting method, device and system, video coding method and server

Country Status (1)

Country Link
CN (1) CN107872684B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572780A (en) * 2018-06-06 2019-12-13 成都鼎桥通信技术有限公司 method, device, equipment and medium for adjusting transmission rate of video group call service

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330436A (en) * 2007-06-19 2008-12-24 上海贝尔阿尔卡特股份有限公司 Method and device for transmitting adjustable multicast multimedia service data
CN101453639A (en) * 2007-11-29 2009-06-10 展讯通信(上海)有限公司 Encoding, decoding method and system for supporting multi-path video stream of ROI region
CN101778104A (en) * 2009-12-29 2010-07-14 常州中流电子科技有限公司 System and method for playing stream media by using self-adaption bandwidth
CN101777960A (en) * 2008-11-17 2010-07-14 华为终端有限公司 Audio encoding method, audio decoding method, related device and communication system
CN102204268A (en) * 2011-05-31 2011-09-28 华为技术有限公司 Method and device for direct broadcast multi-code switching
CN103327416A (en) * 2013-07-19 2013-09-25 西安电子科技大学 Multicast method for scalable video coding (SVC) video in wireless local area network
CN104869473A (en) * 2015-05-18 2015-08-26 梅红兵 Video distribution network system integrating Internet and radio and television network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330436A (en) * 2007-06-19 2008-12-24 上海贝尔阿尔卡特股份有限公司 Method and device for transmitting adjustable multicast multimedia service data
CN101453639A (en) * 2007-11-29 2009-06-10 展讯通信(上海)有限公司 Encoding, decoding method and system for supporting multi-path video stream of ROI region
CN101777960A (en) * 2008-11-17 2010-07-14 华为终端有限公司 Audio encoding method, audio decoding method, related device and communication system
CN101778104A (en) * 2009-12-29 2010-07-14 常州中流电子科技有限公司 System and method for playing stream media by using self-adaption bandwidth
CN102204268A (en) * 2011-05-31 2011-09-28 华为技术有限公司 Method and device for direct broadcast multi-code switching
CN103327416A (en) * 2013-07-19 2013-09-25 西安电子科技大学 Multicast method for scalable video coding (SVC) video in wireless local area network
CN104869473A (en) * 2015-05-18 2015-08-26 梅红兵 Video distribution network system integrating Internet and radio and television network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572780A (en) * 2018-06-06 2019-12-13 成都鼎桥通信技术有限公司 method, device, equipment and medium for adjusting transmission rate of video group call service
CN110572780B (en) * 2018-06-06 2021-10-22 成都鼎桥通信技术有限公司 Method, device, equipment and medium for adjusting transmission rate of video group call service

Also Published As

Publication number Publication date
CN107872684B (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN103069492B (en) Use storage method and the client terminal device of the storage file format for transmission of multimedia streams file
CN103856806B (en) Video stream switching method, apparatus and system
US20100223648A1 (en) Implementation Method And System For A Media-On-Demand Frame-Spanning Playing Mode In A Peer-To-Peer Network
CN103119934B (en) A media streaming apparatus
CN102802054B (en) Control method during a kind of multi-stream video is live and device
Bilal et al. Crowdsourced multi-view live video streaming using cloud computing
CN107810624A (en) The section of the cache for broadcast is sent with signal
US20090030976A1 (en) Variable fidelity media provision system and method
CN104469261B (en) A kind of video conferencing system and method based on CDN
CN104303470B (en) In the method broadcasted with send and receive grouping in communication system
US20070078954A1 (en) Apparatus and method for providing high speed download service of multimedia contents
DE112013002247T5 (en) Combined broadcast and unicast transmission
CN105933727A (en) Video stream transcoding and distributing method applied to live game video streaming platform
CN107835424A (en) A kind of media sync transmission player method based on data perception
CN101917612A (en) Streaming media video coding method and device
JP2008524893A (en) Variable bit rate transmission method for solving transmission channel
CN109257631A (en) Video carousel playback method, device, computer equipment and storage medium
CN109587581A (en) Video breviary generation method and video breviary generating means
CN109688417A (en) A kind of data distribution systems, method, apparatus, TV box and storage medium
Pang et al. Optimizing personalized interaction experience in crowd-interactive livecast: A cloud-edge approach
CN102724557A (en) Method and device for coding control in multi-flow audio live broadcasting
CN102209262B (en) Method, device and system for scheduling contents
CN104469398A (en) Network video image processing method and device
CN107087214A (en) Realize method, client and system that streaming medium content speed is played
CN108055574A (en) Media file transcoding generates the method and system of multitone rail multi-subtitle on-demand content

Legal Events

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