CN105827633A - Video transmission method and device - Google Patents

Video transmission method and device Download PDF

Info

Publication number
CN105827633A
CN105827633A CN201610301211.8A CN201610301211A CN105827633A CN 105827633 A CN105827633 A CN 105827633A CN 201610301211 A CN201610301211 A CN 201610301211A CN 105827633 A CN105827633 A CN 105827633A
Authority
CN
China
Prior art keywords
video
channel
video channel
transmitted
bandwidth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610301211.8A
Other languages
Chinese (zh)
Other versions
CN105827633B (en
Inventor
吴世奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201610301211.8A priority Critical patent/CN105827633B/en
Publication of CN105827633A publication Critical patent/CN105827633A/en
Application granted granted Critical
Publication of CN105827633B publication Critical patent/CN105827633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The invention discloses a video transmission method and device. The method comprises following steps of determining a total current network bandwidth; determining code streams of videos currently transmitted by video channels; combining the videos transmitted by the video channels according to preset rules when the network bandwidth needing to be occupied by the total code streams of the videos currently transmitted by the video channels is greater than the total current network bandwidth; and then transmitting the videos from the video channels. Through adoption of the scheme, when the bandwidth is insufficient, all the video channels are monitored under the condition of smooth playing; the videos are played smoothly; and moreover, the demanded video image quality is ensured.

Description

A kind of video transmission method and device
Technical field
The present invention relates to technical field of image processing, particularly to a kind of video transmission method and device.
Background technology
Present monitoring device is (such as: DVR (DigitalVideoRecorder, DVR), NVR (NetworkVideoRecorder, network hard disk video recorder) etc.) when carrying out multi-path monitoring, each video channel can be set up a corresponding network and connect, it is separate that each network connects, and has independent data link, network handle and other resource.When user needs to simultaneously monitor multiple video channel, can connect by the corresponding network setting up same number.In the case of the network bandwidth is abundant, the connection of these networks disclosure satisfy that functional requirement.But, in the case of bandwidth deficiency, resource all can be taken owing to each road network connects, if video resolution and code stream are higher simultaneously, so offered load pressure is big, bandwidth is nervous, causes occurring part loss of data in transmission of video, thus occur when client shows video card pause, the phenomenon such as mosaic.If ensureing the normal transmission in the case of bandwidth deficiency by frame losing (the most only transmitting I frame) or reduction code stream, then image quality will be affected, and video is the most smooth.If the quality of picture to be ensured and the fluency of video, final solution is exactly to reduce the supervision of passage way, reduces the code stream size in network transmission, some passage so can be caused to monitor in real time.
The deficiencies in the prior art are: in the case of bandwidth deficiency, if all video channels will be monitored, then video playback is the most smooth, and video pictures quality can be affected.
Summary of the invention
The invention provides a kind of video transmission method and device, in order in the case of bandwidth deficiency, it is ensured that all video channels can be monitored in the case of playing smoothness, and also assures that required video pictures quality while video playback smoothness.
The embodiment of the present invention provides a kind of video transmission method, including:
Determine current network total bandwidth, and determine the code stream of video that current each video channel transmits;
When code stream summation at the video of current each video channel transmission needs the network bandwidth taken more than current network total bandwidth, the video each video channel transmitted transmits from each video channel after combining by preset rules respectively.
Preferably, judge the network bandwidth whether current network total bandwidth takies more than the code stream summation needs of the video of current each video channel transmission, it is to judge the screen resolution whether current network total bandwidth can guarantee that every road video, and/or, whether current network total bandwidth can guarantee that the image quality transmission of every road video.
It is preferred that determine current network total bandwidth, and determine the code stream of video that current each video channel transmits, be to be determined when the video channel request having transmission video.
It is preferred that the video that each video channel is transmitted by preset rules combine after transmit from each video channel respectively, be by video-splicing technology, the video that each video channel is transmitted is combined after transmit from each video channel.
It is preferred that after being combined, by video-splicing technology, the video that each video channel is transmitted during each video channel is transmitted, the video transmitting the most some video channels transmits from a video channel after being combined, including:
Determine each video channel need to being combined by video-splicing technology;
A spliced video pictures is obtained after the video pictures of the video that each video channel is transmitted is spliced;
Described spliced video pictures is transmitted in a video channel.
Preset it is preferred that preset rules is the priority according to each video channel.
The embodiment of the present invention provides a kind of video frequency transmitter, including:
Determine module, be used for determining current network total bandwidth, and determine the code stream of video that current each video channel transmits;
Transport module, for when the code stream summation of the video of current each video channel transmission needs the network bandwidth taken more than current network total bandwidth, the video each video channel transmitted transmits from each video channel after combining by preset rules respectively.
Preferably, transport module is further used for by judging whether current network total bandwidth can guarantee that the screen resolution of every road video, and/or, whether current network total bandwidth can guarantee that the image quality transmission of every road video, judges the network bandwidth whether current network total bandwidth takies more than the code stream summation needs of the video of current each video channel transmission.
It is preferred that determine that module is further used for, when the video channel request having transmission video, determining current network total bandwidth, and determine the code stream of video that current each video channel transmits.
It is preferred that transport module is transmitted from each video channel after being further used for being combined, by video-splicing technology, the video that each video channel is transmitted.
Preferably, transport module be further used for after the video that each video channel is transmitted being combined by video-splicing technology from each video channel transmit during, the video transmitting the most some video channels transmits from a video channel after being combined, including:
Determine each video channel need to being combined by video-splicing technology;
A spliced video pictures is obtained after the video pictures of the video that each video channel is transmitted is spliced;
Described spliced video pictures is transmitted in a video channel.
It is preferred that transport module is further used for the priority according to each video channel presets described preset rules.
The present invention has the beneficial effect that:
The code stream summation of the video of current each video channel transmission needs the network bandwidth taken more than current network total bandwidth, namely bandwidth is when can not meet the demand of video channel, the video each video channel transmitted transmits from each video channel after combining by preset rules respectively, by partial video is combined, the network bandwidth that this partial video takies can be reduced, it is ensured that video playback is smooth;Also assures that the image quality of required video is clear simultaneously.Therefore, employing this programme can be in the case of bandwidth deficiency, it is ensured that all video channels can be monitored in the case of playing smoothness, and also assures that required video pictures quality while video playback smoothness.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the present invention, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is video transmission method implementing procedure schematic diagram in the embodiment of the present invention;
Fig. 2 is transmission of video general arrangement structural representation in the embodiment of the present invention;
Fig. 3 is the internal schematic diagram of transmission of video general arrangement in the embodiment of the present invention;
Fig. 4 is bank monitoring video channel priority level initializing schematic diagram in the embodiment of the present invention;
Fig. 5 is that in the embodiment of the present invention, video transmission method is embodied as schematic flow sheet;
Fig. 6 is adaptive algorithm 1 implementing procedure schematic diagram in the embodiment of the present invention;
Fig. 7 is adaptive algorithm 2 implementing procedure schematic diagram in the embodiment of the present invention;
Fig. 8 is to monitor in the embodiment of the present invention that browser uses schematic diagram;
Fig. 9 is supervision browser using effect schematic diagram in the embodiment of the present invention;
Figure 10 is video frequency transmitter structural representation in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings the detailed description of the invention of the present invention is illustrated.
Fig. 1 is video transmission method implementing procedure schematic diagram, as it can be seen, may include steps of:
Step 101, determine current network total bandwidth, and determine the code stream of video that current each video channel transmits;
Step 102, when the code stream summation of the video of current each video channel transmission needs the network bandwidth that takies more than current network total bandwidth, the video each video channel transmitted transmits from each video channel after combining by preset rules respectively.
For the enforcement of step 102, calculate current network total bandwidth, it is judged that whether current network total bandwidth meets the code stream summation of the video of current each video channel transmission.In the case of guaranteeing to support, each video channel can be allowed to set up independent network and to connect, carry out transmission of video.If being unsatisfactory for, i.e. in the case of bandwidth deficiency, according to preset rules, unessential video channel is combined into same video channel, and be this Path Setup independence network connect, carry out transmission of video, so can be with compressed bit stream, reduce the network bandwidth taken, make video playback smooth.According to preset rules it is also possible that the important video channel needed still uses the connection of single network to be transmitted, it is ensured that the definition of important video channel.
In enforcement, judge the network bandwidth whether current network total bandwidth takies more than the code stream summation needs of the video of current each video channel transmission, can be to judge the screen resolution whether current network total bandwidth can guarantee that every road video, and/or, whether current network total bandwidth can guarantee that the image quality transmission of every road video.
Concrete, in the case of bandwidth deficiency, offered load pressure is big, bandwidth is nervous, can cause occurring in transmission of video part loss of data, thus when client shows, the phenomenons such as card, mosaic occur, affect video image quality, typically by the way of frame losing, reduction code stream, ensure that transmission of video is smooth, cause video resolution to reduce.Therefore, can be by judging whether current network total bandwidth can guarantee that the screen resolution of every road video, and/or, whether current network total bandwidth can guarantee that the image quality transmission of every road video, judges the network bandwidth whether current network total bandwidth takies more than the code stream summation needs of the video of current each video channel transmission.Both of these case will be illustrated by example below respectively by the example of Fig. 6, Fig. 7.
In enforcement, determine current network total bandwidth, and determine the code stream of video that current each video channel transmits, can be to be determined when the video channel request having transmission video.
Concrete, when user sends request channel video commands, obtain the network bandwidth of present apparatus, obtain in the code stream size of the video channel transmitting video, and obtain the code stream size of current request passage.According to data above, whether the channel bit stream calculating current request meets current network bandwidth conditions.
Implementing after the video that each video channel transmitted of step 102 is combined by preset rules respectively from each video channel is transmitted, relating to combination and preset rules, the enforcement to both illustrates separately below, and provides example the combination embodiment of the two is described.
In enforcement, the video that each video channel is transmitted by preset rules combine after transmit from each video channel respectively, can be by video-splicing technology, the video that each video channel is transmitted is combined after transmit from each video channel.
In enforcement, can be such that when one of them video channel is carried out splicing after the video that each video channel is transmitted being combined by video-splicing technology from each video channel transmit during, the video transmitting the most some video channels transmits from a video channel after being combined, and may include that
Determine each video channel need to being combined by video-splicing technology;
A spliced video pictures is obtained after the video pictures of the video that each video channel is transmitted is spliced;
Described spliced video pictures is transmitted in a video channel.
In enforcement, described preset rules can be that the priority according to each video channel is preset.
Concrete, when setting preset rules, can be set according to the needs of user, such as, user arranges priority for each video channel, it is believed that important channel priorities is high, and unessential channel priorities is low.And just user setup channel priorities as the later stage process which road video channel video pictures need combination reference frame.
In being embodied as, example in conjunction with above-mentioned priority can be such that by the preset rules preset in upper example in force, the video that each video channel is transmitted by the priority according to video channel is combined, the video channel that priority is low is carried out video pictures splicing, it is spliced into a video pictures, this spliced video pictures is transmitted in a video channel, so, is equivalent to be combined as multiple video channels one video channel.In this video channel, it is combined with the sprite of each passage, it is achieved that a video channel transmits effect of multiple video pictures.The splicing of multiple video pictures, the resolution reduction of the little picture spliced is carried out after can also making each compression, but owing to these video channels belong to inessential passage for a user, so within the tolerance interval of user, simultaneously, also because resolution reduces after compression, it can be ensured that the broadcasting that it can be smooth.
Such as can be when there being new video channel request, calculate the video channel code stream of current request, whether the network bandwidth taken required for the code stream summation of the video channel code stream judging current request and the video channel asked before is more than current network total bandwidth condition, if beyond the bandwidth upper limit, the passage of transmission of video, the passage that priority is minimum is the most now chosen from, according to current network bandwidth, calculate this passage and need the resolution of compression, the video pictures of the video pictures newly sent into and original feeding is spliced into a video pictures.
In order to be more clearly understood that the present invention, illustrate with specific embodiment below.
First the applied environment of the embodiment of the present invention is introduced.
Fig. 2 is transmission of video general arrangement structural representation, as it can be seen, may include that video input device 201, user is mutual and Video processing and service unit 202, client 203.
Video input device can be analog video camera and DVR, or web camera and NVR, or web camera with mix DVR etc., in the mutual and Video processing by video input to user and service unit.
User is mutual and Video processing and service unit, is used for exporting video and shows to client, and receives user's instruction by clients request video passage.
Below the inside principle of the device in Fig. 2 is illustrated.
Fig. 3 is the internal schematic diagram of transmission of video general arrangement, including: video input system, user instruction interactive system, picture splicing system, Web Video Service system, client etc..
(1) video input system
Video input system provides the user Video service, such as DVR, NVR, mixing DVR etc..This device has multi-channel video to input, such as 4 tunnels, 8 tunnels, 16 tunnels etc..
(2) user instruction interactive system
User arranges priority to each video channel, and important channel priorities is high, and unessential channel priorities is low.The priority arranged will be saved in user instruction interactive system, the video channel priority of user setup is arranged in video input system by user instruction interactive system, arrange out the priority of video channel, process the reference frame of the video pictures needs splicing of which road video channel transmission as the later stage.
Then, user asks video to video input system, can ask multi-channel video, it is also possible in the case of having requested that simultaneously, again initiates request.These requests of user and configuration will process in user instruction interactive system.
After user sends request video channel instruction, user instruction interactive system can obtain the network bandwidth of present apparatus, obtains in the video code flow size of video channel transmission, and obtains the video code flow size of current request video channel.According to data above, whether the channel bit stream calculating current request meets current bandwidth condition.If beyond the bandwidth upper limit, the passage of transmission of video, the most now choose the passage that priority is minimum from, change into this PASS VIDEO stream sending into picture splicing system, be no longer sent directly into Web Video Service system.Meanwhile, user instruction interactive system is according to current network bandwidth, and calculating this passage needs the resolution of compression, and control interface splicing system adjusts again.
(3) picture splicing system
The video channel that picture splicing system will be fed into carries out picture splicing, is spliced into a picture, using this spliced video pictures as a video channel.So, be equivalent to be combined as multiple video channels one video channel.In this video channel, it is combined with the sprite of each video channel, it is achieved that a video channel transmits effect of multiple video pictures.The splicing of multiple video pictures, also causes the resolution of each little picture to reduce, but owing to these video channels belong to inessential passage for a user, so within the tolerance interval of user.
(4) Web Video Service system
After Web Video Service system receives the video of input, these videos are connected by network and is transferred to client.After Web Video Service system receives the independent video of high-priority channel, each road video is connected as an independent network and is transferred to client, it is ensured that the network transmission real-time of these important channel and image sharpness.Splicing picture is transferred to client as an independent network connection.
(5) client
Client receives the multi-channel video of Web Video Service system output, shows.
Illustrate as a example by the video monitoring of bank being embodied as in above-mentioned applied environment below.
The video monitoring of bank generally comprise hall of bank, sales counter, the doorway of bank and internal corridor, bank outside the video monitoring of road etc..The priority of each video channel needing monitoring must be unique, can be separated the important order of each video channel by priority area.
Generally can be configured by the priority of each video monitoring regional of following bank:
(1) hall of bank (priority is the highest)
Hall of bank has the most comprehensive visual angle, can monitor whole working hall, and priority is the highest.
(2) sales counter (priority is higher)
Next to that sales counter, need to monitor the details of handling of concrete business, and the appearance etc. of client.
(3) doorway (priority is second highest) of bank
(4) internal corridor (priority is relatively low)
(5) road outside bank (priority is minimum)
Fig. 4 is bank monitoring video channel priority level initializing schematic diagram, and concrete, the priority of each video monitoring regional of bank is arranged can be as shown in Figure 4:
Hall of bank 1 is set to the first priority, and hall of bank 2 is set to the second priority;
Sales counter 1 (Very Important Person) is set to third priority, and sales counter 2 (normal client) is set to the 4th priority;
Bank doorway 1 is set to the 5th priority, and bank doorway 2 is set to the 6th priority;
The internal corridor of bank is set to the 7th priority;
Outside bank, road 1 is set to the 8th priority, and outside bank, road 2 is set to the 9th priority.
After the video channel in user's monitoring each to bank region sets up priority, video channel to the request monitoring of user instruction interactive system, the video that each video channel is transmitted in the case of bandwidth deficiency by user instruction interactive system is respectively fed in picture splicing system and Web Video Service system process according to preset rules, each video channel handled well is exported client and shows.Specifically described below:
Fig. 5 is that video transmission method is embodied as schematic flow sheet, as it can be seen, may include steps of:
Step 501, user, according to the importance of each video channel, arrange the priority of each video channel, are embodied as shown in Figure 4;
The request that multiple video channels are monitored by step 502, user to the initiation of user instruction interactive system;
Step 503, calculating current network total bandwidth, and the code stream of the video of current each video channel transmission;
Step 504, judge that whether current network total bandwidth needs the network bandwidth taken more than the code stream summation of the video of current each video channel transmission, if so, proceed to step 505, if it is not, proceed to step 506;
Step 505, send instruction to Web Video Service system, each video channel is carried out transmission of video separately as a road, proceeds to step 510;
Step 506, determine the video channel needing to carry out the low priority of video pictures combination according to adaptive algorithm, and the video channel of independent transmission of video;
Step 507, the video channel that will need to carry out the low priority of video pictures combination send into picture splicing system;
Step 508, picture splicing system are to splicing after needing the video carrying out the video channel transmission of the low priority of video pictures combination to be compressed;
Video after step 509, the video video channel of independent transmission of video transmitted and picture splicing system coding sends into Web Video Service system;
Step 510, Web Video Service system export the video of each video channel transmission;
Step 511, by output each video channel transmission video show in client.
Above-mentioned video transmission method is embodied as, it should be understood that
(1) compared to common user instruction interaction process, in the present embodiment, user instruction interactive system is increasingly complex.The network not enough for bandwidth has carried out special handling, meets the demand that client needs multichannel to simultaneously monitor, ensure that the fluency of transmission of video simultaneously, and the definition of important channel improves picture transmission effect
(2) user carry out video monitor request time, user instruction interactive system can first calculate current bandwidth situation, it is judged that current bandwidth whether meet client ask way code stream and.In the case of guaranteeing to support, the network of each Path Setup independence just can be allowed to connect, carry out transmission of video.Otherwise, this multi-channel video will be calculated, according to the priority of current each passage, the code stream size of each passage, calculating the passage needing to carry out picture splicing, passage relatively low for these priority is spliced into a video pictures, the picture as a video channel is transmitted.Other important passage the most still uses single network to connect and is transmitted.So under finite bandwidth, it is achieved that the supervision of multiplexer channel, and ensure that video fluency, the definition of important channel, improve picture transmission effect
(3) due to the code stream size of transmission of video be every time request video time, calculate based on current bandwidth situation, in most cases, transmission code stream is within the network bandwidth, so ensure that the laser propagation effect of picture, do not have because the best frame losing caused of network condition, block phenomenons such as timing.
(4) having been switched on the user of network monitoring, if later in operating process, again request and monitor new video channel, user instruction processing system can take the lead in calculating whether current request meets current bandwidth condition.For ungratified, it will calculate the passage needing splicing, and control network video service system and close the network of these passages and connect, only retain a connection.The transmission processing splicing picture will be connected at this.Which reduce the interaction flow of device and user, improve Consumer's Experience simultaneously.Meeting the demand that user's multichannel monitors in the case of bandwidth deficiency, ensure that the clear and smooth of important channel simultaneously, unessential passage is the most also in monitoring range.
Below to the adaptive algorithm in step 506 be embodied as illustrate.
Owing to resolution and image quality are two different concepts, whether current bandwidth meets every road video pictures and whether meet every road video pictures more than lowest resolution with current bandwidth is different judgment modes by the transmission of original image quality.
(1) reducing resolution, can reduce the effect of code stream, because the length and width of picture all diminish, code stream can reduce.
(2) in the case of keeping resolution constant, image quality is reduced, it is also possible to reduce the effect of code stream.Being the most all the resolution of 1080p, length and width are all 1920*1080, but the picture that image quality is high, and texture is very clear, and effect is the salubriousest.The picture that image quality is low, examines, it finds that compare paste, the especially edge of different objects contact in picture, texture is the most coarse.This is relevant with the algorithm of compact model.Such as H264 algorithms etc., the effect that different code streams is compiled out is different.
Whether meet every road video pictures with current bandwidth to illustrate in adaptive algorithm 1 for Rule of judgment more than lowest resolution, whether meet every road video pictures with current bandwidth and be transmitted as Rule of judgment by original image quality and illustrate in adaptive algorithm 2.
Fig. 6 is adaptive algorithm 1 implementing procedure schematic diagram, as it can be seen, may include steps of:
Step 601, judge current network bandwidth whether ensure that every road video pictures resolution set lowest resolution more than, if so, proceed to step 602, if it is not, proceed to step 605;
Step 602, therefrom select the video channel that priority is the highest;
Step 603, ensure remaining video channel video pictures resolution be set lowest resolution in the case of, calculate remaining bandwidth;
Step 604, judge whether remaining bandwidth meets this screen resolution of video channel selected, if so, proceed to step 607, if it is not, proceed to step 605;
Step 605, all video channels do not differentiate between priority, are combined as a video pictures;
Step 606, the video pictures after combination is sent into Web Video Service system as video channel, proceed to step 609;
Step 607, the video channel this selected send into Web Video Service system;
Step 608, judge whether remaining video passage, if so, proceed to step 602, if it is not, proceed to step 609;
Step 609, end.
For being embodied as of above-mentioned adaptive algorithm 1, it should be understood that
(1) firstly the need of the minimum image quality (minimum resolution) setting passage picture, it is ensured that synthesize later video pictures and also can meet client and monitor demand.On the premise of the minimum image quality (minimum resolution) ensureing every road video pictures, carry out the priority treatment of important channel.
(2) less when bandwidth, when also cannot be carried out a road important channel processing, the compression splicing strategy to all passages will be taked, it is ensured that the picture of all requests can be monitored.
Fig. 7 is adaptive algorithm 2 implementing procedure schematic diagram, as it can be seen, may include steps of:
Step 701, judge whether current network bandwidth ensure that every road video pictures can be transmitted according to original image quality, if so, proceed to step 702, if it is not, proceed to step 706;
Step 702, therefrom select the video channel that priority is minimum;
Step 703, the low-priority channel this selected are rejected from video input passage;
Step 704, judge remaining video passage whether can meet under current bandwidth original image quality transmission, if so, proceed to step 707, if it is not, proceed to step 705;
Step 705, judge whether also remaining video passage, if so, proceed to step 702, if it is not, proceed to step 706;
Step 706, all video channels do not differentiate between priority, and each road is individually transmitted, and proceeds to step 709;
Step 707, all low priority video passages selected are carried out video pictures combination;
Step 708, by remaining high priority video passage and combination after video pictures place video channel send into Web Video Service system, proceed to step 710;
Step 709, by all video channels send into Web Video Service system, proceed to step 710;
Step 710, end.
For being embodied as of above-mentioned adaptive algorithm 2, it should be understood that
(1) this adaptive algorithm need not set minimum guarantee image quality (minimum resolution), but as much as possible ensure the most raw frames passages, this kind of adaptive algorithm is applicable to user and is indifferent to low-priority channel image quality, is only concerned the situation of the original image quality of as far as possible many high priority video passages.
(2) less when bandwidth, when also cannot be carried out a road important channel processing, the compression splicing strategy to all passages will be taked, it is ensured that the video pictures of all requests can be monitored.
Below only list two example adaptive algorithms, but be not limited only to both adaptive algorithms, as long as can be carried out with the adaptive algorithm of compressed bit stream, reduction bandwidth.
This video transmission method how is used to illustrate below for user.
Fig. 8, for monitoring that browser uses schematic diagram, clicks on " fully open " button in Fig. 8.After click, equipment carries out adaptive polo placement according to the priority of current network total bandwidth and each video channel of user setup, effect is as shown in Figure 9, outside bank, outside road 1, bank, road 2 and bank doorway 1, bank doorway 2 are spliced into a video pictures, hall of bank 1, hall of bank 2, sales counter individually transmit, it is ensured that important video channel picture is clear, owing to have compressed code stream, all video channels transmission smoothness, does not block and times.
Based on same inventive concept, additionally providing a kind of video frequency transmitter in the embodiment of the present invention, owing to the principle of these equipment solution problem is similar to a kind of video transmission method, therefore the enforcement of these equipment may refer to the enforcement of method, repeats no more in place of repetition.
Figure 10 is video frequency transmitter structural representation, as it can be seen, may include that in device
Determine module 1001, be used for determining current network total bandwidth, and determine the code stream of video that current each video channel transmits;
Transport module 1002, for when the code stream summation of the video of current each video channel transmission needs the network bandwidth taken more than current network total bandwidth, the video each video channel transmitted transmits from each video channel after combining by preset rules respectively.
In enforcement, transport module can also be further used for by judging whether current network total bandwidth can guarantee that the screen resolution of every road video, and/or, whether current network total bandwidth can guarantee that the image quality transmission of every road video, judges the network bandwidth whether current network total bandwidth takies more than the code stream summation needs of the video of current each video channel transmission.
In enforcement, transport module can also be further used for the priority according to each video channel and preset described preset rules.
In enforcement, determine that module can also be further used for, when the video channel request having transmission video, determining current network total bandwidth, and determine the code stream of video that current each video channel transmits.
In enforcement, transport module is transmitted from each video channel after can also being further used for being combined, by video-splicing technology, the video that each video channel is transmitted.
In enforcement, transport module can also be further used for after the video that each video channel is transmitted being combined by video-splicing technology from each video channel transmit during, the video transmitting the most some video channels transmits from a video channel after being combined, including:
Determine each video channel need to being combined by video-splicing technology;
A spliced video pictures is obtained after the video pictures of the video that each video channel is transmitted is spliced;
Described spliced video pictures is transmitted in a video channel.
In sum, in the case of bandwidth deficiency, the code stream summation of the video of the most current each video channel transmission needs the network bandwidth taken more than current network total bandwidth, the video each video channel transmitted transmits from each video channel after combining by preset rules respectively, unessential video is combined, can reduce, with compressed bit stream, the network bandwidth taken, make video playback smooth, and ensure that the image quality of important video is clear.Therefore, employing this programme can be in the case of bandwidth deficiency, if all video channels will be monitored so that improve video pictures quality while video playback smoothness.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program.Therefore, the form of the embodiment in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware.And, the present invention can use the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory and optical memory etc.) wherein including computer usable program code.
The present invention is to describe with reference to method, equipment (system) and the flow chart of computer program according to embodiments of the present invention and/or block diagram.It should be understood that can be by the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces the manufacture including command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to perform sequence of operations step on computer or other programmable devices to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides the step of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame for realization.
Obviously, those skilled in the art can carry out various change and modification without departing from the spirit and scope of the present invention to the present invention.So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (12)

