CN100588249C - Method, system and terminal for adjusting video quality - Google Patents

Method, system and terminal for adjusting video quality Download PDF

Info

Publication number
CN100588249C
CN100588249C CN200610103597.8A CN200610103597A CN100588249C CN 100588249 C CN100588249 C CN 100588249C CN 200610103597 A CN200610103597 A CN 200610103597A CN 100588249 C CN100588249 C CN 100588249C
Authority
CN
China
Prior art keywords
video
terminal
side terminal
list item
quality
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.)
Active
Application number
CN200610103597.8A
Other languages
Chinese (zh)
Other versions
CN101115196A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN200610103597.8A priority Critical patent/CN100588249C/en
Priority to PCT/CN2007/070335 priority patent/WO2008014707A1/en
Publication of CN101115196A publication Critical patent/CN101115196A/en
Application granted granted Critical
Publication of CN100588249C publication Critical patent/CN100588249C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/75Media network packet handling
    • H04L65/752Media network packet handling adapting media to network capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4425Monitoring of client processing errors or hardware failure
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen
    • 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/637Control signals issued by the client directed to the server or network components
    • H04N21/6373Control signals issued by the client directed to the server or network components for rate control, e.g. request to the server to modify its transmission rate
    • 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/637Control signals issued by the client directed to the server or network components
    • H04N21/6377Control signals issued by the client directed to the server or network components directed to server
    • H04N21/6379Control signals issued by the client directed to the server or network components directed to server directed to encoder, e.g. for requesting a lower encoding rate
    • 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/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]
    • 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/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]

Abstract

The invention discloses a method, a system and a terminal of a video quality adjustment, which solves the problem that a video transmission quality is influenced when an estimation of a network bandwidth is not exact because in the prior art a current network bandwidth needs to be estimated. The method of the invention comprises that: a default grade items are retrieved from a presupposed coding grade table and based on a parameter of the default grade items, a video connection is built. In addition, a real-time time transport control protocol RTCP is received and sent for the purpose of judging web state and according to the judging result, the current coding grade items is correspondingly adjusted. The network transmission resources terminal of the invention comprises an encoding unit, aRTCP transmission unit and a memory cell of the coding grade table for presupposing and coding grade table, a grade table items retrieval unit which is used for retrieving the corresponding grade items from the coding grade table stored in the memory cell of the coding grade table according to the received judging result of the web state and the retrieved parameter of the grade items is output tothe encoding unit. The invention can avoid the estimation of the current network bandwidth.

Description

