Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of live broadcasting method, Apparatus and system.Described technical scheme is as follows:
First aspect, provide a kind of live broadcasting method, the method comprises:
Receive the live synthetic parameters that main broadcaster's client sends;
Receive at least two live video streams that main broadcaster's client sends, the visual angle that at least two live video streams are corresponding respective;
At least two live video streams are synthesized target live video stream according to live synthetic parameters, and the live picture of target live video stream comprises and at least two each self-corresponding viewing areas of live video stream;
Target live video stream is sent at least one spectator client corresponding with main broadcaster's client.
Optionally, at least two live video streams are synthesized target live video stream according to live synthetic parameters, comprising:
Resolve live synthetic parameters and obtain Regional Distribution's parameter; Regional Distribution's parameter is used to indicate the layout pattern of the viewing area in target live video stream;
Generate at least two viewing areas belonging to same live picture according to Regional Distribution's parameter, the number of viewing area is identical with the number of live video stream;
At least two live video streams are blended into respectively in a viewing area at least two viewing areas, obtain target live video stream.
Optionally, Regional Distribution's parameter is any one in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern;
Principal and subordinate's layout pattern comprises main viewing area and is superimposed upon at least one on main viewing area from viewing area;
Horizontal layout pattern comprises at least two viewing areas according to horizontal direction laid out in parallel;
Vertical layout pattern comprises at least two viewing areas according to vertical direction laid out in parallel.
Optionally, at least two live video streams are blended into respectively in a viewing area at least two viewing areas, obtain target live video stream, comprising:
Resolve live synthetic parameters and obtain the corresponding parameter in region; The corresponding parameter in region comprises the corresponding relation between each viewing area and live video stream;
According to Regional Distribution's parameter, at least two live video streams are blended in each self-corresponding viewing area respectively, obtain target live video stream.
Second aspect, provide a kind of live broadcasting method, the method comprises:
Main broadcaster's client obtains live synthetic parameters;
Live synthetic parameters is sent to server by main broadcaster's client;
Main broadcaster's client collection at least two live video streams, the visual angle that at least two live video streams are corresponding respective;
At least two live video streams are sent to server by main broadcaster's client, server is used at least two live video streams to synthesize target live video stream according to live synthetic parameters, and the live picture of target live video stream comprises and at least two each self-corresponding viewing areas of live video stream; Server is also for sending at least one spectator client corresponding with main broadcaster's client by target live video stream.
Optionally, live synthetic parameters comprises: Regional Distribution's parameter; Main broadcaster's client obtains live synthetic parameters, comprising:
Receive the first setting operation;
Arrange the Regional Distribution's parameter in live synthetic parameters according to the first setting operation, Regional Distribution's parameter is used to indicate the layout pattern of the viewing area in target live video stream.
Optionally, Regional Distribution's parameter is any one in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern;
Principal and subordinate's layout pattern comprises main viewing area and is superimposed upon at least one on main viewing area from viewing area;
Horizontal layout pattern comprises at least two viewing areas according to horizontal direction laid out in parallel;
Vertical layout pattern comprises at least two viewing areas according to vertical direction laid out in parallel.
Optionally, live synthetic parameters comprises: the corresponding parameter in region; Main broadcaster's client obtains live synthetic parameters, comprising:
Receive the second setting operation;
According to the corresponding parameter in region that the second setting operation is arranged in live synthetic parameters, the corresponding parameter in region comprises the corresponding relation in target live video stream between each viewing area and live video stream.
The third aspect, provides a kind of live broadcast device, and this device comprises:
First receiver module, for receiving the live synthetic parameters that main broadcaster's client sends;
Second receiver module, for receiving at least two live video streams that main broadcaster's client sends, the visual angle that at least two live video streams are corresponding respective;
Synthesis module, at least two live video streams are synthesized target live video stream according to live synthetic parameters, the live picture of target live video stream comprises and at least two each self-corresponding viewing areas of live video stream;
Sending module, for sending at least one spectator client corresponding with main broadcaster's client by target live video stream.
Optionally, synthesis module comprises:
First resolution unit, obtains Regional Distribution's parameter for resolving live synthetic parameters; Regional Distribution's parameter is used to indicate the layout pattern of the viewing area in target live video stream;
First generates generation unit, and for generating at least two viewing areas belonging to same live picture according to Regional Distribution's parameter, the number of viewing area is identical with the number of live video stream;
Synthesis unit, for being blended into respectively by least two live video streams in a viewing area at least two viewing areas, obtains target live video stream.
Optionally, Regional Distribution's parameter is any one in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern;
Principal and subordinate's layout pattern comprises main viewing area and is superimposed upon at least one on main viewing area from viewing area;
Horizontal layout pattern comprises at least two viewing areas according to horizontal direction laid out in parallel;
Vertical layout pattern comprises at least two viewing areas according to vertical direction laid out in parallel.
Optionally, synthesis unit comprises:
Second resolution unit, obtains the corresponding parameter in region for resolving live synthetic parameters; The corresponding parameter in region comprises the corresponding relation between each viewing area and live video stream;
Second generation unit, for being blended in each self-corresponding viewing area according to Regional Distribution's parameter respectively by least two live video streams, obtains target live video stream.
Fourth aspect, provides a kind of live broadcast device, and this device comprises:
Acquisition module, for obtaining live synthetic parameters;
First sending module, for sending to server by live synthetic parameters;
Acquisition module, for gathering at least two live video streams, the visual angle that at least two live video streams are corresponding respective;
Second sending module, for at least two live video streams are sent to server, server is used at least two live video streams to synthesize target live video stream according to live synthetic parameters, and the live picture of target live video stream comprises and at least two each self-corresponding viewing areas of live video stream; Server is also for sending at least one spectator client corresponding with main broadcaster's client by target live video stream.
Optionally, live synthetic parameters comprises: Regional Distribution's parameter; Acquisition module, comprising:
First receiving element, for receiving the first setting operation;
First setting unit, for arranging the Regional Distribution's parameter in live synthetic parameters according to the first setting operation, Regional Distribution's parameter is used to indicate the layout pattern of the viewing area in target live video stream.
Optionally, Regional Distribution's parameter is any one in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern;
Principal and subordinate's layout pattern comprises main viewing area and is superimposed upon at least one on main viewing area from viewing area;
Horizontal layout pattern comprises at least two viewing areas according to horizontal direction laid out in parallel;
Vertical layout pattern comprises at least two viewing areas according to vertical direction laid out in parallel.
Optionally, it is characterized in that, live synthetic parameters comprises: the corresponding parameter in region; Acquisition module, comprising:
Second receiving element, for receiving the second setting operation;
Second setting unit, for arranging the corresponding parameter in region in live synthetic parameters according to the second setting operation, the corresponding parameter in region comprises the corresponding relation in target live video stream between each viewing area and live video stream.
5th aspect, provides a kind of live broadcast system, and this system comprises terminal and server;
Described terminal comprises the live broadcast device that the above-mentioned third aspect provides;
Described server comprises the live broadcast device that above-mentioned fourth aspect provides.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Live synthetic parameters is obtained by main broadcaster's client, live synthetic parameters is sent to server, server receives the live synthetic parameters that main broadcaster's client sends, main broadcaster's client collection at least two live video streams, at least two live video streams are sent to server, server receives at least two live video streams that described main broadcaster's client sends, described at least two live video streams are synthesized target live video stream according to described live synthetic parameters, described target live video stream is sent at least one spectator client corresponding with described main broadcaster's client, solve because the picture come in live video stream that back rotation camera causes is stable not in live process, the problem that live image quality is not high, reach and utilize live synthetic parameters to be synthesized in a live video stream by multiple live video stream, make to have multiple live visual angle in same live picture, live picture is more stable, improves the effect of outdoor live customer flow and playability.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, it illustrates the schematic diagram of a kind of implementation environment that the embodiment of the present invention provides.This implementation environment comprises: first terminal 120, server 140 and the second terminal 160.
First terminal 120 is the equipment with collection, coding, data sending function, such as notebook computer, mobile phone.First terminal 120 has at least 2 video acquisition assemblies.
Optionally, when first terminal 120 is notebook computers, at least 2 video acquisition assemblies are the built-in cameras of notebook computer, the camera be connected with by wireless network or data line; When first terminal 120 is mobile phones, at least two video acquisition assemblies are front-facing camera and the post-positioned pick-up head of mobile phone.
Be provided with main broadcaster's client in first terminal 120, main broadcaster's client is a kind of internet video live broadcasting software, " protruding canine teeth is live " that such as Guangzhou China Multi net voting science and technology Cable companies produces.
First terminal 120 is by cable network, or wireless network, or data line is connected with server 140.
Server 140 is servers of the background service for providing network direct broadcasting.
The quantity of the second terminal 160 is at least 1, is provided with spectator client in the second terminal 160, and the second terminal 160 being provided with spectator client can watch the live video of main broadcaster's client upload.
Second terminal 160 is by cable network, or wireless network, or data line is connected with server 140.
The corresponding relation between main broadcaster's client and each channel is stored in server 140, after spectator client selects channel, server, according to the corresponding relation of each channel and main broadcaster's client, sends live video stream to the spectator client belonged in same channel.
Please refer to Fig. 2, it illustrates the flow chart of a kind of live broadcasting method shown in the present invention one exemplary embodiment.The present embodiment is applied to this live broadcasting method in the server in implementation environment and illustrates, as shown in Figure 2, this live broadcasting method comprises the following steps:
In step 202., the live synthetic parameters that main broadcaster's client sends is received.
Live synthetic parameters is used for multiple live video stream to synthesize a live video stream.
In step 204, receive at least two live video streams that main broadcaster's client sends, the visual angle that at least two live video streams are corresponding respective.
In step 206, at least two live video streams are synthesized target live video stream according to live synthetic parameters, the live picture of target live video stream comprises and at least two each self-corresponding viewing areas of live video stream.
In a step 208, target live video stream is sent at least one spectator client corresponding with main broadcaster's client.
In sum, the live broadcasting method that the present embodiment provides, the live synthetic parameters of main broadcaster's client transmission is received by server, receive at least two live video streams that main broadcaster's client sends, at least two live video streams are synthesized target live video stream according to live synthetic parameters, target live video stream is sent at least one spectator client corresponding with main broadcaster's client; Solve in live process the picture come in live video stream that back rotation camera causes stable not, live problem of low quality; Reach and utilize live synthetic parameters to be synthesized in a live video stream by multiple live video stream, make to have multiple live visual angle in same live picture, live picture is more stable, improves the effect of outdoor live customer flow and playability.
Please refer to Fig. 3, it illustrates the flow chart of a kind of live broadcasting method shown in another exemplary embodiment of the present invention.The present embodiment is applied to this live broadcasting method in the electronic equipment in implementation environment and illustrates, as shown in Figure 3, this live broadcasting method comprises the following steps:
In step 302, main broadcaster's client obtains live synthetic parameters.
Optionally, live synthetic parameters is the parameter of system default, or, the parameter that user is independently arranged, or, the parameter that main broadcaster's client generates automatically according to live video stream.
In step 304, live synthetic parameters is sent to server by main broadcaster's client.
Within step 306, main broadcaster's client collection at least two live video streams, the visual angle that at least two live video streams are corresponding respective.
In step 308, at least two live video streams are sent to server by main broadcaster's client, server is used at least two live video streams to synthesize target live video stream according to live synthetic parameters, and the live picture of target live video stream comprises and at least two each self-corresponding viewing areas of live video stream; Server is also for sending at least one spectator client corresponding with main broadcaster's client by target live video stream.
In sum, the live broadcasting method that the present embodiment provides, live synthetic parameters is obtained by main broadcaster's client, live synthetic parameters is sent to server, main broadcaster's client collection at least two live video streams, at least two live video streams are sent to server, server receives at least two live video streams that main broadcaster's client sends, at least two live video streams are synthesized target live video stream according to live synthetic parameters, target live video stream is sent at least one spectator client corresponding with main broadcaster's client; Solve in live process the picture come in live video stream that back rotation camera causes stable not, live problem of low quality; Reach and utilize live synthetic parameters to be synthesized in a live video stream by multiple live video stream, make to have multiple live visual angle in same live picture, live picture is more stable, improves the effect of outdoor live customer flow and playability.
Above-mentioned at least two live video streams are synthesized target live video stream according to live synthetic parameters, wherein, live synthetic parameters comprises the corresponding parameter of Regional Distribution's parameter and region.
Optionally, Regional Distribution's parameter is any one in principal and subordinate's layout pattern, horizontal layout pattern and vertical layout pattern.
Optionally, principal and subordinate's layout pattern comprises main viewing area and is superimposed upon at least one on main viewing area from viewing area.
Main viewing area has and only has one, the quantity of main viewing area and the quantity from viewing area and the quantity that is less than or equal to video acquisition assembly.
As shown in Figure 4 A, region 41 is main viewing area, and the region 42 be superimposed upon above region 41 is from viewing area.
Optionally, horizontal layout pattern comprises at least two viewing areas according to horizontal direction laid out in parallel.
Viewing area in target live video stream is at least two, and as shown in Figure 4 B, region 43 is on the left side, region 44, and region 43 and region 44 are by horizontal direction laid out in parallel.
Optionally, vertical layout pattern comprises at least two viewing areas according to vertical direction arrangement.
Viewing area in target live video stream is at least two, and as shown in Figure 4 C, region 45 is above region 46, and region 45 and region 46 are pressed vertical direction and arranged.
Optionally, the corresponding parameter in region comprises the corresponding relation between each viewing area and live video stream.
The quantity of live video stream is identical with the quantity of video acquisition assembly, the corresponding live video stream in a viewing area in target live video stream, the quantity of viewing area is less than or equal to the quantity of video acquisition assembly, in other words, a first terminal can gather multiple video flowing, and user can select at least two live video streams in all live video streams for the synthesis of target live video stream.
Please refer to Fig. 5 A, it illustrates the flow chart of a kind of live broadcasting method shown in another exemplary embodiment of the present invention.The present embodiment is applied to this live broadcasting method in first terminal, server and the second terminal in implementation environment and illustrates, as shown in Figure 5A, this live broadcasting method comprises the following steps:
In step 501, the main broadcaster's client in first terminal receives the first setting operation.
When the main broadcaster's client on first terminal is in using state, main broadcaster's client receives the first setting operation.
Optionally, user carries out the first setting operation at the display interface of main broadcaster's client, as shown in Figure 5 B, user is Selection parameter " layout pattern " in region 51 first, any one again in region 52 in Selection parameter " master slave mode, horizontal pattern, vertically pattern ", clickable icon 53 " next step ", completes the first setting operation, and main broadcaster's client receives aforesaid operations and namely receives the first setting operation.
In step 502, main broadcaster's client arranges the Regional Distribution's parameter in live synthetic parameters according to the first setting operation, Regional Distribution's parameter is used to indicate the layout pattern of the viewing area in target live video stream.
After main broadcaster's client receives the first setting operation, the Regional Distribution's parameter in live synthetic parameters is set according to the first setting operation.Such as, in above-mentioned steps 501, have selected " master slave mode ", then the layout pattern of the viewing area in target live video stream is master slave mode.
In step 503, main broadcaster's client receives the second setting operation.
When the main broadcaster's client on first terminal is in using state, main broadcaster's client receives the second setting operation.
Optionally, user carries out the second setting operation at the display interface of main broadcaster's client, as shown in Figure 5 C, user is in region 54 after Selection parameter " corresponding relation ", Selection parameter " region 1 " in region 55, Selection parameter " video 1 " in region 56 again, clickable icon 57 " determination ", complete the setting of the corresponding relation of " region 1 " and live video stream, by that analogy, the corresponding relation of all viewing areas and live video stream is arranged, clickable icon 58 " next step ", complete the corresponding relation between each viewing area and live video stream in target live video stream, namely the second setting operation is completed.
In step 504, the corresponding parameter in region that main broadcaster's client is arranged in live synthetic parameters according to the second setting operation, the corresponding parameter in region comprises the corresponding relation in target live video stream between each viewing area and live video stream.
The corresponding parameter in region that main broadcaster's client is arranged in live synthetic parameters according to the second setting operation received.Such as, having set Regional Distribution's parameter is master slave mode, then by live video stream respectively with principal and subordinate viewing area one_to_one corresponding, complete the setting to the corresponding parameter in region in live synthetic parameters.
Optionally, the corresponding relation between each viewing area and live video stream is system default, and namely user independently can not arrange the corresponding relation between each viewing area and live video stream.
Need supplementary notes a bit, in the present embodiment, be not specifically limited for the execution sequence of step 501 to step 504, according to actual needs, step 503 can perform to step 504 before step 501 to step 502.
In step 505, live synthetic parameters is sent to server by main broadcaster's client.
Regional Distribution's parameter that main broadcaster's client will be arranged according to the first setting operation, and according to the corresponding parameter in region that the second setting operation is arranged, send to server.
In step 506, server receives the live synthetic parameters that main broadcaster's client sends.
Server receives Regional Distribution's parameter that main broadcaster's client sends, and the corresponding parameter in region.
In step 507, main broadcaster's client collection at least two live video streams, the visual angle that at least two live video streams are corresponding respective.
Main broadcaster's client that first terminal is installed gathers live video stream by video acquisition assembly, the visual angle that each video acquisition assembly is corresponding, therefore, and a corresponding visual angle of live video stream.
Need supplementary notes a bit, be not specifically limited step 507 execution sequence, step 507 can perform before step 501 to step 504.
In step 508, at least two live video streams are sent to server by main broadcaster's client.
The live video stream of at least two that collect is sent to server by main broadcaster's client.
In step 509, server receives at least two live video streams that main broadcaster's client sends, the visual angle that at least two live video streams are corresponding respective.
In step 510, the live synthetic parameters of server parses obtains Regional Distribution's parameter.
The live synthetic parameters of server parses obtains Regional Distribution's parameter, can be by the viewing area in Regional Distribution's parameter determination target live video stream to arrange with any pattern in principal and subordinate's layout pattern, horizontal layout pattern, data layout pattern.
In step 511, server generates at least two viewing areas belonging to same live picture according to Regional Distribution's parameter, the number of viewing area is identical with the number of live video stream.
Server can generate according to Regional Distribution's parameter at least two viewing areas belonging to same live picture, that is to say, server first determines the arrangement mode of viewing area in same live picture according to Regional Distribution's parameter.
Such as, the live synthetic parameters of server parses obtains Regional Distribution's parameter for principal and subordinate's layout pattern, then arrange with principal and subordinate's layout pattern at least two viewing areas in same live picture.
In step 512, at least two live video streams are blended in a viewing area at least two viewing areas by server respectively, obtain target live video stream.
At least two live video streams received are synthesized at least two viewing areas in same live picture according to live synthetic parameters by server respectively, a corresponding live video stream in viewing area.After the arrangement mode of the viewing area of same live picture is determined, server is according to the corresponding relation between viewing area and live video stream, the live video stream received is synthesized in corresponding viewing area, obtain target live video stream, this live video stream only has a live picture, at least two viewing areas are had, the visual angle that the video pictures of each viewing area is corresponding different in this live picture.
This step specifically comprises following two steps, as shown in Figure 5 D:
In step 512a, the live synthetic parameters of server parses obtains the corresponding parameter in region; The corresponding parameter in region comprises the corresponding relation between each viewing area and live video stream.
The live synthetic parameters of server parses can obtain the corresponding parameter in region, can determine each self-corresponding live video stream in each viewing area in same live picture according to the corresponding parameter in region.
In step 512b, at least two live video streams are blended in each self-corresponding viewing area according to Regional Distribution's parameter by server respectively, obtain target live video stream.
The each live video stream acquired, according to the corresponding relation of viewing area and live video stream, is blended in corresponding viewing area, obtains target live video stream by server.
Such as, server receives 2 live video streams, resolving live synthetic parameters, to obtain Regional Distribution's pattern be principal and subordinate's layout, then being synthesized with principal and subordinate viewing area respectively by 2 live video streams according to resolving the corresponding parameter in the region obtained, obtaining target live video stream.
Need supplementary notes a bit, in the present embodiment, be not specifically limited for the execution sequence of step 510 to step 512, step 510 and step 512a can perform simultaneously, or step 512a performed before step 510.
In step 513, target live video stream is sent at least one spectator client corresponding with main broadcaster's client by server.
The user of the second terminal can select to want the network direct broadcasting channel watched in spectator client, and server, according to the corresponding relation of channel and main broadcaster's client, sends target live video stream to the spectator client connected into channel.
In sum, the live broadcasting method that the present embodiment provides, live synthetic parameters is obtained by main broadcaster's client, live synthetic parameters is sent to server, server receives the live synthetic parameters that main broadcaster's client sends, main broadcaster's client collection at least two live video streams, at least two live video streams are sent to server, server receives at least two live video streams that main broadcaster's client sends, at least two live video streams are synthesized target live video stream according to live synthetic parameters, target live video stream is sent at least one spectator client corresponding with main broadcaster's client, solve the picture come in live process in live video stream that back rotation camera causes stable not, live problem of low quality, solve the picture come in live process in live video stream that back rotation camera causes stable not, live problem of low quality, reach and utilize live synthetic parameters to be synthesized in a live video stream by multiple live video stream, make to have multiple live visual angle in same live picture, live picture is more stable, improves the effect of outdoor live customer flow and playability.
In addition, Regional Distribution parameter and the region corresponding parameter of the present embodiment also by arranging live synthetic parameters, being combined into the multiple live picture pattern of target live video stream, can rationally showing live picture according to different live scene, making the Consumer's Experience of spectators when watching live better.
In the embodiment based on Fig. 5 A illustrated embodiment, main broadcaster's client can not also pass through user manual setting area layout parameter, and at least two live video streams automatic formation zone layout parameter by collecting, namely step 501 is omitted to step 504, also step 507a is comprised after step 507, as shown in Figure 6:
In step 507a, main broadcaster's client, according to collect at least two live video streams, generates live synthetic parameters.
Main broadcaster's client according to the image information in live video stream, can generate live synthetic parameters automatically, i.e. the corresponding parameter of automatic formation zone layout parameter and region.
Alternatively, face number in main broadcaster's client identification at least two live video streams, if exist in the picture of the first live video stream and only there is a face, exist in the picture of the second live video stream and there is not face or there is multiple face, then main broadcaster's client generates live synthetic parameters automatically, Regional Distribution's parameter in this live synthetic parameters is principal and subordinate's layout pattern, it is corresponding with from viewing area that the corresponding parameter in region comprises the first live video stream, and the second live video stream is corresponding with main viewing area.
Such as: first terminal is notebook computer, this notebook computer collects two live video streams, a face is only there is in the picture of one of them live video stream, face is there is not in the picture of another live video stream, then main broadcaster's client marks off principal and subordinate viewing area automatically, the live video stream that only there is a face is the first live video stream, corresponding to viewing area; The live video stream that there is not face is the second live video stream, corresponding main viewing area, and namely main broadcaster's client generates the corresponding parameter of Regional Distribution's parameter and region of live synthetic parameters automatically.
In the present embodiment, automatically identified according to the live video stream collected by main broadcaster's client, generate live synthetic parameters, simplify operation, make network direct broadcasting easier.
Following is apparatus of the present invention embodiment, may be used for performing the inventive method embodiment.For the details do not disclosed in apparatus of the present invention embodiment, please refer to the inventive method embodiment.
With reference to figure 7, it illustrates the block diagram of the live broadcast device that one embodiment of the invention provides.This live broadcast device can realize becoming above-mentioned by software, hardware or both combinations and provide the whole or a part of of live server.As shown in Figure 7, this device comprises:
First receiver module 710, for receiving the live synthetic parameters that main broadcaster's client sends;
Second receiver module 720, for receiving at least two live video streams that main broadcaster's client sends, the visual angle that at least two live video streams are corresponding respective;
Synthesis module 730, at least two live video streams are synthesized target live video stream according to live synthetic parameters, the live picture of target live video stream comprises and at least two each self-corresponding viewing areas of live video stream;
Sending module 740, for sending at least one spectator client corresponding with main broadcaster's client by target live video stream.
In sum, the live broadcast device that the present embodiment provides, live synthetic parameters is obtained by main broadcaster's client, live synthetic parameters is sent to server, server receives the live synthetic parameters that main broadcaster's client sends, main broadcaster's client collection at least two live video streams, at least two live video streams are sent to server, server receives at least two live video streams that main broadcaster's client sends, at least two live video streams are synthesized target live video stream according to live synthetic parameters, target live video stream is sent at least one spectator client corresponding with main broadcaster's client, solve because turning round in live process, the picture in the live video stream caused is stable not, live problem of low quality, solve the picture come in live process in live video stream that back rotation camera causes stable not, live problem of low quality, reach and utilize live synthetic parameters to be synthesized in a live video stream by multiple live video stream, make to have multiple live visual angle in same live picture, live picture is more stable, improves the effect of outdoor live customer flow and playability.
With reference to figure 8, it illustrates the block diagram of the live broadcast device that one embodiment of the invention provides.This live broadcast device can realize becoming above-mentioned by software, hardware or both combinations and provide the whole or a part of of live server.As shown in Figure 7, this device comprises:
First receiver module 810, for receiving the live synthetic parameters that main broadcaster's client sends;
Second receiver module 820, for receiving at least two live video streams that main broadcaster's client sends, the visual angle that at least two live video streams are corresponding respective;
Synthesis module 830, at least two live video streams are synthesized target live video stream according to live synthetic parameters, the live picture of target live video stream comprises and at least two each self-corresponding viewing areas of live video stream;
Sending module 840, for sending at least one spectator client corresponding with main broadcaster's client by target live video stream.
Optionally, synthesis module 830 comprises:
First resolution unit 831, obtains Regional Distribution's parameter for resolving live synthetic parameters; Regional Distribution's parameter is used to indicate the layout pattern of the viewing area in target live video stream;
First generates generation unit 832, and for generating at least two viewing areas belonging to same live picture according to Regional Distribution's parameter, the number of viewing area is identical with the number of live video stream;
Synthesis unit 833, for being blended into respectively by least two live video streams in a viewing area at least two viewing areas, obtains target live video stream.
Optionally, Regional Distribution's parameter is any one in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern;
Principal and subordinate's layout pattern comprises main viewing area and is superimposed upon at least one on main viewing area from viewing area;
Horizontal layout pattern comprises at least two viewing areas according to horizontal direction laid out in parallel;
Vertical layout pattern comprises at least two viewing areas according to vertical direction laid out in parallel.
Optionally, synthesis unit 833 comprises:
Second resolution unit 8331, obtains the corresponding parameter in region for resolving live synthetic parameters; The corresponding parameter in region comprises the corresponding relation between each viewing area and live video stream;
Second generation unit 8332, for being blended in each self-corresponding viewing area according to Regional Distribution's parameter respectively by least two live video streams, obtains target live video stream.
In sum, the live broadcast device that the present embodiment provides, live synthetic parameters is obtained by main broadcaster's client, live synthetic parameters is sent to server, server receives the live synthetic parameters that main broadcaster's client sends, main broadcaster's client collection at least two live video streams, at least two live video streams are sent to server, server receives at least two live video streams that main broadcaster's client sends, at least two live video streams are synthesized target live video stream according to live synthetic parameters, target live video stream is sent at least one spectator client corresponding with main broadcaster's client, solve because the picture come in live video stream that back rotation camera causes is stable not in live process, live problem of low quality, solve the picture come in live process in live video stream that back rotation camera causes stable not, live problem of low quality, reach and utilize live synthetic parameters to be synthesized in a live video stream by multiple live video stream, make to have multiple live visual angle in same live picture, live picture is more stable, improves the effect of outdoor live customer flow and playability.
With reference to figure 9, it illustrates the block diagram of the live broadcast device that one embodiment of the invention provides.This live broadcast device can realize becoming above-mentioned by software, hardware or both combinations and provide the whole or a part of of live server.As shown in Figure 9, this device comprises:
Acquisition module 910, for obtaining live synthetic parameters;
First sending module 920, for sending to server by live synthetic parameters;
Acquisition module 930, for gathering at least two live video streams, the visual angle that at least two live video streams are corresponding respective;
Second sending module 940, for at least two live video streams are sent to server, server is used at least two live video streams to synthesize target live video stream according to live synthetic parameters, and the live picture of target live video stream comprises and at least two each self-corresponding viewing areas of live video stream; Server is also for sending at least one spectator client corresponding with main broadcaster's client by target live video stream.
In sum, the live broadcast device that the present embodiment provides, live synthetic parameters is obtained by main broadcaster's client, live synthetic parameters is sent to server, server receives the live synthetic parameters that main broadcaster's client sends, main broadcaster's client collection at least two live video streams, at least two live video streams are sent to server, server receives at least two live video streams that main broadcaster's client sends, at least two live video streams are synthesized target live video stream according to live synthetic parameters, target live video stream is sent at least one spectator client corresponding with main broadcaster's client, solve because the picture come in live video stream that back rotation camera causes is stable not in live process, live problem of low quality, solve the picture come in live process in live video stream that back rotation camera causes stable not, live problem of low quality, reach and utilize live synthetic parameters to be synthesized in a live video stream by multiple live video stream, make to have multiple live visual angle in same live picture, live picture is more stable, improves the effect of outdoor live customer flow and playability.
With reference to Figure 10, it illustrates the block diagram of the live broadcast device that one embodiment of the invention provides.This live broadcast device can realize becoming above-mentioned by software, hardware or both combinations and provide the whole or a part of of live server.As shown in Figure 10, this device comprises:
Acquisition module 1010, for obtaining live synthetic parameters;
First sending module 1020, for sending to server by live synthetic parameters;
Acquisition module 1030, for gathering at least two live video streams, the visual angle that at least two live video streams are corresponding respective;
Second sending module 1040, for at least two live video streams are sent to server, server is used at least two live video streams to synthesize target live video stream according to live synthetic parameters, and the live picture of target live video stream comprises and at least two each self-corresponding viewing areas of live video stream; Server is also for sending at least one spectator client corresponding with main broadcaster's client by target live video stream.
Optionally, live synthetic parameters comprises: Regional Distribution's parameter; Acquisition module 1010, comprising:
First receiving element 1011, for receiving the first setting operation;
First setting unit 1012, for arranging the Regional Distribution's parameter in live synthetic parameters according to the first setting operation, Regional Distribution's parameter is used to indicate the layout pattern of the viewing area in target live video stream.
Optionally, Regional Distribution's parameter is any one in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern;
Principal and subordinate's layout pattern comprises main viewing area and is superimposed upon at least one on main viewing area from viewing area;
Horizontal layout pattern comprises at least two viewing areas according to horizontal direction laid out in parallel;
Vertical layout pattern comprises at least two viewing areas according to vertical direction laid out in parallel.
Optionally, live synthetic parameters comprises: the corresponding parameter in region; Acquisition module 1010, comprising:
Second receiving element 1013, for receiving the second setting operation;
Second setting unit 1014, for arranging the corresponding parameter in region in live synthetic parameters according to the second setting operation, the corresponding parameter in region comprises the corresponding relation in target live video stream between each viewing area and live video stream.
In sum, the live broadcast device that the present embodiment provides, live synthetic parameters is obtained by main broadcaster's client, live synthetic parameters is sent to server, server receives the live synthetic parameters that main broadcaster's client sends, main broadcaster's client collection at least two live video streams, at least two live video streams are sent to server, server receives at least two live video streams that main broadcaster's client sends, at least two live video streams are synthesized target live video stream according to live synthetic parameters, target live video stream is sent at least one spectator client corresponding with main broadcaster's client, solve because the picture come in live video stream that back rotation camera causes is stable not in live process, live problem of low quality, solve the picture come in live process in live video stream that back rotation camera causes stable not, live problem of low quality, reach and utilize live synthetic parameters to be synthesized in a live video stream by multiple live video stream, make to have multiple live visual angle in same live picture, live picture is more stable, improves the effect of outdoor live customer flow and playability.
A kind of live broadcast system that the embodiment of the present invention also provides, as shown in figure 11, this system comprises the live broadcast device 1110 as shown in Fig. 7 or Fig. 8, or live broadcast device 1120 as shown in fig. 9 or 10.
It should be noted that: the live broadcast device that above-described embodiment provides is when carrying out internet video live broadcasting, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the embodiment of the live broadcasting method that above-described embodiment provides belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.