1. a video transmission method, it is characterised in that including:
Determine current network total bandwidth, and determine the code stream of video that current each video channel transmits;
When code stream summation at the video of current each video channel transmission needs the network bandwidth taken more than current network total bandwidth, the video each video channel transmitted transmits from each video channel after combining by preset rules respectively.
Method the most according to claim 1, it is characterized in that, judge the network bandwidth whether current network total bandwidth takies more than the code stream summation needs of the video of current each video channel transmission, it is to judge the screen resolution whether current network total bandwidth can guarantee that every road video, and/or, whether current network total bandwidth can guarantee that the image quality transmission of every road video.
Method the most according to claim 1, it is characterised in that determine current network total bandwidth, and determine the code stream of video that current each video channel transmits, it is to be determined when the video channel request having transmission video.
4. according to the arbitrary described method of claims 1 to 3, it is characterized in that, the video that each video channel is transmitted by preset rules combine after transmit from each video channel respectively, be by video-splicing technology, the video that each video channel is transmitted is combined after transmit from each video channel.
Method the most according to claim 4, it is characterized in that, after being combined, by video-splicing technology, the video that each video channel is transmitted during each video channel is transmitted, the video transmitting the most some video channels transmits from a video channel after being combined, including:
Determine each video channel need to being combined by video-splicing technology;
A spliced video pictures is obtained after the video pictures of the video that each video channel is transmitted is spliced;
Described spliced video pictures is transmitted in a video channel.
Method the most according to claim 4, it is characterised in that described preset rules is that the priority according to each video channel is preset.
7. a video frequency transmitter, it is characterised in that including:
Determine module, be used for determining current network total bandwidth, and determine the code stream of video that current each video channel transmits;
Transport module, for when the code stream summation of the video of current each video channel transmission needs the network bandwidth taken more than current network total bandwidth, the video each video channel transmitted transmits from each video channel after combining by preset rules respectively.
Device the most according to claim 7, it is characterized in that, transport module is further used for by judging whether current network total bandwidth can guarantee that the screen resolution of every road video, and/or, whether current network total bandwidth can guarantee that the image quality transmission of every road video, judges the network bandwidth whether current network total bandwidth takies more than the code stream summation needs of the video of current each video channel transmission.
Device the most according to claim 7, it is characterised in that determine that module is further used for, when the video channel request having transmission video, determining current network total bandwidth, and determine the code stream of video that current each video channel transmits.
10. according to the arbitrary described device of claim 7 to 9, it is characterised in that transport module is transmitted from each video channel after being further used for being combined, by video-splicing technology, the video that each video channel is transmitted.
11. devices according to claim 10, it is characterized in that, transport module be further used for after the video that each video channel is transmitted being combined by video-splicing technology from each video channel transmit during, the video transmitting the most some video channels transmits from a video channel after being combined, including:
Determine each video channel need to being combined by video-splicing technology;
A spliced video pictures is obtained after the video pictures of the video that each video channel is transmitted is spliced;
Described spliced video pictures is transmitted in a video channel.
12. devices according to claim 10, it is characterised in that transport module is further used for the priority according to each video channel and presets described preset rules.
CN201610301211.8A 2016-05-06 2016-05-06 Video transmission method and device Active CN105827633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610301211.8A CN105827633B (en) 2016-05-06 2016-05-06 Video transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610301211.8A CN105827633B (en) 2016-05-06 2016-05-06 Video transmission method and device

