CN103475851A - Dynamic encoding device and method based on bandwidth detection - Google Patents

Dynamic encoding device and method based on bandwidth detection Download PDF

Info

Publication number
CN103475851A
CN103475851A CN2013103988545A CN201310398854A CN103475851A CN 103475851 A CN103475851 A CN 103475851A CN 2013103988545 A CN2013103988545 A CN 2013103988545A CN 201310398854 A CN201310398854 A CN 201310398854A CN 103475851 A CN103475851 A CN 103475851A
Authority
CN
China
Prior art keywords
video
bandwidth
network
detection
bandwidth detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013103988545A
Other languages
Chinese (zh)
Inventor
佟亮
庄鑫
沙丽娟
张慧坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiqihar University
Original Assignee
Qiqihar University
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 Qiqihar University filed Critical Qiqihar University
Priority to CN2013103988545A priority Critical patent/CN103475851A/en
Publication of CN103475851A publication Critical patent/CN103475851A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a dynamic encoding method based on bandwidth detection, wherein the dynamic encoding method is suitable for processing a video and transmitting the video through a network. The method includes the steps of receiving the video firstly, detecting a bandwidth of the network, judging the range of the bandwidth, encoding the video according to the judged bandwidth range, outputting the encoded video, and ultimately outputting the encoded video to the network. By means of periodical bandwidth detection, the encoding method and / or encoding quality are / is dynamically adjusted according to a detection result, so that self-adjusting of video transmission quality and the bandwidth level of a network meeting is achieved.

Description

