CN115883856A - Live wheat-connecting method and device, electronic equipment, medium and program product - Google Patents

Live wheat-connecting method and device, electronic equipment, medium and program product Download PDF

Info

Publication number
CN115883856A
CN115883856A CN202111130158.7A CN202111130158A CN115883856A CN 115883856 A CN115883856 A CN 115883856A CN 202111130158 A CN202111130158 A CN 202111130158A CN 115883856 A CN115883856 A CN 115883856A
Authority
CN
China
Prior art keywords
picture
anchor
target
live
live broadcast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111130158.7A
Other languages
Chinese (zh)
Inventor
龙凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology 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 Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202111130158.7A priority Critical patent/CN115883856A/en
Priority to PCT/CN2022/113548 priority patent/WO2023045651A1/en
Publication of CN115883856A publication Critical patent/CN115883856A/en
Pending legal-status Critical Current

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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Abstract

The application relates to a live broadcast method, a live broadcast device, electronic equipment, a medium and a program product, which are applied to the technical field of live broadcast, wherein the method comprises the following steps: acquiring a target live broadcast stream generated based on confluence of a first live broadcast stream of a first anchor and a second live broadcast stream of a second anchor; the second main broadcast is a main broadcast connected with the first main broadcast; copying a live broadcast picture in a target live broadcast stream to obtain a copied picture corresponding to the live broadcast picture; cutting out a first target picture containing a first anchor from the live picture, cutting out a second target picture containing a second anchor from the copied picture, and displaying the first target picture and the second target picture. The method and the device can improve the display effect of the picture in live broadcasting with wheat.

Description

