CN107592555A - A kind of method, apparatus and system of dynamic access video data - Google Patents

A kind of method, apparatus and system of dynamic access video data Download PDF

Info

Publication number
CN107592555A
CN107592555A CN201610537570.3A CN201610537570A CN107592555A CN 107592555 A CN107592555 A CN 107592555A CN 201610537570 A CN201610537570 A CN 201610537570A CN 107592555 A CN107592555 A CN 107592555A
Authority
CN
China
Prior art keywords
video
code stream
resolution ratio
layer
information
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
CN201610537570.3A
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.)
Beijing Xinwei Telecom Technology Inc
Original Assignee
Beijing Xinwei Telecom Technology Inc
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 Beijing Xinwei Telecom Technology Inc filed Critical Beijing Xinwei Telecom Technology Inc
Priority to CN201610537570.3A priority Critical patent/CN107592555A/en
Publication of CN107592555A publication Critical patent/CN107592555A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of method, apparatus and system of dynamic access video data, video access gateway encoder receives the request of video media service device transmitted stream;The video access gateway encoder forward end camera gathers video information;The video access gateway encoder is after transcoding and Video coding, form the single code stream of spatial domain multi-segment, and the single code stream is sent to the video media service device, the video media service device receives the single code stream, and arrange resolution list corresponding to each layer of superposition, the terminal determines to receive the number of plies of the single code stream according to the resolution list, so as to realize that client is adapted dynamically Receiving coded information and independently parsing coding, the resolution ratio under real-time condition is obtained to meet the needs of client, excessive bandwidth resources are avoided to waste, repeatedly coding, it is transmitted several times, the problem of connection object retrieval matching.

Description