A kind of dynamic coding apparatus and method based on bandwidth detection
Technical field
The present invention is relevant for a kind of dynamic coding apparatus and method based on bandwidth detection.
Background technology
Along with the fast development of network, start the application in conjunction with online video frequency program and video conference.The application of this class needs larger bandwidth just can keep the stable of video quality usually.For instance, on a lot of lines, video frequency program and video council parliament advise that the user has the bandwidth of 350~400K at least.Yet the bandwidth of network can be subject to being permitted multifactorial impact.For example, in the time of a lot of people's online, bandwidth can be shared to fall by other users; Perhaps, in the process of video conference, the user is situation about being in background clutter in acquisition during video, can therefore need larger bandwidth to transmit video, bandwidth now all can occur not enough and affect the problem of transmission of video quality.Existing netmeeting is recognized this problem, and most of netmeeting all can check that before the participant adds meeting its bandwidth be connected with server is to guarantee the meeting quality.
But they have following shortcoming:
1. bandwidth detection was carried out before adding meeting, but the network bandwidth is dynamic change, and at the different time of meeting, the bandwidth connected from server may be different.
2. audio frequency, the shared data of application program, and the video acquisition rate is invariable, the dynamic adjustments with the variation of bandwidth neatly.In the situation that the network bandwidth diminishes, constant data can not be transmitted in time and can produce time delay, affect the quality of meeting sound intermediate frequency transmission.
The subject matter of current all conference system is all that the assurance of real-time is inadequate, to the network bandwidth require too high, carry out the network teleconference and desktop while sharing the time delay phenomenon very obvious, had a strong impact on the quality of Web conference.
Summary of the invention
Consideration based on above, need to provide a kind of transfer of data stable, real-time, audio frequency, application program are shared, and video display effect is good, the method of the IP network meeting Real-time ensuring technology that system cost is low, in order to dynamically to improve the quality of transmission of video when the network bandwidth is not enough.In meeting, carry out in process, utilize the bandwidth detection process periodically to detect the available bandwidth be connected with server, in the situation that in guaranteeing available bandwidth, a standing part is taken by voice-grade channel, remaining bandwidth has determined acquisition rate and the transfer rate of the shared data of application program and video.
The invention provides a kind of dynamic coding apparatus and method based on bandwidth detection, be applicable to process a video and pass through Internet Transmission.This device comprises a video module, a bandwidth detection, a video control module, a video encoding module and a video output module.Video module is in order to receiver, video, and bandwidth detection is in order to the bandwidth of Sampling network.The video control module is coupled to video module and bandwidth detection, and the scope of judgement bandwidth also sends one first judged result.Video encoding module is according to the first judged result coded image and export an encoded video, the video output module in order to the output encoder video to network.
The present invention provides a kind of dynamic coding method based on bandwidth detection in addition, is applicable to process a video and passes through an Internet Transmission.At first receiver, video.Then the scope of a bandwidth of Sampling network, judgement bandwidth, according to judged bandwidth range encoded video and export an encoded video, finally again the output encoder video to network.
The present invention, by periodic bandwidth detection, dynamically adjusts coding method and/or coding quality according to testing result, makes the transmission of video quality of Web conference and bandwidth level realize the self adaptation adjustment.
The accompanying drawing explanation
Fig. 1 shows the calcspar according to the described video quality processing unit 10 of one embodiment of the invention;
Fig. 2 shows the structural map according to the described video IMG of one embodiment of the invention;
Fig. 3 shows the coding processing mode according to the described video IMG of one embodiment of the invention;
Fig. 4 shows another coding processing mode according to the described video IMG of one embodiment of the invention;
Fig. 5 shows the flow chart according to the described video quality processing method of one embodiment of the invention.
Drawing reference numeral
10, video quality processing unit; 11, video module; 12, codes selection setting module; 13, bandwidth detection; 14, video control module; 15, video encoding module; 16, video output module; A1, first area; A2, second area; BW, bandwidth; IMG, video; IMAGE, encoded video; S1, S2, S3, S4 judged result.
Embodiment
For described purpose of the present invention, feature and advantage can be become apparent, preferred embodiment cited below particularly, and coordinate appended accompanying drawing, be described in detail below:
Fig. 1 shows the calcspar according to the described video quality processing unit 10 of one embodiment of the invention.Video quality processing unit 10 comprises a video module 11, a codes selection setting module 12, a bandwidth detection 13, a video control module 14, a video encoding module 15 and a video output module 16.
In the present invention, for the selected coding quality of different bandwidth level or coded system, can carry out mark by predefined corresponding relation look-up table L, for example, in L, can record for some bandwidth ranges, select a certain specific coding method, make when guaranteeing coding quality, take coding rate and cost into account, or can, according to the difference of the bandwidth detected, dynamically adjust the resolution as the video of coding result.
Video module 11 is connected to video capture device or the Internet, and in order to receiver, video IMG, wherein this video IMG comprises first area A1 and second area A2, the periphery that first area A1 is video, and the core that second area A2 is video, as shown in Figure 2.Codes selection setting module 12 is in order to set a default bandwidth, that is sets a required amount of bandwidth that can maintain the normal video quality.For instance, if the video on the Internet needs the bandwidth of 350K just can normally and glibly play, that codes selection setting module 12 sets the pre-set bandwidths of 350K, and the codes selection setting module can also be set with the form of table the corresponding relation of bandwidth detection result and coding method and/or quality in addition.Bandwidth detection 13 also is connected to the Internet, and detects the bandwidth BW of the Internet.Video control module 14 is connected to codes selection setting module 12 and bandwidth detection 13, in order to judge the detected bandwidth BW of bandwidth detection 13 and to send the first judged result S1.For instance, if bandwidth detection 13 detects the words that the bandwidth BW of the Internet is 400K (only for giving an example), the bandwidth BW 400K of video control module 14 judgement networks is also high than maintaining the required 350K of normal video quality, therefore sends the first judged result S1 and notifies video encoding module 15 with a set coding quality whole video IMG data of (first area A1 adds second area A2) of encoding.Video encoding module 15 is according to the first judged result S1 with set coding quality encoded video IMG and export an encoded video IMAGE, and final video output module 16 this encoded video of output IMAGE are to network.Should be noted that, more than mentioned the bandwidth BW of bandwidth detection 13 detection the Internets, more particularly, the bandwidth detected at this is Internet Transmission bandwidth actual between video quality processing unit 10 and video IMG recipient.
Another kind of situation is that the bandwidth BW that bandwidth detection 13 detects network is lower than 350K, for example 310K.Within now the bandwidth BW 310K of video control module 14 judgement networks drops on the first bandwidth range of 300K~350K (only for giving an example).Because the first bandwidth range 300K~350K also hangs down a bit a little than maintaining the required 350K of normal video quality, but can be not far short of what is expected, therefore video control module 14 send the second judged result S2 notice video encoding module 15 with set coding quality encoded video IMG the data corresponding to second area A2 (core of video IMG), and with the coding quality encoded video IMG lower than set coding quality the data corresponding to first area A1 (periphery of video IMG).Such way is mainly because the network bandwidth BW detected, only for example, than maintaining the required 350K of normal video quality also low a little a bit (described 310K), therefore guarantees the coding quality of other piths in the mode of sacrificing a little the peripheral coding of video IMG quality (periphery of video is more unimportant usually).Last again by coded video output, and export these encoded videos to network by video output module 16.
More than that bandwidth detection 13 detects the non-limiting examples that the bandwidth BW of network is 310K.For example, yet the detected network bandwidth BW of bandwidth detection 13 may be lower, 280K.In this situation, the bandwidth BW 280K of video control module 14 judgement networks drop on 250K~300K (only for for example) the second bandwidth range in.Due to second bandwidth range 250K~300K poor 350K mono-segment distance also, therefore video control module 14 send the 3rd judged result S3 notice video encoding module 15 with set coding quality encoded video IMG the data corresponding to second area A2 (core of video IMG), and with the encoded video IMG of the coding quality lower than set coding quality the data corresponding to part first area A1, corresponding to the data of first area other parts of A1, abandon.As shown in Figure 3, data corresponding to second area A2 is encoded with normal set coding quality, and first area A1 only the remaining corresponding data of the right and left do coding with the coding quality lower than set coding quality, the corresponding data in A1 top and the bottom, first area is given up.Difference part with previous embodiment, the data part of giving up corresponding to first area A1 is to do coding with the coding quality lower than set coding quality originally, now it is given up thereby can further reduce the bandwidth resources that expend, even the therefore network bandwidth not enough (for example 280K of the present embodiment), but still can safeguard the video quality of video IMG pith.
It must be noted that, will abandon corresponding to the data of A1 top and the bottom, first area although above embodiment has illustrated, the part abandoned can be also corresponding to the first area A1 data of one of them part up and down, or the data of a plurality of parts.
More than that bandwidth detection 13 detects the non-limiting examples that the bandwidth BW of network is 280K.For example, yet the detected network bandwidth BW of bandwidth detection 13 may be lower than 280K, 220K.In this situation, within the bandwidth BW 220K of video control module 14 judgement networks drops on the 3rd bandwidth range of 200K~250K (only for giving an example).Because the poor 350K of the 3rd bandwidth range 200K~250K is a lot, therefore video control module 14 send the 4th judged result S4 notice video encoding module 15 with set coding quality encoded video IMG the data corresponding to second area A2 (core of video IMG), and all abandon the data of video IMG corresponding to first area A1 (periphery of video IMG), as shown in Figure 4.By this way, owing to all abandoning the data of video IMG corresponding to first area A1, therefore can save more bandwidth resources to safeguard the video quality of video IMG pith.
The different Video coding countermeasure of taking according to different network bandwidth BW more than has been described, although it is the periphery of video that above embodiment points out the first area A1 of video, and the second area A2 of video is the core of video, but first area A1 and second area A2 can be also other parts of video.Moreover, in a second embodiment when network bandwidth BW is 280K, although video encoding module 15 is the data corresponding to second area A2 with set coding quality encoded video IMG, and with the encoded video IMG of the coding quality lower than set coding quality the data corresponding to part first area A1, data corresponding to first area other parts of A1 abandons, but the data abandoned part also can be independent of first area A1 outside, not limiting must be the wherein part of first area A1.
In addition, in above embodiment, more important its corresponding data of second area A2 (core) of video is all encoded with set coding quality, but also optionally demand with the coding quality higher than set coding quality, encode.Therefore, the disclosed concept of the present invention is come certain zone of encoded video except the coding quality with lower, or certain zone that abandons video also can increase the coding quality of video to save outside bandwidth resources.
Fig. 5 shows the flow chart according to the described video quality processing method of one embodiment of the invention, is applicable to process the video received by a network.At first receiver, video (step S21), wherein this video IMG comprises first area A1 and second area A2, the periphery that first area A1 is video, the core that second area A2 is video.Then in step S22, set a pre-set bandwidths, that is set the required amount of bandwidth that can maintain the normal video quality, for example a 350K.The bandwidth of Sampling network in step S23, the bandwidth detected be and the video reception person between actual Internet Transmission bandwidth.The scope of the judgement network bandwidth in step S24, for example the bandwidth of network is the first bandwidth range between 300K~350K, the second bandwidth range or the 3rd bandwidth range of 200K~250K (above scope is only for giving an example) of 250K~300K.According to judged network bandwidth scope encoded video, and export an encoded video in step S25.If the network bandwidth judged in step S24 is greater than 350K, for example 400K, mean that the bandwidth of network is enough to the stable video of output quality, therefore with a set coding quality encoded video (first area A1 adds second area A2).If dropping on, the network bandwidth hangs down the first bandwidth range of any than 350K, 310K for example, the data corresponding to second area A2 (core of video) with set coding quality encoded video, and with the coding quality encoded video lower than set coding quality the data corresponding to first area A1 (periphery of video).If the bandwidth of network drops on the second lower bandwidth range, 280K for example, the data corresponding to second area A2 with set coding quality encoded video, and with the coding quality encoded video lower than set coding quality the data corresponding to first area A1.If the bandwidth of network drops on the 3rd lower bandwidth range, 220K for example, the data corresponding to second area A2 with set coding quality encoded video, and all abandon the data of video corresponding to first area A1.Finally in step S26 the output encoder video to network.
Finally, it must be noted that, above disclosed first, second, and third bandwidth range all decides according to pre-set bandwidths.Each bandwidth range means the bandwidth and the gap that maintains the required pre-set bandwidths of stable video quality of network.Therefore, which bandwidth range meeting of the present invention falls within according to the bandwidth of network the different data coding mechanism of taking.
Though the present invention discloses as above with preferred embodiment; so it is not in order to limit scope of the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; can do a little change and modification, so protection scope of the present invention is when being as the criterion of being defined by claim.