Live wheat-connecting method and device, electronic equipment, medium and program product
Technical Field
The present application relates to the field of live broadcast technologies, and in particular, to a live broadcast method and apparatus, an electronic device, a medium, and a program product.
Background
In the live broadcasting process, two anchor broadcasters can interact in a way of connecting with the wheat, and audiences enter a live broadcasting room of connecting with the wheat and can see live broadcasting pictures of the two anchor broadcasters simultaneously. That is, the live streams of the two anchor may be merged and displayed to the viewer. Since the resolution of the terminal devices used by different viewers is different, the merged screen needs to be clipped. In the related art, the merged picture can be directly clipped, however, the picture obtained by clipping in the method has a poor display effect.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the application provides a live telecast method, a live telecast device, an electronic device, a medium and a program product.
According to a first aspect of the present application, a live broadcast method with live broadcasting is provided, including:
acquiring a target live stream generated by confluence of a first live stream of a first anchor and a second live stream of a second anchor; the second anchor is an anchor connecting with the first anchor;
copying a live broadcast picture in the target live broadcast stream to obtain a copied picture corresponding to the live broadcast picture;
cutting out a first target picture containing the first anchor from the live broadcast picture, and cutting out a second target picture containing the second anchor from the copied picture;
and displaying the first target picture and the second target picture.
Optionally, cutting out a first target picture including the first anchor from the live picture, and cutting out a second target picture including the second anchor from the copy picture, includes:
cutting out a first target picture which enables the first anchor to be displayed in the middle from the live pictures;
and cutting out a second target picture which enables the second anchor to be displayed in the middle from the copied picture.
Optionally, cutting out a first target picture including the first anchor from the live picture, and cutting out a second target picture including the second anchor from the copy picture, includes:
cutting out a first target picture containing the first anchor from the live broadcast picture based on first position information of the first anchor in the live broadcast picture;
cutting out a second target picture containing the second anchor from the copied picture based on second position information of the second anchor in the live picture.
Optionally, the displaying the first target picture and the second target picture includes:
and splicing and displaying the first target picture and the second target picture according to a preset splicing and displaying mode.
Optionally, cutting out a first target picture including the first anchor from the live picture, and cutting out a second target picture including the second anchor from the copy picture, includes:
determining a first aspect ratio and a second aspect ratio based on the self screen resolution and the preset splicing display mode;
cutting out a first target picture which contains the first anchor and has the image aspect ratio of the first aspect ratio from the live broadcast picture;
and cutting out a second target picture which contains the second main broadcasting and has the image aspect ratio of the second aspect ratio from the copied picture.
Optionally, the copying a live broadcast picture in the target live broadcast stream to obtain a copied picture corresponding to the live broadcast picture includes:
and copying the live pictures in the target live stream in the first display layer to a second display layer to obtain copied pictures in the second display layer.
According to a second aspect of the present application, there is provided a live telecast apparatus, including:
the target live broadcast stream acquisition module is used for acquiring a target live broadcast stream generated based on confluence of a first live broadcast stream of a first anchor and a second live broadcast stream of a second anchor; the second anchor is an anchor connecting with the first anchor;
the picture copying module is used for copying a live broadcast picture in the target live broadcast stream to obtain a copied picture corresponding to the live broadcast picture;
the target picture cutting module is used for cutting out a first target picture containing the first anchor from the live picture and cutting out a second target picture containing the second anchor from the copied picture;
and the target picture display module is used for displaying the first target picture and the second target picture.
Optionally, the target picture clipping module is specifically configured to clip a first target picture that is displayed in the middle of the first anchor from the live view; and cutting out a second target picture which enables the second anchor to be displayed in the middle from the copied picture.
Optionally, the target picture cutting module is specifically configured to cut a first target picture including the first anchor from the live picture based on first position information of the first anchor in the live picture; cutting out a second target picture containing the second anchor from the copied picture based on second position information of the second anchor in the live picture.
Optionally, the target picture display module is specifically configured to display the first target picture and the second target picture in a splicing manner according to a preset splicing display manner.
Optionally, the target picture cropping module is specifically configured to determine a first aspect ratio and a second aspect ratio based on a screen resolution of the target picture cropping module and the preset splicing display mode; cutting out a first target picture which contains the first anchor and has the image aspect ratio of the first aspect ratio from the live picture; and cutting out a second target picture which contains the second anchor and has the image aspect ratio of the second aspect ratio from the copy picture.
Optionally, the picture copying module is specifically configured to copy a live picture in the target live stream on the first display layer to the second display layer, so as to obtain a copied picture on the second display layer.
According to a third aspect of the present application, there is provided an electronic device comprising: a processor for executing a computer program stored in a memory, the computer program, when executed by the processor, implementing the method of the first aspect.
According to a fourth aspect of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
According to a fifth aspect of the present application, there is provided a computer program product which, when run on a computer, causes the computer to perform the method of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
after a target live stream generated by merging a first live stream of a first anchor and a second live stream of a second anchor is obtained, a live frame in the target live stream can be copied to obtain a copied frame. Respectively cutting out a first target picture containing a first anchor from a live picture, cutting out a second target picture containing a second anchor from a copied picture, and simultaneously displaying the first target picture and the second target picture. According to the method and the device, the first target picture and the second target picture are cut out from the live broadcast picture and the copied picture respectively to serve as final pictures, and the final pictures are not directly cut out from the live broadcast picture, so that the edge positions of the whole live broadcast picture can be cut out, and other edge positions except for the first anchor and the second anchor can be cut out. Therefore, the method and the device can cut the pictures containing the first anchor and the second anchor more flexibly, so that the final display effect is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic diagram of live stream confluence in a live wheat-connecting process;
FIG. 2 is a diagram illustrating a cut-out of a live view in the related art;
fig. 3 is a schematic diagram illustrating a system architecture of an exemplary application environment to which the live webcast method according to the embodiment of the present application can be applied;
fig. 4 is a flowchart of a live webcast method in an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a live view being copied according to an embodiment of the present application;
FIG. 6 is a diagram illustrating a first target frame and a second target frame according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a live broadcast device with wheat connection in the embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order that the above objects, features and advantages of the present application may be more clearly understood, the scheme of the present application will be further described below. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, but the present application may be practiced in other ways than those described herein; it is to be understood that the embodiments described in this specification are only some embodiments of the present application and not all embodiments.
In the live broadcast process, a user can communicate with the main broadcast in a way of connecting with the wheat so as to increase the interest of live broadcast. Connecting the two broadcasters means that the two broadcasters open the audio and video for interaction in a connection mode, and the two live streams are converged and then provided for audiences to watch. The merging means that a plurality of live streams are merged according to a set layout through live merging service to synthesize a live stream.
Referring to fig. 1, fig. 1 is a schematic diagram of live stream confluence in a live broadcast and live wheat connecting process, the live broadcast room includes a main broadcast a and a main broadcast B, in the live broadcast process, a main broadcast end where the main broadcast a is located and a main broadcast end where the main broadcast B is located respectively generate a live stream a and a live stream B, and a live stream C is generated by converging the live stream a and the live stream B at a server and is displayed at a viewer. It can be seen that the live pictures seen by the viewer side, i.e., the picture including anchor a also includes the picture of anchor B, and the picture of anchor a and the picture of anchor B are displayed on the left and right sides of the screen.
Because the screen resolutions of different audience terminals are different, after receiving the live stream C, the audience terminal can cut the live frame in order to adapt to the screen of the audience terminal. Referring to fig. 2, fig. 2 is a schematic diagram of a live view clipping process in the related art, and it can be seen that, in the clipping process, an edge region of the entire live view is clipped, and a middle region of the entire live view is reserved. Thus, for a single anchor, the anchor is not in the middle of the area where the anchor is located, e.g., anchor a is in the left half of the entire picture and anchor a is not in the middle of the left half, anchor B is in the right half of the entire picture and anchor a is not in the middle of the right half. Therefore, the display effect of the cut picture is poor, and the live broadcast experience of the user is influenced.
In order to solve the above problem, embodiments of the present application provide a live broadcast method and apparatus, an electronic device, a medium, and a program product, which can improve a display effect of a cut picture.
Fig. 3 is a schematic diagram illustrating a system architecture of an exemplary application environment to which the live webcast method according to the embodiment of the present application may be applied.
As shown in fig. 3, system architecture 100 may include one or more of a broadcaster side 101, a broadcaster side 102, a viewer side 111, a viewer side 112, a viewer side 113, a network 120, and a server 130. Network 120 serves as a medium for providing communication links between spectator 111, spectator 112, spectator 113, and server 130. Network 120 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The spectator terminal 111, spectator terminal 112, spectator terminal 113 may be various electronic devices having display screens, including but not limited to desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the number of anchor, viewer, networks, and servers in fig. 1 is merely illustrative, and that any number of anchors, viewers, networks, and servers may be present, as desired for an implementation. For example, the server 130 may be a server cluster composed of a plurality of servers, and the like.
The live broadcasting method for connecting to the internet is generally executed by the audience 111, the audience 112 and the audience 113, and accordingly, live broadcasting devices for connecting to the internet can be arranged in the audience 111, the audience 112 and the audience 113. For example, in the live broadcasting process, the anchor terminal 101 and the anchor terminal 102 respectively generate a first live broadcasting stream of a first anchor and a second live broadcasting stream of a second anchor, and the server 130 merges the two live broadcasting streams after acquiring the first live broadcasting stream and the second live broadcasting stream, so as to generate a target live broadcasting stream, and sends the target live broadcasting stream to the audience terminal 111, the audience terminal 112, and the audience terminal 113. After the audience 111, the audience 112, and the audience 113 acquire the target live stream from the server 130, the live frame of the target live stream is cut by the live broadcast method provided in the embodiment of the present application, so as to obtain a first target frame and a second target frame, and the first target frame and the second target frame are displayed.
Referring to fig. 4, fig. 4 is a flowchart of a live broadcasting method with live broadcasting, which may include the following steps:
step S410, acquiring a target live stream generated based on confluence of a first live stream of a first anchor and a second live stream of a second anchor; the second anchor is an anchor connecting to the first anchor.
Step S420, copy the live broadcast frame in the target live broadcast stream to obtain a copy frame corresponding to the live broadcast frame.
Step S430 is to cut out a first target picture including a first anchor from the live broadcast picture, and cut out a second target picture including a second anchor from the copy picture.
Step S440, displaying the first target frame and the second target frame.
According to the live broadcasting method, after the target live broadcasting stream generated by confluence of the first live broadcasting stream of the first anchor and the second live broadcasting stream of the second anchor is obtained, the live broadcasting picture in the target live broadcasting stream can be copied to obtain the copied picture. Cutting out a first target picture containing a first anchor from the live picture, cutting out a second target picture containing a second anchor from the copied picture, and simultaneously displaying the first target picture and the second target picture. According to the method and the device, the first target picture and the second target picture are cut out from the live broadcast picture and the copied picture respectively to serve as final pictures, and the final pictures are not directly cut out from the live broadcast picture, so that the edge positions of the whole live broadcast picture can be cut out, and other edge positions except for the first anchor and the second anchor can be cut out. Therefore, the method and the device can cut the pictures containing the first anchor and the second anchor more flexibly, so that the final display effect is improved.
The technical scheme of the embodiment of the application is described in detail as follows:
in step S410, a target live stream generated based on a confluence of a first live stream of a first anchor and a second live stream of a second anchor is acquired; the second anchor is an anchor connecting to the first anchor.
In the embodiment of the application, the first main broadcast and the second main broadcast are main broadcasts for connecting with the wheat in the same live broadcast room. If the first main broadcast is a connected main broadcast and the second main broadcast is a connected main broadcast, the number of the second main broadcasts can be one or more. That is, multiple users can simultaneously connect to the main broadcast of the live broadcast room.
A first anchor end where the first anchor is located can generate a first live stream in a live broadcasting process, namely, a video stream containing the first anchor, and a second anchor end where the second anchor is located can generate a second live stream in the live broadcasting process, namely, a video stream containing the second anchor. The first anchor terminal and the second anchor terminal respectively upload the first live stream and the second live stream to the server, and the server merges the first live stream and the second live stream to generate a target live stream and sends the target live stream to the audience terminal. Therefore, the target live broadcast stream acquired by the audience is generated by merging the first live broadcast stream and the second live broadcast stream.
In step S420, a live view in the target live stream is copied to obtain a copy view corresponding to the live view.
The target live broadcast stream comprises a plurality of video frames, each video frame is provided with a live broadcast picture, the processing mode of each live broadcast picture is the same, and a live broadcast picture is taken as an example for explanation. It is understood that the live pictures of the target video stream may include both pictures of the first anchor and pictures of the second anchor. In order to respectively cut out a picture containing a first anchor and a picture containing a second anchor, namely respectively cut out two pictures instead of directly cutting out one picture containing the first anchor and the second anchor at one time, the method and the device can be used for copying the live pictures to obtain copied pictures which are completely the same as the live pictures.
Since the live View is usually displayed in a display layer (e.g., view), if the live View is located in a first display layer, the live View in the target live stream of the first display layer can be copied to a second display layer, resulting in a copied View in the second display layer. Fig. 5 is a schematic diagram of copying a live view in the embodiment of the present application, and it can be seen that the live view and the copied view are respectively on two different display layers, and the live view and the copied view are completely the same.
In step S430, a first target screen including a first anchor is cut out from the live view, and a second target screen including a second anchor is cut out from the copy view.
In this embodiment of the present application, a first live stream uploaded by a first anchor terminal and a second live stream uploaded by a second anchor terminal may carry SEI (Supplemental Enhancement Information), that is, the first anchor terminal may add SEI Information to the first live stream and the second live stream when the first anchor terminal generates the first live stream and the second anchor terminal generates the second live stream, respectively. The SEI information may include: encoder parameters, video copyright information, live picture related information (e.g., location information of the anchor), and so forth. In an alternative embodiment, a first target frame containing the first anchor may be cut out from the live broadcast frame based on first position information of the first anchor in the live broadcast frame, and a second target frame containing the second anchor may be cut out from the copied frame based on second position information of the second anchor in the live broadcast frame.
In yet another alternative embodiment, image recognition may be performed on the live broadcast pictures to identify a first target picture containing the first anchor and a second target picture containing the second anchor.
It is understood that the first target picture and the second target picture may not contain redundant edge areas beyond the first anchor and the second anchor, compared to before cropping, i.e. the percentage of the first anchor in the first target picture is increased and the percentage of the second anchor in the second target picture is increased. Therefore, the watching experience in the live broadcasting process can be improved.
In addition, in order to improve the display effect of the first anchor and the second anchor in the final picture, prevent the first anchor from appearing at the edge position of the first target picture, and prevent the second anchor from appearing at the edge position of the second target picture, for example, as shown in fig. 2, during the cropping, the first target picture displayed in the middle of the first anchor may be cropped from the live broadcast picture, and the second target picture displayed in the middle of the second anchor may be cropped from the copy picture. That is, the first anchor is located in the middle of the first target screen, and the second anchor is located in the middle of the second target screen, and the centering display described in this application may be a relatively centering display, that is, may not be a completely centering display.
In the embodiment of the application, the first target picture and the second target picture matched with different audiences can be cut. Specifically, the spectator end may determine the first aspect ratio and the second aspect ratio based on the screen resolution of the spectator end and the preset tiled display mode. The screen aspect ratio may be determined based on the screen resolution, and the first aspect ratio and the second aspect ratio may be determined based on the screen aspect ratio and a preset tiled display mode. Wherein the first aspect ratio may be an aspect ratio of the first target picture and the second aspect ratio may be an aspect ratio of the second target picture. And assuming that the first target picture and the second target picture are displayed in a left-right splicing manner, the first target picture and the second target picture respectively occupy half of the screen, and the first aspect ratio and the second aspect ratio are equal.
Then, a first target screen including the first anchor and having the image aspect ratio of the first aspect ratio may be cut out from the live view, and a second target screen including the second anchor and having the image aspect ratio of the second aspect ratio may be cut out from the copy view.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating a first target picture and a second target picture in the embodiment of the present application, where a first target picture (a left half area of a gray area) and a second target picture (a right half area of the gray area) where a anchor a and an anchor B are located are displayed in a left-right splicing manner. It can be seen that the final picture after stitching matches the screen resolution. Moreover, the anchor A is displayed in the left half area in a centered mode, and the anchor B is displayed in the right half area in a centered mode, so that a good display effect is achieved, and therefore live broadcast experience can be improved.
In step S440, the first target screen and the second target screen are displayed.
In the embodiment of the present application, displaying the first target picture and the second target picture means displaying the first target picture and the second target picture at the same time. In an alternative embodiment, the first target picture and the second target picture may be displayed in a large window, that is, one of the first target picture and the second target picture is displayed in a large window (the largest display window of the live broadcast picture), the other pictures are displayed in a small window, and when the viewer clicks a different picture, the large window and the small window may be switched. For example, the number of the second anchor is 2, and then the number of the second target pictures is also 2. If the first target picture is displayed according to the large window and the two second target pictures are displayed according to the small windows, the second target picture is switched from the small window to the large window and the first target picture is switched from the large window to the small window after the audience clicks one of the second target pictures.
In yet another alternative embodiment, the first target picture and the second target picture may be displayed in a preset splicing display manner. The preset splicing display mode is determined based on the total number of the first target picture and the second target picture, namely the total number of the first anchor and the second anchor. For example, if the number of the first target pictures is 1 and the number of the second target pictures is 1, the first target pictures and the second target pictures can be displayed in a left-right splicing manner; if the number of the first target frames is 1 and the number of the second target frames is 2, the first target frames and the second target frames can be displayed in a splicing manner in an up-down-left-right manner, and the like.
According to the live broadcasting method, after the target live broadcasting stream generated by confluence of the first live broadcasting stream of the first anchor and the second live broadcasting stream of the second anchor is obtained, the live broadcasting picture in the target live broadcasting stream can be copied to obtain the copied picture. And based on the first position information of the first anchor in the live broadcast picture, cutting out a first target picture which is displayed in the middle of the first anchor and is matched with the screen resolution of a viewer end from the live broadcast picture, based on the second position information of the second anchor in the live broadcast picture, cutting out a second target picture which is displayed in the middle of the second anchor and is matched with the screen resolution from the copied picture, and splicing and displaying the first target picture and the second target picture. The method and the device have the advantages that the first target picture displayed in the middle of the first anchor and the second target picture displayed in the middle of the second anchor are used as final pictures and matched with audience ends with different screen resolutions respectively by cutting out the live broadcast picture and the copied picture, and accordingly final display effect can be improved.
Corresponding to the foregoing method embodiment, an embodiment of the present application further provides a live broadcasting device with live broadcasting, and referring to fig. 7, the live broadcasting device with live broadcasting 700 with live broadcasting includes:
a target live stream acquiring module 710, configured to acquire a target live stream generated based on a confluence of a first live stream of a first anchor and a second live stream of a second anchor; the second anchor is an anchor connecting with the first anchor;
the picture copying module 720 is configured to copy a live picture in the target live stream to obtain a copied picture corresponding to the live picture;
the target picture cutting module 730 is used for cutting out a first target picture containing a first anchor from a live picture and cutting out a second target picture containing a second anchor from a copied picture;
and a target frame display module 740 configured to display the first target frame and the second target frame.
Optionally, the target picture clipping module 730 is specifically configured to clip a first target picture displayed in the middle of the first anchor from the live broadcast picture; a second target screen for displaying the second anchor in the center is cut out from the copy screen.
Optionally, the target picture cutting module 730 is specifically configured to cut out a first target picture including the first anchor from the live broadcast picture based on first position information of the first anchor in the live broadcast picture; and cutting out a second target picture containing the second anchor from the copied picture based on second position information of the second anchor in the live picture.
Optionally, the target image display module 740 is specifically configured to display the first target image and the second target image in a splicing manner according to a preset splicing display manner.
Optionally, the target picture clipping module 730 is specifically configured to determine the first aspect ratio and the second aspect ratio based on the screen resolution of the target picture and a preset splicing display mode; cutting out a first target picture which contains a first anchor and has a first aspect ratio of an image from a live broadcast picture; a second target screen including a second anchor and having an image aspect ratio of a second aspect ratio is cut out from the copy screen.
Optionally, the picture copying module 720 is specifically configured to copy a live picture in the target live stream located in the first display layer to the second display layer, so as to obtain a copied picture located in the second display layer.
The specific details of each module or unit in the above device have been described in detail in the corresponding method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In an exemplary embodiment of the present application, there is also provided an electronic device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the live webcast method in the present exemplary embodiment.
Fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present application. It should be noted that the electronic device 800 shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments.
As shown in fig. 8, the electronic apparatus 800 includes a Central Processing Unit (CPU) 801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for system operation are also stored. The central processing unit 801, ROM 802, and RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a Local Area Network (LAN) card, modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. When the computer program is executed by the central processing unit 801, various functions defined in the apparatus of the present application are executed.
In an embodiment of the present application, a computer-readable storage medium is further provided, where a computer program is stored, and when the computer program is executed by a processor, the method for live broadcasting with connected microphones is implemented.
It should be noted that the computer readable storage medium shown in the present application can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, radio frequency, etc., or any suitable combination of the foregoing.
In an embodiment of the present application, a computer program product is further provided, and when the computer program product runs on a computer, the computer is enabled to execute the foregoing live broadcasting method.
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A live broadcast method with continuous wheat is characterized by comprising the following steps:
acquiring a target live broadcast stream generated based on confluence of a first live broadcast stream of a first anchor and a second live broadcast stream of a second anchor; the second anchor is an anchor connecting to the first anchor;
copying a live broadcast picture in the target live broadcast stream to obtain a copied picture corresponding to the live broadcast picture;
cutting out a first target picture containing the first anchor from the live picture, and cutting out a second target picture containing the second anchor from the copied picture;
and displaying the first target picture and the second target picture.
2. The method of claim 1, wherein cropping a first target picture comprising the first anchor from the live picture and cropping a second target picture comprising the second anchor from the duplicate picture comprises:
and cutting out a first target picture which enables the first anchor to be displayed in the middle from the live broadcast picture, and cutting out a second target picture which enables the second anchor to be displayed in the middle from the copy picture.
3. The method of claim 1, wherein cropping a first target picture comprising the first anchor from the live picture and cropping a second target picture comprising the second anchor from the duplicate picture comprises:
cutting out a first target picture containing the first anchor from the live broadcast picture based on first position information of the first anchor in the live broadcast picture;
and cutting out a second target picture containing the second anchor from the copied picture based on second position information of the second anchor in the live picture.
4. The method of claim 1, wherein the displaying the first target screen and the second target screen comprises:
and splicing and displaying the first target picture and the second target picture according to a preset splicing and displaying mode.
5. The method of claim 4, wherein cutting out a first target picture containing the first anchor from the live picture and a second target picture containing the second anchor from the duplicate picture comprises:
determining a first aspect ratio and a second aspect ratio based on the self screen resolution and the preset splicing display mode;
cutting out a first target picture which contains the first anchor and has the image aspect ratio of the first aspect ratio from the live broadcast picture;
and cutting out a second target picture which contains the second anchor and has the image aspect ratio of the second aspect ratio from the copy picture.
6. The method of claim 1, wherein copying a live view in the target live stream to obtain a copied view corresponding to the live view comprises:
and copying the live broadcast picture in the target live broadcast stream in the first display layer to a second display layer to obtain a copied picture in the second display layer.
7. A live wheat connection device, comprising:
the target live broadcast stream acquisition module is used for acquiring a target live broadcast stream generated based on confluence of a first live broadcast stream of a first anchor and a second live broadcast stream of a second anchor; the second anchor is an anchor connecting with the first anchor;
the picture copying module is used for copying a live broadcast picture in the target live broadcast stream to obtain a copied picture corresponding to the live broadcast picture;
the target picture cutting module is used for cutting out a first target picture containing the first anchor from the live broadcast picture and cutting out a second target picture containing the second anchor from the copied picture;
and the target picture display module is used for displaying the first target picture and the second target picture.
8. An electronic device, comprising: a processor for executing a computer program stored in a memory, the computer program, when executed by the processor, implementing the steps of the method of any of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that it causes a computer to carry out the steps of the method according to any one of claims 1 to 6 when said computer program product is run on the computer.
CN202111130158.7A 2021-09-26 2021-09-26 Live wheat-connecting method and device, electronic equipment, medium and program product Pending CN115883856A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111130158.7A CN115883856A (en) 2021-09-26 2021-09-26 Live wheat-connecting method and device, electronic equipment, medium and program product
PCT/CN2022/113548 WO2023045651A1 (en) 2021-09-26 2022-08-19 Livestreaming voice chat method and apparatus, electronic device, medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111130158.7A CN115883856A (en) 2021-09-26 2021-09-26 Live wheat-connecting method and device, electronic equipment, medium and program product

