Invention content
In order to solve problems in the prior art, an embodiment of the present invention provides a kind of live broadcasting method, apparatus and systems.It is described
Technical solution is as follows:
In a first aspect, providing a kind of live broadcasting method, this method includes:
Receive the live streaming synthetic parameters that main broadcaster's client is sent;
At least two live video streams that main broadcaster's client is sent are received, at least two live video streams correspond to respective regard
Angle;
At least two live video streams are synthesized into target live video stream, target live video according to live streaming synthetic parameters
The live streaming picture of stream includes and the corresponding display area of at least two live video streams;
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 into target live video stream according to live streaming synthetic parameters, including:
Parsing live streaming synthetic parameters obtain Regional Distribution's parameter;Regional Distribution's parameter is used to indicate in target live video stream
Display area layout pattern;
At least two display areas for belonging to same live streaming picture, the number of display area are generated according to Regional Distribution's parameter
It is identical as the number of live video stream;
At least two live video streams are respectively synthesized into a display area at least two display areas, are obtained
Target live video stream.
Optionally, Regional Distribution's parameter is arbitrary in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern
It is a kind of;
Principal and subordinate's layout pattern includes main display area and is superimposed upon at least one from display area on main display area;
Horizontal layout pattern includes at least two display areas according to horizontal direction laid out in parallel;
Vertical layout pattern includes at least two display areas according to vertical direction laid out in parallel.
Optionally, at least two live video streams are respectively synthesized to a display area at least two display areas
In, target live video stream is obtained, including:
Parsing live streaming synthetic parameters obtain region and correspond to parameter;It includes that each display area is regarded with live streaming that region, which corresponds to parameter,
Correspondence between frequency stream;
At least two live video streams are respectively synthesized into corresponding display area according to Regional Distribution's parameter, are obtained
To target live video stream.
Second aspect, provides a kind of live broadcasting method, and this method includes:
Main broadcaster's client obtains live streaming synthetic parameters;
Main broadcaster's client is sent to server by synthetic parameters are broadcast live;
Main broadcaster's client acquires at least two live video streams, and at least two live video streams correspond to respective visual angle;
At least two live video streams are sent to server by main broadcaster's client, and server is used to regard at least two live streamings
Frequency stream synthesizes target live video stream according to live streaming synthetic parameters, the live streaming picture of target live video stream include at least
Two corresponding display areas of live video stream;Server is additionally operable to target live video stream being sent to and main broadcaster client
Hold corresponding at least one spectator client.
Optionally, live streaming synthetic parameters include:Regional Distribution's parameter;Main broadcaster's client obtains live streaming synthetic parameters, including:
Receive the first setting operation;
Regional Distribution's parameter in synthetic parameters is broadcast live according to the first setting operation setting, Regional Distribution's parameter is used to indicate
The layout pattern of display area in target live video stream.
Optionally, Regional Distribution's parameter is arbitrary in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern
It is a kind of;
Principal and subordinate's layout pattern includes main display area and is superimposed upon at least one from display area on main display area;
Horizontal layout pattern includes at least two display areas according to horizontal direction laid out in parallel;
Vertical layout pattern includes at least two display areas according to vertical direction laid out in parallel.
Optionally, live streaming synthetic parameters include:Region corresponds to parameter;Main broadcaster's client obtains live streaming synthetic parameters, including:
Receive the second setting operation;
The region being broadcast live in synthetic parameters according to the second setting operation setting corresponds to parameter, and it includes target that region, which corresponds to parameter,
Each correspondence between display area and live video stream in live video stream.
The third aspect provides a kind of live broadcast device, which includes:
First receiving module, the live streaming synthetic parameters for receiving the transmission of main broadcaster's client;
Second receiving module, at least two live video streams for receiving the transmission of main broadcaster's client, at least two live streamings
Video flowing corresponds to respective visual angle;
Synthesis module, at least two live video streams to be synthesized target live video according to live streaming synthetic parameters
Stream, the live streaming picture of target live video stream include and the corresponding display area of at least two live video streams;
Sending module, for target live video stream to be sent at least one spectators client corresponding with main broadcaster's client
End.
Optionally, synthesis module includes:
First resolution unit obtains Regional Distribution's parameter for parsing live streaming synthetic parameters;Regional Distribution's parameter is for referring to
Show the layout pattern of the display area in target live video stream;
First generates generation unit, is shown for belonging at least two of same live streaming picture according to Regional Distribution's parameter generation
Show that region, the number of display area are identical as the number of live video stream;
Synthesis unit, it is aobvious to one at least two display areas for being respectively synthesized at least two live video streams
Show in region, obtains target live video stream.
Optionally, Regional Distribution's parameter is arbitrary in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern
It is a kind of;
Principal and subordinate's layout pattern includes main display area and is superimposed upon at least one from display area on main display area;
Horizontal layout pattern includes at least two display areas according to horizontal direction laid out in parallel;
Vertical layout pattern includes at least two display areas according to vertical direction laid out in parallel.
Optionally, synthesis unit includes:
Second resolution unit obtains region for parsing live streaming synthetic parameters and corresponds to parameter;It includes every that region, which corresponds to parameter,
Correspondence between a display area and live video stream;
Second generation unit, at least two live video streams to be respectively synthesized to respectively right according to Regional Distribution's parameter
In the display area answered, target live video stream is obtained.
Fourth aspect provides a kind of live broadcast device, which includes:
Acquisition module, for obtaining live streaming synthetic parameters;
First sending module is sent to server for synthetic parameters will to be broadcast live;
Acquisition module, for acquiring at least two live video streams, at least two live video streams correspond to respective visual angle;
Second sending module, at least two live video streams to be sent to server, server is for will at least two
A live video stream synthesizes target live video stream according to live streaming synthetic parameters, is wrapped in the live streaming picture of target live video stream
It includes and the corresponding display area of at least two live video streams;Server be additionally operable to by target live video stream be sent to
The corresponding at least one spectator client of main broadcaster's client.
Optionally, live streaming synthetic parameters include:Regional Distribution's parameter;Acquisition module, including:
First receiving unit, for receiving the first setting operation;
First setting unit, for Regional Distribution's parameter in synthetic parameters, area to be broadcast live according to the first setting operation setting
Domain layout parameter is used to indicate the layout pattern of the display area in target live video stream.
Optionally, Regional Distribution's parameter is arbitrary in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern
It is a kind of;
Principal and subordinate's layout pattern includes main display area and is superimposed upon at least one from display area on main display area;
Horizontal layout pattern includes at least two display areas according to horizontal direction laid out in parallel;
Vertical layout pattern includes at least two display areas according to vertical direction laid out in parallel.
Optionally, which is characterized in that synthetic parameters, which are broadcast live, includes:Region corresponds to parameter;Acquisition module, including:
Second receiving unit, for receiving the second setting operation;
Second setting unit, the region for being broadcast live in synthetic parameters according to the second setting operation setting correspond to parameter, area
It includes each correspondence between display area and live video stream in target live video stream that domain, which corresponds to parameter,.
5th aspect, provides a kind of live broadcast system, which includes terminal and server;
The terminal includes the live broadcast device that the above-mentioned third aspect is provided;
The server includes the live broadcast device that above-mentioned fourth aspect provides.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
Live streaming synthetic parameters are obtained by main broadcaster's client, live streaming synthetic parameters are sent to server, server receives
The live streaming synthetic parameters that main broadcaster's client is sent, main broadcaster's client acquire at least two live video streams, by least two live streamings
For video stream to server, server receives at least two live video streams that main broadcaster's client is sent, by described in extremely
Few two live video streams synthesize target live video stream according to the live streaming synthetic parameters, by the target live video stream
It is sent at least one spectator client corresponding with main broadcaster's client;It solves and is taken the photograph during live streaming because carrying out back rotation
Picture in the live video stream as caused by head is not sufficiently stable, the not high problem of live streaming image quality;Reach and has been closed using live streaming
Multiple live video streams are synthesized in a live video stream at parameter so that there are multiple live streamings in the same live streaming picture
Visual angle, live streaming picture are more stablized, and the outdoor customer flow of live streaming and the effect of playability are improved.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Referring to FIG. 1, it illustrates a kind of schematic diagrames of implementation environment provided in an embodiment of the present invention.The implementation environment packet
It includes:First terminal 120, server 140 and second terminal 160.
First terminal 120 is the equipment with acquisition, coding, data sending function, such as laptop, mobile phone.The
One terminal 120 has at least two video acquisition component.
Optionally, when first terminal 120 is laptop, at least two video acquisition component is in laptop
The camera set, the camera connected with by wireless network or data line;When first terminal 120 is mobile phone, at least
Two video acquisition components are the front camera and rear camera of mobile phone.
Main broadcaster's client is installed, main broadcaster's client is a kind of internet video live broadcasting software, such as extensively in first terminal 120
" the protruding canine teeth live streaming " that Multi net voting science and technology Cable companies of state China produce.
First terminal 120 is connected by cable network or wireless network or data line with server 140.
Server 140 is the server of the background service for providing network direct broadcasting.
The quantity of second terminal 160 is at least 1, and spectator client is equipped in second terminal 160, is equipped with spectators visitor
The second terminal 160 at family end can watch the live video of main broadcaster's client upload.
Second terminal 160 is connected by cable network or wireless network or data line with server 140.
The correspondence being stored in server 140 between main broadcaster's client and each channel, when spectator client selects
After channel, server is according to the correspondence of each channel and main broadcaster's client, to the spectator client belonged in same channel
Send live video stream.
Referring to FIG. 2, it illustrates a kind of flow charts of live broadcasting method shown in an exemplary embodiment of the invention.This reality
Example is applied with the live broadcasting method applied to coming in the server in implementation environment for example, as shown in Fig. 2, the live broadcasting method includes
Following steps:
In step 202, the live streaming synthetic parameters that main broadcaster's client is sent are received.
Live streaming synthetic parameters are used to multiple live video streams synthesizing a live video stream.
In step 204, at least two live video streams that main broadcaster's client is sent, at least two live video streams are received
Corresponding respective visual angle.
In step 206, at least two live video streams are synthesized into target live video stream according to live streaming synthetic parameters,
The live streaming picture of target live video stream includes and the corresponding display area of at least two live video streams.
In a step 208, target live video stream is sent at least one spectators client corresponding with main broadcaster's client
End.
In conclusion the live broadcasting method that the present embodiment is provided, the live streaming that main broadcaster's client is sent is received by server
Synthetic parameters receive at least two live video streams that main broadcaster's client is sent, by least two live video streams according to live streaming
Synthetic parameters synthesize target live video stream, target live video stream are sent to corresponding with main broadcaster's client at least one
Spectator client;It solves the picture come in live video stream caused by back rotation camera during live streaming to be not sufficiently stable, directly
Broadcast problem of low quality;Reach and multiple live video streams are synthesized to a live video stream using live streaming synthetic parameters
In so that there are multiple live streaming visual angles, live streaming picture more to stablize in the same live streaming picture, improve user's stream of outdoor live streaming
The effect of amount and playability.
Referring to FIG. 3, a kind of flow chart of live broadcasting method shown in it illustrates another exemplary embodiment of the present invention.This
Embodiment is with the live broadcasting method applied to coming in the electronic equipment in implementation environment for example, as shown in figure 3, the live broadcasting method
Include the following steps:
In step 302, main broadcaster's client obtains live streaming synthetic parameters.
Optionally, live streaming synthetic parameters are the parameters of system default, alternatively, the parameter that user is independently arranged, alternatively, main broadcaster
The parameter that client is automatically generated according to live video stream.
In step 304, main broadcaster's client is sent to server by synthetic parameters are broadcast live.
Within step 306, main broadcaster's client acquires at least two live video streams, and at least two live video streams correspond to each
From visual angle.
In step 308, at least two live video streams are sent to server by main broadcaster's client, and server is near
Few two live video streams synthesize target live video stream, the live streaming picture of target live video stream according to live streaming synthetic parameters
Include and the corresponding display area of at least two live video streams;Server is additionally operable to send target live video stream
Give the corresponding at least one spectator client of main broadcaster's client.
In conclusion the live broadcasting method that the present embodiment is provided, live streaming synthetic parameters are obtained by main broadcaster's client, it will be straight
It broadcasts synthetic parameters and is sent to server, main broadcaster's client acquires at least two live video streams, by least two live video streams
It is sent to server, server receives at least two live video streams that main broadcaster's client is sent, by least two live videos
Stream synthesizes target live video stream according to live streaming synthetic parameters, target live video stream is sent to corresponding with main broadcaster's client
At least one spectator client;It solves and carrys out picture in live video stream caused by back rotation camera not during live streaming
It is enough to stablize, problem of low quality is broadcast live;Reach and multiple live video streams are synthesized to one directly using live streaming synthetic parameters
It broadcasts in video flowing so that there are multiple live streaming visual angles, live streaming picture more to stablize in the same live streaming picture, improve outdoor live streaming
Customer flow and playability effect.
It is above-mentioned that at least two live video streams are synthesized into target live video stream according to live streaming synthetic parameters, wherein straight
It includes that Regional Distribution's parameter and region correspond to parameter to broadcast synthetic parameters.
Optionally, Regional Distribution's parameter is arbitrary in principal and subordinate's layout pattern, horizontal layout pattern and vertical layout pattern
It is a kind of.
Optionally, principal and subordinate's layout pattern includes main display area and is superimposed upon at least one from display on main display area
Region.
Main display area have and only there are one, the quantity of main display area and the quantity from display area and be less than or equal to
The quantity of video acquisition component.
As shown in Figure 4 A, region 41 is main display area, and the region 42 for being superimposed upon 41 top of region is from display area.
Optionally, horizontal layout pattern includes at least two display areas according to horizontal direction laid out in parallel.
Display area at least two in target live video stream, as shown in Figure 4 B, region 43 is in 44 left side of region, area
Horizontal direction laid out in parallel is pressed with region 44 in domain 43.
Optionally, vertical layout pattern includes at least two display areas arranged according to vertical direction.
Display area at least two in target live video stream, as shown in Figure 4 C, region 45 is above region 46, area
It arranges by vertical direction with region 46 in domain 45.
Optionally, it includes the correspondence between each display area and live video stream that region, which corresponds to parameter,.
The quantity of live video stream is identical as the quantity of video acquisition component, in target live video stream a viewing area
Domain corresponds to a live video stream, and the quantity of display area is less than or equal to the quantity of video acquisition component, in other words, one the
One terminal can acquire multiple video flowings, and at least two live video streams in all live video streams may be selected for synthesizing in user
Target live video stream.
Fig. 5 A are please referred to, a kind of flow chart of live broadcasting method shown in it illustrates another exemplary embodiment of the present invention.
The present embodiment with the live broadcasting method applied to coming in first terminal, server and the second terminal in implementation environment for example,
As shown in Figure 5A, which includes the following steps:
In step 501, main broadcaster's client in first terminal receives the first setting operation.
When main broadcaster's client on first terminal is in use state, main broadcaster's client receives the first setting operation.
Optionally, user carries out the first setting operation in the display interface of main broadcaster's client, and as shown in Figure 5 B, user is first
Selection parameter " layout pattern " in region 51, then selection parameter " master slave mode, horizontal pattern, the vertical pattern " in region 52
In any one, click icon 53 " next step ", complete first setting operation, main broadcaster's client receive aforesaid operations be reception
First setting operation.
In step 502, main broadcaster's client is broadcast live the Regional Distribution in synthetic parameters according to the first setting operation setting and joins
Number, Regional Distribution's parameter are used to indicate the layout pattern of the display area in target live video stream.
After main broadcaster's client receives the first setting operation, the area in synthetic parameters is broadcast live according to the first setting operation setting
Domain layout parameter.For example, in above-mentioned steps 501, select " master slave mode ", then the display area in target live video stream
Layout pattern be master slave mode.
In step 503, main broadcaster's client receives the second setting operation.
When main broadcaster's client on first terminal is in use state, main broadcaster's client receives the second setting operation.
Optionally, user carries out the second setting operation in the display interface of main broadcaster's client, and as shown in Figure 5 C, user is in area
In domain 54 after selection parameter " correspondence ", selection parameter " region 1 " in region 55, then in region 56 selection parameter " depending on
Frequently 1 ", icon 57 " determinations " is clicked, the setting in " region 1 " and the correspondence of live video stream is completed, and so on, to owning
The correspondence of display area and live video stream is configured, and clicks icon 58 " next step ", completes target live video stream
In each correspondence between display area and live video stream, that is, complete the second setting operation.
In step 504, main broadcaster's client is broadcast live the region in synthetic parameters according to the second setting operation setting and corresponds to ginseng
Number, it includes each correspondence between display area and live video stream in target live video stream that region, which corresponds to parameter,.
Main broadcaster's client corresponds to parameter according to the region that the second setting operation setting received is broadcast live in synthetic parameters.Than
Such as, it is master slave mode to have set Regional Distribution's parameter, then corresponds live video stream with principal and subordinate display area respectively,
Completion corresponds to region in live streaming synthetic parameters the setting of parameter.
Optionally, the correspondence between each display area and live video stream is system default, i.e. user can not
Correspondence between each display area and live video stream is independently set.
What is needed to add explanation is a little in the present embodiment, the execution sequence of step 501 to step 504 not to be done and is had
Body limits, and according to actual needs, step 503 to step 504 can execute before step 501 to step 502.
In step 505, main broadcaster's client is sent to server by synthetic parameters are broadcast live.
Operation setting will be arranged according to Regional Distribution's parameter of the first setting operation setting, and according to second in main broadcaster's client
Region correspond to parameter, be sent to server.
In step 506, server receives the live streaming synthetic parameters that main broadcaster's client is sent.
Server receives Regional Distribution's parameter that main broadcaster's client is sent and region corresponds to parameter.
In step 507, main broadcaster's client acquires at least two live video streams, and at least two live video streams correspond to each
From visual angle.
The main broadcaster's client installed on first terminal acquires live video stream, each video acquisition by video acquisition component
The corresponding visual angle of component, therefore, a live video stream correspond to a visual angle.
What is needed to add explanation is a little to be not specifically limited to step 507 execution sequence, step 507 can be in step
501 execute before to step 504.
In step 508, at least two live video streams are sent to server by main broadcaster's client.
Collected at least two live video stream 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 is sent, at least two live streamings
Video flowing corresponds to respective visual angle.
In step 510, server parsing live streaming synthetic parameters obtain Regional Distribution's parameter.
Server parsing live streaming synthetic parameters obtain Regional Distribution's parameter, can determine that target is straight by Regional Distribution's parameter
It is with any pattern in principal and subordinate's layout pattern, horizontal layout pattern, data layout pattern to broadcast the display area in video flowing
Arrangement.
In step 511, server generates at least two displays for belonging to same live streaming picture according to Regional Distribution's parameter
Region, the number of display area are identical as the number of live video stream.
Server can generate at least two display areas for belonging to same live streaming picture according to Regional Distribution's parameter, namely
It is that server first determines the arrangement mode of display area in the same live streaming picture according to Regional Distribution's parameter.
For example, it is principal and subordinate's layout pattern, then same live streaming that server parsing live streaming synthetic parameters, which obtain Regional Distribution's parameter,
It is arranged with principal and subordinate's layout pattern at least two display areas in picture.
In step 512, at least two live video streams are respectively synthesized at least two display areas by server
In one display area, target live video stream is obtained.
At least two live video streams received are respectively synthesized same live streaming by server according to live streaming synthetic parameters
In at least two display areas in picture, a display area corresponds to a live video stream.In the aobvious of same live streaming picture
After showing that the arrangement mode in region determines, server will be received according to the correspondence between display area and live video stream
Live video stream be synthesized in corresponding display area, obtain target live video stream, only there are one straight for the live video stream
Picture is broadcast, has at least two display areas, the video pictures of each display area to correspond to different visual angles in the live streaming picture.
The step specifically includes following two steps, as shown in Figure 5 D:
In step 512a, server parsing live streaming synthetic parameters obtain region and correspond to parameter;Region corresponds to parameter
Each correspondence between display area and live video stream.
Server parsing live streaming synthetic parameters can be obtained region and correspond to parameter, according to region correspond to parameter can determine it is same
The corresponding live video stream in each display area in picture is broadcast live.
In step 512b, at least two live video streams are respectively synthesized to respective by server according to Regional Distribution's parameter
In corresponding display area, target live video stream is obtained.
Server closes each live video stream acquired according to the correspondence of display area and live video stream
At in extremely corresponding display area, target live video stream is obtained.
For example, server receives 2 live video streams, it is principal and subordinate that parsing live streaming synthetic parameters, which obtain Regional Distribution's pattern,
Layout, the then region obtained according to parsing correspond to parameter and synthesize 2 live video streams with principal and subordinate display area respectively, obtain mesh
Mark live video stream.
What is needed to add explanation is a little in the present embodiment, the execution sequence of step 510 to step 512 not to be done and is had
Body limits, step 510 and step 512a may be performed simultaneously or step 512a is executed before step 510.
In step 513, target live video stream is sent at least one sight corresponding with main broadcaster's client by server
Many clients.
The user of second terminal can be selected in spectator client want viewing network direct broadcasting channel, server according to
The correspondence of channel and main broadcaster's client sends target live video stream to the spectator client connected into channel.
In conclusion the live broadcasting method that the present embodiment is provided, live streaming synthetic parameters are obtained by main broadcaster's client, it will be straight
It broadcasts synthetic parameters and is sent to server, server receives the live streaming synthetic parameters that main broadcaster's client is sent, the acquisition of main broadcaster's client
At least two live video streams are sent to server by least two live video streams, and server receives main broadcaster's client and sends
At least two live video streams, by least two live video streams according to live streaming synthetic parameters synthesize target live video
Stream, at least one spectator client corresponding with main broadcaster's client is sent to by target live video stream;It solves and had been broadcast live
The picture come in journey in live video stream caused by back rotation camera is not sufficiently stable, and problem of low quality is broadcast live;It solves
The picture come in live video stream caused by back rotation camera during live streaming is not sufficiently stable, and of low quality ask is broadcast live
Topic;Reach and multiple live video streams have been synthesized in a live video stream using live streaming synthetic parameters so that is same straight
Broadcasting has multiple live streaming visual angles in picture, live streaming picture is more stablized, and improves the outdoor customer flow of live streaming and the effect of playability
Fruit.
In addition, Regional Distribution's parameter of synthetic parameters also is broadcast live by setting for the present embodiment and region corresponds to parameter, combine
Go out a variety of live streaming picture patterns of target live video stream, live streaming picture can be rationally shown according to different live scenes so that
User experience of the spectators when watching live streaming is more preferable.
In the alternative embodiment based on Fig. 5 A illustrated embodiments, main broadcaster's client can not also pass through the dynamic setting of user hand
Regional Distribution's parameter, and Regional Distribution's parameter is automatically generated by collected at least two live video stream, i.e. step 501 to
Step 504 is omitted, and further includes step 507a after step 507, as shown in Figure 6:
In step 507a, main broadcaster's client generates live streaming synthesis ginseng according to collected at least two live video stream
Number.
Main broadcaster's client can automatically generate live streaming synthetic parameters according to the image information in live video stream, i.e., automatic raw
Parameter is corresponded at Regional Distribution's parameter and region.
Optionally, main broadcaster's client identifies the face number at least two live video streams, if there are the first live streamings to regard
There is only a face in the picture of frequency stream, there are be not present face or there are multiple people in the picture of the second live video stream
Face, then main broadcaster's client automatically generate live streaming synthetic parameters, Regional Distribution's parameter in the live streaming synthetic parameters be principal and subordinate layout
Pattern, it includes that the first live video stream is corresponding with from display area that region, which corresponds to parameter, the second live video stream and main viewing area
Domain corresponds to.
Such as:First terminal is laptop, which collects two live video streams, one of them is straight
It broadcasts in the picture of video flowing there is only a face, face is not present in the picture of another live video stream, then main broadcaster client
End marks off principal and subordinate display area automatically, is the first live video stream there is only the live video stream of a face, corresponding from aobvious
Show region;It is the second live video stream there is no the live video stream of face, corresponds to main display area, is i.e. main broadcaster's client is automatic
The Regional Distribution's parameter and region for generating live streaming synthetic parameters correspond to parameter.
In the present embodiment, by main broadcaster's client according to collected live video stream automatic identification, generation live streaming synthesis
Parameter simplifies operation so that network direct broadcasting is easier.
Following is apparatus of the present invention embodiment, can be used for executing the method for the present invention embodiment.For apparatus of the present invention reality
Undisclosed details in example is applied, the method for the present invention embodiment is please referred to.
With reference to figure 7, it illustrates the block diagrams of live broadcast device provided by one embodiment of the present invention.The live broadcast device
The whole of software, hardware or both being implemented in combination with as the above-mentioned server for providing live streaming or one can be passed through
Point.As shown in fig. 7, the device includes:
First receiving module 710, the live streaming synthetic parameters for receiving the transmission of main broadcaster's client;
Second receiving module 720, at least two live video streams for receiving the transmission of main broadcaster's client, at least two is straight
It broadcasts video flowing and corresponds to respective visual angle;
Synthesis module 730 is regarded at least two live video streams to be synthesized target live streaming according to live streaming synthetic parameters
Frequency flows, and the live streaming picture of target live video stream includes and the corresponding display area of at least two live video streams;
Sending module 740, for target live video stream to be sent at least one spectators corresponding with main broadcaster's client
Client.
In conclusion the live broadcast device that the present embodiment is provided, live streaming synthetic parameters are obtained by main broadcaster's client, it will be straight
It broadcasts synthetic parameters and is sent to server, server receives the live streaming synthetic parameters that main broadcaster's client is sent, the acquisition of main broadcaster's client
At least two live video streams are sent to server by least two live video streams, and server receives main broadcaster's client and sends
At least two live video streams, by least two live video streams according to live streaming synthetic parameters synthesize target live video
Stream, at least one spectator client corresponding with main broadcaster's client is sent to by target live video stream;It solves and had been broadcast live
Because turning round in journey, the picture in caused live video stream is not sufficiently stable, problem of low quality is broadcast live;It solves and is being broadcast live
The picture come in the process in live video stream caused by back rotation camera is not sufficiently stable, and problem of low quality is broadcast live;Reach
Multiple live video streams are synthesized in a live video stream using live streaming synthetic parameters so that in the same live streaming picture
With multiple live streaming visual angles, live streaming picture is more stablized, and improves the outdoor customer flow of live streaming and the effect of playability.
With reference to figure 8, it illustrates the block diagrams of live broadcast device provided by one embodiment of the present invention.The live broadcast device
The whole of software, hardware or both being implemented in combination with as the above-mentioned server for providing live streaming or one can be passed through
Point.As shown in fig. 7, the device includes:
First receiving module 810, the live streaming synthetic parameters for receiving the transmission of main broadcaster's client;
Second receiving module 820, at least two live video streams for receiving the transmission of main broadcaster's client, at least two is straight
It broadcasts video flowing and corresponds to respective visual angle;
Synthesis module 830 is regarded at least two live video streams to be synthesized target live streaming according to live streaming synthetic parameters
Frequency flows, and the live streaming picture of target live video stream includes and the corresponding display area of at least two live video streams;
Sending module 840, for target live video stream to be sent at least one spectators corresponding with main broadcaster's client
Client.
Optionally, synthesis module 830 includes:
First resolution unit 831 obtains Regional Distribution's parameter for parsing live streaming synthetic parameters;Regional Distribution's parameter is used for
Indicate the layout pattern of the display area in target live video stream;
First generates generation unit 832, belongs at least the two of same live streaming picture for being generated according to Regional Distribution's parameter
A display area, the number of display area are identical as the number of live video stream;
Synthesis unit 833, for being respectively synthesized at least two live video streams to one at least two display areas
In a display area, target live video stream is obtained.
Optionally, Regional Distribution's parameter is arbitrary in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern
It is a kind of;
Principal and subordinate's layout pattern includes main display area and is superimposed upon at least one from display area on main display area;
Horizontal layout pattern includes at least two display areas according to horizontal direction laid out in parallel;
Vertical layout pattern includes at least two display areas according to vertical direction laid out in parallel.
Optionally, synthesis unit 833 includes:
Second resolution unit 8331 obtains region for parsing live streaming synthetic parameters and corresponds to parameter;Region corresponds to parameter packet
Include the correspondence between each display area and live video stream;
Second generation unit 8332, at least two live video streams to be respectively synthesized to each according to Regional Distribution's parameter
In self-corresponding display area, target live video stream is obtained.
In conclusion the live broadcast device that the present embodiment is provided, live streaming synthetic parameters are obtained by main broadcaster's client, it will be straight
It broadcasts synthetic parameters and is sent to server, server receives the live streaming synthetic parameters that main broadcaster's client is sent, the acquisition of main broadcaster's client
At least two live video streams are sent to server by least two live video streams, and server receives main broadcaster's client and sends
At least two live video streams, by least two live video streams according to live streaming synthetic parameters synthesize target live video
Stream, at least one spectator client corresponding with main broadcaster's client is sent to by target live video stream;Solves live streaming process
The middle picture caused by carrying out back rotation camera in live video stream is not sufficiently stable, and problem of low quality is broadcast live;It solves
The picture come in live video stream caused by back rotation camera during live streaming is not sufficiently stable, and of low quality ask is broadcast live
Topic;Reach and multiple live video streams have been synthesized in a live video stream using live streaming synthetic parameters so that is same straight
Broadcasting has multiple live streaming visual angles in picture, live streaming picture is more stablized, and improves the outdoor customer flow of live streaming and the effect of playability
Fruit.
With reference to figure 9, it illustrates the block diagrams of live broadcast device provided by one embodiment of the present invention.The live broadcast device
The whole of software, hardware or both being implemented in combination with as the above-mentioned server for providing live streaming or one can be passed through
Point.As shown in figure 9, the device includes:
Acquisition module 910, for obtaining live streaming synthetic parameters;
First sending module 920 is sent to server for synthetic parameters will to be broadcast live;
Acquisition module 930, for acquiring at least two live video streams, at least two live video streams correspond to respective regard
Angle;
Second sending module 940, at least two live video streams to be sent to server, server is used for will at least
Two live video streams synthesize target live video stream according to live streaming synthetic parameters, in the live streaming picture of target live video stream
Including with the corresponding display area of at least two live video streams;Server is additionally operable to target live video stream being sent to
At least one spectator client corresponding with main broadcaster's client.
In conclusion the live broadcast device that the present embodiment is provided, live streaming synthetic parameters are obtained by main broadcaster's client, it will be straight
It broadcasts synthetic parameters and is sent to server, server receives the live streaming synthetic parameters that main broadcaster's client is sent, the acquisition of main broadcaster's client
At least two live video streams are sent to server by least two live video streams, and server receives main broadcaster's client and sends
At least two live video streams, by least two live video streams according to live streaming synthetic parameters synthesize target live video
Stream, at least one spectator client corresponding with main broadcaster's client is sent to by target live video stream;Solves live streaming process
The middle picture caused by carrying out back rotation camera in live video stream is not sufficiently stable, and problem of low quality is broadcast live;It solves
The picture come in live video stream caused by back rotation camera during live streaming is not sufficiently stable, and of low quality ask is broadcast live
Topic;Reach and multiple live video streams have been synthesized in a live video stream using live streaming synthetic parameters so that is same straight
Broadcasting has multiple live streaming visual angles in picture, live streaming picture is more stablized, and improves the outdoor customer flow of live streaming and the effect of playability
Fruit.
With reference to figure 10, it illustrates the block diagrams of live broadcast device provided by one embodiment of the present invention.The live streaming fills
Setting can be by the whole of software, hardware or both being implemented in combination with as the above-mentioned server for providing live streaming or one
Point.As shown in Figure 10, which includes:
Acquisition module 1010, for obtaining live streaming synthetic parameters;
First sending module 1020 is sent to server for synthetic parameters will to be broadcast live;
Acquisition module 1030, for acquiring at least two live video streams, at least two live video streams correspond to respective
Visual angle;
Second sending module 1040, at least two live video streams to be sent to server, server is near
Few two live video streams synthesize target live video stream, the live streaming picture of target live video stream according to live streaming synthetic parameters
Include and the corresponding display area of at least two live video streams;Server is additionally operable to send target live video stream
Give the corresponding at least one spectator client of main broadcaster's client.
Optionally, live streaming synthetic parameters include:Regional Distribution's parameter;Acquisition module 1010, including:
First receiving unit 1011, for receiving the first setting operation;
First setting unit 1012 is joined for the Regional Distribution in synthetic parameters to be broadcast live according to the first setting operation setting
Number, Regional Distribution's parameter are used to indicate the layout pattern of the display area in target live video stream.
Optionally, Regional Distribution's parameter is arbitrary in principal and subordinate's layout pattern, horizontal layout pattern and numerical value layout pattern
It is a kind of;
Principal and subordinate's layout pattern includes main display area and is superimposed upon at least one from display area on main display area;
Horizontal layout pattern includes at least two display areas according to horizontal direction laid out in parallel;
Vertical layout pattern includes at least two display areas according to vertical direction laid out in parallel.
Optionally, live streaming synthetic parameters include:Region corresponds to parameter;Acquisition module 1010, including:
Second receiving unit 1013, for receiving the second setting operation;
Second setting unit 1014 corresponds to ginseng for the region in synthetic parameters to be broadcast live according to the second setting operation setting
Number, it includes each correspondence between display area and live video stream in target live video stream that region, which corresponds to parameter,.
In conclusion the live broadcast device that the present embodiment is provided, live streaming synthetic parameters are obtained by main broadcaster's client, it will be straight
It broadcasts synthetic parameters and is sent to server, server receives the live streaming synthetic parameters that main broadcaster's client is sent, the acquisition of main broadcaster's client
At least two live video streams are sent to server by least two live video streams, and server receives main broadcaster's client and sends
At least two live video streams, by least two live video streams according to live streaming synthetic parameters synthesize target live video
Stream, at least one spectator client corresponding with main broadcaster's client is sent to by target live video stream;Solves live streaming process
The middle picture caused by carrying out back rotation camera in live video stream is not sufficiently stable, and problem of low quality is broadcast live;It solves
The picture come in live video stream caused by back rotation camera during live streaming is not sufficiently stable, and of low quality ask is broadcast live
Topic;Reach and multiple live video streams have been synthesized in a live video stream using live streaming synthetic parameters so that is same straight
Broadcasting has multiple live streaming visual angles in picture, live streaming picture is more stablized, and improves the outdoor customer flow of live streaming and the effect of playability
Fruit.
A kind of live broadcast system that the embodiment of the present invention also provides, as shown in figure 11, the system include as shown in Fig. 7 or Fig. 8
Live broadcast device 1110, 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 with above-mentioned each
The division progress of function module, can be as needed and by above-mentioned function distribution by different work(for example, in practical application
Energy module is completed, i.e., the internal structure of equipment is divided into different function modules, to complete whole described above or portion
Divide function.In addition, the embodiment for the live broadcasting method that above-described embodiment provides belongs to same design, the specific implementation process side of referring to
Method embodiment, which is not described herein again.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.