CN107197320B - Video live broadcast method, device and system - Google Patents

Video live broadcast method, device and system Download PDF

Info

Publication number
CN107197320B
CN107197320B CN201710476913.4A CN201710476913A CN107197320B CN 107197320 B CN107197320 B CN 107197320B CN 201710476913 A CN201710476913 A CN 201710476913A CN 107197320 B CN107197320 B CN 107197320B
Authority
CN
China
Prior art keywords
video
live
stream
live broadcast
video stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710476913.4A
Other languages
Chinese (zh)
Other versions
CN107197320A (en
Inventor
韩尚佑
孙超
喻泽高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710476913.4A priority Critical patent/CN107197320B/en
Publication of CN107197320A publication Critical patent/CN107197320A/en
Application granted granted Critical
Publication of CN107197320B publication Critical patent/CN107197320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234363Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server

Abstract

The disclosure relates to a video live broadcast method, device and system, and belongs to the field of video live broadcast. The method comprises the following steps: the method comprises the steps that the cloud end equipment receives multiple paths of video streams sent by at least one terminal device, and the multiple paths of video streams are used for transmitting video data collected from a live broadcast site; selecting one path of video stream from the multiple paths of video streams as a live stream; and outputting the live stream. The video live broadcasting method can transmit multiple paths of video streams to the cloud end at the same time, and the cloud end equipment selects one path of video stream from the multiple paths of video streams to be output as the live broadcasting stream, so that a main broadcasting or a live broadcasting unit does not need to provide a broadcasting guide platform equipment.

Description

Video live broadcast method, device and system
Technical Field
The present disclosure relates to the field of live video technologies, and in particular, to a live video method, device, and system.
Background
With the development of mobile terminal equipment technology, wireless network technology and live broadcast technology, mobile phone live broadcast platforms relying on the three technologies also attract the attention of more and more manufacturers.
At present, in order to enable a user to see more and better live broadcast contents through live broadcast by a mobile phone, professional director equipment is generally arranged on a live broadcast site, and the director equipment receives live pictures of multiple angles acquired by a field acquisition device and selects one picture to output. However, the following problems exist in the live broadcast by adopting the director equipment:
the direct seeding cost is high. The price of the director station equipment is usually more than tens of thousands to hundreds of thousands, and if the director station equipment is provided by a main broadcasting or live broadcasting unit, the live broadcasting cost is high.
The requirement of mobile live broadcasting cannot be met. The directing and broadcasting platform equipment is very heavy and large in occupied area, various wires need to be connected, and meanwhile, a special directing and broadcasting field needs to be arranged, so that the directing and broadcasting platform equipment is inconvenient to move and cannot be applied to the fields of mobile live broadcasting and the like.
The operation is not easy. The broadcasting station equipment and the field acquisition equipment are often connected through cables, and need to be operated by operators on site, so that the operation of the operators is limited.
Disclosure of Invention
In order to overcome the problems that in the related art, the traditional program director equipment arranged on a live broadcast site is high in live broadcast cost, not easy to move and not easy to operate by operators, the disclosure provides a video live broadcast method, device and system.
According to a first aspect of the embodiments of the present disclosure, there is provided a video live broadcast method, the method including: the method comprises the steps that a cloud device receives multiple paths of video streams sent by at least one terminal device through the same account, the terminal devices comprise field acquisition devices and field terminal devices which are arranged on a live broadcast site, the multiple paths of video streams are shot by multiple field acquisition devices at multiple angles, so that video pictures at multiple angles are obtained and transmitted to the cloud device through the field terminal devices, and the multiple paths of video streams are used for transmitting video data acquired from the live broadcast site; selecting one path of video stream from the multiple paths of video streams as a live stream; and outputting the live stream, wherein the account corresponds to an account used when the cloud equipment outputs the live stream.
According to the video live broadcast method, the cloud device can receive the multiple paths of video streams sent by the terminal device and simultaneously transmit the multiple paths of video streams to the cloud, and the cloud device selects one path of video stream from the multiple paths of video streams as a live stream to be output, so that the multi-picture selective broadcast is realized; in addition, in the live broadcasting process, the multi-picture selective broadcasting is realized by the cloud equipment, the live broadcasting station equipment does not need to be provided by a main broadcasting station or a live broadcasting unit, the live broadcasting cost is reduced, the multi-channel video stream is transmitted to the cloud end, and the cloud equipment is used for selective broadcasting, so that the selection of the live broadcasting stream from the multi-channel video stream can be still realized even if the live broadcasting field moves, the requirement of mobile live broadcasting can be met, in addition, the cloud equipment does not need field operation, and the problem that the operation of the live broadcasting station equipment is difficult is solved.
The multiple video streams are transmitted by using the same account, so that the multiple video streams can be associated.
In an implementation manner of the present disclosure, the selecting one of the multiple video streams as a live stream includes: selecting a video stream with a preset number as a live stream according to the received number of the multiple paths of video streams; or selecting the video stream with the highest code rate in the multiple paths of video streams as a live stream according to the received code rates of the multiple paths of video streams; or randomly selecting one video stream from the received multiple video streams as a live stream.
In the implementation mode, three live broadcast stream selection modes are provided, the number of the video stream in the first mode can correspond to the shooting visual angle of each video stream or correspond to the live broadcast site of each video stream, the video stream with the preset number is adopted as the live broadcast stream, and the audience can quickly know the stage and the live broadcast content at the beginning of live broadcast, so that the subsequent switching is facilitated. In the second mode, the higher the bitrate of video stream transmission, the better the picture quality, so the live stream can select the video stream with the highest bitrate. This may ensure the viewing experience of the viewer. In the third mode, one video stream is randomly selected from multiple video streams to serve as the live stream, the selection mode can increase the freshness of audiences, and the situation that the live stream starts to be broadcast by adopting the same video stream every time is avoided. In addition, the three modes are all that the live stream is automatically selected, the anchor operation is not needed, and the problem that the anchor operation is not easy is solved.
In another implementation of the present disclosure, the method further comprises: and when the cloud equipment detects a set triggering event, selecting a new video stream from the multiple video streams as the live stream.
In this implementation, the cloud device can exert the powerful computing power of the cloud, and monitor all video streams of the director. When meeting the trigger condition set in advance, the switching of the live broadcast stream is automatically completed, so that the labor is saved and the emergency is dealt with.
In another implementation manner of the present disclosure, the set triggering event includes at least one of a set event and an emergency event; the set event comprises that the time reaches a set time point, or the output time of the currently output live stream reaches a preset time length; the emergency event comprises that the code rate of the currently output live stream is smaller than or equal to a threshold value.
In this implementation manner, the set trigger event may include, but is not limited to, the three implementation manners described above, and with the three implementation manners, not only can the live stream be switched at a fixed time, but also failures such as sudden interruption of the live stream can be handled.
In another implementation manner of the present disclosure, live broadcast setting information is obtained, where the live broadcast setting information is used to set at least one of a video stream selection scheme and the set trigger event, and the video stream selection scheme is provided to the cloud device, so that the cloud device determines the live broadcast stream according to the video stream selection scheme; and setting at least one of the video stream selection scheme and the set trigger event according to the live broadcast setting information.
In the implementation mode, at least one of the video stream selection scheme and the set triggering event is set by acquiring the live broadcast setting information input by the user, so that the cloud device can direct the multi-channel video stream according with the requirement.
In another implementation manner of the present disclosure, the acquiring live broadcast setting information includes: and acquiring the live broadcast setting information input by a user through a broadcasting guide interface.
In this implementation, the cloud device obtains the live broadcast setting information by providing a director interface (a web page or a software interface), which is convenient and simple.
In another implementation of the present disclosure, the method further comprises: and simultaneously outputting the plurality of paths of video streams through the interface of the director.
In this implementation, the cloud device outputs the multiple video streams through the director interface at the same time, so that the user can see the pictures of the video streams when inputting the live broadcast setting information, and the operation is convenient.
According to a second aspect of the embodiments of the present disclosure, there is provided a video live broadcast method, including: the method comprises the steps that terminal equipment obtains at least one path of video stream collected by a live broadcast site; the method comprises the steps that a set account is adopted to transmit at least one path of video stream to a cloud device, so that the cloud device selects one path of video stream from multiple paths of video streams to be output as a live stream, the multiple paths of video streams comprise the at least one path of video stream, the terminal device comprises a field acquisition device and a field terminal device which are arranged on a live broadcast field, the multiple paths of video streams are shot at multiple angles by the multiple field acquisition devices, video pictures at multiple angles are obtained, the field terminal device transmits the video pictures to the cloud device, and the account corresponds to an account used when the cloud device outputs the live stream.
The video live broadcasting method can transmit the video stream acquired in the live broadcasting field to the cloud end, and the cloud end equipment carries out broadcasting (selects the output video stream) without a hardware broadcasting guide table, so that the problem caused by the adoption of the hardware broadcasting guide table in the prior art is solved. Through high in the clouds equipment, solve the problem such as the use hardware director platform is with high costs, remove inconvenient and the operation is difficult.
In an implementation manner of the present disclosure, the transmitting the at least one video stream to the cloud device by using the set account includes: sending the set account and the corresponding password to cloud equipment; and after the set account and the corresponding password pass the cloud terminal equipment verification, transmitting the at least one path of video stream to the cloud terminal equipment.
In the implementation mode, the terminal device sends the video streams to the cloud end through the set account, so that the association between the video streams can be ensured, and the video streams also correspond to the same account during subsequent output.
According to a third aspect of the embodiments of the present disclosure, there is provided a video live broadcasting apparatus, the apparatus including: the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a plurality of paths of video streams sent by at least one terminal device by using the same account, the terminal devices comprise field acquisition devices and field terminal devices which are arranged on a live broadcast site, the plurality of paths of video streams are shot by a plurality of field acquisition devices at a plurality of angles, so that video pictures at a plurality of angles are obtained and transmitted to the cloud device by the field terminal devices, and the plurality of paths of video streams are used for transmitting video data acquired from the live broadcast site; the selection unit is used for selecting one path of video stream from the multiple paths of video streams as a live stream; and the output unit is used for outputting the live stream, and the account corresponds to an account used when the cloud equipment outputs the live stream.
In an implementation manner of the present disclosure, the selecting unit is configured to select a video stream with a predetermined number as a live stream according to the received number of the multiple video streams; or selecting the video stream with the highest code rate in the multiple paths of video streams as a live stream according to the received code rates of the multiple paths of video streams; or randomly selecting one video stream from the received multiple video streams as a live stream.
In another implementation manner of the present disclosure, the apparatus further includes: and the switching unit is used for selecting a new video stream from the multiple video streams as the live stream when a set triggering event is detected.
In another implementation manner of the present disclosure, the set triggering event includes at least one of a set event and an emergency event; the set event comprises that the time reaches a set time point, or the output time of the currently output live stream reaches a preset time length; the emergency event comprises that the code rate of the currently output live stream is smaller than or equal to a threshold value.
In another implementation manner of the present disclosure, the apparatus further includes: a setting unit, configured to acquire live broadcast setting information, where the live broadcast setting information is used to set at least one of a video stream selection scheme and the set trigger event, and the video stream selection scheme is provided to the cloud device, so that the cloud device determines the live broadcast stream according to the video stream selection scheme; and setting at least one of the video stream selection scheme and the set trigger event according to the live broadcast setting information.
In another implementation manner of the present disclosure, the setting unit is configured to obtain the live broadcast setting information input by a user through a director interface.
In another implementation manner of the present disclosure, the output unit is further configured to output the multiple video streams simultaneously through the director interface.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a video live broadcasting apparatus, the apparatus including: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring at least one path of video stream acquired by a live broadcast site; the transmission unit is used for transmitting the at least one video stream to a cloud device by adopting a set account so as to enable the cloud device to select one video stream from the multiple video streams to be output as a live stream, the multiple video streams comprise the at least one video stream, the terminal device comprises a field acquisition device and a field terminal device which are arranged on a live broadcast field, the multiple video streams are shot at multiple angles by the multiple field acquisition devices, so that video pictures at multiple angles are formed and transmitted to the cloud device by the field terminal device, and the account corresponds to an account used when the cloud device outputs the live stream.
In an implementation manner of the present disclosure, the transmission unit is configured to send the set account and the corresponding password to a cloud device; and after the set account and the corresponding password pass the cloud terminal equipment verification, transmitting the at least one path of video stream to the cloud terminal equipment.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a video live broadcast apparatus, where the video live broadcast apparatus includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the video live broadcast method according to any implementation manner of the first aspect.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a video live broadcast apparatus, where the video live broadcast apparatus includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the video live broadcast method according to any implementation manner of the second aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having at least one instruction stored therein, where the instruction is loaded and executed by a processor to implement the video live broadcast method according to any implementation manner of the first aspect.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having at least one instruction stored therein, where the instruction is loaded and executed by a processor to implement the live video broadcast method according to any implementation manner of the second aspect.
According to a ninth aspect of the embodiments of the present disclosure, there is provided a video live broadcast system, the system including: the terminal device comprises the video live broadcasting device in any implementation manner of the third aspect, and the terminal device comprises the video live broadcasting device in any implementation manner of the fourth aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the video live broadcast method, the cloud device can receive the multiple paths of video streams sent by the terminal device and simultaneously transmit the multiple paths of video streams to the cloud, and the cloud device selects one path of video stream from the multiple paths of video streams as a live stream to be output, so that the multi-picture selective broadcast is realized; in addition, in the live broadcasting process, the multi-picture selective broadcasting is realized by the cloud equipment, the live broadcasting station equipment does not need to be provided by a main broadcasting station or a live broadcasting unit, the live broadcasting cost is reduced, the multi-channel video stream is transmitted to the cloud end, and the cloud equipment is used for selective broadcasting, so that the selection of the live broadcasting stream from the multi-channel video stream can be still realized even if the live broadcasting field moves, the requirement of mobile live broadcasting can be met, in addition, the cloud equipment does not need field operation, and the problem that the operation of the live broadcasting station equipment is difficult is solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1A is a diagram illustrating an application scenario in accordance with an illustrative embodiment;
FIG. 1B is a schematic diagram illustrating another application scenario in accordance with an illustrative embodiment;
FIG. 2A is a flow diagram illustrating a method of live video according to an exemplary embodiment;
FIG. 2B is a flow diagram illustrating another video live method in accordance with an illustrative embodiment;
FIG. 2C is a flow diagram illustrating yet another video live method in accordance with an exemplary embodiment;
FIG. 2D is a schematic view of a podcast interface provided by the present disclosure;
FIG. 3 is a block diagram illustrating a video live device according to an example embodiment;
FIG. 4 is a block diagram illustrating a video live device in accordance with an exemplary embodiment;
fig. 5 is a block diagram illustrating a cloud device, according to an example embodiment;
fig. 6 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
For ease of understanding, an application scenario of the embodiment of the present disclosure is described below. The embodiment of the present disclosure provides the following two application scenarios:
fig. 1A is a schematic diagram of an application scenario shown in fig. 1A, where the application scenario includes a terminal device 100, a cloud device 200, and a user device 300, where the terminal device 100 includes a live capture device 101 and a live terminal device 102 arranged in a live broadcast site, and the cloud device 200 includes a cloud director 201 and a cloud transcoding device 202. The field capture device 101 completes capture of multiple video streams, which are then transmitted by the field terminal device 102 to the cloud device 200. The cloud director 201 in the cloud device 200 selects one of the video streams as a live stream, and outputs the live stream to the user device 300. The detailed implementation of each step is described in the following method examples.
Wherein the video stream is used for transmitting video data, and the live stream is a video stream output as a live broadcast.
There may be multiple field acquisition devices 101 in the terminal device 100, and multiple field acquisition devices 101 achieve shooting at multiple angles, so as to obtain video pictures at multiple angles, and form multiple video streams.
The field capture device 101 may comprise only a camera device with video recording and live radio functions, such as a video camera. The field acquisition equipment can also comprise camera equipment and recording equipment at the same time, the camera equipment is used for recording videos, the recording equipment is used for receiving sounds on site, for example, the camera equipment can be a video camera, the recording equipment can be a radio, for example, the camera equipment can be a camera, and the recording equipment can be a microphone.
The live broadcast refers to a live broadcast site, and includes but is not limited to a personal anchor live broadcast site, and an event, a match, a literature and art program site, and the like. The type of the field acquisition equipment is also related to the type of the live broadcast field, a camera and a radio are generally adopted in a large live broadcast field, and a camera and a microphone are generally adopted in a personal live broadcast field.
The terminal device 100 is also an anchor terminal device, and the field terminal device 102 may be a terminal device, such as a personal computer, a mobile terminal, etc. Cloud director 201 and cloud transcoding device 202 may be integrated on the same device. The user equipment 300 is also a viewer side equipment, and may specifically be a terminal equipment such as a personal computer and a mobile terminal. Of course, in a special case, in order to verify that the live broadcast is normal, the anchor may use the terminal device 100 to watch the live broadcast, and in this case, the terminal device is also a user device.
It should be noted that other devices may also exist between the cloud transcoding device 202 and the user device 300, for example, a live platform server, if the cloud device 200 here belongs to a live platform, the cloud transcoding device 202 may directly transmit the video stream to the user device 300 here, and if the cloud device 200 here is a third party other than the live platform and the user device, the video stream output by the cloud transcoding device 202 needs to be transmitted to the live platform server first, and the video stream is output to the user device by the server of the live platform.
Fig. 1B is a schematic diagram illustrating another application scenario according to an exemplary embodiment, and as shown in fig. 1B, the application scenario includes a difference from the application scenario illustrated in fig. 1A in that the application scenario includes at least two terminal devices 100, and a plurality of terminal devices 100 are distributed in different locations. Each terminal device 100 finishes the acquisition and uploading of at least one video stream, and the cloud device 200 receives the video streams uploaded by the at least two terminal devices 100, so as to obtain multiple video streams. The cloud device 200 selects one of the multiple video streams as a live stream, and outputs the live stream to the user device 300.
Fig. 2A illustrates a video live method according to an exemplary embodiment, which includes the following steps, as shown in fig. 2A.
In step S11, the cloud device receives multiple video streams sent by at least one terminal device, where the multiple video streams are used to transmit video data collected from a live broadcast.
In this step, the cloud device may receive multiple video streams sent by one terminal device; or multiple video streams sent by two or more terminal devices may be received, in which case, each terminal device sends one, two, or multiple video streams, so as to obtain multiple video streams.
In step S12, one video stream is selected from the multiple video streams as a live stream.
And the cloud device selects one path from the received multiple paths of video streams and outputs the selected path to the user equipment.
In step S13, the live stream is output.
I.e. outputting the live stream to the user device.
According to the video live broadcast method, the cloud device can receive the multiple paths of video streams sent by the terminal device and simultaneously transmit the multiple paths of video streams to the cloud, and the cloud device selects one path of video stream from the multiple paths of video streams as a live stream to be output, so that the multi-picture selective broadcast is realized; in addition, in the live broadcasting process, the multi-picture selective broadcasting is realized by the cloud equipment, the live broadcasting station equipment does not need to be provided by a main broadcasting station or a live broadcasting unit, the live broadcasting cost is reduced, the multi-channel video stream is transmitted to the cloud end, and the cloud equipment is used for selective broadcasting, so that the selection of the live broadcasting stream from the multi-channel video stream can be still realized even if the live broadcasting field moves, the requirement of mobile live broadcasting can be met, in addition, the cloud equipment does not need field operation, and the problem that the operation of the live broadcasting station equipment is difficult is solved.
Fig. 2B illustrates a video live method according to an exemplary embodiment, which includes the following steps, as shown in fig. 2B.
In step S21, the terminal device obtains at least one video stream collected in the live broadcast.
In step S22, the at least one video stream is transmitted to the cloud device, so that the cloud device selects one video stream from multiple video streams as a live stream for output, where the multiple video streams include the at least one video stream.
According to the video live broadcast method, the cloud device can receive the multiple paths of video streams sent by the terminal device and simultaneously transmit the multiple paths of video streams to the cloud, and the cloud device selects one path of video stream from the multiple paths of video streams as a live stream to be output, so that the multi-picture selective broadcast is realized; in addition, in the live broadcasting process, the multi-picture selective broadcasting is realized by the cloud equipment, the live broadcasting station equipment does not need to be provided by a main broadcasting station or a live broadcasting unit, the live broadcasting cost is reduced, the multi-channel video stream is transmitted to the cloud end, and the cloud equipment is used for selective broadcasting, so that the selection of the live broadcasting stream from the multi-channel video stream can be still realized even if the live broadcasting field moves, the requirement of mobile live broadcasting can be met, in addition, the cloud equipment does not need field operation, and the problem that the operation of the live broadcasting station equipment is difficult is solved.
Fig. 2C illustrates a video live method according to an exemplary embodiment, which includes the following steps, as shown in fig. 2C.
In step S31, the terminal device obtains at least one video stream collected on site.
The terminal device is a device arranged on a live broadcast site, and generally comprises a site acquisition device and a site terminal device.
In an embodiment of the present disclosure, a terminal device obtains a video stream acquired in a field, including:
the method comprises the steps that a field acquisition device acquires a field picture and a field audio to form at least one path of video stream; and the field terminal equipment receives at least one path of video stream transmitted by the field acquisition equipment. The video stream collected by the field collection device is at least one path, and when the collected video stream is more than one path, the video streams are obtained by shooting a live broadcast field from different angles by the field collection device.
In the process, the field terminal device also needs to perform operations such as encoding, compressing, encrypting and the like on the video stream.
In step S32, the terminal device transmits the acquired at least one video stream to the cloud device.
In implementation, step S32 may include: and transmitting at least one video stream to the cloud equipment by adopting a set account.
The action of transmitting the video stream to the cloud end is executed by the field terminal device, and the field terminal device is directly connected with the field acquisition device, so that the video stream acquired by the field acquisition device is transmitted to the cloud end device. For example, the field terminal device may be a computer, and the computer is connected to the camera and the microphone to transmit the video stream.
Further, the step of transmitting at least one video stream to the cloud device by using the set account means that: the field terminal device adopts the account to log in the cloud device, and transmits the video stream to the cloud device after logging in the cloud device; the specific implementation process may include: sending the set account and the corresponding password to the cloud equipment; and after the set account and the corresponding password are verified by the cloud equipment, transmitting at least one video stream to the cloud equipment. In this process, the cloud device needs to authenticate the account and the corresponding password sent by the terminal device, and further, since the cloud director and the cloud transcoding device may not have an authentication function, the cloud device may further include a server for authenticating the terminal device, and the server authenticates the terminal device before video stream transmission.
The set account here corresponds to an account used when the cloud device outputs the live stream to the user device, and is, for example, the same account. The cloud end equipment outputs an account used in live streaming to the user equipment, namely an anchor account. For example, the set account may be the same as the anchor account, or a corresponding table of the set account and the anchor account is stored in the cloud device, and when a live stream selected from multiple paths of video streams sent by the set account is output, the anchor account corresponding to the set account in the corresponding table is output.
In the embodiment of the disclosure, the terminal device may acquire the account and the password input by the user through the web page or the client, and then send the account and the password to the cloud device.
In step S33, the cloud device receives multiple video streams sent by at least one terminal device, where the multiple video streams are used to transmit video data collected from a live broadcast.
The multi-channel video stream is a multi-channel video stream acquired in the same live broadcast site or a multi-channel video stream acquired in different live broadcast sites.
In this step, the cloud device may receive multiple video streams sent by one terminal device; or multiple video streams sent by two or more terminal devices may be received, in which case, each terminal device sends one, two, or multiple video streams, so as to obtain multiple video streams.
Wherein, the multichannel video stream that at least one terminal equipment sent is received to cloud end equipment includes:
the cloud device receives multiple paths of video streams sent by at least one terminal device by using the same account (the set account).
In this process, the cloud device also needs to perform operations such as decryption, decompression, decoding, and the like on the video stream.
In step S34, the cloud device selects one video stream from the multiple video streams as a live stream.
In this embodiment of the disclosure, because the cloud end device can receive multiple paths of video streams simultaneously, the cloud end device needs to select one path to be forwarded and pushed as a live stream, and it is ensured that viewers can normally watch live streams.
The step S34 can be implemented in various ways:
in the first method, a video stream with a predetermined number is selected as a live stream according to the number of received multiple video streams. The predetermined number may be determined as follows: and acquiring a preset number list, and selecting the numbers in the preset number list as preset numbers according to the sequence. The sequential selection refers to selecting a number of a video stream after a current live stream number in a preset number list, and when the current live stream number is a first selection number, selecting a number of a first video stream in the preset number list. That is, step S34 may be to select a video stream for the first time and output it as a live stream, or may be to switch the live stream.
For example, the cloud device can receive 5 video streams numbered 1 to 5, the predetermined number list may be 1, 4, 3, 2, and 5, and at this time, the cloud device may select the video stream numbered 1 as a live stream.
The number of the video stream may be set by the terminal device, and the terminal device carries the number when transmitting the video stream. For multiple video streams transmitted in the same live broadcast site, the numbers of the video streams may correspond to the shooting angles of the video streams, for example, the shooting angles of the video streams are, in order from 1 to 5, right in front, left in front, right in front, back, and above the stage. The visual angle of the video stream with the number of 1 is the main visual angle, and the video stream with the number of 1 is used as the first of the list, so that the audience can watch the whole scene from the front of the stage at the beginning of live broadcasting, the stage and the live broadcasting content can be preliminarily recognized, and the later visual angle can be conveniently switched. For multiple video streams transmitted on different live broadcast sites, the number of the video stream may correspond to each live broadcast site, and when there are multiple live broadcast sites and there are multiple video streams on one site, a combination of the site number and the view angle number may also be used as the number of the video stream, for example, just in front of site 1, above site 2, and the like.
The number of the video stream can also be set by the cloud device, and at this time, when the picture synthesis scheme is set in advance, the picture of the video stream and the corresponding number can be displayed, so that the setting by a user is facilitated, which is described in detail later.
In the second mode, according to the code rates of the received multiple paths of video streams, the video stream with the highest code rate in the multiple paths of video streams is selected as the live stream. The code rate refers to the code rate of each video stream when the field acquisition device transmits the video stream to the cloud device, and the code rate of the video stream is the data bit transmitted in unit time during video transmission, so that the higher the code rate of video stream transmission is, the better the picture quality is, and the video stream with the highest transmission code rate can be selected by the live broadcast stream. This may ensure the viewing experience of the viewer.
Further, when the live stream is selected according to the code rate of the video stream, the live stream can be selected according to the real-time code rate, and the live stream can also be selected according to the average code rate in a period of time.
And in the third mode, one video stream is randomly selected from the multiple video streams as a live stream. This option increases the viewer's freshness and avoids starting the live broadcast with the same video stream each time.
In this step, the act of selecting a live stream is performed by the cloud director.
In step S35, the cloud device outputs the live stream.
And outputting the selected live stream to the user equipment, wherein the step of outputting the live stream comprises transcoding the live stream and outputting the live stream.
In this step, the transcoding action of the live stream is performed by the cloud transcoding device.
In implementation, step S35 may include the following implementation manners: in a first implementation, a direct broadcast stream is transcoded; and outputting the transcoded live stream to user equipment. In a second implementation manner, transcoding is performed on received multiple paths of video streams; and outputting the transcoded live stream to user equipment.
The first implementation may have the following two cases, the first case: after selecting the live stream, the cloud broadcasting guide station outputs the video stream to the cloud transcoding equipment; and the cloud transcoding equipment transcodes and outputs the live stream. In the second case: the cloud broadcasting guide table outputs all the multiple paths of video streams to the cloud transcoding equipment, and meanwhile, the serial number of the live stream is notified to the cloud transcoding equipment; and the cloud transcoding equipment transcodes the multiple paths of video streams simultaneously and outputs the transcoded live streams.
The transcoding of the video stream can be from a camera video format (such as AVI format) to a video format (such as h.263/h.264/Flash/etc.) played by a website or a mobile phone application.
Further, the cloud transcoding device may use a Fast forwarding Moving Picture Experts Group (ffmpeg) framework to perform audio and video transcoding and processing services on the video stream, and then output the video stream.
In step S36, when the cloud device detects a set trigger event, the cloud device selects a new video stream from the multiple video streams as a live stream.
In this step, when the cloud device detects a set trigger event, the cloud device determines a live stream (video stream) output when the set trigger event occurs, and then selects a live stream among other video streams (except the video stream output when the set trigger event occurs) in the received video stream.
The manner in which the cloud device selects a new live stream (step S36) and the manner in which the cloud device selects a live stream (step S34) may be the same or different.
For example, when the live stream is selected in the predetermined number, the new live stream may be selected in the manner of selecting a video stream whose number is one bit after the number of the live stream output when the set trigger event occurs. When the live stream is selected, the video stream with the highest code rate in the multiple paths of video streams is selected as the live stream, and when the new live stream is selected, the video stream with the highest code rate in other received video streams can be selected as the live stream. The live stream is selected in a manner that when one video stream is randomly selected as the live stream, a new live stream is selected in a manner that a video stream with the highest code rate is selected as the live stream from other video streams in the received video streams. When the live stream is selected, the video stream with the highest code rate in the multiple video streams is selected as the live stream, and when the new live stream is selected, one video stream can be randomly selected from other video streams in the received video streams as the live stream. It should be noted that the new live stream is referred to as the previous live stream.
Still further, the method may further comprise: recording the time of each video stream as a live video stream, which may include the start time and the end time of the video stream as the live stream; when the time length from the time when the video stream as the live stream ends to the current time exceeds the preset time length, the video stream can be re-used as a candidate of the live stream, and can be re-used as the live stream through the selection of the live stream selection scheme.
The set triggering event herein may include at least one of a set event and an emergency event. The set event may include that the time reaches a set time point, or the output time of the currently output live stream reaches a predetermined time length. For example, the set time point may be each hour, and step S36 may include switching the live stream at each hour; the predetermined time period may be one hour, and step S36 may include switching the live stream when the output of the current live stream reaches one hour. The emergency event may include that a code rate of a currently output live stream is less than or equal to a threshold value. For example, the threshold may be 0, and when the bitrate of the current live stream is 0, the live stream is switched.
In the embodiments of the present disclosure, when a different set trigger event is detected, a new live stream may be selected in a different manner. For example, when the trigger event is that the time reaches a set time point, or the output time of the currently output live stream reaches a predetermined time, the mode of selecting a new live stream may be to select a video stream with a number one bit after the number of the live stream output when the set trigger event occurs to output; when the triggering event is that the code rate of the currently output live stream is less than or equal to the threshold, the mode when the new live stream is selected may be to select a video stream with the highest code rate as the live stream from other video streams in the received video stream.
In the embodiment of the present disclosure, the video stream selection scheme and the set trigger event may be set in advance. The process can adopt the following modes:
acquiring live broadcast setting information, wherein the live broadcast setting information is used for setting at least one of a video stream selection scheme and a set trigger event, and the video stream selection scheme is provided for the cloud end equipment so that the cloud end equipment can determine live broadcast streams according to the video stream selection scheme; and setting at least one of a video stream selection scheme and a set trigger event according to the live broadcast setting information.
Here, the acquiring of the live setting information may be performed in the following manner: the cloud device provides a program director interface and acquires live broadcast setting information input by a user through the program director interface. The director interface may be an interface of a director web page or an interface of a director software.
Fig. 2D is a schematic diagram of a director's interface provided by the present disclosure, referring to fig. 2D, that may provide a video stream selection scheme interface 1A, the video stream selection scheme interface 1A including a selection button 1A and a corresponding parameter selection box 1 b. For example, the video stream selection scheme may include three buttons, which correspond to the three schemes, respectively, and a user clicking different buttons 1a displays corresponding parameter selection boxes 1b for user input. When selecting a live stream according to the numbers, the user can set a predetermined number list in the parameter selection box. In randomly selecting a live stream, the user may set a range of random video streams within the parameter selection box, such as randomly within the video streams numbered 1-4, and so on.
For convenience of setting, the multiple video streams may also be played on the director interface at the same time, that is, the multiple video streams are output at the same time through the director interface, so that when a user inputs a number of a video stream, the user can compare pictures of the video streams, see fig. 2D, the director interface includes a video output interface 3A, the interface 3A includes a display frame (and a corresponding number) of the multiple video streams, and the corresponding video streams can be viewed through the interface 3A, which is convenient for the user to select. In addition, the setting is that the number setting can be not only inputting the corresponding number, but also clicking the playing picture of the corresponding video stream, thereby facilitating the selection.
Wherein the playing of the multiple video streams simultaneously on the director interface may be associated with the second implementation of step S35: transcoding the received multiple paths of video streams; and outputting the transcoded multi-channel video stream through the director interface. Since the transcoding of the multiple video streams in this process can be performed together with step S35, and in this process, only the user needs to have a rough impression on the content of each video stream, and in consideration of resource consumption during transmission, the definition of the other video streams (the video streams except the live stream in the multiple video streams) can be reduced during transcoding (that is, the definition of the live stream is greater than that of the other video streams), thereby reducing transmission resource consumption.
The program director interface may provide an interface 2A for a set trigger event, where the interface 2A includes a selection button 2A and a parameter selection box 2b corresponding to the set trigger event, and the selection button 2A and the parameter selection box 2b may be designed with reference to the selection button 1a and the parameter selection box 1 b. For example, the button for selecting the set triggering event may include three buttons, which respectively correspond to the aforementioned three set triggering events. When switching the video streams according to the set time point, a user can set the corresponding time point; when the video stream is switched after the video stream output time reaches the preset time length, the user can set the length of the preset time length; when the code rate of the currently output live stream is smaller than or equal to the threshold value, and the video stream is switched, the user can set the threshold value of the code rate.
Further, when the program director interface is a web page, the web page can be set after the login web page, that is, the user enters the set web page after the login is successful, so that the safety performance is ensured, and the user can set the program anytime and anywhere.
In addition, in the embodiment of the disclosure, the cloud device may also monitor the multiple paths of video streams in real time, and output alarm information when the video streams have faults.
For example, the cloud device may detect a code rate of each path of video stream, and when the code rate is lower than a set value, consider that the path of video stream is faulty, and send an alarm message to a corresponding user, for example, send an email, a short message, and the like to the user for alarm.
According to the video live broadcast method, the cloud device can receive the multiple paths of video streams sent by the terminal device and simultaneously transmit the multiple paths of video streams to the cloud, and the cloud device selects one path of video stream from the multiple paths of video streams as a live stream to be output, so that the multi-picture selective broadcast is realized; in addition, in the live broadcasting process, the multi-picture selective broadcasting is realized by the cloud equipment, the live broadcasting station equipment does not need to be provided by a main broadcasting station or a live broadcasting unit, the live broadcasting cost is reduced, the multi-channel video stream is transmitted to the cloud end, and the cloud equipment is used for selective broadcasting, so that the selection of the live broadcasting stream from the multi-channel video stream can be still realized even if the live broadcasting field moves, the requirement of mobile live broadcasting can be met, in addition, the cloud equipment does not need field operation, and the problem that the operation of the live broadcasting station equipment is difficult is solved.
Fig. 3 is a block diagram illustrating a video live device according to an exemplary embodiment, and referring to fig. 3, the device includes: a receiving unit 310, a selecting unit 320, and an outputting unit 330.
The receiving unit 310 is configured to receive multiple video streams sent by at least one terminal device, where the multiple video streams are used to transmit video data collected from a live broadcast site; a selecting unit 320, configured to select one video stream from the multiple video streams as a live stream; the output unit 330 is used to output the live stream.
The manner in which the receiving unit 310 receives the multiple video streams sent by at least one terminal device may be seen in step S33; the manner in which the selecting unit 320 selects one of the multiple video streams as the live stream may be seen in step S34; the manner in which the output unit 330 outputs the live stream may be referred to in step S35, and a detailed description is omitted here.
Optionally, the apparatus may further include: the switching unit 340 is configured to select a new video stream from the multiple video streams as a live stream when the cloud device detects a set trigger event. The manner in which the switching unit 340 selects a new video stream from the multiple video streams as the live stream can be seen in step S36.
Optionally, the apparatus may further include: a setting unit 350, configured to obtain live broadcast setting information, where the live broadcast setting information is used to set at least one of a video stream selection scheme and a set trigger event, and the video stream selection scheme is provided to the cloud device, so that the cloud device determines a live broadcast stream according to the video stream selection scheme; and setting at least one of a video stream selection scheme and a set trigger event according to the live broadcast setting information. The manner in which the setting unit 350 sets at least one of the video stream selection scheme and the set trigger event may be seen in step S36.
According to the video live broadcast method, the cloud device can receive the multiple paths of video streams sent by the terminal device and simultaneously transmit the multiple paths of video streams to the cloud, and the cloud device selects one path of video stream from the multiple paths of video streams as a live stream to be output, so that the multi-picture selective broadcast is realized; in addition, in the live broadcasting process, the multi-picture selective broadcasting is realized by the cloud equipment, the live broadcasting station equipment does not need to be provided by a main broadcasting station or a live broadcasting unit, the live broadcasting cost is reduced, the multi-channel video stream is transmitted to the cloud end, and the cloud equipment is used for selective broadcasting, so that the selection of the live broadcasting stream from the multi-channel video stream can be still realized even if the live broadcasting field moves, the requirement of mobile live broadcasting can be met, in addition, the cloud equipment does not need field operation, and the problem that the operation of the live broadcasting station equipment is difficult is solved.
Fig. 4 is a block diagram illustrating a video live device according to an exemplary embodiment, and referring to fig. 4, the device includes: an acquisition unit 410 and a transmission unit 420.
The acquiring unit 410 is configured to acquire at least one video stream acquired in a live broadcast site; a transmitting unit 420, configured to transmit the at least one video stream to a cloud device, so that the cloud device selects one video stream from multiple video streams as a live stream to output, where the multiple video streams include the at least one video stream.
The manner in which the obtaining unit 410 obtains at least one video stream collected in the live broadcast site may refer to step S31; the manner in which the transmitting unit 420 transmits the at least one video stream to the cloud device may be referred to in step S32, and a detailed description is omitted here.
According to the video live broadcast method, the cloud device can receive the multiple paths of video streams sent by the terminal device and simultaneously transmit the multiple paths of video streams to the cloud, and the cloud device selects one path of video stream from the multiple paths of video streams as a live stream to be output, so that the multi-picture selective broadcast is realized; in addition, in the live broadcasting process, the multi-picture selective broadcasting is realized by the cloud equipment, the live broadcasting station equipment does not need to be provided by a main broadcasting station or a live broadcasting unit, the live broadcasting cost is reduced, the multi-channel video stream is transmitted to the cloud end, and the cloud equipment is used for selective broadcasting, so that the selection of the live broadcasting stream from the multi-channel video stream can be still realized even if the live broadcasting field moves, the requirement of mobile live broadcasting can be met, in addition, the cloud equipment does not need field operation, and the problem that the operation of the live broadcasting station equipment is difficult is solved.
Fig. 5 is a block diagram illustrating a cloud device 1900 according to an example embodiment. For example, cloud device 1900 may be provided as a device integrated with director and transcoding functionality. Referring to fig. 5, cloud device 1900 includes a processing component 1922, which further includes one or more processors and memory resources, represented by memory 1932, for storing instructions, such as applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform a video live method, the method comprising:
receiving a plurality of paths of video streams sent by at least one terminal device, wherein the plurality of paths of video streams are used for transmitting video data collected from a live broadcast site;
selecting one path of video stream from the multiple paths of video streams as a live stream;
and outputting the live stream.
In one implementation manner of the present disclosure, receiving multiple video streams sent by at least one terminal device includes:
and receiving a plurality of paths of video streams sent by at least one terminal device by using the same account.
In another implementation manner of the present disclosure, selecting one of the multiple video streams as a live stream includes:
selecting a video stream with a preset number as a live stream according to the number of the received multi-channel video stream; alternatively, the first and second electrodes may be,
selecting a video stream with the highest code rate in the multiple paths of video streams as a live stream according to the code rates of the received multiple paths of video streams; alternatively, the first and second electrodes may be,
and randomly selecting one video stream from the received multiple video streams as a live stream.
In another implementation of the present disclosure, the method further comprises:
and when the cloud equipment detects a set triggering event, selecting a new video stream from the multiple video streams as a live stream.
In another implementation of the present disclosure, the set triggering event includes at least one of a set event and an emergency event;
setting an event, wherein the set event comprises that the time reaches a set time point, or the output time of the currently output live stream reaches a preset time length;
the emergency event comprises that the code rate of the currently output live stream is less than or equal to a threshold value.
In another implementation of the present disclosure, the method further comprises:
acquiring live broadcast setting information, wherein the live broadcast setting information is used for setting at least one of a video stream selection scheme and a set trigger event, and the video stream selection scheme is provided for the cloud end equipment so that the cloud end equipment can determine live broadcast streams according to the video stream selection scheme;
and setting at least one of a video stream selection scheme and a set trigger event according to the live broadcast setting information.
In another implementation manner of the present disclosure, acquiring the live setting information includes:
and acquiring the live broadcast setting information input by a user through the interface of the director.
In another implementation of the present disclosure, the method further comprises:
and simultaneously outputting the multiple video streams through the interface of the director.
Fig. 6 is a block diagram illustrating a terminal device 600 according to an example embodiment. For example, the terminal device 600 may be a computer, a mobile terminal, or the like.
Referring to fig. 6, the terminal device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an interface to input/output (I/O) 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operations of the terminal device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the terminal device 600. Examples of such data include instructions for any application or method operating on the terminal device 600, contact data, phonebook data, messages, pictures, videos, and the like. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 606 provides power to the various components of terminal device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal device 600.
The multimedia component 608 comprises a screen providing an output interface between the terminal device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal device 600 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive an external audio signal when the terminal device 600 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing various aspects of status assessment for the terminal device 600. For example, sensor component 614 may detect an open/closed state of device 600, the relative positioning of components, such as a display and keypad of terminal device 600, sensor component 614 may also detect a change in the position of terminal device 600 or a component of terminal device 600, the presence or absence of user contact with terminal device 600, orientation or acceleration/deceleration of terminal device 600, and a change in the temperature of terminal device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the terminal device 600 and other devices in a wired or wireless manner. The terminal device 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the terminal device 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a video live method, the method comprising:
acquiring at least one path of video stream acquired by a live broadcast site;
and transmitting the at least one video stream to the cloud end equipment so that the cloud end equipment selects one video stream from the multiple video streams as a live broadcast stream to be output, wherein the multiple video streams comprise the at least one video stream.
In one implementation of the present disclosure, transmitting at least one video stream to a cloud device includes:
and transmitting at least one video stream to the cloud equipment by adopting a set account.
In another implementation manner of the present disclosure, transmitting at least one video stream to a cloud device by using a set account includes:
sending the set account and the corresponding password to the cloud equipment;
and after the set account and the corresponding password are verified by the cloud equipment, transmitting at least one video stream to the cloud equipment.
The embodiment of the present disclosure further provides a video live broadcasting system, which includes: the terminal device comprises a video live broadcast device shown in fig. 3, and the terminal device comprises a video live broadcast device shown in fig. 4.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (19)

1. A method for live video, the method comprising:
the method comprises the steps that a cloud device receives multiple paths of video streams sent by at least one terminal device through the same account, the terminal device comprises field acquisition devices and field terminal devices which are arranged on a live broadcast site, the multiple paths of video streams are shot by multiple field acquisition devices at multiple angles, so that video pictures at multiple angles are obtained and transmitted to the cloud device through the field terminal devices, the multiple paths of video streams are used for transmitting video data acquired from the live broadcast site, and the multiple paths of video streams are multiple paths of video streams acquired on the same live broadcast site or multiple paths of video streams acquired on different live broadcast sites; selecting one path of video stream from the multiple paths of video streams as a live stream according to at least one of a video stream selection scheme and a set trigger event;
outputting the live stream, wherein the account corresponds to an account used when the cloud device outputs the live stream;
the method further comprises the following steps:
and acquiring live broadcast setting information, wherein the live broadcast setting information is acquired from any terminal equipment logging in the same account, and at least one of the video stream selection scheme and the set trigger event is set according to the live broadcast setting information.
2. The method according to claim 1, wherein the selecting one of the multiple video streams as a live stream comprises:
selecting a video stream with a preset number as a live stream according to the received number of the multiple paths of video streams; alternatively, the first and second electrodes may be,
selecting a video stream with the highest code rate in the multiple paths of video streams as a live stream according to the received code rates of the multiple paths of video streams; alternatively, the first and second electrodes may be,
and randomly selecting one video stream from the received multiple video streams as a live stream.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and when the cloud equipment detects the set triggering event, selecting a new video stream from the multiple video streams as the live stream.
4. The method of claim 3, wherein the set triggering event comprises at least one of a set event and an emergency event;
the set event comprises that the time reaches a set time point, or the output time of the currently output live stream reaches a preset time length;
the emergency event comprises that the code rate of the currently output live stream is smaller than or equal to a threshold value.
5. The method of claim 1, wherein the obtaining live setting information comprises:
and acquiring the live broadcast setting information input by a user through a broadcasting guide interface.
6. The method of claim 5, further comprising:
and simultaneously outputting the plurality of paths of video streams through the interface of the director.
7. A method for live video, the method comprising:
the method comprises the steps that terminal equipment obtains at least one path of video stream collected by a live broadcast site;
transmitting the at least one video stream to a cloud device by adopting a set account so that the cloud device selects one video stream from the multiple video streams as a live stream to output, the multi-path video stream comprises at least one video stream, the terminal equipment comprises field acquisition equipment and field terminal equipment which are arranged at a live broadcast site, the multi-path video stream is shot by a plurality of the field acquisition equipment at a plurality of angles, thereby obtaining video pictures from a plurality of angles and transmitted to the cloud end device by the field terminal device, the multi-channel video stream is used for transmitting video data acquired from the live broadcast site, the multi-channel video stream is acquired from the same live broadcast site or acquired from different live broadcast sites, and the account corresponds to an account used when the cloud device outputs the live broadcast stream;
the cloud device is used for selecting one path of video stream from the multiple paths of video streams as a live stream according to at least one of a video stream selection scheme and a set trigger event; the cloud device is further used for acquiring live broadcast setting information, and setting at least one of the video stream selection scheme and the set trigger event according to the live broadcast setting information, wherein the live broadcast setting information is acquired from any terminal device logging in the same account.
8. A video live broadcasting apparatus, characterized in that the apparatus comprises:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a plurality of paths of video streams sent by at least one terminal device by using the same account, the terminal device comprises a field acquisition device and a field terminal device which are arranged on a live broadcast site, the plurality of paths of video streams are shot by a plurality of field acquisition devices at a plurality of angles, so that video pictures at a plurality of angles are obtained and transmitted to a cloud device by the field terminal device, the plurality of paths of video streams are used for transmitting video data acquired from the live broadcast site, and the plurality of paths of video streams are acquired on the same live broadcast site or acquired on different live broadcast sites;
the selection unit is used for selecting one path of video stream from the multiple paths of video streams as a live stream according to at least one of a video stream selection scheme and a set trigger event;
the output unit is used for outputting the live stream, and the account corresponds to an account used when the cloud device outputs the live stream;
the device further comprises:
and the setting unit is used for acquiring live broadcast setting information, wherein the live broadcast setting information is acquired from any terminal equipment logging in the same account, and at least one of the video stream selection scheme and the set trigger event is set according to the live broadcast setting information.
9. The apparatus according to claim 8, wherein the selecting unit is configured to select a video stream with a predetermined number as a live stream according to the received number of the multiple video streams; alternatively, the first and second electrodes may be,
selecting a video stream with the highest code rate in the multiple paths of video streams as a live stream according to the received code rates of the multiple paths of video streams; alternatively, the first and second electrodes may be,
and randomly selecting one video stream from the received multiple video streams as a live stream.
10. The apparatus of claim 8 or 9, further comprising:
and the switching unit is used for selecting a new video stream from the multiple video streams as the live stream when the cloud device detects the set triggering event.
11. The apparatus of claim 10, wherein the set triggering event comprises at least one of a set event and an emergency event;
the set event comprises that the time reaches a set time point, or the output time of the currently output live stream reaches a preset time length;
the emergency event comprises that the code rate of the currently output live stream is smaller than or equal to a threshold value.
12. The apparatus of claim 8, wherein the setting unit is configured to obtain the live setting information input by a user through a director interface.
13. The apparatus of claim 12, wherein the output unit is further configured to output the multiple video streams simultaneously through the director interface.
14. A video live broadcasting apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring at least one path of video stream acquired by terminal equipment in a live broadcast site;
a transmission unit, configured to transmit the at least one video stream to a cloud device using a set account, so that the cloud end equipment selects one video stream from the multiple video streams as a live stream to be output, the multi-path video stream comprises at least one video stream, the terminal equipment comprises field acquisition equipment and field terminal equipment which are arranged at a live broadcast site, the multi-path video stream is shot by a plurality of the field acquisition equipment at a plurality of angles, thereby obtaining video pictures from a plurality of angles and transmitted to the cloud end device by the field terminal device, the multi-channel video stream is used for transmitting video data acquired from the live broadcast site, the multi-channel video stream is acquired from the same live broadcast site or acquired from different live broadcast sites, and the account corresponds to an account used when the cloud device outputs the live broadcast stream;
the cloud device is used for selecting one path of video stream from the multiple paths of video streams as a live stream according to at least one of a video stream selection scheme and a set trigger event; the cloud device is further used for acquiring live broadcast setting information, and setting at least one of the video stream selection scheme and the set trigger event according to the live broadcast setting information, wherein the live broadcast setting information is acquired from any terminal device logging in the same account.
15. A video live broadcast apparatus, comprising a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the video live broadcast method according to any one of claims 1-6.
16. A video live broadcast apparatus, comprising a processor and a memory, wherein the memory has stored therein at least one instruction, which is loaded and executed by the processor to implement the video live broadcast method of claim 7.
17. A computer-readable storage medium having stored therein at least one instruction that is loaded and executed by a processor to implement a video live method as claimed in any one of claims 1-6.
18. A computer-readable storage medium having stored therein at least one instruction that is loaded and executed by a processor to implement the video live method of claim 7.
19. A live video system, the system comprising: a terminal device and a cloud device, the cloud device comprising the live video broadcast apparatus of any one of claims 8 to 13, and the terminal device comprising the live video broadcast apparatus of claim 14.
CN201710476913.4A 2017-06-21 2017-06-21 Video live broadcast method, device and system Active CN107197320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710476913.4A CN107197320B (en) 2017-06-21 2017-06-21 Video live broadcast method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710476913.4A CN107197320B (en) 2017-06-21 2017-06-21 Video live broadcast method, device and system

Publications (2)

Publication Number Publication Date
CN107197320A CN107197320A (en) 2017-09-22
CN107197320B true CN107197320B (en) 2021-01-15

Family

ID=59878282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710476913.4A Active CN107197320B (en) 2017-06-21 2017-06-21 Video live broadcast method, device and system

Country Status (1)

Country Link
CN (1) CN107197320B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110582006A (en) * 2019-09-10 2019-12-17 南京清豆华创科技有限公司 Live broadcast method and device suitable for multi-person interaction, equipment and storage medium
CN111246234B (en) * 2020-01-20 2021-06-15 联想(北京)有限公司 Method, apparatus, electronic device and medium for real-time playing
CN112118222A (en) * 2020-08-11 2020-12-22 深圳市欣博跃电子有限公司 Data forwarding method and device, electronic equipment and storage medium
CN112738540B (en) * 2020-12-25 2023-09-05 广州虎牙科技有限公司 Multi-device live broadcast switching method, device, system, electronic device and readable storage medium
CN113784209B (en) * 2021-09-03 2023-11-21 上海哔哩哔哩科技有限公司 Multimedia data stream processing method and device
CN113784159A (en) * 2021-09-03 2021-12-10 上海哔哩哔哩科技有限公司 Multimedia data stream switching method and device
CN114339370A (en) * 2021-12-30 2022-04-12 杭州广电云网络科技有限公司 Slow live broadcast system and method for automatically switching pictures

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9252897B2 (en) * 2010-11-10 2016-02-02 Verizon Patent And Licensing Inc. Multi-feed event viewing

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998116A (en) * 2009-08-31 2011-03-30 中国移动通信集团公司 Method, system and equipment for realizing multi-view video service
CN101909160A (en) * 2009-12-17 2010-12-08 新奥特(北京)视频技术有限公司 Broadcast control switching method and device in network video live broadcast
US8867886B2 (en) * 2011-08-08 2014-10-21 Roy Feinson Surround video playback
TWI502978B (en) * 2013-02-08 2015-10-01 Cloud video exchanging conference device
CN106303358A (en) * 2015-05-12 2017-01-04 中兴通讯股份有限公司 The processing method and processing device of video source multiple to terminal
CN205356529U (en) * 2016-02-05 2016-06-29 丁锋 Live sound video synchronization system of cinema
CN105828091B (en) * 2016-03-28 2018-11-09 广州华多网络科技有限公司 The playback method and system of video frequency program in network direct broadcasting
CN105939480A (en) * 2016-04-18 2016-09-14 乐视控股(北京)有限公司 Live broadcast method and device of terminal video
CN106603912B (en) * 2016-12-05 2020-09-11 科大讯飞股份有限公司 Video live broadcast control method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9252897B2 (en) * 2010-11-10 2016-02-02 Verizon Patent And Licensing Inc. Multi-feed event viewing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"浅谈视频云直播的现状与未来";华栖云;《数码影像时代》;20170415;全文 *

Also Published As

Publication number Publication date
CN107197320A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN107197320B (en) Video live broadcast method, device and system
CN111818359B (en) Processing method and device for live interactive video, electronic equipment and server
EP3046309B1 (en) Method, device and system for projection on screen
CN106105246B (en) Display methods, apparatus and system is broadcast live
CN105100829B (en) Video content intercept method and device
US9736518B2 (en) Content streaming and broadcasting
WO2017181551A1 (en) Video processing method and device
US9756373B2 (en) Content streaming and broadcasting
EP2986020B1 (en) Method and apparatus for adjusting video quality based on network environment
CN107147927B (en) Live broadcast method and device based on live broadcast wheat connection
CN111212306A (en) Wheat connecting method and device, electronic equipment and storage medium
EP3182746A1 (en) Method and apparatus for transmitting routing information
CN108667871B (en) Transmission method and device based on P2P
WO2018076358A1 (en) Multimedia information playback method and system, standardized server and broadcasting terminal
CN111031332A (en) Data interaction method, device, server and storage medium
CN103248685A (en) Smart phone-based P2P monitoring method and system
CN110619097A (en) Two-dimensional code generation method and device, electronic equipment and storage medium
CN110191367B (en) Information synchronization processing method and device and electronic equipment
CN111385349B (en) Communication processing method, communication processing device, terminal, server and storage medium
CN109729438B (en) Method and device for sending video packet and method and device for receiving video packet
CN116320514A (en) Live broadcast method, system, electronic equipment and medium for audio and video conference
CN106791925B (en) Video generation method and device
US20220078456A1 (en) Method and apparatus for video transcoding
CN114272600A (en) Control right switching system, method, device, equipment and storage medium
CN110213531B (en) Monitoring video processing method and device

Legal Events

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