Regulate method, system and the terminal of video quality
Technical field
The present invention relates to field of video communication, particularly relate to method, system and the terminal of regulating video quality.
Background technology
Increasingly mature along with the fast development of the Internet and multimedia technology, use more and more widely in the market of video communication, the mode that realizes video communication also becomes varied, as video telephone, instant messaging, Video chat, IPTV, remote monitoring, and tele-medicine etc.The bright prospects of video communication development make it become another important communication form after Speech Communication.
Video communication generally be special use or public communication network on, point-to-point or point-to-multipoint transmits video data, exchanges widely and the angle of lower cost from user expectation, common network will be user's a first-selection.And simultaneously owing to the requirement of video communication to real-time and interactivity, the network of carrying video communication must be able to guarantee the fluency and the quality of video.In recent years, the IP of communication network changed into the main flow into network development, and the video communication of IP based network is widely used and broad development.IP network be to use ICP/IP protocol towards connectionless network, H.323 standard is the video communication standard that is applied to IP network that ITU-T formulated in 1996, it is the video communication standard that has a large amount of business users at present, has obtained general approval and application widely.
What the IP network of carrying video communication at first will be faced is bandwidth problem, is example with the Video chat, and rule of thumb numerical value uses popular H.263 coding standard, guarantee acceptable quality and fluency, and needing the network bandwidth is 128~256kbit/s.Owing to be interactive type communication, add the load that network transmits, the point-to-point video calling of a reality occupies 2.5 times (320~640kbit/s) of this bandwidth possibly.Therefore, video communication need consume a large amount of network bandwidths, be under diverse network (as the Internet, local area network (LAN)) quality assurance parameter QoS, just need regulate and carry out bandwidth control by video quality.
Secondly, video communication is very sensitive to time delay and shake, so the high user datagram protocol UDP agreement of real-time is generally all adopted in video transmission.But because udp protocol without any congestion avoidance algorithm, therefore causes network over loading and high packet loss easily, thereby influences the transmission quality of video.Therefore video communication also needs the support of RTP/RTCP agreement, and RTP combines with RTCP can provide flow control and congested control for network.During the RTP session, each participant periodically transmits the RTCP bag.Contain the quantity of data packets that has sent, the statistics of losing such as quantity of data packets in the RTCP bag, these information are to judge that network condition is to carry out the main foundation of dynamic video quality adjustment.
The quality control of video transmission at present generally has following several scheme:
1, the video coding of minimum transfer.Promptly producing video code flow according to minimum acceptable bandwidth by encoder transmits.
2, transcoding technology.Promptly preserve the enough good compressed video data of a quality in server, when needs reduced bit rate output, server only need carry out the decoding and the coding of part just can export suitable video data stream.
3, code stream handoff technique.Preserve a plurality of copies of the different quality of same video frequency program in the server, the I frame of these code streams aligns, and server selects a suitable code stream to send to the user according to the user network bandwidth situation.
4, adaptive video coding.Promptly adjust the parameter of encoder automatically, make the code check of output code flow adapt to the coding method of network change according to the variation of network environment.General way is that transmit leg is divided into the Real-time Transport Protocol bag with packed data stream and sends to the recipient, the recipient monitors the propagation delay time and the packet loss of RTP packet, by the rtcp protocol in the Real-time Transport Protocol Network Transmission situation is fed back to transmit leg, transmit leg is adjusted data transmission code check according to network bandwidth situation and is made it to be complementary with network environment.
The Video Coding Scheme of prior art 1 described minimum transfer, its major defect are that video transmission lacks the flexibility that adapts to the network dynamic change;
Prior art 2 and 3 described transcoding technologies and code stream handoff technique, it has improved the carrying cost of server greatly in order to increase flexibility;
Prior art 4 described adaptive video coding schemes are a kind of comparatively flexibly schemes, but it need estimate the current network bandwidth value, and adjust data transmission code check in view of the above, when estimating that the quality of punctual video transmission will not be affected.
Summary of the invention
The invention provides method, system and the terminal of regulating video quality, need estimate the current network bandwidth value, when estimating that unpunctual video transmission quality is with affected problem in order to solve prior art.
The inventive method comprises the following steps:
Sending side terminal extracts the default level list item from preset coding rank table, and sets up the video connection with the parameter in this list item; And
Sending side terminal sends RTCP Real-time Transport Control Protocol RTCP bag with the adaptive time interval, receiving side terminal is judged network condition according to the information in the RTCP bag that receives, sending side terminal is according to the corresponding adjustment present encoding of the network condition judged result rank list item of receiving from receiving side terminal, wherein, described adaptive time interval=(time that video has been set up) * (EXP (I frame period time/125)-1).
Wherein, each rank list item in the described code level table comprises following parameters: key frame I frame period, quality is preferential or speed is preferential, the horizontal scaling of frame per second, video window under the preferential situation of bandwidth, speed under the preferential situation of frame per second, speed under the preferential situation of bandwidth, quality under the preferential situation of quality, and the vertical scaling of video window.
In sum, lower terminal capability is determined the maximum video frame per second in the terminal capability with receiving-transmitting sides, and exceeds with this maximum video frame per second, available rank list item in corresponding definite code level table.Described terminal capability comprises: the CPU of this terminal, the size of the one-level cache memory Cache of this terminal, and the size of the second-level cache of this terminal.
Sending side terminal of the present invention comprises:
Coding unit is used for the parameter according to input, video flowing is encoded, and send to receiving side terminal;
RTCP wraps transmitting element, is used for sending the RTCP bag to receiving side terminal;
Code level table memory cell is used for default code level table;
Rank list item extraction unit, be used for the network condition judged result that basis is received from receiving side terminal, from the code level table of described code level table cell stores, extract corresponding rank list item, and the parameter in the rank list item that extracts is outputed to coding unit;
Adaptive unit is used for sending the RTCP bag with the described RTCP of adaptive time interval controls bag transmitting element, described adaptive time interval=(time that video has been set up) * (EXP (I frame period time/125)-1).
Further, described terminal also comprises:
The first terminal capability acquiring unit is used to obtain the terminal capability of local terminal;
Maximum video frame per second determining unit, the lower terminal capability of terminal capability that is used for sending with the terminal capability and the receiving side terminal of local terminal is determined the maximum video frame per second, and mutual with this maximum video frame per second and described code level table memory cell, available rank list item in corresponding definite code level table.
System of the present invention comprises:
Receiving side terminal is used for the video code flow decoding to receiving, and judges network condition according to the information in the RTCP bag of receiving, and judged result is fed back to sending side terminal;
Sending side terminal, be used to send the video code flow behind the coding and send the RTCP bag with the adaptive time interval, and according to the network condition judged result of receiving side terminal feedback, from preset coding rank table, extract corresponding rank list item, and encode described adaptive time interval=(time that video has been set up) * (EXP (I frame period time/125)-1) with the parameter in this rank list item.
Beneficial effect of the present invention is as follows:
The inventive method need not be estimated the current network bandwidth value after transmit leg is known current network conditions, but with preset coding rank table in conjunction with the used code level list item of the corresponding adjustment of current network conditions; Be that current network conditions is bad, then turn down used code level list item; Current network conditions is good, then heightens used code level list item.Thereby, can make video quality and current network conditions adapt, when network condition is good according to preset coding rank table, high-quality and smooth video are provided, and when network condition is relatively poor, ensure basic video tastes, find the balance between quality and the fluency.
Further, the inventive method has also been considered the influence of the terminal capability of receiving-transmitting sides to video quality and fluency.Lower terminal capability is determined the maximum video frame per second in the terminal capability of the inventive method with receiving-transmitting sides, and exceeds with this maximum video frame per second, available rank list item in corresponding definite code level table.
Further, the inventive method has also been considered the influence of transmitting-receiving RTCP bag to offered load.The inventive method is with adaptive time interval transmitting-receiving RTCP bag.
In order to support the inventive method, the present invention also provides sending side terminal, receiving side terminal and corresponding system.
Description of drawings
Fig. 1 is a system configuration schematic diagram of the present invention;
Fig. 2 is a sending side terminal structural representation of the present invention;
Fig. 3 is a receiving side terminal structural representation of the present invention;
Fig. 4 is the inventive method flow chart of steps.
Embodiment
For when carrying out the video quality adjusting, need not estimate the current network bandwidth value, thereby avoid unpunctual when estimating, video transmission quality is with affected problem, the invention provides a kind of system that regulates video quality, referring to shown in Figure 1, it comprises: sending side terminal 1 and receiving side terminal 2.
Described sending side terminal 1, be used to send video code flow and RTCP bag behind the coding, and, from preset coding rank table, extract corresponding rank list item, and encode with the parameter in this rank list item according to the network condition judged result that receiving side terminal 2 feeds back.
Described receiving side terminal 2 is used for the video code flow decoding to receiving, and judges network condition according to the information in the RTCP bag of receiving, and judged result is fed back to sending side terminal 1.
Referring to shown in Figure 2, comprise in the sending side terminal 1 in the said system (being sending side terminal of the present invention): RTCP bag transmitting element 11, rank list item extraction unit 12, and the code level table memory cell 13 and the coding unit 14 that link to each other with rank list item extraction unit 12; Further, for the influence of the terminal capability of taking receiving-transmitting sides into account to video quality and fluency, described sending side terminal also comprises interconnective first terminal capability acquiring unit 15 and maximum video frame per second determining unit 16, and described maximum video frame per second determining unit 16 also links to each other with code level table memory cell 13; Further, in order to reduce the influence of transmitting-receiving RTCP bag to offered load, described sending side terminal also comprises the adaptive unit 17 that links to each other with described RTCP bag transmitting element 11.
Described code level table memory cell 13 is used for default code level table.
The described first terminal capability acquiring unit 15 is used to obtain the terminal capability of local terminal.
Described maximum video frame per second determining unit 16, the lower terminal capability of terminal capability that is used for sending with the terminal capability and the receiving side terminal of local terminal is determined the maximum video frame per second, and mutual with this high video frame rate and described code level table memory cell 13, available rank list item in corresponding definite code level table.
Described rank list item extraction unit 12, be used for according to the network condition judged result of receiving, from the code level table of described code level table memory cell 13 storages, extract corresponding rank list item, and the parameter in the rank list item that extracts is outputed to coding unit 14.
Described coding unit 14 is used for the parameter according to input, with the video flowing coding, and to receiving side terminal 2 transmissions.
Described RTCP bag transmitting element 11 is used for sending the RTCP bag to receiving side terminal 2.
Described adaptive unit 17 is used for sending the RTCP bag with the described RTCP bag of adaptive time interval controls transmitting element 11.
Referring to shown in Figure 3, comprise in the receiving side terminal 2 in the said system (being receiving side terminal of the present invention): decoding unit 21 and RTCP bag receiving element 22; For the influence to video quality and fluency of the terminal capability of taking receiving-transmitting sides into account, described receiving side terminal also comprises the second terminal capability acquiring unit 23.
Described decoding unit 21 is used for the video code flow decoding of will receive.
Described RTCP bag receiving element 22 is used to receive the RTCP bag, and judges network condition according to the information in the RTCP bag, and judged result is fed back to sending side terminal 1.
The described second terminal capability acquiring unit 23 is used to obtain the terminal capability of local terminal, and sends to sending side terminal 1.
Use said system and terminal, the invention provides a kind of method of regulating video quality,, comprise following key step referring to shown in Figure 4:
S1, from preset coding rank table, extract the default level list item.
At first, default code level table in sending side terminal.
Comprise some rank list items in the described code level table, to adapt to different network conditions.Described rank list item is high more, and the network condition that wherein each parameter values is suitable for is good more; On the contrary, described rank list item is low more, and the network condition that wherein each parameter values adapts to is poor more.
Referring to shown in the table one, each rank list item in the described code level table includes following parameters: key frame I frame period, quality is preferential or speed is preferential, the bandwidth under the preferential situation of frame per second, speed under the preferential situation of bandwidth, quality under the preferential situation of quality, and the frame per second under the preferential situation of speed; In addition, in order to increase the flexibility of Rate Control, also comprise in each rank list item: the horizontal scaling of video window, and the vertical scaling of video window.For example: the 9th grade of list item={ 100,0,300,12,200,13,4/5,1} is illustrated on the 9th grade, and encoder will insert an I frame every 100 frames, select the speed mode of priority, bandwidth under the preferential situation of quality and frame per second are respectively 300k and 12 frames, bandwidth under the speed mode of priority and frame per second are respectively 200k and 13 frames, and the horizontal scaling of video window is 4/5, and the vertical scaling of video window is 1.
Parameter Explanation
The I frame period Be separated by how many frames insert a key frame
Preferentially still speed is preferential for quality The balance of quality and fluency is provided according to user's preference
Bandwidth under the preferential situation of quality The user when high, provides higher bandwidth value to quality requirement
Frame per second under the preferential situation of quality The user when high, provides lower frame per second to quality requirement
Bandwidth under the preferential situation of speed The user requires to provide lower bandwidth when high to fluency
Frame per second under the preferential situation of speed The user requires to provide higher frame per second when high to fluency
The horizontal scaling of video window Dwindle video window step by step to reduce bandwidth
The vertical scaling of video window Dwindle video window step by step to reduce bandwidth
Table one
Secondly, can select to detect the terminal capability of receiving-transmitting sides.
H.264 standard is compared with traditional coding standard, and code efficiency can improve about 50%, but its requirement to terminal capability also will increase exponentially.If the decoding capability deficiency of receiving side terminal, the coding frame per second of just necessary control sending side terminal, frame losing causes the not smooth of video in order to avoid receiving side terminal has little time decoding.
Therefore, in order to take the terminal capability of receiving-transmitting sides into account,, before setting up the video connection, can select to detect the terminal capability of receiving-transmitting sides to reach better video effect.Lower terminal capability is determined the maximum video frame per second in the terminal capability with receiving-transmitting sides, and exceeds with this maximum video frame per second, available rank list item in corresponding definite code level table.
In the video stream encoding and decoding process, terminal capability is mainly reflected in the disposal ability of CPU.The disposal ability of CPU is mainly by the CPU frequency decision, but except that dominant frequency, other factors (as the Cache size) the also disposal ability to CPU have certain influence.Therefore go out the maximum video frame per second according to the preliminary correspondence of CPU frequency, for example: corresponding 15 frames of 2700MHZ dominant frequency, corresponding 1 frame of 400MHZ dominant frequency.Further, take all factors into consideration characteristics such as a cpu type and a second-level cache size again, to revise the maximum video frame per second that preliminary correspondence goes out, for example: for the AMD chip, 2 grades of Cache sizes surpass 128 frame per second and add 1, surpass 256 frame per second and add 2.
At last, exceed with described maximum video frame per second, extract the default level list item from preset coding rank table, described default level list item should be selected lower rank list item, to guarantee that setting up video smoothly connects.
S2, set up video with the parameter in the default level list item and connect.
S3, transmission RTCP bag.
After setting up the video connection, sending side terminal sends the RTCP bag to receiving side terminal.Contain information such as packet loss, network jitter and time of delay in the RTCP bag of described transmission.
This step can adopt the mode that sends a RTCP bag every certain duration.
But when the video connection had just been set up, short being advisable of the time interval of giving out a contract for a project was with quick judgement network condition; And after the video connection was stable, the time interval of giving out a contract for a project should extend gradually, to reduce the offered load that the RTCP band comes.So the present invention is preferably with adaptive time interval transmitting-receiving RTCP bag.The described adaptive time interval calculates by following formula: send the RTCP bag the time interval=(time that video has been set up) * (EXP (I frame period time/125)-1).
S4, reception RTCP bag are to judge network condition.
Receiving side terminal unpacks and obtains relevant information after receiving the RTCP bag that sending side terminal sends, if packet loss, network jitter and the time of delay contained in the RTCP that the receives bag during simultaneously less than corresponding threshold values, decision network in order; Otherwise the decision network situation is bad.
S5, according to the corresponding adjustment present encoding of judged result rank list item.
Receiving side terminal feeds back to sending side terminal with the network condition judged result.If the judged result that sending side terminal is received shows that current network conditions is good, promote the leeway of video quality and fluency in addition, then heighten currently used code level list item, thereby coding generates the higher video code flow of quality, sends to receiving side terminal; If the judged result that sending side terminal is received shows that current network conditions is bad, it is the adaptive capacity that currently used code level list item has surpassed current network conditions, then turn down currently used code level list item, thereby coding generates the lower video code flow of quality, sends to receiving side terminal.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (7)