Claims (10)

1. the dynamic coding method based on bandwidth detection, comprise the steps:
The corresponding relation of a, pre-set bandwidths scope and coded system and/or resolution;
B, receiver, video;
The bandwidth of c, Sampling network;
D, judge the scope of described bandwidth;
E, according to scope and the described corresponding relation of judged described bandwidth, described video is encoded, and the output encoder video; And,
F, export described encoded video to described network.
2. a kind of dynamic coding method based on bandwidth detection as claimed in claim 1, is characterized in that, described video can be obtained or receive by described network via video acquisition device.
3. a kind of dynamic coding method based on bandwidth detection as claimed in claim 1, is characterized in that, described e further comprises: according to the scope of described bandwidth, adjust the coded system to described video.
4. a kind of dynamic coding method based on bandwidth detection as claimed in claim 1, is characterized in that, described e further comprises: according to the scope of described bandwidth, adjust the resolution of the result that described video is encoded.
5. a kind of dynamic coding method based on bandwidth detection as claimed in claim 1, described step a comprises, carrys out the corresponding relation of indicia band wide region and coded system and/or resolution in the mode of look-up table.
6. the dynamic coding device based on bandwidth detection, is characterized in that, comprising:
Video module, in order to receiver, video;
Bandwidth detection, in order to the bandwidth of Sampling network periodically;
The video control module is coupled to described video module and described bandwidth detection, in order to the scope that judges described bandwidth and send judged result;
The codes selection setting module, in order to the corresponding relation of pre-set bandwidths scope and coded system and/or resolution;
Video encoding module is according to described judged result and described corresponding relation encode described video output encoder video; And,
The video output module, in order to export described encoded video to described network.
7. a kind of dynamic coding device based on bandwidth detection as claimed in claim 6, is characterized in that, described video can be obtained or receive by described network via video acquisition device.
8. a kind of dynamic coding device based on bandwidth detection as claimed in claim 6, is characterized in that, described video encoding module, according to the scope of described bandwidth, is adjusted the coded system to described video.
9. a kind of dynamic coding device based on bandwidth detection as claimed in claim 6, is characterized in that, described video encoding module, according to the scope of described bandwidth, is adjusted the resolution of the result that described video is encoded.
10. a kind of dynamic coding device based on bandwidth detection as claimed in claim 6, is characterized in that, described codes selection setting module carrys out the corresponding relation of indicia band wide region and coded system and/or resolution in the mode of look-up table.
CN2013103988545A 2013-09-05 2013-09-05 Dynamic encoding device and method based on bandwidth detection Pending CN103475851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103988545A CN103475851A (en) 2013-09-05 2013-09-05 Dynamic encoding device and method based on bandwidth detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103988545A CN103475851A (en) 2013-09-05 2013-09-05 Dynamic encoding device and method based on bandwidth detection