A kind of method, apparatus and system of dynamic access video data
Technical field
The present embodiments relate to the technical field of video communication, more particularly to a kind of side of dynamic access video data Method, apparatus and system.
Background technology
Traditional coding and decoding video is fixed, i.e., encoder compiles out several code streams, sends out code stream several, and client can only be Code stream is called in limited resource, it is impossible to meets the needs of user is variable to code stream.In addition, for multi-user's different resolution For demand, encoder needs to encode one by one, different code streams is sent for different user, this will considerably increase encoder Workload, inter-signal interference each other, the excessive use of bandwidth resources etc. will certainly be caused to cause video in the transmission of more code streams It is not smooth the problems such as.
It is proposed that system avoid above mentioned problem, that is, encode once, one code stream of simultaneous transmission, client according to from Oneself real-time demand, dynamically to adjust the number of plies information of reception signal, firmly obtains the active in terms of video resolution Power, while reduce the waste of unnecessary resource.
The content of the invention
The purpose of the embodiment of the present invention is to propose a kind of method, apparatus and system of dynamic access video data, it is intended to Solves the problems, such as the number of plies information how terminal adjusts receive information according to self-demand dynamic.
To use following technical scheme up to this purpose, the embodiment of the present invention:
In a first aspect, a kind of method of dynamic access video data, methods described include:
In the case where video media service device receives the video request that terminal is actively sent, video access gateway coding Device receives the request of video media service device transmitted stream;
The video access gateway encoder forward end camera gathers video information;
The video access gateway encoder forms the single code of spatial domain multi-segment after transcoding and Video coding Stream, and the single code stream is sent to the video media service device, to cause described in the video media service device reception Single code stream, and resolution list corresponding to arranging each layer of superposition, the terminal, the end are sent to by the resolution list End determines to receive the number of plies of the single code stream according to the resolution list.
Preferably, the video access gateway encoder forms spatial domain multi-segment after transcoding and Video coding Single code stream, including:
Code stream after the video access gateway encoder coding is after spatial domain multi-segment, the single code stream of formation;
Wherein, the single code stream is the code stream of highest resolution in terminal requirements, the coded format of the single code stream It is the superposition form of spatial multi video data.
Second aspect, a kind of method of dynamic access video data, methods described include:
The video request that video media service device receiving terminal is actively sent;
The video media service device sends code stream request to video access gateway encoder, to cause the video to access Gateway encoder forward end camera gathers video information, after transcoding and Video coding, forms the list of spatial domain multi-segment One code stream, and the single code stream is sent to the video media service device;
The video media service device receives the single code stream, arranges and is superimposed resolution list corresponding to each layer, by institute State resolution list and be sent to the terminal, to cause the terminal to determine the reception single code according to the resolution list The number of plies of stream.
Preferably, the video media service device receives the single code stream, arranges and is superimposed resolution ratio row corresponding to each layer Table, including:
The video media service device determines the single code stream, successively resolution ratio corresponding to video data is superimposed, with base Based on plinth layer bufferBase resolution ratio, resolution ratio corresponding to acquisition, and described resolution ratio is organized into resolution respectively Rate list, the resolution list include first resolution ratio corresponding to the basal layer bufferBase, superposition raising layer Resolution ratio corresponding to bufferEnhanceLayer1, it is superimposed to second and improves corresponding to layer bufferEnhanceLayer2 point Resolution, resolution ratio corresponding to the 3rd raising layer bufferEnhanceLayer3 is superimposed to, and is superimposed to the N-1 raising Resolution ratio corresponding to layer (N-1) th EnhanceLayer.
The third aspect, a kind of method of dynamic access video data, methods described include:
Terminal sends video request to video media service device, to cause the video media service device to video access network Close encoder and send code stream request, the video access gateway encoder forward end camera gathers video information, by transcoding After Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to the video media and taken Business device, the video media service device reception single code stream, arranges and is superimposed resolution list corresponding to each layer, divide by described in Resolution list is sent to the terminal;
The terminal determines to receive the number of plies of the single code stream according to the resolution list.
Preferably, the terminal determines to receive the number of plies of the single code stream according to the resolution list, including:
If the code stream after the video access gateway encoder coding, when reaching 1 layer of information after spatial domain is layered, institute It is resolution ratio R1 corresponding to one layer of information BaseLayer to state the resolution ratio that terminal parses;
If the code stream after the video access gateway encoder coding, when reaching 2 layers of information after spatial domain is layered, institute It is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer to state the resolution ratio that terminal parses EnhanceLayer resolution ratio R2 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching 3 layers of information after spatial domain is layered, institute It is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer to state the resolution ratio that terminal parses EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) EnhanceLayer resolution ratio R3 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching N layer information after spatial domain is layered, institute It is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer to state the resolution ratio that terminal parses EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) Resolution ratio R3 corresponding to EnhanceLayer) ... N layer information (BaseLayer+1stEnhanceLayer+ 2ndEnhanceLayer+ ...+N-1th EnhanceLayer) corresponding to resolution ratio Rn.
Preferably, after the terminal determines the number of plies of the reception single code stream according to the resolution list, also wrap Include:
Carried out in the terminal and other servers in the case that data interaction needs occupied bandwidth resource, the terminal according to Current video resolution adjustment receives the number of plies of the single code stream.
Fourth aspect, a kind of device of dynamic access video data, described device include:
Receiving module, in the case of receiving the video request that terminal is actively sent in video media service device, connect Rating frequency media server transmitted stream is asked;
Acquisition module, video information is gathered for forward end camera;
Coding module, for after transcoding and Video coding, forming the single code stream of spatial domain multi-segment;
Sending module, for the single code stream to be sent into the video media service device, to cause the video matchmaker Body server receives the single code stream, and resolution list corresponding to arranging each layer of superposition, and the resolution list is sent To the terminal, the terminal determines to receive the number of plies of the single code stream according to the resolution list.
Preferably, the coding module, is used for:
Code stream after coding is after spatial domain multi-segment, the single code stream of formation;
Wherein, the single code stream is the code stream of highest resolution in all terminal requirements, the coding of the single code stream Form is the superposition form of spatial multi video data.
5th aspect, a kind of device of dynamic access video data, described device include:
Receiving module, the video request actively sent for receiving terminal;
Sending module, for sending code stream request to video access gateway encoder, to cause the video access gateway Encoder forward end camera gathers video information, after transcoding and Video coding, forms the single code of spatial domain multi-segment Stream, and the single code stream is sent to the video media service device;
Processing module, for receiving the single code stream, arrange and be superimposed resolution list corresponding to each layer;
Sending module, for the resolution list to be sent into the terminal, to cause the terminal according to described point Resolution list determines to receive the number of plies of the single code stream.
Preferably, the processing module, is used for:
Resolution ratio corresponding to each layer of the single code stream is determined, using basal layer bufferBase resolution ratio as base Plinth, corresponding resolution ratio after successively superposition is obtained respectively, and the corresponding resolution ratio is organized into resolution list, described point Resolution list includes first resolution ratio corresponding to the basal layer bufferBase, superposition raising layer Resolution ratio corresponding to bufferEnhanceLayer1, it is superimposed to second and improves corresponding to layer bufferEnhanceLayer2 point Resolution, resolution ratio corresponding to the 3rd raising layer bufferEnhanceLayer3 is superimposed to, and the N-1 is improved layer (N-1) Resolution ratio corresponding to th EnhanceLayer.
6th aspect, a kind of device of dynamic access video data, described device include:
Sending module, video request is sent to video media service device for terminal, to cause the video media service Device sends code stream request to video access gateway encoder, and the video access gateway encoder forward end camera gathers video Information, after transcoding and Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to institute Video media service device is stated, the video media service device receives the single code stream, arranges and is superimposed resolution ratio corresponding to each layer List, the resolution list is sent to the terminal;
Determining module, for being determined to receive the number of plies of the single code stream according to the resolution list.
Preferably, the determining module, is used for:
If the code stream after the video access gateway encoder coding, when reaching 1 layer of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1 corresponding to one layer of information BaseLayer;
If the code stream after the video access gateway encoder coding, when reaching 2 layers of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching 3 layers of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) EnhanceLayer resolution ratio R3 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching N layer information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) Resolution ratio R3 corresponding to EnhanceLayer) ... N layer information (BaseLayer+1stEnhanceLayer+ 2ndEnhanceLayer+ ...+N-1th EnhanceLayer) corresponding to resolution ratio Rn.
Preferably, described device also includes:
Adjusting module, the situation of occupied bandwidth resource is needed for carrying out data interaction in the terminal and other servers Under, the terminal receives the number of plies of the single code stream according to current video resolution adjustment.
7th aspect, a kind of system of dynamic access video data, the system include:Video access gateway encoder, Video media service device and terminal;
The video access gateway encoder, actively sent for receiving the terminal in the video media service device Video request in the case of, receive video media service device transmitted stream request;Forward end camera gathers video Information;After transcoding and Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to institute State video media service device;
The video media service device, the video request actively sent for receiving the terminal;Accessed to the video Gateway encoder sends code stream request;The single code stream is received, arranges and is superimposed resolution list corresponding to each layer, will be described point Resolution list is sent to the terminal;
The terminal, for sending video request to the video media service device;The terminal is according to the resolution ratio List determines to receive the number of plies of the single code stream.
Preferably, the video access gateway encoder, is additionally operable to:
For code stream after coding after spatial domain multi-segment, the single code stream of formation includes a layer bit stream BaseLayer;Two Layer bit stream BaseLayer and 1st Enhance Layer;Three layer bit stream BaseLayer, 1st EnhanceLayer and 2nd EnhanceLayer;And N layer bit streams BaseLayer, 1st EnhanceLayer, 2nd EnhanceLayer ... (N-1) th EnhanceLayer。
Preferably, the video media service device, is additionally operable to:
Resolution ratio corresponding to the successively superposition of the single code stream is determined, using basal layer bufferBase resolution ratio as base Plinth, corresponding resolution ratio after each layer data of superposition is obtained respectively, and the corresponding resolution ratio is organized into resolution list, institute Stating resolution list includes first resolution ratio corresponding to the basal layer bufferBase, superposition raising layer Resolution ratio corresponding to bufferEnhanceLayer1, it is superimposed to second and improves corresponding to layer bufferEnhanceLayer2 point Resolution, resolution ratio corresponding to the 3rd raising layer bufferEnhanceLayer3 is superimposed to, and is superimposed to the N-1 raising Resolution ratio corresponding to layer (N-1) th EnhanceLayer.
Preferably, the terminal is additionally operable to:
If the code stream after the video access gateway encoder coding, when reaching 1 layer of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1 corresponding to one layer of information BaseLayer;
If the code stream after the video access gateway encoder coding, when reaching 2 layers of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching 3 layers of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) EnhanceLayer resolution ratio R3 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching N layer information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) Resolution ratio R3 corresponding to EnhanceLayer) ... N layer information (BaseLayer+1stEnhanceLayer+ 2ndEnhanceLayer+ ...+N-1th EnhanceLayer) corresponding to resolution ratio Rn.
Preferably, the terminal is additionally operable to:
In the case where the terminal and the progress data interaction of other servers need occupied bandwidth resource, according to current video Resolution adjustment receives the number of plies of the single code stream.
The embodiment of the present invention provides a kind of method, apparatus and system of dynamic access video data, in video media service In the case that device receives the video request that terminal is actively sent, video access gateway encoder receives video media service device hair The code stream request sent;The video access gateway encoder forward end camera gathers video information;The video access gateway Encoder forms the single code stream of spatial domain multi-segment after transcoding and Video coding, and the single code stream is sent to The video media service device, to cause the video media service device to receive the single code stream, and it is right to arrange each layer of superposition The resolution list answered, the resolution list is sent to the terminal, the terminal determines according to the resolution list The number of plies of the single code stream is received, so as to realize that client is adapted dynamically Receiving coded information and independently parsing coding, is obtained Take the resolution ratio under real-time condition to meet the needs of client, avoid excessive bandwidth resources and waste, repeatedly encode, repeatedly pass Defeated, connection object retrieves the problem of matching.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the method for dynamic access video data provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of H264SVC codings provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for another dynamic access video data provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the method for another dynamic access video data provided in an embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the method for another dynamic access video data provided in an embodiment of the present invention;
Fig. 6 is the schematic flow sheet of the method for another dynamic access video data provided in an embodiment of the present invention;
Fig. 7 is a kind of high-level schematic functional block diagram of the device of dynamic access video data provided in an embodiment of the present invention;
Fig. 8 is the high-level schematic functional block diagram of the device of another dynamic access video data provided in an embodiment of the present invention;
Fig. 9 is the high-level schematic functional block diagram of the device of another dynamic access video data provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation of the system of dynamic access video data provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this The specific embodiment of place description is used only for explaining the embodiment of the present invention, rather than the restriction to the embodiment of the present invention.In addition also It should be noted that for the ease of describing, the part related to the embodiment of the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
With reference to figure 1, Fig. 1 is a kind of flow signal of the method for dynamic access video data provided in an embodiment of the present invention Figure.
As shown in figure 1, the method for the dynamic access video data includes:
Step 101, in the case where video media service device receives the video request that terminal is actively sent, video access Gateway encoder receives the request of video media service device transmitted stream;
Specifically, being based on H264SVC spatial domains hierarchical coding, client dynamic adjustment receives the single end that code stream retrieves for examination video End subscriber.Obtained by video media service device VMS with terminal EP and compiled through video access gateway VSAG encoders H264Encoder The video code flow of code, the method for terminal EP dynamic adjustment retrieve for examination video, and concrete operations flow is as follows:EP is with the identity master of client Trend VMS initiates monitor video and retrieves for examination request, and VMS continues to send code stream request to VSAG.
Step 102, the video access gateway encoder forward end camera collection video information;
Specifically, VSAG forward ends camera gathers video information.
Step 103, the video access gateway encoder forms spatial domain multi-segment after transcoding and Video coding Single code stream, and the single code stream is sent to the video media service device, to cause the video media service device to connect The single code stream is received, and resolution list corresponding to arranging each layer of superposition, the resolution list is sent to the terminal, The terminal determines to receive the number of plies of the single code stream according to the resolution list.
Specifically, VSAG passes through transcoding, after H264SVC coding and decoding videos, the single code stream of spatial domain multi-segment, hair are formed Give VMS;VMS receives the code stream that VSAG is sent, and arranges the available resolution list of each layer of superposition and be issued to terminal EP; EP wants to retrieve for examination high definition video steaming so that demonstration large-size screen monitors use, according to resolution list, determines to receive code stream according to demand at that time In each layering, i.e. high definition (720P/1080P), four layers of information (BaseLayer+1st EnhanceLayer+2nd EnhanceLayer+3rd EnhanceLayer);EP receives whole layerings of code stream, and is decoded, and starts viewing monitoring and regards Frequently.
Preferably, the video access gateway encoder forms spatial domain multi-segment after transcoding and Video coding Single code stream, including:
Code stream after the video access gateway encoder coding is after spatial domain multi-segment, the single code stream of formation;
Wherein, the single code stream is the code stream of highest resolution in all end-user demands, the single code stream Coded format is the superposition form of spatial multi video data.
Specifically, video access gateway gathers the image information of front end camera in real time, by VSAG transcodings, H264 SVC After coding, the single code stream of spatial domain layering is formed, each layer coding information is sequentially stored in different encoder Layer_ In Buffer, video media service device, the code stream that video media service device will receive, according to encoder Layer_ are sent to Buffer quantity judges the spatial domain number of plies, and lists available video resolution accordingly, and is issued to each request and regards The terminal of frequency code stream, real-time bandwidth of the terminal according to itself and the demand to resolution ratio, carrying out concrete decision needs to receive in code stream Several layers of information be encoder Layer_Buffer number, give up the coding information of useless layer, complete corresponding decoding behaviour Make, obtain the image in different resolution information of demand.With after H264SVC is encoded, as shown in Fig. 2 being formed has one Exemplified by BaseLayer and N-1 EnhanceLayer spatial domain layered code stream, realize that resolution ratio R1, R2 ... Rn's is a variety of respectively Resolution ratio, and meet 0<R1<R2<…<Rn condition.
Code stream after encoder encodes, when reaching 1 layer of information after spatial domain is layered, i.e. BaseLayer.
The resolution ratio that client can parse is one kind:
R1, one layer of information (BaseLayer);
Code stream after encoder encodes, when reaching 2 layers of information after spatial domain is layered, i.e. BaseLayer and 1st EnhanceLayer。
The resolution ratio that client can parse is two kinds:
R1, one layer of information (BaseLayer);
R2, two layers of information (BaseLayer+1st EnhanceLayer).
Code stream after encoder encodes, when reaching 3 layers of information after spatial domain is layered, i.e. BaseLayer, 1st EnhanceLayer and 2nd EnhanceLayer.The resolution ratio that client can parse is three kinds:
R1, one layer of information (BaseLayer);
R2, two layers of information (BaseLayer+1st EnhanceLayer).
R3, layer three information (BaseLayer+1st EnhanceLayer+2nd EnhanceLayer).
Code stream after encoder encodes, when reaching N layer information after spatial domain is layered, i.e. BaseLayer, 1st EnhanceLayer, 2nd EnhanceLayer and 3rd EnhanceLayer.The resolution ratio that client can parse is four Kind:
R1, one layer of information (BaseLayer);
R2, two layers of information (BaseLayer+1st EnhanceLayer).
R3, layer three information (BaseLayer+1st EnhanceLayer+2nd EnhanceLayer);
Rn, N layer information (BaseLayer+1st EnhanceLayer+2nd EnhanceLayer+ ...+N-1th EnhanceLayer);
Transmission state and terminal unit ability, i.e. different band can not be predicted in order to solve the encoder in video communication The different demands of video quality are received in wide and different disposal ability end-on, there is provided the method transmitted on demand, are taken into account minimum time Coding, minimum bit stream, the video quality of a variety of different resolutions is maximumlly provided, the system is encoded based on SVC, real Existing client dynamic adjustment receives the method that code stream realizes multiresolution.
Scalable coding (Scalable Video Coding, SVC) is on space encoder domain, according to different resolution ratio It is divided into two large divisions:Low resolution and the basal layer (BaseLayer) for losing high-resolution HFS;Improve layer (EnhanceLayer) it is to be different from basal layer, possesses the HFS of high-definition image, it is necessary to rely on the portion of basal layer encoding and decoding Point, the number of plies can be divided one by one according to different resolution ratio successively by improving layer, and each raising layer, which all has, relies on last layer image The feature of encoding and decoding, while independently of other layers original image that recovers independent to receiving terminal without in all senses.
Existing frequently-used video resolution has high definition (720P/1080P), VGA (640 × 480), D1 (720*576), CIF (352*288) etc. is several, the coding method in coding side according to H264SVC, using encode the code stream with the layering of 4 spatial domains as Example, is followed successively by BaseLayer, and 1st EnhanceLayer、2ndEnhanceLayer and 3rdEnhanceLayer, in receiving terminal According to conditions such as different user's requests and network bandwidths, determine to receive several hierarchical informations by user oneself to decode to obtain Code stream information needed for user.
User accepts or rejects the number of plies for receiving coding to meet real-time demand according to the actual conditions of itself to weigh.
Coding side is video access gateway, and after the video acquisition of front end camera is obtained, dvr/vms turns by VSAG Code, after H264SVC is encoded, one code stream of transmission gives video media service device, as the selection of image resolution ratio, Netowrk tape Wide transmission situation is without considering.Meanwhile client is equally also only concerned the decoding capability of oneself, oneself video instantly needs Ask, the corresponding coding layer of in good time reception.Make encoder and decoder more direct in encoding and decoding processing, it is faster, more Effectively.
The embodiment of the present invention provides a kind of method of dynamic access video data, and terminal is received in video media service device In the case of the video request actively sent, video access gateway encoder receives video media service device transmitted stream please Ask;The video access gateway encoder forward end camera gathers video information;The video access gateway encoder passes through After transcoding and Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to the video matchmaker Body server, to cause the video media service device to receive the single code stream, and arrange resolution ratio corresponding to each layer of superposition List, the resolution list is sent to the terminal, the terminal determines to receive the list according to the resolution list The number of plies of one code stream, so as to realize that client is adapted dynamically Receiving coded information and independently parsing coding, obtain real-time condition Under resolution ratio meet the needs of client, avoid excessive bandwidth resources and waste, repeatedly encode, be transmitted several times, transmit pair The problem of being matched as retrieval.
With reference to figure 3, Fig. 3 is the flow signal of the method for another dynamic access video data provided in an embodiment of the present invention Figure.
As shown in figure 3, the method for the dynamic access video data includes:
Step 301, the video request that video media service device receiving terminal is actively sent;
Specifically, being based on H264SVC spatial domains hierarchical coding, client dynamic adjustment receives multiple ends that code stream retrieves for examination video End subscriber.Obtained with client EP1, EP2, EP3 by video media service device VMS through video access gateway VSAG encoders The video code flow of H264Encoder codings, the method for terminal EP1, EP2, EP3 dynamic adjustment retrieve for examination video.
Step 302, the video media service device sends code stream request to video access gateway encoder, described to cause Video access gateway encoder forward end camera gathers video information, and after transcoding and Video coding, it is more to form spatial domain The single code stream of layering, and the single code stream is sent to the video media service device;
Specifically, terminal EP1, EP2, EP3 actively initiate monitor video with the identity of client to VMS retrieves for examination request, VMS Continue to send code stream request to VSAG.VSAG forward ends camera gathers video information;VSAG passes through transcoding, H264SVC videos After encoding and decoding, the single code stream of spatial domain multi-segment is formed, is sent to VMS.
Step 303, the video media service device receives the single code stream, arranges and is superimposed resolution ratio row corresponding to each layer Table, the resolution list is sent to the terminal, to cause the terminal to determine reception institute according to the resolution list State the number of plies of single code stream.
Specifically, VMS receives the code stream that VSAG is sent, and arrange the available resolution list 1 of each layer of superposition and issue To terminal EP1, EP2, EP3.
Layer_Buffer nResolution
bufferBase 0
bufferEnhanceLayer1 1
bufferEnhanceLayer2 2
bufferEnhanceLayer3 3
Table 1
As shown in table 1, nResolution=0 is represented, CIF (352*288), nResolution=1 D1 (720*576), NResolution=2 represents that VGA (640 × 480), nResolution=3 represent high definition (720P/1080P).
According to resolution list 1, EP1 is limited, so selection is received in code stream as mobile terminal by network bandwidth One layer of (BaseLayer) information decoding CIF (352*288);
According to resolution list 1, video sources of the EP2 as video wall, in cable environment, it is desirable to high definition (720P/1080P) Image, receive four layers of information (BaseLayer+1st EnhanceLayer+2nd EnhanceLayer+3rd EnhanceLayer) decode;
According to resolution list 1, EP3 is as Surveillance center, it is necessary to which general definition video, receives layer three information (BaseLayer+1st EnhanceLayer+2nd EnhanceLayer) decoding VGA (640 × 480);Simultaneously each Terminal carries out reception decoding effort.
Preferably, the video media service device receives the single code stream, arranges and is superimposed resolution ratio row corresponding to each layer Table, including:
The video media service device determines the highest resolution of the single code stream, with basal layer bufferBase point Based on resolution, resolution ratio corresponding to each raising layer is superimposed respectively, and the corresponding resolution ratio is organized into resolution list, The resolution list includes first resolution ratio corresponding to the basal layer bufferBase, superposition raising layer Resolution ratio corresponding to bufferEnhanceLayer1, it is superimposed to second and improves corresponding to layer bufferEnhanceLayer2 point Resolution, it is superimposed to resolution ratio corresponding to the 3rd raising layer bufferEnhanceLayer3, and the N-1 raising layer of superposition (N-1) resolution ratio corresponding to th EnhanceLayer.
Specifically, during above-mentioned coding transmission and decoding, unified buffer indicates the different number of plies and phase Corresponding resolution ratio, to reach the intercommunication between data.Basal layer corresponds to bufferBase, and first is improved layer and corresponded to BufferEnhanceLayer1, second is improved layer and corresponds to bufferEnhanceLayer2, and the 3rd is improved layer and corresponded to bufferEnhanceLayer3。
The embodiment of the present invention provides a kind of method of dynamic access video data, video access gateway coding H264SVC hairs Video media service device is given, video media service device distinguishes each layer coded layer information, list file names with resolution according to the number of plies of coding Rate matching list, used so that client receives parsing;Terminal according to the balance between the relations such as decoding capability, picture quality, bandwidth, Choose optimum number of strata decoding.
With reference to figure 4, Fig. 4 is the flow signal of the method for another dynamic access video data provided in an embodiment of the present invention Figure.
As shown in figure 4, the method for the dynamic access video data includes:
Step 401, terminal to video media service device send video request, with cause the video media service device to regarding Frequency access gateway encoder sends code stream request, and the video access gateway encoder forward end camera gathers video information, After transcoding and Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to described regard Frequency media server, the video media service device receive the single code stream, arrange and are superimposed resolution list corresponding to each layer, The resolution list is sent to the terminal;
Step 402, the terminal determines to receive the number of plies of the single code stream according to the resolution list.
Preferably, the terminal determines to receive the number of plies of the single code stream according to the resolution list, including:
If the code stream after the video access gateway encoder coding, when reaching 1 layer of information after spatial domain is layered, institute It is resolution ratio R1 corresponding to one layer of information BaseLayer to state the resolution ratio that terminal parses;
If the code stream after the video access gateway encoder coding, when reaching 2 layers of information after spatial domain is layered, institute It is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer to state the resolution ratio that terminal parses EnhanceLayer resolution ratio R2 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching 3 layers of information after spatial domain is layered, institute It is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer to state the resolution ratio that terminal parses EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) EnhanceLayer resolution ratio R3 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching N layer information after spatial domain is layered, institute It is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer to state the resolution ratio that terminal parses EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) Resolution ratio R3 corresponding to EnhanceLayer) ... N layer information (BaseLayer+1stEnhanceLayer+ 2ndEnhanceLayer+ ...+N-1th EnhanceLayer) corresponding to resolution ratio Rn.
The embodiment of the present invention provides a kind of method of dynamic access video data, and video access gateway is obtaining front end shooting After the video acquisition of head, by VSAG transcodings, after H264SVC is encoded, one code stream of transmission gives video media service device, extremely In the selection of image resolution ratio, the transmission situation of network bandwidth is without considering.Meanwhile client is equally also only concerned oneself Decoding capability, oneself video requirement instantly, the corresponding coding layer of in good time reception.Encoder and decoder are made to compile solution In code processing more directly, it is faster, more effectively.
With reference to figure 5, Fig. 5 is the flow signal of the method for another dynamic access video data provided in an embodiment of the present invention Figure.
As shown in figure 5, the method for the dynamic access video data includes:
Step 501, terminal to video media service device send video request, with cause the video media service device to regarding Frequency access gateway encoder sends code stream request, and the video access gateway encoder forward end camera gathers video information, After transcoding and Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to described regard Frequency media server, the video media service device receive the single code stream, arrange and are superimposed resolution list corresponding to each layer, The resolution list is sent to the terminal;
Step 502, the terminal determines to receive the number of plies of the single code stream according to the resolution list;
Step 503, it is described in the case where the terminal and the progress data interaction of other servers need occupied bandwidth resource Terminal receives the number of plies of the single code stream according to current video resolution adjustment.
Specifically, after demonstration terminates, terminal EP prepares to carry out substantial amounts of data interaction with other servers, it is necessary to take big The bandwidth resources of amount, so needing to readjust the resolution ratio of video, to meet current bandwidth availability ratio, adjustment receives code stream Hierarchical information.CIF (352*288), one layer of information (BaseLayer) can meet not high to current monitor video quality demands Situation, and can save fractional bandwidth resource, come preferably carry out big data interworking;EP thinks neglecting for normal viewing monitoring Frequently, definition requirement reduce, resolution requirement D1 (720*576) can meet demand, so determine receive code stream preceding two Layer information, i.e. BaseLayer and 1st EnhanceLayer.
Terminal has following disposal ability:The current bandwidth resources utilization power of terminal;Terminal-pair video quality it is real-time Demand;The decoding capability of terminal determines the demand of terminal-pair video image clarity height;The more clear i.e. video quality of image Higher, bandwidth occupancy is more, conversely, as the same.Decoding capability is higher, and bandwidth is more big more stable, and terminal can more obtain more Code stream under resolution ratio, triadic relation are complemented each other, and terminal is weighed the advantages and disadvantages, and take optimal code stream.
Assuming that camera supports the IMAQ of top resolution ratio, after such first encoding, terminal can obtain Take the code stream of a variety of resolution ratio.If real-time bandwidth changes greatly, or itself decoding processing capabilities changes, or is to change Become the demand to picture quality, terminal can be in the very first time
Receive and make corresponding processing at code stream, avoid the waste of bandwidth resources, avoid the time delay of closed loop feedback, keep away Unnecessary decoding effort amount etc. is exempted from, the result can so encoded meets the need of all terminal-pair video resolutions Ask.
With reference to figure 6, Fig. 6 is the flow signal of the method for another dynamic access video data provided in an embodiment of the present invention Figure.
As shown in fig. 6, the method for the dynamic access video data includes:
Step 601, terminal EP sends monitor video to VMS and retrieves for examination request;
Step 602, asked to VSAG;
Step 603, judge whether VSAG receives request;
Step 604, if so, then front end camera collection image information;
Step 605, asked if it is not, then returning to perform to VSAG;
Step 606, transcoding;
Step 607, H264SVC is encoded;
Step 608, Layer_Buffer nResolution assignment.
With reference to figure 7, Fig. 7 is that a kind of functional module of the device of dynamic access video data provided in an embodiment of the present invention is shown It is intended to.
As shown in fig. 7, the device of the dynamic access video data includes:
Receiving module 701, in the case of receiving the video request that terminal is actively sent in video media service device, Receive the request of video media service device transmitted stream;
Acquisition module 702, video information is gathered for forward end camera;
Coding module 703, for after transcoding and Video coding, forming the single code stream of spatial domain multi-segment;
Preferably, the coding module 703, is used for:
For code stream after coding after spatial domain multi-segment, the single code stream of formation includes a layer bit stream BaseLayer;Two Layer bit stream BaseLayer and 1st Enhance Layer;Three layer bit stream BaseLayer, 1st EnhanceLayer and 2nd EnhanceLayer;And N layer bit streams BaseLayer, 1st EnhanceLayer, 2nd EnhanceLayer ... (N-1) th EnhanceLayer。
Sending module 704, for the single code stream to be sent into the video media service device, to cause the video Media server receives the single code stream, and resolution list corresponding to arranging each layer of superposition, and the resolution list is sent out The terminal is given, the terminal determines to receive the number of plies of the single code stream according to the resolution list.
The embodiment of the present invention provides a kind of device of dynamic access video data, and terminal is received in video media service device In the case of the video request actively sent, video access gateway encoder receives video media service device transmitted stream please Ask;The video access gateway encoder forward end camera gathers video information;The video access gateway encoder passes through After transcoding and Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to the video matchmaker Body server, to cause the video media service device to receive the single code stream, and arrange resolution ratio corresponding to each layer of superposition List, the resolution list is sent to the terminal, the terminal determines to receive the list according to the resolution list The number of plies of one code stream, so as to realize that client is adapted dynamically Receiving coded information and independently parsing coding, obtain real-time condition Under resolution ratio meet the needs of client, avoid excessive bandwidth resources and waste, repeatedly encode, be transmitted several times, transmit pair The problem of being matched as retrieval.
With reference to figure 8, Fig. 8 is the functional module of the device of another dynamic access video data provided in an embodiment of the present invention Schematic diagram.
As shown in figure 8, the device of the dynamic access video data includes:
Receiving module 801, the video request actively sent for receiving terminal;
Sending module 802, for sending code stream request to video access gateway encoder, to cause the video access network Encoder forward end camera collection video information is closed, after transcoding and Video coding, forms the single of spatial domain multi-segment Code stream, and the single code stream is sent to the video media service device;
Processing module 803, for receiving the single code stream, arrange and be superimposed resolution list corresponding to each layer;
Preferably, the processing module 803, is used for:
Determine corresponding resolution ratio after the successively superposition of the single code stream, using basal layer bufferBase resolution ratio as Basis, obtain be superimposed resolution ratio corresponding to each layer respectively, and resolution ratio corresponding to each layer is organized into resolution list, institute Stating resolution list includes first resolution ratio corresponding to the basal layer bufferBase, superposition raising layer Resolution ratio corresponding to bufferEnhanceLayer1, it is superimposed to second and improves corresponding to layer bufferEnhanceLayer2 point Resolution, resolution ratio corresponding to the 3rd raising layer bufferEnhanceLayer3 is superimposed to, and is superimposed to the N-1 raising Resolution ratio corresponding to layer (N-1) th EnhanceLayer.
Sending module 804, for the resolution list to be sent into the terminal, to cause the terminal according to Resolution list determines to receive the number of plies of the single code stream.
The embodiment of the present invention provides a kind of device of dynamic access video data, video access gateway coding H264 SVC hairs Video media service device is given, video media service device distinguishes each layer coded layer information, list file names with resolution according to the number of plies of coding Rate matching list, used so that client receives parsing;Terminal according to the balance between the relations such as decoding capability, picture quality, bandwidth, Choose optimum number of strata decoding.
With reference to figure 9, Fig. 9 is the functional module of the device of another dynamic access video data provided in an embodiment of the present invention Schematic diagram.
As shown in figure 9, the device of the dynamic access video data includes:
Sending module 901, video request is sent to video media service device for terminal, to cause the video media to take Business device sends code stream request to video access gateway encoder, and the video access gateway encoder forward end camera collection regards Frequency information, after transcoding and Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to The video media service device, the video media service device receive the single code stream, arrange to be superimposed corresponding to each layer and differentiate Rate list, the resolution list is sent to the terminal;
Determining module 902, for being determined to receive the number of plies of the single code stream according to the resolution list.
Preferably, the determining module 902, is used for:
If the code stream after the video access gateway encoder coding, when reaching 1 layer of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1 corresponding to one layer of information BaseLayer;
If the code stream after the video access gateway encoder coding, when reaching 2 layers of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching 3 layers of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) EnhanceLayer resolution ratio R3 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching N layer information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) Resolution ratio R3 corresponding to EnhanceLayer) ... N layer information (BaseLayer+1stEnhanceLayer+ 2ndEnhanceLayer+ ...+N-1th EnhanceLayer) corresponding to resolution ratio Rn.
Preferably, described device also includes:
Adjusting module, the situation of occupied bandwidth resource is needed for carrying out data interaction in the terminal and other servers Under, the terminal receives the number of plies of the single code stream according to current video resolution adjustment.
The embodiment of the present invention provides a kind of device of dynamic access video data, and video access gateway is obtaining front end shooting After the video acquisition of head, by VSAG transcodings, after H264SVC is encoded, one code stream of transmission gives video media service device, extremely In the selection of image resolution ratio, the transmission situation of network bandwidth is without considering.Meanwhile client is equally also only concerned oneself Decoding capability, oneself video requirement instantly, the corresponding coding layer of in good time reception.Encoder and decoder are made to compile solution In code processing more directly, it is faster, more effectively.
With reference to figure 10, Figure 10 is a kind of structural representation of the system of dynamic access video data provided in an embodiment of the present invention Figure.
As shown in Figure 10, the system of the dynamic access video data includes:Video access gateway encoder 1001, video Media server 1002 and terminal 1003;
The video access gateway encoder 1001, for receiving the terminal actively in the video media service device In the case of the video request of transmission, the video media service device transmitted stream request is received;Forward end camera gathers Video information;After transcoding and Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent To the video media service device;
Preferably, the video access gateway encoder 1001, is additionally operable to:
For code stream after coding after spatial domain multi-segment, the single code stream of formation includes a layer bit stream BaseLayer;Two Layer bit stream BaseLayer and 1st Enhance Layer;Three layer bit stream BaseLayer, 1st EnhanceLayer and 2nd EnhanceLayer;And N layer bit streams BaseLayer, 1st EnhanceLayer, 2nd EnhanceLayer ... (N-1) th EnhanceLayer。
The video media service device 1002, the video request actively sent for receiving the terminal;To the video Access gateway encoder sends code stream request;The single code stream is received, arranges and is superimposed resolution list corresponding to each layer, by institute State resolution list and be sent to the terminal;
Preferably, the video media service device 1002, is additionally operable to:
Determine corresponding resolution ratio after the successively superposition of the single code stream, using basal layer bufferBase resolution ratio as Basis, the resolution ratio for being superimposed each layer is obtained respectively, and the corresponding resolution ratio is organized into resolution list, the resolution ratio List includes resolution ratio corresponding to the basal layer bufferBase, superposition first improves layer bufferEnhanceLayer1 Corresponding resolution ratio, it is superimposed to second and improves resolution ratio corresponding to layer bufferEnhanceLayer2, is superimposed to the 3rd and carries Resolution ratio corresponding to high-rise bufferEnhanceLayer3, and it is superimposed to the N-1 raising layer (N-1) th Resolution ratio corresponding to EnhanceLayer.
The terminal 1003, for sending video request to the video media service device;The terminal is according to described point Resolution list determines to receive the number of plies of the single code stream.
Preferably, the terminal 1003 is additionally operable to:
If the code stream after the video access gateway encoder coding, when reaching 1 layer of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1 corresponding to one layer of information BaseLayer;
If the code stream after the video access gateway encoder coding, when reaching 2 layers of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching 3 layers of information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) EnhanceLayer resolution ratio R3 corresponding to);
If the code stream after the video access gateway encoder coding, when reaching N layer information after spatial domain is layered, solution The resolution ratio of precipitation is resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) Resolution ratio R3 corresponding to EnhanceLayer) ... N layer information (BaseLayer+1stEnhanceLayer+ 2ndEnhanceLayer+ ...+N-1th EnhanceLayer) corresponding to resolution ratio Rn.
Preferably, the terminal 1003 is additionally operable to:
In the case where the terminal and the progress data interaction of other servers need occupied bandwidth resource, according to current video Resolution adjustment receives the number of plies of the single code stream.
The technical principle of the embodiment of the present invention is described above in association with specific embodiment.These descriptions are intended merely to explain this The principle of inventive embodiments, and the limitation to protection domain of the embodiment of the present invention can not be construed in any way.Based on herein Explanation, those skilled in the art, which would not require any inventive effort, can associate the other specific of the embodiment of the present invention Embodiment, these modes are fallen within the protection domain of the embodiment of the present invention.

