CN114866787A - Live broadcast implementation method and system - Google Patents
Live broadcast implementation method and system Download PDFInfo
- Publication number
- CN114866787A CN114866787A CN202210777856.4A CN202210777856A CN114866787A CN 114866787 A CN114866787 A CN 114866787A CN 202210777856 A CN202210777856 A CN 202210777856A CN 114866787 A CN114866787 A CN 114866787A
- Authority
- CN
- China
- Prior art keywords
- live
- live broadcast
- video stream
- visual angle
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000000007 visual effect Effects 0.000 claims abstract description 85
- 238000006243 chemical reaction Methods 0.000 description 14
- 238000004590 computer program Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/21805—Source of audio or video content, e.g. local disk arrays enabling multiple viewpoints, e.g. using a plurality of cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4383—Accessing a communication channel
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application discloses a live broadcast realization method and a system, comprising the following steps: the live broadcast client receives the switching command, displays prompt information on a play interface and continues to play the first live broadcast video stream; acquiring a second visual angle carried in the switching command, and searching a second live video stream corresponding to the second visual angle; caching the received second live video stream; the method comprises the steps that a live broadcast client side obtains first time information on a time axis of a first live broadcast video stream which is being played and obtains second time information of the time axis of a second live broadcast video stream which is cached currently; and the live broadcast client stops playing the first live broadcast video stream and starts playing the second live broadcast video stream on the video playing interface. The method and the device solve the problem that a user may miss a small part of live content due to switching of live video streams at different viewing angles in the prior art, thereby reducing the loss of the live content of the live video streams at different viewing angles during switching to a certain extent and improving the live watching experience of the user.
Description
Technical Field
The application relates to the field of live broadcast, in particular to a live broadcast implementation method and system.
Background
In live broadcasting, multiple cameras may be used to live from multiple different perspectives. Users watching a live broadcast typically use a live client for the viewing.
The live server can pass live video streams of different view angles, but is limited by the factor of network bandwidth, and the live video streams cannot be continuously provided for the live client.
The user can select the watching angle through the live client, when the live client switches the live video streams with different visual angles, live interruption can occur when the first live video stream is switched to the second live video stream due to reasons such as network transmission, so that a small part of live content is missed, and the watching experience of the user is reduced.
Disclosure of Invention
The embodiment of the application provides a live broadcast implementation method and a live broadcast implementation system, which are used for at least solving the problem that in the prior art, a user may miss a small part of live broadcast content due to switching of live broadcast video streams with different viewing angles.
According to an aspect of the present application, a live broadcast implementation method is provided, including: under the condition that a user watches a first live video stream, a live client receives a switching command, wherein the first live video stream is a video stream under a first visual angle; the live broadcast client displays prompt information on a play interface and continues to play the first live broadcast video stream, wherein the prompt information is used for prompting that the live broadcast visual angle is being switched according to the switching command; the live broadcast client acquires a second visual angle carried in the switching command, and searches a second live broadcast video stream corresponding to the second visual angle, wherein the second live broadcast video stream is a video stream under the second visual angle, and the switching command is used for switching from the first visual angle to the second visual angle; the live broadcast client receives the second live broadcast video stream and caches the received second live broadcast video stream; the live broadcast client acquires first time information on a time axis of the first live broadcast video stream being played and acquires second time information of a time axis of a second live broadcast video stream which is cached currently; and the live broadcast client determines that the second time information and the first time information meet preset conditions, stops playing the first live broadcast video stream and starts playing the second live broadcast video stream on a video playing interface.
Further, the determining, by the live client, that the second time information and the first time information satisfy the predetermined condition includes: and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
Further, still include: the method comprises the steps that a live broadcast server side obtains a plurality of camera shooting devices participating in live broadcast, wherein each camera shooting device in the plurality of camera shooting devices is used for carrying out live broadcast from a visual angle; the live broadcast server side acquires live broadcast video streams shot by each camera device in the plurality of camera devices; the live broadcast server side establishes a time axis, wherein the time axis is shared by all live broadcast video streams; and the live broadcast server end adds the time axis to live broadcast video streams shot by each camera shooting device, wherein the live broadcast video streams are added and transmitted to the live broadcast client end.
Further, still include: the live broadcast server side configures a uniform resource identifier for each live broadcast video stream shot by the camera equipment, wherein each uniform resource identifier is used for acquiring one live broadcast video stream shot by the camera equipment; and the live broadcast server end establishes a corresponding relation between the uniform resource identifier and the view angle and sends the corresponding relation to the live broadcast client end.
Further, the live broadcast client acquiring a second view angle carried in the switching command, and searching for a second live broadcast video stream corresponding to the second view angle includes: the live broadcast client searches a uniform resource identifier corresponding to the second visual angle according to the second visual angle; and the live broadcast client requests to acquire a second live broadcast video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
According to another aspect of the present application, there is also provided a live broadcast implementation system, where the system includes a live broadcast client, where the live broadcast client includes: the device comprises a receiving module, a switching module and a processing module, wherein the receiving module is used for receiving a switching command under the condition that a user watches a first direct-playing video stream, and the first direct-playing video stream is a video stream under a first visual angle; the display module is used for displaying prompt information on a playing interface and continuously playing the first direct-broadcast video stream, wherein the prompt information is used for prompting that the direct-broadcast visual angle is being switched according to the switching command; a searching module, configured to obtain a second view angle carried in the switching command, and search for a second live video stream corresponding to the second view angle, where the second live video stream is a video stream at the second view angle, and the switching command is used to switch from the first view angle to the second view angle; the cache module is used for receiving the second live video stream and caching the received second live video stream; the first acquisition module is used for acquiring first time information on a time axis of the first live video stream which is being played and acquiring second time information of the time axis of a second live video stream which is cached currently; and the playing module is used for determining that the second time information and the first time information meet a preset condition, stopping playing the first live video stream and starting playing the second live video stream on a video playing interface.
Further, the playing module is configured to: and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
Further, still include: live broadcast server side, wherein, live broadcast server side includes: the second acquisition module is used for acquiring a plurality of camera devices participating in live broadcasting, wherein each camera device in the plurality of camera devices is used for live broadcasting from one visual angle; the third acquisition module is used for acquiring the live video stream shot by each of the plurality of camera devices; the system comprises an establishing module, a receiving module and a processing module, wherein the establishing module is used for establishing a time axis, and the time axis is shared by all live video streams; and the adding module is used for adding the time axis to a live video stream shot by each camera shooting device, wherein the live video stream is added and transmitted to the live client.
Further, the live client further includes: the configuration module is used for configuring a uniform resource identifier for each live video stream shot by the camera equipment, wherein each uniform resource identifier is used for acquiring one live video stream shot by the camera equipment; and the sending module is used for establishing a corresponding relation between the uniform resource identifier and the view angle and sending the corresponding relation to the live broadcast client.
Further, the lookup module is configured to: searching a uniform resource identifier corresponding to the second visual angle according to the second visual angle; and requesting to acquire a second live video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
In the embodiment of the application, a live broadcast client receives a switching command when a user watches a first live broadcast video stream, wherein the first live broadcast video stream is a video stream under a first visual angle; the live broadcast client displays prompt information on a play interface and continues to play the first live broadcast video stream, wherein the prompt information is used for prompting that the live broadcast visual angle is being switched according to the switching command; the live broadcast client acquires a second visual angle carried in the switching command, and searches a second live broadcast video stream corresponding to the second visual angle, wherein the second live broadcast video stream is a video stream under the second visual angle, and the switching command is used for switching from the first visual angle to the second visual angle; the live broadcast client receives the second live broadcast video stream and caches the received second live broadcast video stream; the live broadcast client acquires first time information on a time axis of the first live broadcast video stream being played and acquires second time information of a time axis of a second live broadcast video stream which is cached currently; and the live broadcast client determines that the second time information and the first time information meet preset conditions, stops playing the first live broadcast video stream and starts playing the second live broadcast video stream on a video playing interface. The method and the device solve the problem that a user may miss a small part of live content due to switching of live video streams at different viewing angles in the prior art, thereby reducing the loss of the live content of the live video streams at different viewing angles during switching to a certain extent and improving the live watching experience of the user.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a live broadcast implementation method according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
In this embodiment, a live broadcast implementation method is provided, and fig. 1 is a flowchart of a live broadcast implementation method according to an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step S102, under the condition that a user watches a first live video stream, a live client receives a switching command, wherein the first live video stream is a video stream under a first visual angle.
And step S104, the live broadcast client displays prompt information on a play interface and continuously plays the first live broadcast video stream, wherein the prompt information is used for prompting that the live broadcast visual angle is switched according to the switching command.
Step S106, the live broadcast client obtains a second view angle carried in the switching command, and searches for a second live broadcast video stream corresponding to the second view angle, where the second live broadcast video stream is a video stream under the second view angle, and the switching command is used to switch from the first view angle to the second view angle.
Step S108, the live broadcast client receives the second live broadcast video stream and caches the received second live broadcast video stream.
As an implementation manner that can be added, the live broadcast client may further obtain first code stream information of the first live broadcast video stream, and the live broadcast client sends the first code stream information to a live broadcast server; and the live broadcast client receives a second live broadcast video stream sent by the live broadcast server side by using the first code stream information, and the live broadcast client caches the second live broadcast video stream. Through the optional implementation mode, the live broadcast client can ensure that the code stream information is kept unchanged after the first live broadcast video stream is switched to the second live broadcast video stream, wherein the code stream information is used for indicating the definition degree of the live broadcast video, and the higher the occupied bandwidth of the code stream information is, the clearer the live broadcast video is.
In this optional embodiment, after receiving the first code stream information, the live broadcast server determines that the second live broadcast video stream cannot be provided by the first code stream information, the live broadcast server sends second code stream information that can be provided to the live broadcast client, after receiving the second code stream information, the live broadcast client plays the first live broadcast video stream using the second code stream information, and receives that the live broadcast server sends the second live broadcast video stream using the second code stream information, and caches the second live broadcast video stream. Through the optional implementation manner, the code stream information of the first live video stream being played can be switched from the first code stream information to the second code stream information, and then the live client switches the first live video stream played by using the second code stream information to the second live video stream played by using the same second code stream information. Therefore, seamless switching can be achieved, a user cannot perceive the reduction of the code stream caused by switching the view angle, and the user experience is improved.
Step S110, the live broadcast client acquires first time information on a time axis of the first live broadcast video stream being played, and acquires second time information on a time axis of a second live broadcast video stream that has been currently cached.
Step S112, the live broadcast client determines that the second time information and the first time information satisfy a predetermined condition, stops playing the first live broadcast video stream, and starts playing the second live broadcast video stream on a video playing interface.
The predetermined condition may be set according to actual conditions, for example, the determining, by the live client, that the second time information and the first time information satisfy the predetermined condition includes: and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
As an optional implementation manner, a packet loss rate between the live broadcast client and the live broadcast server may be obtained, and when the packet loss rate is lower than a first threshold, and a difference between the second time and the first time is within 1 second, it is determined that the second time information and the first time information satisfy the predetermined condition; and if the packet loss rate is greater than the first threshold value, and the difference between the second time and the first time is within 3 seconds, determining that the second time information and the first time information meet the predetermined condition, wherein the first threshold value is predetermined. In this optional embodiment, the packet loss rate is used to represent a network condition between the live broadcast client and the live broadcast server, and a difference between the first time and the second time is determined according to the network condition, so as to determine the switching time.
Through the steps, the problem that a user may miss a small part of live content due to switching of live video streams of different viewing angles in the prior art is solved, so that the loss of the live content of the live video streams of different viewing angles during switching is reduced to a certain extent, and the live watching experience of the user is improved.
As another optional implementation manner, after stopping playing the first live video stream, the live client obtains a bandwidth between the live client and the live server, and if the bandwidth is greater than a bandwidth required for playing the second live video stream, continues to cache the first live video stream, and generates a video file at a predetermined time interval from the cached first live video stream; and after receiving a playback request, the live client plays back the generated video file, wherein the live client receives configuration information from a live server when live broadcasting starts, and the configuration information is used for indicating the live client to play the first live video stream in the first view by default.
The time axis can be established by a live broadcast server side, the live broadcast server side acquires a plurality of camera shooting devices participating in live broadcast, wherein each camera shooting device in the plurality of camera shooting devices is used for live broadcast from one visual angle; the live broadcast server side acquires live broadcast video streams shot by each camera device in the plurality of camera devices; the live broadcast server side establishes a time axis, wherein the time axis is shared by all live broadcast video streams; and the live broadcast server end adds the time axis to live broadcast video streams shot by each camera shooting device, wherein the live broadcast video streams are added and transmitted to the live broadcast client end.
As an optional embodiment, the time axis functions as a timer, the timer is made into a timing animation video, the timing animation video is a transparent timing animation video, the transparent timing animation video is arranged at one corner of a live video stream shot by each camera device, the timing animation video cannot be seen in the live video stream because the timing animation video is transparent, but the playing time of the timing animation video is accumulated along with live broadcast, and therefore the playing time of the timing animation video is taken as the time axis; at the same time, the live broadcast server side adds the transparent timing animation videos to all live broadcast video streams at the same time, so that all the live broadcast video streams have the same timing mode, namely the live broadcast video streams have the same time axis.
In order to better transmit a plurality of live video streams, the live server configures a uniform resource identifier for each live video stream shot by each camera device, wherein each uniform resource identifier is used for acquiring one live video stream shot by one camera device; and the live broadcast server end establishes a corresponding relation between the uniform resource identifier and the view angle and sends the corresponding relation to the live broadcast client end. In this optional embodiment, the acquiring, by the live broadcast client, the second view angle carried in the switch command, and searching for the second live broadcast video stream corresponding to the second view angle includes: the live broadcast client searches a uniform resource identifier corresponding to the second visual angle according to the second visual angle; and the live broadcast client requests to acquire a second live broadcast video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
In another embodiment, live videos which are simultaneously acquired from different angles by a plurality of camera devices can be acquired; receiving a visual angle conversion instruction, and continuously playing a live video corresponding to a current visual angle; and extracting live videos uploaded by different camera equipment related between the current visual angle and the converted visual angle, and then performing three-dimensional scene model reconstruction on the live contents according to the extracted live videos.
In this embodiment, the following technical features may also be included: the method comprises the steps that a live broadcast server side obtains live broadcast videos which are simultaneously collected by a plurality of camera devices from different angles; the camera shooting equipment is uniformly distributed around the shooting site; in the embodiment, the live broadcast server receives a visual angle conversion instruction, extracts live broadcast videos uploaded by different camera devices related between a current visual angle and a converted visual angle, and then performs three-dimensional scene model reconstruction on live broadcast contents according to the extracted live broadcast videos; the live broadcast client sends the three-dimensional scene model to the live broadcast client, and the three-dimensional scene model is displayed in a rotating mode according to the visual angle conversion instruction until the visual angle conversion is completed; and the live broadcast client continuously plays the live broadcast video corresponding to the converted visual angle.
Optionally, after acquiring live videos that are simultaneously acquired by a plurality of camera devices from different angles, the method further includes: distributing a plurality of live videos on a plurality of video tracks; and marking the view angle of the camera equipment on the video track where the corresponding live video is located. Receiving the view angle conversion instruction, and continuously playing the live video corresponding to the current view angle specifically includes: receiving a visual angle conversion instruction, and reducing the playing speed of the live video corresponding to the current visual angle to N times of the normal speed; the N is less than 1; and sending the live video with the N times of playing speed to the client.
The live video uploaded by different camera devices involved between the current view and the converted view is extracted specifically including: positioning the camera equipment existing between the current visual angle and the converted visual angle; and extracting live video clips corresponding to the camera equipment with the current visual angle, the camera equipment with the converted visual angle and the camera equipment between the camera equipment and the current visual angle in real time from the receiving of the visual angle conversion instruction.
The three-dimensional scene model reconstruction of the live broadcast content according to the extracted live broadcast video specifically comprises the following steps: continuously extracting a plurality of video pictures at equal intervals from the extracted live video clips; sequentially fitting and reconstructing video pictures on the same time point, which are extracted from a plurality of live video clips, according to the arrangement sequence of the camera equipment; inserting three-dimensional scene models corresponding to a plurality of equidistant time points on a live video clip into a time axis to form a three-dimensional scene model video stream.
The three-dimensional scene model is sent to a live broadcast client, and the three-dimensional scene model is displayed in a rotating mode according to a view angle conversion instruction until view angle conversion is completed; after the reconstruction of the three-dimensional scene model is completed, extracting the current playing time point of the live video with the playing speed reduced to N times of the normal speed; dividing the three-dimensional scene model video stream into two segments by taking the extracted current playing time point as a dividing point, wherein the three-dimensional scene model video stream before the dividing point is an invalid video stream, and the three-dimensional scene model video stream after the dividing point is an effective video stream; increasing the playing speed of the effective video stream to M times of the normal playing speed, and sending the effective video stream to the client; and M is greater than or equal to 1.
The increasing the playing speed of the effective video stream to M times of the normal playing speed and sending the effective video stream to the client specifically includes: increasing the playing speed of the effective video stream to M times of the normal playing speed, and extracting the end time point of the effective video stream; inserting the accelerated effective video stream into the video track on the corresponding video track after the visual angle is converted by taking the ending time point as a splicing node; and sending the spliced video track and the live video on the video track to a client.
Replacing the method steps after receiving the view angle conversion instruction and continuously playing the live video corresponding to the current view angle with the method steps after continuously playing the live video corresponding to the current view angle; when the view angle conversion passes through the view angle of one camera shooting device, playing a live video corresponding to the camera shooting device until the view angle conversion passes through the next camera shooting device; in the interval of video conversion, the live video played at the previous playing visual angle is played at a reduced speed; switching to the live video corresponding to the current visual angle from the final time point of the play of the live video played at the reduced speed until the visual angle conversion is completed; and (4) the live video corresponding to the current visual angle is played at an accelerated speed until the content of the live video is synchronous with the scene, and the live video is recovered to the normal playing speed.
In this embodiment, an electronic device is provided, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the method in the above embodiments.
The programs described above may be run on a processor or may also be stored in memory (or referred to as computer-readable media), which includes both non-transitory and non-transitory, removable and non-removable media, that implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
These computer programs may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks, and corresponding steps may be implemented by different modules.
Such an apparatus or system is provided in this embodiment. The system is called a live broadcast implementation system and comprises a live broadcast client, wherein the live broadcast client comprises: the device comprises a receiving module, a switching module and a processing module, wherein the receiving module is used for receiving a switching command under the condition that a user watches a first direct-playing video stream, and the first direct-playing video stream is a video stream under a first visual angle; the display module is used for displaying prompt information on a playing interface and continuously playing the first direct-broadcast video stream, wherein the prompt information is used for prompting that the direct-broadcast visual angle is being switched according to the switching command; a searching module, configured to obtain a second view angle carried in the switching command, and search for a second live video stream corresponding to the second view angle, where the second live video stream is a video stream at the second view angle, and the switching command is used to switch from the first view angle to the second view angle; the cache module is used for receiving the second live video stream and caching the received second live video stream; the first acquisition module is used for acquiring first time information on a time axis of the first live video stream which is being played and acquiring second time information of the time axis of a second live video stream which is cached currently; and the playing module is used for determining that the second time information and the first time information meet a preset condition, stopping playing the first live video stream and starting playing the second live video stream on a video playing interface.
The system or the apparatus is used for implementing the functions of the method in the foregoing embodiments, and each module in the system or the apparatus corresponds to each step in the method, which has been described in the method and is not described herein again.
For example, the playing module is configured to: and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
For another example, the method further includes: live broadcast server side, wherein, live broadcast server side includes: the second acquisition module is used for acquiring a plurality of camera devices participating in live broadcasting, wherein each camera device in the plurality of camera devices is used for live broadcasting from one visual angle; the third acquisition module is used for acquiring a live video stream shot by each of the plurality of camera devices; the system comprises an establishing module, a receiving module and a processing module, wherein the establishing module is used for establishing a time axis, and the time axis is shared by all live video streams; and the adding module is used for adding the time axis to a live video stream shot by each camera shooting device, wherein the live video stream is added and transmitted to the live client.
For another example, the live client further includes: the configuration module is used for configuring a uniform resource identifier for each live video stream shot by the camera equipment, wherein each uniform resource identifier is used for acquiring one live video stream shot by the camera equipment; and the sending module is used for establishing a corresponding relation between the uniform resource identifier and the view angle and sending the corresponding relation to the live broadcast client.
For another example, the lookup module is configured to: searching a uniform resource identifier corresponding to the second visual angle according to the second visual angle; and requesting to acquire a second live video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
The embodiment solves the problem that in the prior art, a user may miss a small part of live content due to switching of live video streams at different viewing angles, thereby reducing the loss of the live content of the live video streams at different viewing angles during switching to a certain extent and improving the live watching experience of the user.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. A live broadcast implementation method is characterized by comprising the following steps:
under the condition that a user watches a first live video stream, a live client receives a switching command, wherein the first live video stream is a video stream under a first visual angle;
the live broadcast client displays prompt information on a play interface and continues to play the first live broadcast video stream, wherein the prompt information is used for prompting that the live broadcast visual angle is being switched according to the switching command;
the live broadcast client acquires a second visual angle carried in the switching command, and searches a second live broadcast video stream corresponding to the second visual angle, wherein the second live broadcast video stream is a video stream under the second visual angle, and the switching command is used for switching from the first visual angle to the second visual angle;
the live broadcast client receives the second live broadcast video stream and caches the received second live broadcast video stream;
the live broadcast client acquires first time information on a time axis of the first live broadcast video stream being played and acquires second time information of a time axis of a second live broadcast video stream which is cached currently;
and the live broadcast client determines that the second time information and the first time information meet preset conditions, stops playing the first live broadcast video stream and starts playing the second live broadcast video stream on a video playing interface.
2. The method of claim 1, wherein the determining, by the live client, that the second time information and the first time information satisfy the predetermined condition comprises:
and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
3. The method of claim 2, further comprising:
the method comprises the steps that a live broadcast server side obtains a plurality of camera shooting devices participating in live broadcast, wherein each camera shooting device in the plurality of camera shooting devices is used for carrying out live broadcast from a visual angle;
the live broadcast server side obtains live broadcast video streams shot by each of the plurality of camera devices;
the live broadcast server side establishes a time axis, wherein the time axis is shared by all live broadcast video streams;
and the live broadcast server end adds the time axis to live broadcast video streams shot by each camera shooting device, wherein the live broadcast video streams are added and transmitted to the live broadcast client end.
4. The method of claim 3, further comprising:
the live broadcast server side configures a uniform resource identifier for each live broadcast video stream shot by the camera equipment, wherein each uniform resource identifier is used for acquiring one live broadcast video stream shot by the camera equipment;
and the live broadcast server end establishes a corresponding relation between the uniform resource identifier and the view angle and sends the corresponding relation to the live broadcast client end.
5. The method according to claim 4, wherein the live client acquires a second view angle carried in the switching command, and searching for a second live video stream corresponding to the second view angle comprises:
the live broadcast client searches for a uniform resource identifier corresponding to the second visual angle according to the second visual angle;
and the live broadcast client requests to acquire a second live broadcast video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
6. A live broadcast implementation system, the system comprising a live broadcast client, wherein the live broadcast client comprises:
the device comprises a receiving module, a switching module and a processing module, wherein the receiving module is used for receiving a switching command under the condition that a user watches a first direct-playing video stream, and the first direct-playing video stream is a video stream under a first visual angle;
the display module is used for displaying prompt information on a playing interface and continuously playing the first direct-broadcast video stream, wherein the prompt information is used for prompting that the direct-broadcast visual angle is being switched according to the switching command;
a searching module, configured to obtain a second view angle carried in the switching command, and search for a second live video stream corresponding to the second view angle, where the second live video stream is a video stream at the second view angle, and the switching command is used to switch from the first view angle to the second view angle;
the cache module is used for receiving the second live video stream and caching the received second live video stream;
the first acquisition module is used for acquiring first time information on a time axis of the first live video stream which is being played and acquiring second time information of the time axis of a second live video stream which is cached currently;
and the playing module is used for determining that the second time information and the first time information meet a preset condition, stopping playing the first live video stream and starting playing the second live video stream on a video playing interface.
7. The system of claim 6, wherein the playback module is configured to:
and when the difference value between the second time indicated by the second time information and the first time indicated by the first time information is within a preset range, determining that the second time information and the first time information meet the preset condition.
8. The system of claim 7, further comprising: live broadcast server side, wherein, live broadcast server side includes:
the second acquisition module is used for acquiring a plurality of camera devices participating in live broadcasting, wherein each camera device in the plurality of camera devices is used for live broadcasting from one visual angle;
the third acquisition module is used for acquiring a live video stream shot by each of the plurality of camera devices;
the system comprises an establishing module, a receiving module and a processing module, wherein the establishing module is used for establishing a time axis, and the time axis is shared by all live video streams;
and the adding module is used for adding the time axis to a live video stream shot by each camera shooting device, wherein the live video stream is added and transmitted to the live client.
9. The system of claim 8, wherein the live client further comprises:
the configuration module is used for configuring a uniform resource identifier for each live video stream shot by the camera equipment, wherein each uniform resource identifier is used for acquiring one live video stream shot by the camera equipment;
and the sending module is used for establishing a corresponding relation between the uniform resource identifier and the view angle and sending the corresponding relation to the live broadcast client.
10. The system of claim 9, wherein the lookup module is configured to:
searching a uniform resource identifier corresponding to the second visual angle according to the second visual angle;
and requesting to acquire a second live video stream corresponding to the second visual angle according to the uniform resource identifier corresponding to the second visual angle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210777856.4A CN114866787B (en) | 2022-07-04 | 2022-07-04 | Live broadcast implementation method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210777856.4A CN114866787B (en) | 2022-07-04 | 2022-07-04 | Live broadcast implementation method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114866787A true CN114866787A (en) | 2022-08-05 |
CN114866787B CN114866787B (en) | 2022-09-23 |
Family
ID=82626100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210777856.4A Active CN114866787B (en) | 2022-07-04 | 2022-07-04 | Live broadcast implementation method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114866787B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116389783A (en) * | 2023-06-05 | 2023-07-04 | 四川农业大学 | Live broadcast linkage control method, system, terminal and medium based on unmanned aerial vehicle |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909160A (en) * | 2009-12-17 | 2010-12-08 | 新奥特(北京)视频技术有限公司 | Broadcast control switching method and device in network video live broadcast |
US20150237389A1 (en) * | 2014-02-14 | 2015-08-20 | Pluto Inc. | Methods and systems for generating and providing program guides and content |
US20180165055A1 (en) * | 2016-12-13 | 2018-06-14 | EVA Automation, Inc. | Schedule-Based Coordination of Audio Sources |
CN108810559A (en) * | 2018-05-31 | 2018-11-13 | 北京达佳互联信息技术有限公司 | Field-of-view mode switching method, the transmission method of device and live data, device |
CN110809168A (en) * | 2018-08-06 | 2020-02-18 | 中兴通讯股份有限公司 | Video live broadcast processing method and device, terminal and storage medium |
US20200059694A1 (en) * | 2017-04-28 | 2020-02-20 | Huawei Technologies Co., Ltd. | Video Playing Method, Device, and System |
CN111447457A (en) * | 2020-03-25 | 2020-07-24 | 咪咕文化科技有限公司 | Live video processing method and device and storage medium |
CN111866525A (en) * | 2020-09-23 | 2020-10-30 | 腾讯科技(深圳)有限公司 | Multi-view video playing control method and device, electronic equipment and storage medium |
CN112399197A (en) * | 2019-08-12 | 2021-02-23 | 深圳市茁壮网络股份有限公司 | Method, device, server and medium for converting IP (Internet protocol) playing into scrambled video stream playing |
US20210127171A1 (en) * | 2017-12-13 | 2021-04-29 | Guangzhou Huya Information Technology Co., Ltd. | Display Method for Live Broadcast Screen of Live Broadcast Room, Storage Device and Computer Device |
CN113633973A (en) * | 2021-08-31 | 2021-11-12 | 腾讯科技(深圳)有限公司 | Game screen display method, device, equipment and storage medium |
CN114513674A (en) * | 2020-11-16 | 2022-05-17 | 上海科技大学 | Interactive live broadcast data transmission/processing method, processing system, medium and server |
-
2022
- 2022-07-04 CN CN202210777856.4A patent/CN114866787B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909160A (en) * | 2009-12-17 | 2010-12-08 | 新奥特(北京)视频技术有限公司 | Broadcast control switching method and device in network video live broadcast |
US20150237389A1 (en) * | 2014-02-14 | 2015-08-20 | Pluto Inc. | Methods and systems for generating and providing program guides and content |
US20180165055A1 (en) * | 2016-12-13 | 2018-06-14 | EVA Automation, Inc. | Schedule-Based Coordination of Audio Sources |
US20200059694A1 (en) * | 2017-04-28 | 2020-02-20 | Huawei Technologies Co., Ltd. | Video Playing Method, Device, and System |
US20210127171A1 (en) * | 2017-12-13 | 2021-04-29 | Guangzhou Huya Information Technology Co., Ltd. | Display Method for Live Broadcast Screen of Live Broadcast Room, Storage Device and Computer Device |
CN108810559A (en) * | 2018-05-31 | 2018-11-13 | 北京达佳互联信息技术有限公司 | Field-of-view mode switching method, the transmission method of device and live data, device |
CN110809168A (en) * | 2018-08-06 | 2020-02-18 | 中兴通讯股份有限公司 | Video live broadcast processing method and device, terminal and storage medium |
CN112399197A (en) * | 2019-08-12 | 2021-02-23 | 深圳市茁壮网络股份有限公司 | Method, device, server and medium for converting IP (Internet protocol) playing into scrambled video stream playing |
CN111447457A (en) * | 2020-03-25 | 2020-07-24 | 咪咕文化科技有限公司 | Live video processing method and device and storage medium |
CN111866525A (en) * | 2020-09-23 | 2020-10-30 | 腾讯科技(深圳)有限公司 | Multi-view video playing control method and device, electronic equipment and storage medium |
CN114513674A (en) * | 2020-11-16 | 2022-05-17 | 上海科技大学 | Interactive live broadcast data transmission/processing method, processing system, medium and server |
CN113633973A (en) * | 2021-08-31 | 2021-11-12 | 腾讯科技(深圳)有限公司 | Game screen display method, device, equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116389783A (en) * | 2023-06-05 | 2023-07-04 | 四川农业大学 | Live broadcast linkage control method, system, terminal and medium based on unmanned aerial vehicle |
CN116389783B (en) * | 2023-06-05 | 2023-08-11 | 四川农业大学 | Live broadcast linkage control method, system, terminal and medium based on unmanned aerial vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN114866787B (en) | 2022-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9253533B1 (en) | Scene identification | |
US9077956B1 (en) | Scene identification | |
WO2020048429A1 (en) | Method and apparatus for obtaining media resource | |
CN101917390B (en) | Multifunctional network player | |
CN106454493A (en) | Method for inquiring currently played television program information and smart TV | |
CN111464759A (en) | Live broadcast directing method, device, storage medium and equipment | |
US8886765B2 (en) | System and method for predicitive trick play using adaptive video streaming | |
CN105704568A (en) | Method and device for realizing live broadcast time shifting | |
TWI540890B (en) | Method and apparatus for processing motion video | |
CN106878815B (en) | Video playing method and device | |
CN105072480B (en) | A kind of net cast method and device | |
CN114866787B (en) | Live broadcast implementation method and system | |
CN103747285A (en) | Program playing method, server side and client | |
RU2502208C2 (en) | Method and device for recording and reproducing programmes, as well as set-top box | |
WO2017166496A1 (en) | Method and device for downloading video file, and method and device providing video file | |
CN113794942B (en) | Method, apparatus, system, device and medium for switching view angle of free view angle video | |
CN114079813A (en) | Picture synchronization method, coding method, video playing device and video coding device | |
US11082752B2 (en) | Shot-based view files for trick play mode in a network-based video delivery system | |
CN108616769B (en) | Video-on-demand method and device | |
CN103533444A (en) | Method and device for supporting time-shifting playing | |
CN114666565B (en) | Multi-view video playing method, device and storage medium | |
EP3343929A1 (en) | Method for storing audio/video data and corresponding device | |
WO2019100631A1 (en) | Video playing method, apparatus and system, and storage medium | |
CN108574881B (en) | Projection type recommendation method, server and client | |
CN110225370B (en) | Timeline control method for personalized presentation of multimedia content |
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 |