Publications (1)

Publication Number Publication Date
CN103475851A true CN103475851A (en) 2013-12-25

Family

ID=49800530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103988545A Pending CN103475851A (en) 2013-09-05 2013-09-05 Dynamic encoding device and method based on bandwidth detection

Country Status (1)

Country Link
CN (1) CN103475851A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219539A (en) * 2014-09-29 2014-12-17 公安部第一研究所 Video encoding and transmitting method based on TD-LTE (time division long term evolution) channel detection
CN105245485A (en) * 2014-05-26 2016-01-13 联想(北京)有限公司 Information processing method and electronic device
CN105635734A (en) * 2014-11-03 2016-06-01 掌赢信息科技(上海)有限公司 Self-adaptive video coding method and device based on video conversation scene
WO2016206391A1 (en) * 2015-06-26 2016-12-29 中兴通讯股份有限公司 Method and system for controlling network traffic of video conference
WO2017124224A1 (en) * 2016-01-18 2017-07-27 王晓光 Network video conferencing method and system
CN113271463A (en) * 2021-07-19 2021-08-17 全时云商务服务股份有限公司 Method for dynamically encoding multilayer video in cloud conference

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277517A (en) * 1999-06-12 2000-12-20 三星电子株式会社 Radio communication system using for video group transmission
CN101102495A (en) * 2007-07-26 2008-01-09 武汉大学 A video image decoding and encoding method and device based on area
CN101146204A (en) * 2006-09-12 2008-03-19 腾讯科技(深圳)有限公司 Quality adjusting method and device for instant communication video
CN101656876A (en) * 2008-08-20 2010-02-24 宏碁股份有限公司 Image quality processing device and image quality processing method
CN101795401A (en) * 2010-03-19 2010-08-04 中兴通讯股份有限公司 Method and system for transmitting video streaming medium
CN102984495A (en) * 2012-12-06 2013-03-20 北京小米科技有限责任公司 Video image processing method and device
CN104378651A (en) * 2013-08-15 2015-02-25 成都邑元科技有限责任公司 Dynamic encoding device and method based on bandwidth detection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277517A (en) * 1999-06-12 2000-12-20 三星电子株式会社 Radio communication system using for video group transmission
CN101146204A (en) * 2006-09-12 2008-03-19 腾讯科技(深圳)有限公司 Quality adjusting method and device for instant communication video
CN101102495A (en) * 2007-07-26 2008-01-09 武汉大学 A video image decoding and encoding method and device based on area
CN101656876A (en) * 2008-08-20 2010-02-24 宏碁股份有限公司 Image quality processing device and image quality processing method
CN101795401A (en) * 2010-03-19 2010-08-04 中兴通讯股份有限公司 Method and system for transmitting video streaming medium
CN102984495A (en) * 2012-12-06 2013-03-20 北京小米科技有限责任公司 Video image processing method and device
CN104378651A (en) * 2013-08-15 2015-02-25 成都邑元科技有限责任公司 Dynamic encoding device and method based on bandwidth detection

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245485A (en) * 2014-05-26 2016-01-13 联想(北京)有限公司 Information processing method and electronic device
CN104219539A (en) * 2014-09-29 2014-12-17 公安部第一研究所 Video encoding and transmitting method based on TD-LTE (time division long term evolution) channel detection
CN104219539B (en) * 2014-09-29 2018-10-30 公安部第一研究所 A method of the Video coding based on TD-LTE Channel Detections and transmission
CN105635734A (en) * 2014-11-03 2016-06-01 掌赢信息科技(上海)有限公司 Self-adaptive video coding method and device based on video conversation scene
CN105635734B (en) * 2014-11-03 2019-04-12 掌赢信息科技(上海)有限公司 Adaptive video coding method and device based on video calling scene
WO2016206391A1 (en) * 2015-06-26 2016-12-29 中兴通讯股份有限公司 Method and system for controlling network traffic of video conference
WO2017124224A1 (en) * 2016-01-18 2017-07-27 王晓光 Network video conferencing method and system
CN113271463A (en) * 2021-07-19 2021-08-17 全时云商务服务股份有限公司 Method for dynamically encoding multilayer video in cloud conference
CN113271463B (en) * 2021-07-19 2021-09-24 全时云商务服务股份有限公司 Method for dynamically encoding multilayer video in cloud conference