Claims (19)

  1. A kind of 1. method of dynamic access video data, it is characterised in that methods described includes:
    In the case where video media service device receives the video request that terminal is actively sent, video access gateway encoder connects Rating frequency media server transmitted stream is asked;
    The video access gateway encoder forward end camera gathers video information;
    The video access gateway encoder forms the single code stream of spatial domain multi-segment after transcoding and Video coding, and The single code stream is sent to the video media service device, to cause the video media service device to receive the single code Stream, and arrange resolution list corresponding to each layer of superposition, the resolution list is sent to the terminal, the terminal according to The resolution list determines to receive the number of plies of the single code stream.
  2. 2. according to the method for claim 1, it is characterised in that the video access gateway encoder passes through transcoding and video After coding, the single code stream of spatial domain multi-segment is formed, including:
    Code stream after the video access gateway encoder coding is after spatial domain multi-segment, the single code stream of formation;
    Wherein, the single code stream is the code stream of highest resolution, and the coded format of the single code stream is spatial multi video The superposition form of data.
  3. A kind of 3. method of dynamic access video data, it is characterised in that methods described includes:
    The video request that video media service device receiving terminal is actively sent;
    The video media service device sends code stream request to video access gateway encoder, to cause the video access gateway Encoder forward end camera gathers video information, after transcoding and Video coding, forms the single code of spatial domain multi-segment Stream, and the single code stream is sent to the video media service device;
    The video media service device receives the single code stream, arranges and is superimposed resolution list corresponding to each layer, will be described point Resolution list is sent to the terminal, to cause the terminal to determine the reception single code stream according to the resolution list The number of plies.
  4. 4. according to the method for claim 3, it is characterised in that the video media service device receives the single code stream, Arrange and be superimposed resolution list corresponding to each layer, including:
    The video media service device determines resolution ratio corresponding to each layer of the single code stream, with basal layer bufferBase Resolution ratio based on, obtain be superimposed corresponding resolution ratio after each layer video data respectively, and will the corresponding resolution ratio it is whole Resolution list is managed into, the resolution list includes resolution ratio corresponding to the basal layer bufferBase, superposition first Improve resolution ratio corresponding to layer bufferEnhanceLayer1, be superimposed to second bufferEnhanceLayer2 pairs of layer of raising The resolution ratio answered, it is superimposed to the 3rd and improves resolution ratio corresponding to layer bufferEnhanceLayer3, and is superimposed to N-1 Resolution ratio corresponding to individual raising layer (N-1) th EnhanceLayer.
  5. A kind of 5. method of dynamic access video data, it is characterised in that methods described includes:
    Terminal sends video request to video media service device, to cause the video media service device to be compiled to video access gateway Code device sends code stream request, and the video access gateway encoder forward end camera gathers video information, by transcoding and regarded After frequency encodes, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to the video media service device, The video media service device receives the single code stream, arranges and is superimposed resolution list corresponding to each layer, by the resolution ratio List is sent to the terminal;
    The terminal determines to receive the number of plies of the single code stream according to the resolution list.
  6. 6. according to the method for claim 5, it is characterised in that the terminal determines to receive institute according to the resolution list The number of plies of single code stream is stated, including:
    If the code stream after the video access gateway encoder coding, when reaching 1 layer of information after spatial domain is layered, the end The resolution ratio parsed is held as resolution ratio R1 corresponding to one layer of information BaseLayer;
    If the code stream after the video access gateway encoder coding, when reaching 2 layers of information after spatial domain is layered, the end The resolution ratio parsed is held as resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2 corresponding to);
    If the code stream after the video access gateway encoder coding, when reaching 3 layers of information after spatial domain is layered, the end The resolution ratio parsed is held as resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1stEnhanceLayer+2nd corresponding to) EnhanceLayer resolution ratio R3 corresponding to);
    If the code stream after the video access gateway encoder coding, when reaching N layer information after spatial domain is layered, the end The resolution ratio parsed is held as resolution ratio R1, two layers of information (BaseLayer+1st corresponding to one layer of information BaseLayer EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1stEnhanceLayer+2nd corresponding to) Resolution ratio R3 corresponding to EnhanceLayer) ... N layer information (BaseLayer+1stEnhanceLayer+ 2ndEnhanceLayer+ ...+N-1th EnhanceLayer) corresponding to resolution ratio Rn.
  7. 7. the method according to claim 5 or 6, it is characterised in that the terminal determines to connect according to the resolution list After the number of plies for receiving the single code stream, in addition to:
    In the case where the terminal and the progress data interaction of other servers need occupied bandwidth resource, the terminal is according to current Video resolution adjustment receives the number of plies of the single code stream.
  8. 8. a kind of device of dynamic access video data, it is characterised in that described device includes:
    Receiving module, in the case of receiving the video request that terminal is actively sent in video media service device, reception regards Frequency media server transmitted stream is asked;
    Acquisition module, video information is gathered for forward end camera;
    Coding module, for after transcoding and Video coding, forming the single code stream of spatial domain multi-segment;
    Sending module, for the single code stream to be sent into the video media service device, to cause the video media to take Device of being engaged in receives the single code stream, and resolution list corresponding to arranging each layer of superposition, and the resolution list is sent into institute Terminal is stated, the terminal determines to receive the number of plies of the single code stream according to the resolution list.
  9. 9. device according to claim 8, it is characterised in that the coding module, be used for:
    Code stream after coding is after spatial domain multi-segment, the single code stream of formation;
    Wherein, the single code stream is the code stream of highest resolution, and the coded format of the single code stream is spatial multi video The superposition form of data.
  10. 10. a kind of device of dynamic access video data, it is characterised in that described device includes:
    Receiving module, the video request actively sent for receiving terminal;
    Sending module, for sending code stream request to video access gateway encoder, to cause the video access gateway to encode Device forward end camera gathers video information, after transcoding and Video coding, forms the single code stream of spatial domain multi-segment, and The single code stream is sent to the video media service device;
    Processing module, for receiving the single code stream, arrange and be superimposed resolution list corresponding to each layer;
    Sending module, for the resolution list to be sent into the terminal, to cause the terminal according to the resolution ratio List determines to receive the number of plies of the single code stream.
  11. 11. device according to claim 10, it is characterised in that the processing module, be used for:
    Determine resolution ratio corresponding to the successively overlay video stream of the single code stream, using basal layer bufferBase resolution ratio as Basis, obtain be superimposed to resolution ratio corresponding to each layer respectively, and the corresponding resolution ratio is organized into resolution list, it is described Resolution list includes first resolution ratio corresponding to the basal layer bufferBase, superposition raising layer Resolution ratio corresponding to bufferEnhanceLayer1, it is superimposed to second and improves corresponding to layer bufferEnhanceLayer2 point Resolution, resolution ratio corresponding to the 3rd raising layer bufferEnhanceLayer3 is superimposed to, and is superimposed to the N-1 raising Resolution ratio corresponding to layer (N-1) th EnhanceLayer.
  12. 12. a kind of device of dynamic access video data, it is characterised in that described device includes:
    Sending module, for terminal to video media service device send video request, with cause the video media service device to Video access gateway encoder sends code stream request, the video access gateway encoder forward end camera collection video letter Breath, after transcoding and Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to described Video media service device, the video media service device receive the single code stream, arrange and are superimposed resolution ratio row corresponding to each layer Table, the resolution list is sent to the terminal;
    Determining module, for being determined to receive the number of plies of the single code stream according to the resolution list.
  13. 13. device according to claim 12, it is characterised in that the determining module, be used for:
    If the code stream after the video access gateway encoder coding, when reaching 1 layer of information after spatial domain is layered, is parsed Resolution ratio corresponding to one layer of information BaseLayer resolution ratio R1;
    If the code stream after the video access gateway encoder coding, when reaching 2 layers of information after spatial domain is layered, is parsed Resolution ratio corresponding to one layer of information BaseLayer resolution ratio R1, two layers of information (BaseLayer+1st EnhanceLayer resolution ratio R2 corresponding to);
    If the code stream after the video access gateway encoder coding, when reaching 3 layers of information after spatial domain is layered, is parsed Resolution ratio corresponding to one layer of information BaseLayer resolution ratio R1, two layers of information (BaseLayer+1st EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) EnhanceLayer resolution ratio R3 corresponding to);
    If the code stream after the video access gateway encoder coding, when reaching N layer information after spatial domain is layered, is parsed Resolution ratio corresponding to one layer of information BaseLayer resolution ratio R1, two layers of information (BaseLayer+1st EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) Resolution ratio R3 corresponding to EnhanceLayer) ... N layer information (BaseLayer+1stEnhanceLayer+ 2ndEnhanceLayer+ ...+(N-1) th EnhanceLayer) corresponding to resolution ratio Rn.
  14. 14. the device according to claim 12 or 13, it is characterised in that described device also includes:
    Adjusting module, in the case of needing occupied bandwidth resource in the terminal and the progress data interaction of other servers, institute State the number of plies that terminal receives the single code stream according to current video resolution adjustment.
  15. 15. a kind of system of dynamic access video data, it is characterised in that the system includes:Video access gateway encoder, Video media service device and terminal;
    The video access gateway encoder, for receiving regarding for the terminal active transmission in the video media service device In the case that frequency is asked, the video media service device transmitted stream request is received;Forward end camera gathers video information; After transcoding and Video coding, the single code stream of spatial domain multi-segment is formed, and the single code stream is sent to described regard Frequency media server;
    The video media service device, the video request actively sent for receiving the terminal;To the video access gateway Encoder sends code stream request;The single code stream is received, arranges and is superimposed resolution list corresponding to each layer, by the resolution ratio List is sent to the terminal;
    The terminal, for sending video request to the video media service device;The terminal is according to the resolution list It is determined that receive the number of plies of the single code stream.
  16. 16. system according to claim 15, it is characterised in that the video access gateway encoder, be additionally operable to:
    For code stream after coding after spatial domain multi-segment, the single code stream of formation includes a layer bit stream BaseLayer;Or two layers Code stream BaseLayer and 1st Enhance Layer;Or three layer bit stream BaseLayer, 1st EnhanceLayer and 2nd EnhanceLayer;And N layer bit streams BaseLayer, 1st EnhanceLayer, 2nd EnhanceLayer ... (N-1) th EnhanceLayer。
  17. 17. system according to claim 15, it is characterised in that the video media service device, be additionally operable to:
    Resolution ratio corresponding to each layer of the single code stream is determined, based on basal layer bufferBase resolution ratio, point The resolution ratio after each layer video data Huo Qu be superimposed, and described resolution ratio is organized into resolution list, the resolution ratio List includes resolution ratio corresponding to the basal layer bufferBase, superposition first improves layer bufferEnhanceLayer1 Corresponding resolution ratio, it is superimposed to second and improves resolution ratio corresponding to layer bufferEnhanceLayer2, is superimposed to the 3rd and carries Resolution ratio corresponding to high-rise bufferEnhanceLayer3, and the be superimposed to N-1 raising layer (N-1) th Resolution ratio corresponding to EnhanceLayer.
  18. 18. system according to claim 15, it is characterised in that the terminal is additionally operable to:
    If the code stream after the video access gateway encoder coding, when reaching 1 layer of information after spatial domain is layered, is parsed Resolution ratio corresponding to one layer of information BaseLayer resolution ratio R1;
    If the code stream after the video access gateway encoder coding, when reaching 2 layers of information after spatial domain is layered, is parsed Resolution ratio corresponding to one layer of information BaseLayer resolution ratio R1, two layers of information (BaseLayer+1st EnhanceLayer resolution ratio R2 corresponding to);
    If the code stream after the video access gateway encoder coding, when reaching 3 layers of information after spatial domain is layered, is parsed Resolution ratio corresponding to one layer of information BaseLayer resolution ratio R1, two layers of information (BaseLayer+1st EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) EnhanceLayer resolution ratio R3 corresponding to);
    If the code stream after the video access gateway encoder coding, when reaching N layer information after spatial domain is layered, is parsed Resolution ratio corresponding to one layer of information BaseLayer resolution ratio R1, two layers of information (BaseLayer+1st EnhanceLayer resolution ratio R2, layer three information (BaseLayer+1st EnhanceLayer+2nd corresponding to) Resolution ratio R3 corresponding to EnhanceLayer) ... N layer information (BaseLayer+1stEnhanceLayer+ 2ndEnhanceLayer+ ...+N-1th EnhanceLayer) corresponding to resolution ratio Rn.
  19. 19. the system according to claim 15 or 18, it is characterised in that the terminal is additionally operable to:
    In the case where the terminal and the progress data interaction of other servers need occupied bandwidth resource, differentiated according to current video Rate adjustment receives the number of plies of the single code stream.