Publications (1)

Publication Number Publication Date
CN115883856A true CN115883856A (en) 2023-03-31

Family

ID=85720019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111130158.7A Pending CN115883856A (en) 2021-09-26 2021-09-26 Live wheat-connecting method and device, electronic equipment, medium and program product

Country Status (2)

Country Link
CN (1) CN115883856A (en)
WO (1) WO2023045651A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10237581B2 (en) * 2016-12-30 2019-03-19 Facebook, Inc. Presentation of composite streams to users
CN109151497B (en) * 2018-08-06 2021-09-21 广州虎牙信息科技有限公司 Live wheat-connecting method and device, electronic equipment and storage medium
CN110798697B (en) * 2019-11-22 2021-11-23 广州方硅信息技术有限公司 Video display method, device and system and electronic equipment
CN113038220A (en) * 2019-12-25 2021-06-25 中国电信股份有限公司 Program directing method, program directing system, program directing apparatus, and computer-readable storage medium
CN113225577B (en) * 2021-05-07 2022-10-11 北京百度网讯科技有限公司 Live stream processing method, device and system, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2023045651A1 (en) 2023-03-30

Similar Documents

Publication Publication Date Title
CA2823301C (en) Network media device with code recognition
US11317144B2 (en) Detection of mute and compensation therefor during media replacement event
EP3562163A1 (en) Audio-video synthesis method and system
CN110868625A (en) Video playing method and device, electronic equipment and storage medium
US20110119722A1 (en) Method and System for Providing Complete Internet Anywhere with Partial Server Processing
US11765426B2 (en) Modifying playback of replacement content based on control messages
CN112543344B (en) Live broadcast control method and device, computer readable medium and electronic equipment
US20190371023A1 (en) Method and apparatus for generating multimedia content, and device therefor
CN108810580B (en) Media content pushing method and device
US11895370B2 (en) Modifying playback of replacement content responsive to detection of remote control signals that control a device providing video to the playback device
US20220201265A1 (en) Modifying playback of replacement content responsive to detection of remote control signals that modify operation of the playback device
KR101404251B1 (en) System of displaying additional service information of contents by assistance terminal and method of the same
US20150326844A1 (en) Quantifiable stereoscopic three-dimensional video evaluation methodology
CN111506241A (en) Special effect display method and device for live broadcast room, electronic equipment and computer medium
EP3029952A1 (en) Display apparatus, method of displaying channel list performed by the same, server, and control method performed by the server
CN115883856A (en) Live wheat-connecting method and device, electronic equipment, medium and program product
EP3522525B1 (en) Method and apparatus for processing video playing
CN111913761B (en) Plug-in processing method, device, equipment and storage medium for live channel
CN113411636A (en) Live wheat-connecting method and device, electronic equipment and computer-readable storage medium
US20110162023A1 (en) Method and system for providing correlated advertisement for complete internet anywhere
CN116708867B (en) Live broadcast data processing method, device, equipment and storage medium
CN115243064B (en) Live broadcast control method, device, equipment and storage medium
KR20170112244A (en) System for providing real toon
CN115474072A (en) Content collaborative distribution processing method, device and equipment for multiple terminal equipment
CN113766255A (en) Video stream merging method and device, electronic equipment and computer medium

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