1, a kind of method of regulating video quality is characterized in that, comprises the following steps:
Sending side terminal extracts the default level list item from preset coding rank table, and sets up the video connection with the parameter in this list item; And
Sending side terminal sends RTCP Real-time Transport Control Protocol RTCP bag with the adaptive time interval, receiving side terminal is judged network condition according to the information in the RTCP bag that receives, sending side terminal is according to the corresponding adjustment present encoding of the network condition judged result rank list item of receiving from receiving side terminal, wherein, described adaptive time interval=(time that video has been set up) * (EXP (I frame period time/125)-1).
2, regulate the method for video quality according to claim 1, it is characterized in that, each the rank list item in the described code level table comprises following parameters:
Key frame I frame period, quality is preferential or speed is preferential, the horizontal scaling of frame per second, video window under the preferential situation of bandwidth, speed under the preferential situation of frame per second, speed under the preferential situation of bandwidth, quality under the preferential situation of quality, and the vertical scaling of video window.
3, as the method for claim 1 to 2 adjusting video quality as described in each, it is characterized in that, lower terminal capability is determined the maximum video frame per second in the terminal capability with receiving-transmitting sides, and exceeds with this maximum video frame per second, available rank list item in corresponding definite code level table.
4, as the method for adjusting video quality as described in the claim 3, it is characterized in that described terminal capability comprises: the CPU frequency of this terminal, the size of the one-level cache memory Cache of this terminal, and the size of the second-level cache of this terminal.
5, a kind of sending side terminal comprises:
Coding unit is used for the parameter according to input, video flowing is encoded, and send to receiving side terminal;
RTCP wraps transmitting element, is used for sending the RTCP bag to receiving side terminal;
It is characterized in that described sending side terminal also comprises:
Code level table memory cell is used for default code level table;
Rank list item extraction unit, be used for the network condition judged result that basis is received from receiving side terminal, from the code level table of described code level table cell stores, extract corresponding rank list item, and the parameter in the rank list item that extracts is outputed to coding unit;
Adaptive unit is used for sending the RTCP bag with the described RTCP of adaptive time interval controls bag transmitting element, described adaptive time interval=(time that video has been set up) * (EXP (I frame period time/125)-1).
6, sending side terminal as claimed in claim 5 is characterized in that, described terminal also comprises:
The first terminal capability acquiring unit is used to obtain the terminal capability of local terminal;
Maximum video frame per second determining unit, the lower terminal capability of terminal capability that is used for sending with the terminal capability and the receiving side terminal of local terminal is determined the maximum video frame per second, and mutual with this maximum video frame per second and described code level table memory cell, available rank list item in corresponding definite code level table.
7, a kind of system that regulates video quality comprises:
Receiving side terminal is used for the video code flow decoding to receiving, and judges network condition according to the information in the RTCP bag of receiving, and judged result is fed back to sending side terminal;
It is characterized in that described system also comprises:
Sending side terminal, be used to send the video code flow behind the coding and send the RTCP bag with the adaptive time interval, and according to the network condition judged result of receiving side terminal feedback, from preset coding rank table, extract corresponding rank list item, and encode described adaptive time interval=(time that video has been set up) * (EXP (I frame period time/125)-1) with the parameter in this rank list item.
CN200610103597.8A 2006-07-27 2006-07-27 Method, system and terminal for adjusting video quality Active CN100588249C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200610103597.8A CN100588249C (en) 2006-07-27 2006-07-27 Method, system and terminal for adjusting video quality
PCT/CN2007/070335 WO2008014707A1 (en) 2006-07-27 2007-07-20 Method, system and terminal of adjusting video quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610103597.8A CN100588249C (en) 2006-07-27 2006-07-27 Method, system and terminal for adjusting video quality