Publications (2)

Publication Number Publication Date
CN105827633A true CN105827633A (en) 2016-08-03
CN105827633B CN105827633B (en) 2021-02-02

Family

ID=56529238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610301211.8A Active CN105827633B (en) 2016-05-06 2016-05-06 Video transmission method and device

Country Status (1)

Country Link
CN (1) CN105827633B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603975A (en) * 2016-12-01 2017-04-26 广东威创视讯科技股份有限公司 Display method, apparatus and system of monitoring videos
CN106791886A (en) * 2016-11-16 2017-05-31 深圳百科信息技术有限公司 The panoramic video distribution method and system of a kind of view-based access control model characteristic
CN107155093A (en) * 2017-06-21 2017-09-12 普联技术有限公司 A kind of video previewing method, device and equipment
CN109151584A (en) * 2018-09-07 2019-01-04 华为技术有限公司 Control the method and apparatus of network flow
CN109474852A (en) * 2018-12-17 2019-03-15 深圳创维数字技术有限公司 Television program playing method, device, equipment and readable storage medium storing program for executing
CN109922318A (en) * 2019-03-22 2019-06-21 重庆紫光华山智安科技有限公司 A kind of multi-channel video transmission dispatching method, device, storage medium and electric terminal
CN111432251A (en) * 2020-04-26 2020-07-17 浙江宇视科技有限公司 Video processing method, video processing device, electronic equipment and medium
CN111510735A (en) * 2020-04-21 2020-08-07 新石器慧通(北京)科技有限公司 Encoding transmission method and device for multi-channel video in weak network environment and unmanned vehicle
CN111866586A (en) * 2020-07-28 2020-10-30 精英数智科技股份有限公司 Underground video data processing method and device, electronic equipment and storage medium
CN111954031A (en) * 2019-05-14 2020-11-17 西安光启未来技术研究院 Method and system for dynamically adjusting video stream extraction frame rate
CN112203043A (en) * 2020-09-14 2021-01-08 中标慧安信息技术股份有限公司 Video transmission method and system
CN112839238A (en) * 2019-11-22 2021-05-25 腾讯科技(深圳)有限公司 Screen projection playing method and device and storage medium
CN115550598A (en) * 2022-09-14 2022-12-30 北京融讯科创技术有限公司 Video conference configuration method and device, terminal equipment and storage medium
CN116405620A (en) * 2023-06-06 2023-07-07 深圳市拓阔科技有限公司 Video picture switching method, terminal equipment and readable storage medium
CN111954031B (en) * 2019-05-14 2024-04-30 西安光启智能技术有限公司 Method and system for dynamically adjusting frame extraction rate of video stream

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068345A (en) * 2007-05-24 2007-11-07 杭州华三通信技术有限公司 Video frequency monitoring method and system and network transmission equipment
CN101867825A (en) * 2010-06-25 2010-10-20 中国传媒大学 Device for circularly monitoring multi-channel video and method thereof
CN101977305A (en) * 2010-10-27 2011-02-16 北京中星微电子有限公司 Video processing method, device and system
CN102006451A (en) * 2010-11-18 2011-04-06 中兴通讯股份有限公司 Method, system and MCU (Micro Control Unit) for realizing multipicture in cascade meeting
CN102098443A (en) * 2010-12-28 2011-06-15 华为终端有限公司 Camera, communication system and corresponding image processing method
CN102469296A (en) * 2010-11-08 2012-05-23 上海天跃科技股份有限公司 Dynamic bandwidth detection and intelligent transmission method for video monitoring
CN102547212A (en) * 2011-12-13 2012-07-04 浙江元亨通信技术股份有限公司 Splicing method of multiple paths of video images
CN102740045A (en) * 2011-04-02 2012-10-17 上海天跃科技股份有限公司 Dynamic bandwidth detection and intelligent transmission method aiming at video monitoring
CN104333767A (en) * 2014-10-10 2015-02-04 厦门雅迅网络股份有限公司 Multi-channel priority control method and system for vehicle video monitoring system
CN104539896A (en) * 2014-12-25 2015-04-22 桂林远望智能通信科技有限公司 Intelligent panoramic monitoring and hotspot close-up monitoring system and method
CN104601935A (en) * 2013-10-31 2015-05-06 深圳市朗驰欣创科技有限公司 Frame splicing method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068345A (en) * 2007-05-24 2007-11-07 杭州华三通信技术有限公司 Video frequency monitoring method and system and network transmission equipment
CN101867825A (en) * 2010-06-25 2010-10-20 中国传媒大学 Device for circularly monitoring multi-channel video and method thereof
CN101977305A (en) * 2010-10-27 2011-02-16 北京中星微电子有限公司 Video processing method, device and system
CN102469296A (en) * 2010-11-08 2012-05-23 上海天跃科技股份有限公司 Dynamic bandwidth detection and intelligent transmission method for video monitoring
CN102006451A (en) * 2010-11-18 2011-04-06 中兴通讯股份有限公司 Method, system and MCU (Micro Control Unit) for realizing multipicture in cascade meeting
CN102098443A (en) * 2010-12-28 2011-06-15 华为终端有限公司 Camera, communication system and corresponding image processing method
CN102740045A (en) * 2011-04-02 2012-10-17 上海天跃科技股份有限公司 Dynamic bandwidth detection and intelligent transmission method aiming at video monitoring
CN102547212A (en) * 2011-12-13 2012-07-04 浙江元亨通信技术股份有限公司 Splicing method of multiple paths of video images
CN104601935A (en) * 2013-10-31 2015-05-06 深圳市朗驰欣创科技有限公司 Frame splicing method and device
CN104333767A (en) * 2014-10-10 2015-02-04 厦门雅迅网络股份有限公司 Multi-channel priority control method and system for vehicle video monitoring system
CN104539896A (en) * 2014-12-25 2015-04-22 桂林远望智能通信科技有限公司 Intelligent panoramic monitoring and hotspot close-up monitoring system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘国辉(西刹子): "《安防天下 2 智能高清视频监控原理精解与最佳实践》", 30 June 2014, 北京:清华大学出版社 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791886A (en) * 2016-11-16 2017-05-31 深圳百科信息技术有限公司 The panoramic video distribution method and system of a kind of view-based access control model characteristic
CN106791886B (en) * 2016-11-16 2020-03-17 深圳市梦网百科信息技术有限公司 Panoramic video distribution method and system based on visual characteristics
CN106603975A (en) * 2016-12-01 2017-04-26 广东威创视讯科技股份有限公司 Display method, apparatus and system of monitoring videos
CN107155093A (en) * 2017-06-21 2017-09-12 普联技术有限公司 A kind of video previewing method, device and equipment
CN109151584A (en) * 2018-09-07 2019-01-04 华为技术有限公司 Control the method and apparatus of network flow
CN109151584B (en) * 2018-09-07 2020-10-27 华为技术有限公司 Method and device for controlling network flow
CN109474852A (en) * 2018-12-17 2019-03-15 深圳创维数字技术有限公司 Television program playing method, device, equipment and readable storage medium storing program for executing
CN109922318A (en) * 2019-03-22 2019-06-21 重庆紫光华山智安科技有限公司 A kind of multi-channel video transmission dispatching method, device, storage medium and electric terminal
CN111954031A (en) * 2019-05-14 2020-11-17 西安光启未来技术研究院 Method and system for dynamically adjusting video stream extraction frame rate
CN111954031B (en) * 2019-05-14 2024-04-30 西安光启智能技术有限公司 Method and system for dynamically adjusting frame extraction rate of video stream
CN112839238A (en) * 2019-11-22 2021-05-25 腾讯科技(深圳)有限公司 Screen projection playing method and device and storage medium
CN111510735A (en) * 2020-04-21 2020-08-07 新石器慧通(北京)科技有限公司 Encoding transmission method and device for multi-channel video in weak network environment and unmanned vehicle
CN111432251A (en) * 2020-04-26 2020-07-17 浙江宇视科技有限公司 Video processing method, video processing device, electronic equipment and medium
CN111866586A (en) * 2020-07-28 2020-10-30 精英数智科技股份有限公司 Underground video data processing method and device, electronic equipment and storage medium
CN112203043A (en) * 2020-09-14 2021-01-08 中标慧安信息技术股份有限公司 Video transmission method and system
CN115550598A (en) * 2022-09-14 2022-12-30 北京融讯科创技术有限公司 Video conference configuration method and device, terminal equipment and storage medium
CN116405620A (en) * 2023-06-06 2023-07-07 深圳市拓阔科技有限公司 Video picture switching method, terminal equipment and readable storage medium
CN116405620B (en) * 2023-06-06 2023-08-22 深圳市拓阔科技有限公司 Video picture switching method, terminal equipment and readable storage medium