Similar Documents

Publication Publication Date Title
CN103475851A (en) Dynamic encoding device and method based on bandwidth detection
US9577935B2 (en) Unified congestion control for real-time media support
US9819597B2 (en) Adaptive bit rate for data transmission
WO2020220902A1 (en) Method and apparatus for distributing transmission parameters of video resources
CN104125429A (en) Video data transmission adjusting method and device
EP2637403B1 (en) Method and device for adjusting bandwidth in conference place, conference terminal and media control server
US9485289B2 (en) HTTP streaming client adaptation algorithm based on proportional-integral control
CN105359479A (en) Apparatus and method for controlling adaptive streaming of media
WO2014061181A1 (en) Camera system
US20100274920A1 (en) Adjustment of Transmission Data Rate Based on Data Errors and/or Latency
CN104394484A (en) Wireless live streaming media transmission method
CN106982371B (en) Code stream control method and system, code stream management method and system, and terminal equipment
CN104618195A (en) Bandwidth estimation method and device
CN104270649A (en) Image encoding device and image encoding method
US9954926B2 (en) QoS-guaranteed video stream method and system, and transmitting server
CN105791735B (en) Method and system for video calling code stream dynamic adjustment
CN101989902A (en) Data retransmission method and device
US20160277468A1 (en) Adapting Encoded Bandwidth
AU2021200428B2 (en) System and method for automatic encoder adjustment based on transport data
TWI492584B (en) The Path Selection Method of Hybrid Complex Heterogeneous Network
CN104378651A (en) Dynamic encoding device and method based on bandwidth detection
Kacianka et al. Adaptive video streaming for UAV networks
JP2014192566A (en) Video processing device, video processing method, and computer program
WO2018114520A1 (en) Determining the bandwidth of a communication link
CN115378832B (en) Congestion detection method and device, stream media transmission system, electronic equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131225

RJ01 Rejection of invention patent application after publication