CN201610537570.3A 2016-07-08 2016-07-08 A kind of method, apparatus and system of dynamic access video data Pending CN107592555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610537570.3A CN107592555A (en) 2016-07-08 2016-07-08 A kind of method, apparatus and system of dynamic access video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610537570.3A CN107592555A (en) 2016-07-08 2016-07-08 A kind of method, apparatus and system of dynamic access video data

Publications (1)

Publication Number Publication Date
CN107592555A true CN107592555A (en) 2018-01-16

Family

ID=61046002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610537570.3A Pending CN107592555A (en) 2016-07-08 2016-07-08 A kind of method, apparatus and system of dynamic access video data

Country Status (1)

Country Link
CN (1) CN107592555A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413433A (en) * 2018-11-19 2019-03-01 上海赛连信息科技有限公司 Content share method, device and system
CN112333556A (en) * 2020-07-31 2021-02-05 深圳Tcl新技术有限公司 Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium
CN113453025A (en) * 2020-03-26 2021-09-28 杭州海康威视系统技术有限公司 Data acquisition method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080158339A1 (en) * 2005-07-20 2008-07-03 Reha Civanlar System and method for a conference server architecture for low delay and distributed conferencing applications
CN101800895A (en) * 2008-09-19 2010-08-11 美国博通公司 Method and system for vidoe encoding
CN102265535A (en) * 2008-12-22 2011-11-30 通用仪表公司 Method and apparatus for streaming multiple scalable coded video content to client devices at different encoding rates
CN102404560A (en) * 2010-09-17 2012-04-04 中兴通讯股份有限公司 Method and system for implementing collaborative transmission of SVC (Scalable Video Coding) service
CN103108160A (en) * 2013-01-24 2013-05-15 中国联合网络通信集团有限公司 Surveillance video data acquisition method, server and terminal
CN103703785A (en) * 2011-08-01 2014-04-02 索尼电脑娱乐公司 Video data generation unit, video image display device, video data generation method, video image display method, and video image file data structure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080158339A1 (en) * 2005-07-20 2008-07-03 Reha Civanlar System and method for a conference server architecture for low delay and distributed conferencing applications
CN101800895A (en) * 2008-09-19 2010-08-11 美国博通公司 Method and system for vidoe encoding
CN102265535A (en) * 2008-12-22 2011-11-30 通用仪表公司 Method and apparatus for streaming multiple scalable coded video content to client devices at different encoding rates
CN102404560A (en) * 2010-09-17 2012-04-04 中兴通讯股份有限公司 Method and system for implementing collaborative transmission of SVC (Scalable Video Coding) service
CN103703785A (en) * 2011-08-01 2014-04-02 索尼电脑娱乐公司 Video data generation unit, video image display device, video data generation method, video image display method, and video image file data structure
CN103108160A (en) * 2013-01-24 2013-05-15 中国联合网络通信集团有限公司 Surveillance video data acquisition method, server and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413433A (en) * 2018-11-19 2019-03-01 上海赛连信息科技有限公司 Content share method, device and system
CN113453025A (en) * 2020-03-26 2021-09-28 杭州海康威视系统技术有限公司 Data acquisition method and device
CN112333556A (en) * 2020-07-31 2021-02-05 深圳Tcl新技术有限公司 Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium
CN112333556B (en) * 2020-07-31 2024-03-12 深圳Tcl新技术有限公司 Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US8139607B2 (en) Subscriber controllable bandwidth allocation
EP1472845B1 (en) Targeted scalable video multicast based on client bandwidth or capability
KR101281845B1 (en) Method and apparatus for visual program guide of scalable video transmission device
EP1922877B1 (en) Optimizing data rate for video services
KR100848310B1 (en) Method and apparatus for scalable video adaptation using adaptation operators for scalable video
CN103210642B (en) Occur during expression switching, to transmit the method for the scalable HTTP streams for reproducing naturally during HTTP streamings
US9578352B2 (en) Multi-format distribution of content
KR100887041B1 (en) Information processing apparatus and system
US20110274180A1 (en) Method and apparatus for transmitting and receiving layered coded video
CN102143385A (en) Media play processing method, digital media server and system
JP2016502798A (en) Dynamic bit rate encoding and distribution according to the content situation
CN107911710B (en) Live broadcast resource sharing management platform and method
KR20130014508A (en) Bit rate adjustment in an adaptive streaming system
CN102291561A (en) Reducing use of periodic key frames in video conferencing
CN103702139A (en) Video-on-demand system based on scalable coding under mobile environment
CN102131106A (en) Method, device and system for playing streaming media contents
CN106454271B (en) Processing system for video and method
EP2984848B1 (en) Associating representations in adaptive streaming
KR101808639B1 (en) Adaptive media streaming transmission method and apparatus for multi network
CN1271834C (en) Multipath real time video-frequency gateway for supporting large capacity user and its application method
US20130304933A1 (en) Multi-network environment adaptive media streaming transmission method and apparatus
CN103546754B (en) From H.264/AVC to code-transferring method and the system of SVC gradable spatial
CN107592555A (en) A kind of method, apparatus and system of dynamic access video data
US10291677B2 (en) Method of adaptive downloading of digital contents for several screens
GB2540571A (en) Digital home network multimedia share system and share method thereof

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180116

WD01 Invention patent application deemed withdrawn after publication