CN107920041A - A kind of method of adjustment and device of live video data coding bit rate - Google Patents
A kind of method of adjustment and device of live video data coding bit rate Download PDFInfo
- Publication number
- CN107920041A CN107920041A CN201610879635.2A CN201610879635A CN107920041A CN 107920041 A CN107920041 A CN 107920041A CN 201610879635 A CN201610879635 A CN 201610879635A CN 107920041 A CN107920041 A CN 107920041A
- Authority
- CN
- China
- Prior art keywords
- bit rate
- video data
- live video
- network bandwidth
- coding
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000005540 biological transmission Effects 0.000 claims description 34
- 235000010627 Phaseolus vulgaris Nutrition 0.000 abstract description 9
- 244000046052 Phaseolus vulgaris Species 0.000 abstract description 9
- 230000002452 interceptive effect Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 239000008186 active pharmaceutical agent Substances 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 238000005056 compaction Methods 0.000 description 1
- 238000000205 computational method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234336—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by media transcoding, e.g. video is transformed into a slideshow of still pictures or audio is converted into text
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2402—Monitoring of the downstream path of the transmission network, e.g. bandwidth available
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content 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/26208—Content 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/26216—Content 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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/44209—Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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/44227—Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
An embodiment of the present invention provides a kind of method of adjustment and device of live video data coding bit rate, including:Live video data it is live during, the coding mean bit rate of live video data is obtained according to predetermined period and sends mean bit rate, according to the coding mean bit rate and send mean bit rate, network bandwidth score value is calculated, according to the network bandwidth score value, adjust the coding bit rate of the live video data, using the embodiment of the present invention, can be according to network bandwidth score value, learn network bandwidth environments, and then can be according to network bandwidth environments, the coding bit rate of adjustment live video data in real time, it ensure that the live video data of main broadcaster is capable of and smooth be sent to streaming media server, enable main broadcaster and bean vermicelli real-time, interactive at the same time, improve user experience.
Description
Technical field
The present invention relates to network technique field, more particularly to a kind of method of adjustment of live video data coding bit rate
And device.
Background technology
With the development of network technology, network direct broadcasting technology is also increasingly ripe, and network direct broadcasting can pass through net the same time
Network system watches video in different intercommunion platform, a network direct broadcasting usually in face of tens of thousands of people, hundreds of thousands people on line even on
Million people, and in real time with spectators' exchange and interdynamic on line.
The maturation of network direct broadcasting technology, has derived that show field is live, and show field is live is presided over by main broadcaster, main broadcaster need into
Row is live, it is necessary to configures high-definition camera, sound card, monitoring headpone, microphone etc..Main broadcaster is the compressed volume of audio or video signal
After code, it is transmitted on streaming media server, the bean vermicelli of main broadcaster watches the video of main broadcaster by client, mutual with anchor exchange in real time
It is dynamic.
But due to network, there are the upstream bandwidth unreasonable distribution of the factors of instability, such as operator, bandwidth use
The factors such as peak period, cause main broadcaster during live, it is possible to run into the situation of network congestion, at main broadcaster end, audio and
After video data compaction coding, it is transmitted to and delay, the situation of even packet loss, the powder of main broadcaster occurs during streaming media server
There is picture stagnation accordingly when client watch in silk, or even the situation of jump, normally smoothness can not watch the straight of main broadcaster
Video, and the real-time, interactive with main broadcaster are broadcast, reduces the experience of user.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present invention overcomes the above problem or at least in part in order to provide one kind
The method of adjustment and device of a kind of live video data coding bit rate to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of adjustment side of live video data coding bit rate
Method, including:
Live video data it is live during, the coding that live video data is obtained according to predetermined period is averaged bit
Rate and transmission mean bit rate;
According to the coding mean bit rate and mean bit rate is sent, network bandwidth score value is calculated;
According to the network bandwidth score value, the coding bit rate of the live video data is adjusted.
Preferably, it is described according to the coding mean bit rate and transmission mean bit rate, network bandwidth point is calculated
The step of value, includes:
Obtain current time and the last adjustment time recorded;
Adjustment time section is calculated using the last adjustment time and default adjustment time;
Judge the current time whether in the adjustment time section;
If it is not, then according to the coding mean bit rate and sending mean bit rate, network bandwidth score value is calculated.
Preferably, it is described according to the network bandwidth score value, adjust the step of the coding bit rate of the live video data
Suddenly include:
Judge whether the network bandwidth score value is more than default value;
If so, then lift the coding bit rate of the live video data;
If it is not, then reduce the coding bit rate of the live video data.
Preferably, the step of coding bit rate of the lifting live video data includes:
Obtain multiple network bandwidth score values in preset duration;
When the multiple network bandwidth score value is both greater than default value, the coded-bit of the live video data is lifted
Rate.
Preferably, the step of coding bit rate of the reduction live video data includes:
Continuous multiple network bandwidth score values are counted according to presetting rule;
Calculate continuous multiple network bandwidth score values and value;
When described and value absolute value is more than predetermined threshold value, the coding bit rate of the live video data is reduced.
Preferably, the coding bit rate of the live video data is adjusted according to the network bandwidth score value described
After step, further include:
The number of the coding bit rate of live video data described in statistical adjustment;
When the number reaches preset times, stop adjusting the coding bit rate of the live video data.
Preferably, it is the step of the number of the coding bit rate of live video data described in the statistical adjustment:
Statistics alternately lifts and reduces the number of the coding bit rate of the live video data.
Preferably, described according to network bandwidth score value, the step of adjusting the coding bit rate of the live video data
Afterwards, further include:
Record adjusts the adjustment time of the coding bit rate of the live video data.
The embodiment of the invention also discloses a kind of adjusting apparatus of live video data coding bit rate, including:
Mean bit rate acquisition module, for during live in live video data, being obtained according to predetermined period straight
Broadcast the coding mean bit rate of video data and send mean bit rate;
Network bandwidth score value computing module, for according to the coding mean bit rate and transmission mean bit rate, calculating
Obtain network bandwidth score value;
Coding bit rate adjusts module, for according to the network bandwidth score value, adjusting the volume of the live video data
Code bit rate.
Preferably, the network bandwidth score value computing module includes:
Time acquisition submodule, for the last adjustment time for obtaining current time and having recorded;
Adjustment time section computing module, for calculating adjustment using the last adjustment time and default adjustment time
Period;
Time judging submodule, for judging the current time whether in the adjustment time section;
Network bandwidth score value calculating sub module, for according to the coding mean bit rate and transmission mean bit rate, meter
Calculation obtains network bandwidth score value.
Preferably, the coding bit rate adjustment module includes:
Network bandwidth score value judging submodule, for judging whether the network bandwidth score value is more than default value;
Coding bit rate lifts submodule, for lifting the coding bit rate of the live video data;
Coding bit rate reduces submodule, for reducing the coding bit rate of the live video data.
Preferably, the coding bit rate lifting submodule includes:
Network bandwidth score value acquiring unit, for obtaining multiple network bandwidth score values in preset duration;
Coding bit rate lift unit, for when the multiple network bandwidth score value is both greater than default value, lifting institute
State the coding of live video data.
Preferably, the coding bit rate reduces submodule and includes:
Network bandwidth score value statistic unit, for counting continuous multiple network bandwidth score values according to presetting rule;
With value computing unit, for calculate continuous multiple network bandwidth score values and value;
Coding bit rate reduces unit, for when described and value absolute value is more than predetermined threshold value, reducing described live
The coding bit rate of video data.
Preferably, described device further includes:
Adjust number statistical module, the number for the coding bit rate of live video data described in statistical adjustment;
Stop adjustment module, for when the number reaches preset times, stopping adjusting the live video data
Coding bit rate.
Preferably, the adjustment number statistical module includes:
Number statistic submodule is adjusted, alternately lifts and reduce the coding bit rate of the live video data for counting
Number.
Preferably, described device further includes:
Adjustment time logging modle, for recording the adjustment time for the coding bit rate for adjusting the live video data.
The embodiment of the present invention includes advantages below:
In the embodiment of the present invention, by the way that during live in live video data, live regard is obtained according to predetermined period
The coding mean bit rate and transmission mean bit rate of frequency evidence, according to coding mean bit rate and send mean bit rate, meter
Calculation obtains network bandwidth score value, then according to network bandwidth score value, the coding bit rate of live video data is adjusted, using this hair
Bright embodiment, can learn network bandwidth environments according to network bandwidth score value, and then can be according to network bandwidth environments, in real time
The coding bit rate of adjustment live video data, ensure that the live video data of main broadcaster is capable of the smooth Streaming Media that is sent to and is taken
It is engaged in device, while enables main broadcaster and bean vermicelli real-time, interactive, improves user experience.
Further, it first by network bandwidth score value compared with default value, can learn the situation of network environment, and then obtain
Multiple continuous network bandwidth score values are taken, to determine whether network change trend is stablized, so as to more accurately learn Netowrk tape
Wide environment, the coding bit rate of live video data can be reduced when network bandwidth environments are poor, ensures that the live of main broadcaster regards
Frequency smooth is sent to streaming media server according to being capable of so that main broadcaster can be with bean vermicelli real-time, interactive, and in network bandwidth ring
When border is good, the coding bit rate of live video data is lifted, so as to improve the quality of live video, makes full use of Netowrk tape
It is wide, there is provided to the live video of bean vermicelli high quality, to improve user experience.
Further, time of the coding bit rate of live video data is alternately lifted and reduced by statistical coding device
Number, it can be determined that main broadcaster when live, whether, when the number of statistics is more than preset times, it may be determined that main broadcaster if stablizing by network
Used network environment is unstable, can stop adjustment coded-bit after the coding bit rate of live video data is reduced
Rate, can effectively ensure that live fluency.
Brief description of the drawings
The step of Fig. 1 is a kind of method of adjustment embodiment of live video data coding bit rate of the embodiment of the present invention one
Flow chart;
The step of Fig. 2 is a kind of method of adjustment embodiment of live video data coding bit rate of the embodiment of the present invention two
Flow chart;
Fig. 3 is a kind of adjustment schematic diagram of live video data coding bit rate of the embodiment of the present invention two;
Fig. 4 is a kind of structure of the adjusting apparatus embodiment of live video data coding bit rate of the embodiment of the present invention three
One of block diagram;
Fig. 5 is a kind of structure of the adjusting apparatus embodiment of live video data coding bit rate of the embodiment of the present invention three
The two of block diagram.
Embodiment
To enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage more obvious understandable, below in conjunction with the accompanying drawings and
The present invention is described in further detail for embodiment.
Embodiment one
With reference to Fig. 1, a kind of method of adjustment of live video data coding bit rate of the embodiment of the present invention one is shown
Flow chart of steps, specifically may include steps of:
Step 101, live video data it is live during, according to predetermined period obtain live video data coding
Mean bit rate and transmission mean bit rate.
In live, the camera or microphone API (Application of live platform software can be utilized
Programming Interface, application programming interface) collection main broadcaster live live vision signal and audio signal,
Encoder is sent in the form of data packet, after the received data packet of encoder docking is encoded, sends the stream to network
Media server, specifically, received video data packet and packets of audio data can be docked by encoder, is encoded into specified lattice
Formula, such as the data format of H264 can be encoded into, pass through software FFmpeg (Fast Forward Mpeg, multi-media processing work
Tool) API be sent to streaming media server on network.
In above process, encoder encodes out one-frame video data after receiving one-frame video data, by this after coding
One-frame video data is sent to streaming media server, and the size of this frame video data packet can be calculated as coded data packet respectively
Size and transmission data package size.In order to obtain network bandwidth environments, cycle inner encoder processing can be obtained with predetermined period
Data packet and send the size of data packet, it is possible to obtain the predetermined period interior coding mean bit rate and send average bit
Rate, bit rate refer to the bit number of transmission or processing data per second, and bit rate is higher, and transmission or processing data speed are got over
It hurry up.
Step 102, according to the coding mean bit rate and transmission mean bit rate, network bandwidth score value is calculated.
In the embodiment of the present invention, coding mean bit rate and transmission mean bit rate can be contrasted, are calculated
The bandwidth score value of network, the reflection of network bandwidth score value is the situation of network transmission encoded video data packet, such as is put down when sending
When equal bit rate is less than coding mean bit rate, it be negative value that can record network bandwidth score value, it is on the contrary be denoted as on the occasion of;Wherein can be with
Size by difference of the mean bit rate from encoding mean bit rate is sent establishes different grades, such as sends mean bit rate
Difference with encoding mean bit rate is that network bandwidth score value is -1 when being more than -50 less than 0, when difference is less than -50 more than -100
Network bandwidth score value is -2, and difference is that network bandwidth score value is 1 when being more than 0 less than+50, and difference is when being more than+50 less than+100
Network bandwidth score value is+2, and so on, above numerical value is only to be illustrated or other can reflect network
The computational methods or expression way of bandwidth score value, the embodiment of the present invention are without limitation.
Step 103, according to the network bandwidth score value, the coding bit rate of the live video data is adjusted.
In embodiments of the present invention, the coding bit rate of live video data according to network bandwidth score value, can be adjusted, is had
Body, coding mean bit rate can be obtained with sending the corresponding difference of mean bit rate according to network bandwidth score value, according to
Difference adjusts the coding bit rate of live video data so that and coding mean bit rate, which is less than or equal to, sends mean bit rate,
To ensure that live video data smooth can be sent on streaming media server.
By the embodiment of the present invention, according to the coding mean bit rate of encoder and mean bit rate is sent, calculates net
Network bandwidth score value, learns the situation of network environment in real time, and live video is adjusted in real time so as to the situation according to network environment
The coding bit rate of data, therefore, can learn network bandwidth environments according to network bandwidth score value, and then can be according to network
Bandwidth environment, adjusts the coding bit rate of live video data in real time, ensure that the live video data of main broadcaster is capable of smoothness
Streaming media server is sent to, while enables main broadcaster and bean vermicelli real-time, interactive, improves user experience.
Embodiment two
With reference to Fig. 2, a kind of method of adjustment of live video data coding bit rate of the embodiment of the present invention two is shown
Flow chart of steps, specifically may include steps of:
Step 201, live video data it is live during, according to predetermined period obtain live video data coding
Mean bit rate and transmission mean bit rate.
, can be during encoder send live video data in the embodiment of the present invention, it is pre- that predetermined period obtains this
If the size of cycle interior coding data packet and the size for sending data packet, and then obtain the coding in the predetermined period and be averaged bit
Rate and send mean bit rate, bit rate refer to it is per second transmission or processing data bit number, bit rate is higher, transmission or
It is faster to handle data speed.
Step 202, according to the coding mean bit rate and transmission mean bit rate, network bandwidth score value is calculated.
In the embodiment of the present invention, encoder adjusts coding bit rate every time needs the regular hour, such as adjustment needs 15
The time of second, therefore, in order to avoid calculating the network bandwidth score value in adjustment time, in a preferred embodiment of the present invention
In, it is described according to it is described coding mean bit rate and send mean bit rate, be calculated network bandwidth score value can include with
Lower sub-step:
Sub-step S11, obtains current time and the last adjustment time recorded;
Sub-step S12, adjustment time section is calculated using the last adjustment time and default adjustment time;
Whether sub-step S13, judge the current time in the adjustment time section;If it is not, perform sub-step S14;
Sub-step S14, according to the coding mean bit rate and sends mean bit rate, network bandwidth point is calculated
Value.
In specific practical application, after encoder adjusts coding bit rate every time, record has adjustment time
AdaptiveTimeMills, in order to avoid encoder receives adjust instruction again when adjustment does not complete, can preset adjustment
How long time, i.e., be no longer adjusted after the adjustment time adaptiveTimeMills of record, such as the tune in record
Plus adjustment time is preset 15 seconds after whole time adaptiveTimeMills, added after adjustment time adaptiveTimeMills
Default adjustment time 15 seconds is adjustment time section, in the coding mean bit rate obtained in predetermined period and sends average bit
After rate, current time and the adjustment time of last record are first obtained, judges current time whether in the upper adjustment once recorded
Plus in the default adjustment time period of 15 seconds after time adaptiveTimeMills, divide if so, not calculating network bandwidth then
Value, if it is not, then calculating network bandwidth score value.
Network bandwidth score value is reflection coding mean bit rate and the parameter for sending mean bit rate, that is, reflects encoder pair
The coding rate and network of live video data bag send the gap between the speed of live video data bag, when coding average specific
When special rate is more than transmission mean bit rate, it may be said that bright network transmission speed is slow, it is possible to cause live video data bag to be detained,
In turn result in live delay etc..Calculating network bandwidth score value is illustrated below:
Will send mean bit rate sendAVGBitRate and coding mean bit rate compressedAVGBitrate into
Row compares, according to following pseudocode calculating network bandwidth score value
To make those skilled in the art more fully understand above-mentioned pseudocode, specifically illustrated below by way of one above-mentioned
Pseudocode:
It is 0 that warnningScore default values, which can be set, certain coding mean bit rate once
CompressedAVGBitrate is 580, passes through above-mentioned pseudocode, it can be deduced that following network bandwidth score value:
SendAVGBitRate is 529, then just subtracts 1 to warnningScore;
SendAVGBitRate is 470, then just subtracts 2 to warnningScore;
SendAVGBitRate is 415, then just subtracts 3 to warnningScore;
SendAVGBitRate is 570, then warnningScore 0;
SendAVGBitRate is 635, then just adds 1 to warnningScore;
SendAVGBitRate is 690, then just adds 2 to warnningScore;
SendAVGBitRate is 745, then just adds 3 to warnningScore.
It is smaller than coding mean bit rate when sending mean bit rate when i.e. coding mean bit rate is 580, be respectively
529th, 470,415 when, network bandwidth score value be respectively -1, -2, -3;And encode mean bit rate when sending mean bit rate ratio
Greatly, be respectively 635,690,745 when, network bandwidth score value is respectively 1,2,3, from above-mentioned example, when network bandwidth score value
For negative when, illustrate send mean bit rate than encode mean bit rate it is small, the absolute value of network bandwidth score value is bigger at this time, says
Bright network condition is poorer, and when network bandwidth score value is positive number, illustrate that transmission mean bit rate is bigger than coding mean bit rate,
Network bandwidth score value is bigger at this time, illustrates that network condition is better.
The method of above-mentioned calculating network bandwidth score value and numerical value therein are only used as example, and those skilled in the art are according to reality
Border situation is feasible using the method for any calculating network bandwidth score value, and the embodiment of the present invention need not limit this
System.
Step 203, judge whether the network bandwidth score value is more than default value, if so, then performing step 204, if not
Perform step 205.
In the embodiment of the present invention, in order to obtain the quality of network bandwidth situation, the network of a predetermined period can be obtained
After bandwidth score value, the size of the network bandwidth score value and default value can be first judged, such as default value size is 0, the net
Network bandwidth score value is -3, illustrates that network condition is deteriorated, and coding mean bit rate, which is more than, sends mean bit rate;If network bandwidth
Score value is 5, illustrates that network condition improves, and coding mean bit rate, which is less than, sends mean bit rate;Therefore network can be first judged
Whether bandwidth score value is more than default value, if so, step 204 is performed, if it is not, performing step 205.
Step 204, the coding bit rate of the live video data is lifted.
In one preferred embodiment of the invention, the coding bit rate of the lifting live video data can wrap
Include following sub-step:
Sub-step S21, obtains multiple network bandwidth score values in preset duration.
In practical applications, there is shake in network, i.e., the network bandwidth score value within the current preset cycle is more than present count
It is worth, the network bandwidth score value in next predetermined period is likely to be less than default value, it is therefore desirable to obtains more in certain time length
A network bandwidth score value, such as in order to obtain the network bandwidth score value of 5 continuous predetermined periods, preset duration can be set
For the time of 5 predetermined periods, such as predetermined period is 3 seconds, can be arranged to preset duration 15 seconds, it is possible to obtain
To 5 continuous network bandwidth score values in 15 seconds.
It can certainly count the number of predetermined period, such as 3 predetermined periods, 5 predetermined periods etc., the present invention is implemented
Example need not be any limitation as this.
Sub-step S22, when the multiple network bandwidth score value is both greater than default value, lifts the live video data
Coding bit rate.
When getting the network bandwidth score value in preset duration and being both greater than default value, illustrate currently transmitted average bit
Rate is bigger and more stable than coding mean bit rate, can lift the coding bit rate of live video data, such as the present invention is in fact
When applying that default value is 0 in example, when the all-network bandwidth score value got in 5 minutes is both greater than 0, encoder can be lifted
Coding rate and increase main broadcaster, to improve the quality of video, make full use of network bandwidth just in the frame per second of live video, improve
User's good experience.
In above preferred embodiment, when network bandwidth score value is more than default value, obtain multiple in preset duration
Continuous network bandwidth score value, when multiple continuous network bandwidth score values are both greater than default value, it is live to illustrate that network is sent
The speed of video data is more than the speed of encoder coding live video data, and more stable, at this point it is possible to improve live
The coding bit rate of video data, can also improve the frame per second of video acquisition device collection video data, improve the quality of video,
To make full use of network bandwidth, there is provided the video to user's high quality.
Step 205, the coding bit rate of the live video data is reduced.
In one preferred embodiment of the invention, the coding bit rate for reducing the live video data can wrap
Include following sub-step:
Sub-step S31, continuous multiple network bandwidth score values are counted according to presetting rule.
In practical applications, network there may exist shake, such as coding mean bit rate is 580, and the transmission of acquisition is put down
Equal bit rate is 529, and corresponding network bandwidth score value is -1, illustrates that network condition is deteriorated, and the hair that next predetermined period obtains
Mean bit rate is sent to be possible to be changed into 570, corresponding network bandwidth score value is 0, therefore, when getting a network bandwidth score value
The coding bit rate of live video data is just reduced during less than 0, the number increase for causing encoder to adjust, and adjust the cycle very
It is short, it is more demanding to the hardware device of encoder.Therefore, when the network bandwidth score value got is less than default value, it is necessary to
The continuous multiple network bandwidth score values of statistics, such as it is -1 to get the network bandwidth score value of predetermined period 1, continues to obtain next
The network bandwidth score value of predetermined period 2 is -4, and the network bandwidth score value of predetermined period 3 is -6, it may be said that bright to send average bit
Rate is less than coding mean bit rate always, can cause data congestion, and the live video of main broadcaster is possible to occur that delay, picture are jumped
Jump etc..
Sub-step S32, calculate continuous multiple network bandwidth score values and value.
Sub-step S33, when described and value absolute value is more than predetermined threshold value, reduces the coding of the live video data
Bit rate.
In live, have good experience to allow user, live video should smoothness also needed to clearly picture, such as
Fruit network condition is somewhat deteriorated, and just reduces the frame per second of live video or reduces image quality to reduce coding bit rate, it is clear that
User experience requirement is not met.Therefore continuous multiple network bandwidth score values can be carried out and be worth to calculate with predetermined threshold value,
Such as -1, -4, -6 be added, and value is -11, and when predetermined threshold value is 10, -11 absolute value is more than predetermined threshold value 10, this
When, the coding bit rate of live video data can be reduced, certainly, if getting the network bandwidth score value of a predetermined period
It is -11, -15 etc., illustrates that sending mean bit rate far smaller than encodes mean bit rate, can also reduce live video number immediately
According to coding bit rate.The network bandwidth score value got is also possible to occur -1, -3 ,+4 ,+5, -1 situation, and network
There are shake, such case is to allow to be encoded with current coding bit rate, can be with uncomfortable whole coding bit rate.
There is different encoders on different live platforms, therefore encoder adjustment coding bit rate is also different, for example,
Android platform can use hardware coder MediaCodec, reconfigure an encoder to reconfigure encoder;
On iOS platforms encoder can be reconfigured by calling Reconfiguration using VideoToolbox encoders;
Software encoder can be used, such as can be that libx264 reconfigures encoder by the calling of ReConfig, specifically
Encoder and the method for realizing adjustment coding bit rate, the embodiment of the present invention need not be any limitation as this.
In above preferred embodiment, when network bandwidth score value is less than default value, company is counted according to presetting rule
Continuous multiple network bandwidth score values, when multiple continuous network bandwidth score values and value absolute values are more than predetermined threshold value, say
The speed that bright network sends live video data is less than the speed of encoder coding live video data, at this point it is possible to reduce straight
The coding bit rate of video data is broadcast, the frame per second of video acquisition device collection video data can also be reduced, reduces the matter of video
Amount, to reduce the size of encoded video data so that the transmission live video data that network can be smooth.
Step 206, record adjusts the adjustment time of the coding bit rate of the live video data.
In practical applications, in order to avoid encoder receives adjust instruction again when adjustment does not complete, can preset
Adjustment time, presets in adjustment time and is no longer adjusted at this, specifically, can be when each adjustment starts, record adjustment
Time adaptiveTimeMills, can be with plus default adjustment time 15 seconds after adjustment time adaptiveTimeMills
It is adjusted the period.After have recorded adjustment time, system will judge current time whether also in adjustment time section, if
Be, would not calculating network bandwidth score value, would not also be adjusted again.
Step 207, the number of the coding bit rate of live video data described in statistical adjustment.
In actual network transmission, due to network environment, it is possible to which encoder lifting coding bit rate is completed
Afterwards, at once again need reduce coding bit rate, then again need lifted coding bit rate, i.e., continuously adjust the cycle in succession into
Row alternately lifts or reduces coding bit rate, this can illustrate that network environment is highly unstable used in main broadcaster, in the present invention
Another preferred embodiment in, the number of the coding bit rate of live video data can include described in the statistical adjustment:
Statistics alternately lifts and reduces the number of the coding bit rate of the live video data.
In the embodiment of the present invention, network bandwidth score value is just calculated after the completion of once adjusting, and calculating network band
Wide score value is calculated according to the coding mean bit rate in predetermined period and transmission mean bit rate, therefore, is alternately lifted
It can refer to the coding bit rate for reducing the live video data, after lifting coding bit rate, spend very short time, such as
An at least predetermined period, needs to reduce coding bit rate, then lifts the process of coding bit rate again, specifically again at once
The coding bit rate of live video data can be lifted and reduced by table statistics, can also be by counters count, this
Inventive embodiments are without limitation.
Step 208, when the number reaches preset times, stop adjusting the coded-bit of the live video data
Rate.
Very short time has been spent after there is lifting coding bit rate reduces coding bit rate again, then lifts coded-bit again
Rate, illustrates that network environment is highly unstable, the number that the process repeats can be counted, when the number counted on reaches preset times
When, it can stop adjusting the coding bit rate of live video data, specifically, ensureing live video when reducing coding bit rate
After sending fluency, stop the coding bit rate of adjustment live video data.
By the embodiment of the present invention, according to the coding mean bit rate of encoder and mean bit rate is sent, calculates net
Network bandwidth score value, learns the situation of network environment in real time, and live video is adjusted in real time so as to the situation according to network environment
The coding bit rate of data, therefore, can learn network bandwidth environments according to network bandwidth score value, and then can be according to network
Bandwidth environment, adjusts the coding bit rate of live video data in real time, ensure that the live video data of main broadcaster is capable of smoothness
Streaming media server is sent to, while enables main broadcaster and bean vermicelli real-time, interactive, improves user experience.
More preferably, by the way that compared with default value, network bandwidth score value can be learned the situation of network environment, and then obtain
Multiple continuous network bandwidth score values are taken, to determine whether network change trend is stablized, so as to more accurately learn network rings
Border, can reduce the coding bit rate of live video data when network bandwidth environments are poor, ensure the live video number of main broadcaster
Smooth be sent to streaming media server according to being capable of so that main broadcaster can and bean vermicelli real-time, interactive, it is and good in network bandwidth environments
When, the coding bit rate of live video data is lifted, so as to improve the quality of live video, makes full use of network bandwidth, is lifted
User experience.
Further, statistical coding device alternately lifts and reduces the number of the coding bit rate of live video data, can be with
Main broadcaster is obtained when live, whether network is stablized, when the number of statistics is more than preset times, it may be determined that used in main broadcaster
Network environment is unstable, after the coding bit rate that can reduce live video data, stops the coding of adjustment live video data
Bit rate, can effectively ensure that the transmission of live video data smoothness to streaming media server so that the bean vermicelli of main broadcaster can
Watch smooth live video, and with main broadcaster's real-time, interactive.
For the clearer explanation embodiment of the present invention, illustrated below by way of example:
As shown in figure 3, a kind of adjustment schematic diagram of live video data coding bit rate for the embodiment of the present invention, specifically
It may comprise steps of:
Step 301, camera collection live video data;
Step 302, the live video data of acquisition is encoded;
Step 303, the live video data after being encoded;
Step 304, the live video data after coding is sent to streaming media server;
Step 305, in transmission process, according to coding mean bit rate and mean bit rate is sent, is adjusted in real time live
The coding bit rate of video data.
In above-mentioned example, live video data is collected using the camera API of each platform, live video data can be with
The view data of yuv format, live video data after video encoder is encoded according to certain coding bit rate,
The live video data of the data format of H264 is obtained, the API that the live video data after the coding of acquisition is passed through into FFmpeg
It is sent on streaming media server, during transmission, a module monitors network egress bandwidth is set, obtains and sends averagely
Bit rate, judges to send the magnitude relationship of the coding mean bit rate of mean bit rate and encoder, calculates one suitably
Coding bit rate carries out reconfiguring encoder.
By above-mentioned example, encoder according to the state of network, can adjust the coded-bit of live video data in real time
Rate, so as to smooth transmission live video data so that user has good experience.
Certainly, above-mentioned is only an example of the invention, and when implementing the embodiment of the present invention, those skilled in the art can
To carry out the processing of live video data according to actual conditions, the embodiment of the present invention need not be any limitation as this.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group
Close, but those skilled in the art should know, the embodiment of the present invention and from the limitation of described sequence of movement, because according to
According to the embodiment of the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
With reference to Fig. 4, show that a kind of adjusting apparatus of live video data coding bit rate of the embodiment of the present invention three is real
The structure diagram of example is applied, can specifically include following module:
Mean bit rate acquisition module 401, for during live in live video data, being obtained according to predetermined period
The coding mean bit rate and transmission mean bit rate of live video data;
Network bandwidth score value computing module 402, for according to the coding mean bit rate and transmission mean bit rate, meter
Calculation obtains network bandwidth score value;
Coding bit rate adjusts module 403, for according to the network bandwidth score value, adjusting the live video data
Coding bit rate.
In one preferred embodiment of the invention, the network bandwidth score value computing module 402 includes:
Time acquisition submodule, for the last adjustment time for obtaining current time and having recorded;
Adjustment time section computing module, for calculating adjustment using the last adjustment time and default adjustment time
Period;
Time judging submodule, for judging the current time whether in the adjustment time section;
Network bandwidth score value calculating sub module, for according to the coding mean bit rate and transmission mean bit rate, meter
Calculation obtains network bandwidth score value.
In one preferred embodiment of the invention, the coding bit rate adjustment module 403 includes:
Network bandwidth score value judging submodule, for judging whether the network bandwidth score value is more than default value;
Coding bit rate lifts submodule, for lifting the coding bit rate of the live video data;
Coding bit rate reduces submodule, for reducing the coding bit rate of the live video data.
In one preferred embodiment of the invention, the coding bit rate lifting submodule includes:
Network bandwidth score value acquiring unit, for obtaining multiple network bandwidth score values in preset duration;
Coding bit rate lift unit, for when the multiple network bandwidth score value is both greater than default value, lifting institute
State the coding bit rate of live video data.
In one preferred embodiment of the invention, the coding bit rate reduces submodule and includes:
Network bandwidth score value statistic unit, for counting continuous multiple network bandwidth score values according to presetting rule;
With value computing unit, for calculate continuous multiple network bandwidth score values and value;
Coding bit rate reduces unit, for when described and value absolute value is more than predetermined threshold value, reducing described live
The coding bit rate of video data.
With reference to shown in Fig. 5, in one preferred embodiment of the invention, described device further includes:
Adjustment time logging modle 404, during adjustment for recording the coding bit rate for adjusting the live video data
Between.
Adjust number statistical module 405, the number for the coding bit rate of live video data described in statistical adjustment;
Stop adjustment module 406, for when the number reaches preset times, stopping adjusting the live video data
Coding bit rate.
In one preferred embodiment of the invention, the adjustment number statistical module 405 further includes:
Number statistic submodule is adjusted, alternately lifts and reduce the coding bit rate of the live video data for counting
Number.
For device embodiment, since it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can use complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can use one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that it can realize flowchart and/or the block diagram by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in flow and/or square frame combination.These can be provided
Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to produce a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction is produced and is used for realization in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
The device for the function of specifying.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments
In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory produces bag
The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps is performed on computer or other programmable terminal equipments to produce computer implemented processing, so that
The instruction performed on computer or other programmable terminal equipments is provided and is used for realization in one flow of flow chart or multiple flows
And/or specified in one square frame of block diagram or multiple square frames function the step of.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base
This creative concept, then can make these embodiments other change and modification.So appended claims are intended to be construed to
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or order.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements are not only wrapped
Those key elements are included, but also including other elements that are not explicitly listed, or further include as this process, method, article
Or the key element that terminal device is intrinsic.In the absence of more restrictions, wanted by what sentence "including a ..." limited
Element, it is not excluded that also there are other identical element in the process including the key element, method, article or terminal device.
Above to the method for adjustment and device of a kind of live video data provided by the present invention, it is described in detail,
Specific case used herein is set forth the principle of the present invention and embodiment, and the explanation of above example is simply used
Understand the method and its core concept of the present invention in help;Meanwhile for those of ordinary skill in the art, according to the present invention's
Thought, there will be changes in specific embodiments and applications, in conclusion this specification content should not be construed as
Limitation of the present invention.
Claims (16)
- A kind of 1. method of adjustment of live video data coding bit rate, it is characterised in that including:Live video data it is live during, according to predetermined period obtain live video data coding mean bit rate and Send mean bit rate;According to the coding mean bit rate and mean bit rate is sent, network bandwidth score value is calculated;According to the network bandwidth score value, the coding bit rate of the live video data is adjusted.
- It is 2. according to the method described in claim 1, it is characterized in that, described average according to the coding mean bit rate and transmission Bit rate, the step of network bandwidth score value is calculated, include:Obtain current time and the last adjustment time recorded;Adjustment time section is calculated using the last adjustment time and default adjustment time;Judge the current time whether in the adjustment time section;If it is not, then according to the coding mean bit rate and sending mean bit rate, network bandwidth score value is calculated.
- It is 3. according to the method described in claim 2, it is characterized in that, described described straight according to the network bandwidth score value, adjustment The step of coding bit rate for broadcasting video data, includes:Judge whether the network bandwidth score value is more than default value;If so, then lift the coding bit rate of the live video data;If it is not, then reduce the coding bit rate of the live video data.
- 4. the according to the method described in claim 3, it is characterized in that, coding bit rate of the lifting live video data The step of include:Obtain multiple network bandwidth score values in preset duration;When the multiple network bandwidth score value is both greater than default value, the coding bit rate of the live video data is lifted.
- 5. the according to the method described in claim 3, it is characterized in that, coding bit rate for reducing the live video data The step of include:Continuous multiple network bandwidth score values are counted according to presetting rule;Calculate continuous multiple network bandwidth score values and value;When described and value absolute value is more than predetermined threshold value, the coding bit rate of the live video data is reduced.
- 6. according to the method described in claim 1 or 3 or 4 or 5, it is characterised in that described according to the network bandwidth score value, After the step of adjusting the coding bit rate of the live video data, further include:The number of the coding bit rate of live video data described in statistical adjustment;When the number reaches preset times, stop adjusting the coding bit rate of the live video data.
- 7. the according to the method described in claim 6, it is characterized in that, encoding ratio of live video data described in the statistical adjustment The step of number of special rate is:Statistics alternately lifts and reduces the number of the coding bit rate of the live video data.
- 8. according to the method described in claim 1, it is characterized in that, described described live according to network bandwidth score value, adjustment After the step of coding bit rate of video data, further include:Record adjusts the adjustment time of the coding bit rate of the live video data.
- A kind of 9. adjusting apparatus of live video data coding bit rate, it is characterised in that including:Mean bit rate acquisition module, for during live in live video data, live regard to be obtained according to predetermined period The coding mean bit rate and transmission mean bit rate of frequency evidence;Network bandwidth score value computing module, for according to the coding mean bit rate and transmission mean bit rate, being calculated Network bandwidth score value;Coding bit rate adjusts module, for according to the network bandwidth score value, adjusting the encoding ratio of the live video data Special rate.
- 10. device according to claim 9, it is characterised in that the network bandwidth score value computing module includes:Time acquisition submodule, for the last adjustment time for obtaining current time and having recorded;Adjustment time section computing module, for calculating adjustment time using the last adjustment time and default adjustment time Section;Time judging submodule, for judging the current time whether in the adjustment time section;Network bandwidth score value calculating sub module, for according to the coding mean bit rate and transmission mean bit rate, calculating To network bandwidth score value.
- 11. device according to claim 10, it is characterised in that the coding bit rate adjustment module includes:Network bandwidth score value judging submodule, for judging whether the network bandwidth score value is more than default value;Coding bit rate lifts submodule, for lifting the coding bit rate of the live video data;Coding bit rate reduces submodule, for reducing the coding bit rate of the live video data.
- 12. according to the devices described in claim 11, it is characterised in that the coding bit rate lifting submodule includes:Network bandwidth score value acquiring unit, for obtaining multiple network bandwidth score values in preset duration;Coding bit rate lift unit is described straight for when the multiple network bandwidth score value is both greater than default value, being lifted Broadcast the coding of video data.
- 13. according to the devices described in claim 11, it is characterised in that the coding bit rate, which reduces submodule, to be included:Network bandwidth score value statistic unit, for counting continuous multiple network bandwidth score values according to presetting rule;With value computing unit, for calculate continuous multiple network bandwidth score values and value;Coding bit rate reduces unit, for when described and value absolute value is more than predetermined threshold value, reducing the live video The coding bit rate of data.
- 14. according to the device described in claim 9 or 11 or 12 or 13, it is characterised in that described device further includes:Adjust number statistical module, the number for the coding bit rate of live video data described in statistical adjustment;Stop adjustment module, for when the number reaches preset times, stopping adjusting the coding of the live video data Bit rate.
- 15. device according to claim 14, it is characterised in that the adjustment number statistical module includes:Number statistic submodule is adjusted, for counting time for the coding bit rate for alternately lifting and reducing the live video data Number.
- 16. device according to claim 9, it is characterised in that described device further includes:Adjustment time logging modle, for recording the adjustment time for the coding bit rate for adjusting the live video data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610879635.2A CN107920041B (en) | 2016-10-08 | 2016-10-08 | Method and device for adjusting bit rate of live video data coding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610879635.2A CN107920041B (en) | 2016-10-08 | 2016-10-08 | Method and device for adjusting bit rate of live video data coding |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107920041A true CN107920041A (en) | 2018-04-17 |
CN107920041B CN107920041B (en) | 2020-08-25 |
Family
ID=61891624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610879635.2A Active CN107920041B (en) | 2016-10-08 | 2016-10-08 | Method and device for adjusting bit rate of live video data coding |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107920041B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587510A (en) * | 2018-12-10 | 2019-04-05 | 广州虎牙科技有限公司 | A kind of live broadcasting method, device, equipment and storage medium |
CN110662114A (en) * | 2019-09-30 | 2020-01-07 | 广州华多网络科技有限公司 | Video processing method and device, electronic equipment and storage medium |
CN110913245A (en) * | 2019-11-08 | 2020-03-24 | 网宿科技股份有限公司 | Method and device for controlling video transcoding code rate |
CN113037697A (en) * | 2019-12-25 | 2021-06-25 | 深信服科技股份有限公司 | Video frame processing method and device, electronic equipment and readable storage medium |
CN113473228A (en) * | 2021-06-11 | 2021-10-01 | 深圳锐取信息技术股份有限公司 | Transmission control method, device, storage medium and equipment for 8K recorded and played video |
WO2022042202A1 (en) * | 2020-08-31 | 2022-03-03 | 华为技术有限公司 | Media file transmission method and apparatus |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060104370A1 (en) * | 2004-10-29 | 2006-05-18 | Sharp Kabushiki Kaisha | Communications device, communications method, communications program, storage medium storing the communications program, and communications system |
CN1787422A (en) * | 2004-12-10 | 2006-06-14 | 微软公司 | A system and process for controlling the coding bit rate of streaming media data |
CN101330352A (en) * | 2008-05-06 | 2008-12-24 | 华中科技大学 | Method for controlling self-adaption code rate for flow media transmission |
CN101765003A (en) * | 2008-12-23 | 2010-06-30 | 上海茂碧信息科技有限公司 | Method for transmitting audio and video under environment of network with different speeds |
CN103501429A (en) * | 2013-10-22 | 2014-01-08 | 中国农业银行股份有限公司 | Data coding method and device based on dynamic code rate |
CN105262699A (en) * | 2015-10-29 | 2016-01-20 | 浙江大华技术股份有限公司 | Network adaptive coding adjustment method and device |
-
2016
- 2016-10-08 CN CN201610879635.2A patent/CN107920041B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060104370A1 (en) * | 2004-10-29 | 2006-05-18 | Sharp Kabushiki Kaisha | Communications device, communications method, communications program, storage medium storing the communications program, and communications system |
CN1787422A (en) * | 2004-12-10 | 2006-06-14 | 微软公司 | A system and process for controlling the coding bit rate of streaming media data |
CN101330352A (en) * | 2008-05-06 | 2008-12-24 | 华中科技大学 | Method for controlling self-adaption code rate for flow media transmission |
CN101765003A (en) * | 2008-12-23 | 2010-06-30 | 上海茂碧信息科技有限公司 | Method for transmitting audio and video under environment of network with different speeds |
CN103501429A (en) * | 2013-10-22 | 2014-01-08 | 中国农业银行股份有限公司 | Data coding method and device based on dynamic code rate |
CN105262699A (en) * | 2015-10-29 | 2016-01-20 | 浙江大华技术股份有限公司 | Network adaptive coding adjustment method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587510A (en) * | 2018-12-10 | 2019-04-05 | 广州虎牙科技有限公司 | A kind of live broadcasting method, device, equipment and storage medium |
CN109587510B (en) * | 2018-12-10 | 2021-11-02 | 广州虎牙科技有限公司 | Live broadcast method, device, equipment and storage medium |
CN110662114A (en) * | 2019-09-30 | 2020-01-07 | 广州华多网络科技有限公司 | Video processing method and device, electronic equipment and storage medium |
CN110662114B (en) * | 2019-09-30 | 2021-11-23 | 广州方硅信息技术有限公司 | Video processing method and device, electronic equipment and storage medium |
CN110913245A (en) * | 2019-11-08 | 2020-03-24 | 网宿科技股份有限公司 | Method and device for controlling video transcoding code rate |
CN113037697A (en) * | 2019-12-25 | 2021-06-25 | 深信服科技股份有限公司 | Video frame processing method and device, electronic equipment and readable storage medium |
WO2022042202A1 (en) * | 2020-08-31 | 2022-03-03 | 华为技术有限公司 | Media file transmission method and apparatus |
CN113473228A (en) * | 2021-06-11 | 2021-10-01 | 深圳锐取信息技术股份有限公司 | Transmission control method, device, storage medium and equipment for 8K recorded and played video |
CN113473228B (en) * | 2021-06-11 | 2022-12-27 | 深圳锐取信息技术股份有限公司 | Transmission control method, device, storage medium and equipment for 8K recorded and played video |
Also Published As
Publication number | Publication date |
---|---|
CN107920041B (en) | 2020-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107920041A (en) | A kind of method of adjustment and device of live video data coding bit rate | |
CN105187835B (en) | Adaptive video code-transferring method and device based on content | |
EP2767039B1 (en) | Quality of user experience testing for video transmissions | |
Alberti et al. | Automated QoE evaluation of dynamic adaptive streaming over HTTP | |
CN111107382B (en) | Data flow control method, device and system | |
US20130304934A1 (en) | Methods and systems for controlling quality of a media session | |
CN104270649B (en) | Image coding device and video encoding method | |
CN108347580B (en) | Method for processing video frame data and electronic equipment | |
JP6099107B2 (en) | Method and apparatus for assessing media quality | |
CN107295395A (en) | Code check adaptive regulation method, device and electronic equipment | |
CN109729437B (en) | Streaming media self-adaptive transmission method, terminal and system | |
CN106982378A (en) | The Bandwidth adjustment of real-time video transmission | |
CN106411565B (en) | Method for estimating processor load, apparatus, system and medium for transmitting media stream | |
CN106851281A (en) | The initial bandwidth estimation of real-time video transmission | |
MX2007011100A (en) | Context-adaptive bandwidth adjustment in video rate control. | |
CN105262699A (en) | Network adaptive coding adjustment method and device | |
US20170142029A1 (en) | Method for data rate adaption in online media services, electronic device, and non-transitory computer-readable storage medium | |
CN106162199B (en) | Method and system for video processing with back channel message management | |
WO2012119459A1 (en) | Data transmission method, apparatus and system | |
WO2017084277A1 (en) | Code stream self-adaption method and system for online media service | |
CN110996103A (en) | Method for adjusting video coding rate according to network condition | |
CN106973294A (en) | The initial bandwidth estimation of real-time video transmission | |
WO2022052566A1 (en) | Video bitrate adjustment method and apparatus, and electronic device and machine-readable storage medium | |
CN104754339B (en) | I framing control method, apparatus and system | |
JP2005020731A (en) | Image data processing method of mobile communication terminal |
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 |