Also Published As

Publication number Publication date
CN105827633B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN105827633A (en) Video transmission method and device
US10021401B2 (en) Analytic tool for managing distributed statistically multiplexed systems and method for using same
CN104394486B (en) A kind of video stream processing method and device based on cloud desktop
CN105763832B (en) A kind of video interactive, control method and device
EP2636190B1 (en) Method and apparatus for quality of experience management for network services
EP2637403B1 (en) Method and device for adjusting bandwidth in conference place, conference terminal and media control server
WO2020220902A1 (en) Method and apparatus for distributing transmission parameters of video resources
Bampis et al. Towards perceptually optimized adaptive video streaming-a realistic quality of experience database
CN102802054B (en) Control method during a kind of multi-stream video is live and device
WO2017016568A1 (en) Method and telecommunications network for streaming and for reproducing applications
CN106412617A (en) Remote debugging control method and device
WO2015176489A1 (en) Screen brightness adjustment method, multipoint controller unit mcu and terminal
Zhang et al. A QOE-driven approach to rate adaptation for dynamic adaptive streaming over http
EP2725489A1 (en) Method of operating a video processing apparatus
CN113766267B (en) Multi-path video live broadcast method, system, equipment and storage medium based on unmanned aerial vehicle
CN106686358B (en) Equipment control and channel method for limiting, apparatus and system based on RTSP agreement
US9319719B2 (en) Method for processing video and/or audio signals
CN114257771A (en) Video playback method and device for multi-channel audio and video, storage medium and electronic equipment
CN106998328A (en) A kind of video transmission method and device
CN107094266A (en) Audio and video resources shared method, device, system and network gateway
CN104038778A (en) Multimedia redirection playing control method and device
CN109413468B (en) Video playing method, device, storage medium and split type electronic equipment
US20230199267A1 (en) Method and apparatus for processing adaptive multi-view streaming
US20210160559A1 (en) Active video bandwidth management using sdv control
CN112218123A (en) Network state self-adaptive image processing device and method

Legal Events

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