Publications (2)

Publication Number Publication Date
CN101115196A CN101115196A (en) 2008-01-30
CN100588249C true CN100588249C (en) 2010-02-03

Family

ID=38996880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610103597.8A Active CN100588249C (en) 2006-07-27 2006-07-27 Method, system and terminal for adjusting video quality

Country Status (2)

Country Link
CN (1) CN100588249C (en)
WO (1) WO2008014707A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349158A (en) * 2013-07-26 2015-02-11 腾讯科技(深圳)有限公司 Communication video quality adjusting method and relevant equipment and system

Families Citing this family (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242359B (en) * 2008-02-27 2010-08-18 华为技术有限公司 Dynamic code rate allocation method and packet domain stream media server
US8341672B2 (en) 2009-04-24 2012-12-25 Delta Vidyo, Inc Systems, methods and computer readable media for instant multi-channel video content browsing in digital video distribution systems
CN101621681B (en) * 2009-07-30 2012-08-29 腾讯科技(深圳)有限公司 Method and equipment for adjusting video communication quality
CN101990087A (en) * 2010-09-28 2011-03-23 深圳中兴力维技术有限公司 Wireless video monitoring system and method for dynamically regulating code stream according to network state
CN102547206B (en) * 2010-12-30 2014-03-26 中国移动通信集团公司 Method and device for determining video transmission parameter during video communication
CN102098547A (en) * 2011-01-24 2011-06-15 深圳市威康普科技有限公司 Transmission method of self-adaptive/real-time high-definition video for embedded network
CN102413307B (en) * 2011-11-30 2013-11-27 晶门科技(深圳)有限公司 Self-adaptive code rate adjustment method and device for television video chat
CN102638705A (en) * 2011-12-09 2012-08-15 中兴通讯股份有限公司 Transcode parameter templating method and transcoding system of CMS (content management system)
CN103179438B (en) * 2011-12-20 2015-12-16 中国移动通信集团上海有限公司 Video playback accesses determination method and the device of code check first
CN102523486A (en) * 2011-12-31 2012-06-27 北京佳讯飞鸿电气股份有限公司 Method for realizing self adaptation to dynamic code stream bandwidth in video scheduling system
CN102821311B (en) * 2012-05-30 2015-07-15 浙江宇视科技有限公司 Video data packet priority setting method and device
CN103581767A (en) * 2012-07-24 2014-02-12 鸿富锦精密工业(深圳)有限公司 Regulating system, terminal and method for video quality
US9456383B2 (en) * 2012-08-27 2016-09-27 Qualcomm Incorporated Device and method for adaptive rate multimedia communications on a wireless network
CN103686227B (en) * 2012-09-17 2018-03-20 南京中兴力维软件有限公司 Audio-video collection coding method, apparatus and system for mobile terminal
CN104125429B (en) * 2013-04-27 2018-07-06 杭州海康威视数字技术股份有限公司 The adjusting method and device of video data transmission
CN103533356A (en) * 2013-10-10 2014-01-22 深圳市智美达科技有限公司 Video data transmission method and device
CN103501429A (en) * 2013-10-22 2014-01-08 中国农业银行股份有限公司 Data coding method and device based on dynamic code rate
CN104702922A (en) * 2013-12-10 2015-06-10 中国电信股份有限公司 Method and system for transmitting video
CN103686346A (en) * 2013-12-26 2014-03-26 乐视网信息技术(北京)股份有限公司 Video playing unsmoothness switching method and system
CN103763216A (en) * 2014-01-24 2014-04-30 深圳市华宝电子科技有限公司 System and method for adjusting data transmission
CN104254018B (en) * 2014-03-19 2018-04-03 深圳深讯和科技有限公司 Frame of video treating method and apparatus in multimedia
CN104980411B (en) * 2014-04-14 2020-07-10 腾讯科技(深圳)有限公司 Video call control method, server, terminal and video call system
CN105263066A (en) * 2014-06-13 2016-01-20 珠海全志科技股份有限公司 Mobile equipment video stream transmission control method and system
CN105491320B (en) * 2014-09-16 2018-12-14 南宁富桂精密工业有限公司 Videoconference bandwidth management method and system
TWI586175B (en) * 2014-09-16 2017-06-01 鴻海精密工業股份有限公司 Method and system for managing bandwidth of video conference
CN105812837A (en) * 2014-12-30 2016-07-27 华为技术有限公司 Image processing method and image processing device
CN105657422A (en) * 2016-01-21 2016-06-08 航天恒星科技有限公司 Multi-scene image compression processing method and system
CN107154913B (en) * 2016-03-02 2021-01-26 北京京东尚科信息技术有限公司 IP telephone terminal communication method
CN105812838B (en) * 2016-03-17 2018-12-04 深圳市九洲电器有限公司 A kind of multi-screen interactive data sharing method and system
CN107231328B (en) * 2016-03-23 2020-08-28 福建星网锐捷通讯股份有限公司 Real-time video transmission method, device, equipment and system
CN105915904A (en) * 2016-05-23 2016-08-31 北京中兴高达通信技术有限公司 Video stream Qos control method for broadband trunking call service
WO2018018445A1 (en) * 2016-07-27 2018-02-01 王晓光 Method and system for sending video advertisement on the basis of video capacity
CN106131618A (en) * 2016-07-27 2016-11-16 王晓光 Video ads sending method based on video capacity and system
CN106330907A (en) * 2016-08-24 2017-01-11 阿基米德(上海)传媒有限公司 Mobile-end audio high/low-data-rate adaptive play method
CN108206925B (en) * 2016-12-16 2020-04-14 展讯通信(上海)有限公司 Method and device for realizing multichannel video call and multichannel terminal
EP3621310A1 (en) * 2018-09-10 2020-03-11 Panasonic Intellectual Property Corporation of America Video transmitting device, video transmitting method, and program
CN110351595B (en) * 2019-07-17 2023-08-18 北京百度网讯科技有限公司 Buffer processing method, device, equipment and computer storage medium
CN114424552A (en) * 2019-09-29 2022-04-29 华为技术有限公司 Low-delay source-channel joint coding method and related equipment
CN110636283B (en) * 2019-09-30 2021-10-15 普联技术有限公司 Video transmission test method and device and terminal equipment
CN111246262A (en) * 2020-01-09 2020-06-05 西安万像电子科技有限公司 Code scheduling control method and scheduling controller
CN112261354B (en) * 2020-09-04 2023-03-24 浙江大华技术股份有限公司 Data transmission method based on multiple network cameras and related device
CN112188305A (en) * 2020-09-29 2021-01-05 武汉大势智慧科技有限公司 Network adjusting system and method for three-dimensional rendering
CN114584814A (en) * 2020-11-30 2022-06-03 华为技术有限公司 Method for adjusting power consumption of terminal, method for adjusting code rate and related equipment
CN112911650A (en) * 2021-03-28 2021-06-04 高小翎 Mobile high-definition video intelligent bidirectional detection bandwidth control system
CN114245197B (en) * 2022-02-24 2022-05-17 广州市保伦电子有限公司 Audio and video interaction low-delay transmission method and background server
CN115174965B (en) * 2022-06-30 2024-01-02 杭州海康威视数字技术股份有限公司 Video preview method, device, electronic equipment and computer readable storage medium
CN115834975A (en) * 2022-11-17 2023-03-21 中国联合网络通信集团有限公司 Video transmission method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1468001A (en) * 2002-06-27 2004-01-14 上海汉唐科技有限公司 Media flow self-adapting transmission method based on internet
CN1605075A (en) * 2001-12-15 2005-04-06 汤姆森特许公司 System and method for modifying a video stream based on a client or network environment
CN1649408A (en) * 2003-10-30 2005-08-03 C&S技术有限公司 IP video terminal and control method thereof
US6973501B1 (en) * 2000-06-21 2005-12-06 Adc Telecommunications, Inc. Reducing loss in transmission quality under changing network conditions
US6993689B2 (en) * 2000-10-31 2006-01-31 Kabushiki Kaisha Toshiba Data transmission apparatus and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004039034A1 (en) * 2002-10-24 2004-05-06 Telefonaktiebolaget Lm Ericsson (Publ) System and method for reducing initial buffering time for a streaming application
US7606928B2 (en) * 2003-03-21 2009-10-20 Nokia Corporation Method and device for controlling receiver buffer fullness level in multimedia streaming
CN100469072C (en) * 2005-09-29 2009-03-11 西安交通大学 Multi-source flow media transmission QoS control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973501B1 (en) * 2000-06-21 2005-12-06 Adc Telecommunications, Inc. Reducing loss in transmission quality under changing network conditions
US6993689B2 (en) * 2000-10-31 2006-01-31 Kabushiki Kaisha Toshiba Data transmission apparatus and method
CN1605075A (en) * 2001-12-15 2005-04-06 汤姆森特许公司 System and method for modifying a video stream based on a client or network environment
CN1468001A (en) * 2002-06-27 2004-01-14 上海汉唐科技有限公司 Media flow self-adapting transmission method based on internet
CN1649408A (en) * 2003-10-30 2005-08-03 C&S技术有限公司 IP video terminal and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349158A (en) * 2013-07-26 2015-02-11 腾讯科技(深圳)有限公司 Communication video quality adjusting method and relevant equipment and system

Also Published As

Publication number Publication date
WO2008014707A1 (en) 2008-02-07
CN101115196A (en) 2008-01-30

Similar Documents

Publication Publication Date Title
CN100588249C (en) Method, system and terminal for adjusting video quality
CN101909060B (en) Qos control method suitable for real-time streaming media transmission of mobile videos
CN111615006B (en) Video code conversion transmission control system based on network state self-evaluation
CN101030832B (en) Method and system for realizing realtime transmission protocol message redundancy
WO2017148260A1 (en) Voice code sending method and apparatus
CN101242359B (en) Dynamic code rate allocation method and packet domain stream media server
CN101909208B (en) Video wireless transmission control method suitable for CDMA2000
JP4000895B2 (en) Bit rate control method and apparatus for real-time communication
US9438853B2 (en) Receiver driven up-switching in video telephony
US20100274920A1 (en) Adjustment of Transmission Data Rate Based on Data Errors and/or Latency
WO2008125029A1 (en) A method, system and device for controlling the code rate of the stream media
CA2742447A1 (en) Stable video rate adaptation for congestion control
Jammeh et al. Quality of experience (QoE) driven adaptation scheme for voice/video over IP
CN106982371B (en) Code stream control method and system, code stream management method and system, and terminal equipment
CN113099310A (en) Real-time media internal video and audio coordination method based on android platform
EP2153622A1 (en) A method for efficient feedback of receiving channel conditions in adaptive video multicast and broadcast systems
US9509618B2 (en) Method of transmitting data in a communication system
CN101193268A (en) Stream media pause method
Cui et al. DASH+: Download multiple video segments with stream multiplexing of QUIC
Papadimitriou et al. A rate control scheme for adaptive video streaming over the internet
Nishantha et al. Application level rate adaptive motion-JPEG transmission for medical collaboration systems
JPH11298528A (en) Packet exchange system and communication terminal
Yang et al. Video transmission control for networked vision system based on RTCP
Sisalem et al. Constrained TCP-friendly congestion control for multimedia communication
Ji et al. Stochastic rate control for scalable VBR video streaming over wireless networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant