CN107105311B - Live broadcasting method and device - Google Patents

Live broadcasting method and device Download PDF

Info

Publication number
CN107105311B
CN107105311B CN201710379542.8A CN201710379542A CN107105311B CN 107105311 B CN107105311 B CN 107105311B CN 201710379542 A CN201710379542 A CN 201710379542A CN 107105311 B CN107105311 B CN 107105311B
Authority
CN
China
Prior art keywords
video
picture
mirror image
live
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710379542.8A
Other languages
Chinese (zh)
Other versions
CN107105311A (en
Inventor
李志刚
林锦滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710379542.8A priority Critical patent/CN107105311B/en
Publication of CN107105311A publication Critical patent/CN107105311A/en
Application granted granted Critical
Publication of CN107105311B publication Critical patent/CN107105311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present disclosure relates to live broadcast methods and apparatus. The method comprises the following steps: acquiring at least one picture in a live video; when the display content of at least one picture meets the preset condition, acquiring a mirror image conversion video for display, wherein the mirror image conversion video is a video obtained by performing horizontal mirror image conversion on a live video. According to the technical scheme, when the content which can be correctly understood by a horizontal mirror transformation party is included in the live video, the live video is subjected to horizontal mirror transformation to obtain the mirror transformation video, so that when the mirror transformation video is displayed to audiences, the audiences can easily understand the content, and the user experience is improved.

Description

Live broadcasting method and device
Technical Field
The present disclosure relates to the field of live broadcast technologies, and in particular, to a live broadcast method and apparatus.
Background
With the development of the technology, the functions of mobile terminals such as mobile phones are gradually enriched, and many users directly use the mobile terminals to perform live broadcasting. When the live broadcast is carried out, a user can shoot the live broadcast video by using a front camera device on the mobile terminal or a rear camera device on the mobile terminal, and the live broadcast video is uploaded to the server, so that audiences can download and watch the live broadcast picture from the server through other terminals.
Disclosure of Invention
To overcome the problems in the related art, embodiments of the present disclosure provide a live broadcast method and apparatus. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a live broadcast method, including:
acquiring at least one picture in a live video;
when the display content of at least one picture meets the preset condition, acquiring a mirror image conversion video for display, wherein the mirror image conversion video is a video obtained by performing horizontal mirror image conversion on a live video.
According to the technical scheme, at least one picture in a live video is obtained, and when the display content of the at least one picture meets the preset condition, the mirror image conversion video for display is obtained. According to the technical scheme, when the content which can be correctly understood by a horizontal mirror transformation party is included in the live video, the live video is subjected to horizontal mirror transformation to obtain the mirror transformation video, so that when the mirror transformation video is displayed to audiences, the audiences can easily understand the content, and the user experience is improved.
In one embodiment, when it is determined that the display content of at least one picture meets a preset condition, acquiring a mirror-image-converted video, including:
and when the number of the character pictures in at least one picture is larger than or equal to a first picture number threshold value, acquiring a mirror image transformation video, wherein the character pictures are pictures of which the display contents comprise characters.
In the technical scheme provided by the embodiment of the disclosure, when the number of character pictures in at least one picture acquired from a live video is determined to be excessive, a mirror image transformation video for display is acquired. Because the text image comprises the text which is difficult to understand and subjected to horizontal mirror image conversion, the difficulty of understanding the content of the live video containing excessive text images by the audience is increased when the live video is directly displayed. In the mirror image transformation video, the characters in the character picture can be normally understood after horizontal mirror image transformation, so that when the mirror image transformation video is displayed, audiences can easily understand the contents in the character picture, and the user experience is improved.
In one embodiment, when it is determined that the display content of at least one picture meets a preset condition, acquiring a mirror-image-converted video, including:
and when the number of the multiple object pictures in at least one picture is determined to be larger than or equal to a second picture number threshold value, acquiring the mirror image transformation video, wherein the multiple object pictures are pictures with the number of the objects in the display content larger than or equal to the object number threshold value.
In the technical scheme provided by the embodiment of the disclosure, when the number of multiple object pictures in at least one picture acquired from a live video is determined to be too large, a mirror image conversion video for display is acquired, and because the multiple object pictures are directly displayed, the displayed pictures are subjected to horizontal mirror image conversion, the position relation among the multiple objects cannot be correctly reflected.
In one embodiment, a live broadcast method provided by an embodiment of the present disclosure further includes:
acquiring a mirror image transformation instruction;
when the display content of at least one picture is determined to meet a preset condition, acquiring a mirror image transformation video for display, wherein the method comprises the following steps:
and when the display content of at least one picture is determined to meet the preset condition, acquiring the mirror image transformation video in response to the mirror image transformation instruction.
According to the technical scheme, the mirror image conversion instruction is obtained, when the display content of at least one picture meets the preset condition, the mirror image conversion video is obtained in response to the mirror image conversion instruction, so that a user can control whether the video used for display is the video subjected to horizontal mirror image conversion, the space selected by the user during live broadcasting is increased, and the user experience is improved.
In one embodiment, when it is determined that the display content of at least one picture satisfies a preset condition, acquiring a mirror-converted video in response to a mirror-conversion instruction includes:
and when the display content of at least one picture meets the preset condition and the live video is determined to be the video acquired by the front camera device of the terminal, responding to the acquired mirror image conversion instruction to acquire the mirror image conversion video.
According to the technical scheme, when the display content of at least one picture meets the preset condition and the live video is determined to be the video collected through the front camera device of the terminal, the mirror image transformation video is obtained in response to the mirror image transformation obtaining instruction, and the scheme can ensure that only the video collected through the front camera device of the terminal is subjected to horizontal mirror image transformation to obtain the mirror image transformation video, so that resources consumed during live broadcasting are reduced, and user experience is improved.
According to a second aspect of embodiments of the present disclosure, there is provided a live device, including:
the picture acquisition module is used for acquiring at least one picture in the live video;
and the mirror image conversion module is used for acquiring a mirror image conversion video for display when the display content of at least one picture meets the preset condition, wherein the mirror image conversion video is obtained by performing horizontal mirror image conversion on the live video.
In one embodiment, a mirror transform module, comprising:
and the character transformation submodule is used for acquiring a mirror image transformation video when the number of character pictures in at least one picture is greater than or equal to a first picture number threshold value, wherein the character pictures are pictures of which the display contents comprise characters.
In one embodiment, a mirror transform module, comprising:
and the multi-object transformation submodule is used for acquiring the mirror image transformation video when the number of the multi-object pictures in at least one picture is determined to be larger than or equal to a second picture number threshold, wherein the multi-object pictures are pictures with the number of the objects in the display content larger than or equal to the object number threshold.
In one embodiment, the live device further comprises:
the instruction acquisition module is used for acquiring a mirror image transformation instruction;
a mirror transformation module comprising:
and the instruction response submodule is used for responding to the mirror image conversion instruction to acquire the mirror image conversion video when the display content of at least one picture meets the preset condition.
In one embodiment, the command response submodule includes:
and the instruction response unit is used for responding to the obtained mirror image conversion instruction to obtain the mirror image conversion video when the display content of at least one picture meets the preset condition and the live video is determined to be the video collected by the front camera device of the terminal.
According to a third aspect of embodiments of the present disclosure, there is provided a live broadcast apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring at least one picture in a live video;
when the display content of at least one picture meets the preset condition, acquiring a mirror image conversion video for display, wherein the mirror image conversion video is a video obtained by performing horizontal mirror image conversion on a live video.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions, characterized in that the instructions, when executed by a processor, implement the steps in the live broadcast method provided by the first aspect of the embodiments of the present disclosure.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1a is a diagram of an application scenario of a live method shown in accordance with an exemplary embodiment;
FIG. 1b is an application scenario diagram 2 illustrating a live method according to an exemplary embodiment;
FIG. 1c is an application scenario diagram 3 illustrating a live method according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a live method according to an exemplary embodiment;
FIG. 3a is a flowchart illustration 1 of a live method shown in accordance with an exemplary embodiment;
FIG. 3b is an application scenario diagram 4 illustrating a live method according to an exemplary embodiment;
FIG. 3c is a flowchart illustration 2 of a live method shown in accordance with an exemplary embodiment;
FIG. 3d is a flowchart illustration 3 of a live method shown in accordance with an exemplary embodiment;
FIG. 3e is a flowchart illustration 4 of a live method shown in accordance with an exemplary embodiment;
FIG. 3f is a flowchart illustration 5 of a live method, shown in accordance with an exemplary embodiment;
FIG. 4a is a flowchart illustration 1 of a live method shown in accordance with an exemplary embodiment;
FIG. 4b is a flowchart illustration 2 of a live method shown in accordance with an exemplary embodiment;
FIG. 4c is a flowchart illustration 3 of a live method shown in accordance with an exemplary embodiment;
FIG. 4d is a flowchart illustration 4 of a live method shown in accordance with an exemplary embodiment;
FIG. 4e is a flowchart illustration 5 of a live method, shown in accordance with an exemplary embodiment;
FIG. 5a is a flowchart illustration 1 of a live method shown in accordance with an exemplary embodiment;
FIG. 5b is a flowchart illustration 2 of a live method shown in accordance with an exemplary embodiment;
FIG. 5c is a flowchart illustration 3 of a live method shown in accordance with an exemplary embodiment;
FIG. 5d is a flowchart illustration 4 of a live method shown in accordance with an exemplary embodiment;
FIG. 5e is a flowchart illustration 5 of a live method, shown in accordance with an exemplary embodiment;
FIG. 6 is a flow diagram illustrating a live method in accordance with an exemplary embodiment;
FIG. 7 is a flow diagram illustrating a live method in accordance with an exemplary embodiment;
FIG. 8 is a flow diagram illustrating a live method in accordance with an exemplary embodiment;
fig. 9a is a schematic structural diagram 1 illustrating a live device according to an exemplary embodiment;
FIG. 9b is a block diagram 2 illustrating a live device according to an example embodiment;
FIG. 9c is a block diagram 3 illustrating a live device according to an example embodiment;
FIG. 9d is a block diagram 4 illustrating a live device according to an example embodiment;
fig. 9e is a block diagram 5 illustrating a live device according to an example embodiment;
FIG. 10 is a block diagram illustrating an apparatus in accordance with an exemplary embodiment;
FIG. 11 is a block diagram illustrating an apparatus in accordance with an exemplary embodiment;
FIG. 12 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
With the rapid development of science and technology and the continuous improvement of living standard of people, live broadcast is more and more popular in recent years, and the live broadcast can create strong sense of scene, so that audiences can form a deep impression when watching the live broadcast. In the related art, many users directly use terminals such as mobile phones and tablet computers to perform live broadcasting.
The technical scheme provided by the embodiment of the disclosure relates to three parties as shown in fig. 1 a: the mobile terminal includes a first terminal 111, a server 100, and a second terminal 102, where the first terminal 111 and the second terminal 102 may be a mobile phone, a tablet computer, a smart wearable device, a television, or a computer, and other devices capable of interacting with the server 100, and this is not limited in the embodiments of the present disclosure. The server 101 may be a device that provides a computing service and is provided and used by a live operator, or may be a device that provides a computing service and is provided and used by a network operator. The server 100 establishes data connections with the first terminal 111 and the second terminal 102 through a wireless communication network or a wired communication network, respectively. In the live broadcast, the anchor 103 may select to capture a live video using the first terminal 111 and upload the captured live video to the server 100, and the second terminal 102 may download the live video uploaded by the anchor from the server 100 and display the live video on the second terminal 102, so that the viewer can watch the live video.
In the related art, the terminal may display a video photographed by the terminal on a display screen of the terminal when the video is photographed by the front camera, in order to keep a user's own image seen through the display screen consistent with the user's own image seen in a mirror, wherein the video displayed on the display screen of the terminal may be a video photographed by the front camera and horizontally mirrored. And if the anchor takes a video through a front camera device of the terminal, and the taken video is used for live broadcasting. The live video uploaded by the terminal can also be a video shot by a front camera and subjected to horizontal mirror image transformation. For example, fig. 1b is a schematic diagram of a live broadcast scene provided by an embodiment of the present disclosure, as shown in fig. 1b, when the anchor 103 uses the first terminal 101 to perform live broadcast, live broadcast software running on the first terminal 101 is in an anchor live broadcast mode, the front camera 111 on the first terminal 101 may shoot the anchor 103, and display the shot video after performing horizontal mirror transformation as a video collected by the first terminal 101 in a live broadcast interface of the live broadcast software, where an own image 121 seen by the anchor 103 in the interface of the live broadcast software is consistent with an own image seen by the anchor 103 in a mirror. Meanwhile, the first terminal 101 uploads the video collected by the first terminal to the server 100, the second terminal 102 downloads the video from the server, and when the live broadcast software running on the second terminal 102 is in a viewer watching mode, the video is played in an interface of the live broadcast software running on the second terminal 102, and at this time, the anchor image 112 seen by the viewer is consistent with the self image 121 seen by the anchor 103.
However, when the video collected by the first terminal includes content that can be correctly understood by the horizontal mirror transformation, if the video collected by the first terminal is directly displayed on the second terminal, difficulty in understanding the content in the live video by the audience is increased, and user experience is damaged. Illustratively, fig. 1c is a schematic diagram of a live scene provided by an embodiment of the present disclosure, as shown in fig. 1c, when the anchor 103 uses the first terminal 101 for live broadcasting, a video may be captured by the front camera 111 on the first terminal 101, where the captured video includes a live frame 113, and the live frame 113 includes characters, numbers, symbols, or the like. After horizontal mirror image transformation is carried out on a shot video by the first terminal 101 of the mobile phone, the shot video can be displayed in a live broadcast interface of live broadcast software running on the first terminal 101, wherein the displayed video comprises a live broadcast display picture 131, and the live broadcast display picture 131 comprises characters, numbers or symbols and the like after the horizontal mirror image transformation because the live broadcast display picture 131 is a live broadcast picture 113 after the horizontal mirror image transformation. Meanwhile, the first terminal 101 uploads the video including the live presentation screen 131 as a live video to the server 100, and the second terminal 102 downloads the live video from the server. When the live broadcast software running on the second terminal 102 is in the viewer viewing mode, the live broadcast video can be played in the interface of the live broadcast software, and the live broadcast video viewed by the viewer includes the live display picture 131. At this time, the live display screen 131 includes characters, numbers, symbols, or the like after horizontal mirroring conversion, and if the content is not horizontally mirrored again, it is difficult for the viewer to understand the content in the live video, thereby impairing the user experience.
In order to solve the above problem, in the technical solution provided in the embodiment of the present disclosure, at least one picture in a live video is acquired, and when it is determined that display content of the at least one picture satisfies a preset condition, a mirror image conversion video for display is acquired. Therefore, when the live video comprises the content which can be correctly understood through the horizontal mirror image transformation, the mirror image transformation video for display is obtained, so that when the mirror image transformation video is displayed to audiences, the audiences can easily understand the content, and the user experience is improved.
The embodiment of the disclosure provides a live broadcast method, which can be applied to a first terminal and also can be applied to a second terminal or a server. As shown in fig. 2, the light intensity information processing method includes the following steps 201 to 202:
in step 201, at least one picture in a live video is acquired.
Illustratively, when the method is applied to the first terminal, the live video may be a video acquired by the first terminal during live broadcasting; when the method is applied to the server, the live video can be a video uploaded to the server by the first terminal during live broadcasting; when the method is applied to the second terminal, the live video can be a video downloaded from the server by the second terminal. At least one picture in the live video is acquired, and the pictures with a preset number of frames can be selected from the live video according to a specified time interval, wherein the preset number is greater than or equal to 1.
In step 202, when it is determined that the display content of at least one picture meets a preset condition, a mirror-converted video for display is acquired.
The mirror image conversion video is a video obtained by performing horizontal mirror image conversion on a live video.
For example, it is determined that the display content of the at least one screen meets the preset condition, the display content of the at least one screen may include content that can be correctly understood by the horizontal mirror transformation, or the proportion of the screen that includes the content that can be correctly understood by the horizontal mirror transformation in the at least one screen is greater than a certain threshold. The content that can be correctly understood by the horizontal mirror transformation may include characters, numbers, symbols, or the like, and the embodiments of the present disclosure are not limited herein.
According to the technical scheme, at least one picture in a live video is obtained, and when the display content of the at least one picture meets the preset condition, the mirror image conversion video for display is obtained. According to the technical scheme, when the content which can be correctly understood by a horizontal mirror transformation party is included in the live video, the live video is subjected to horizontal mirror transformation to obtain the mirror transformation video, so that when the mirror transformation video is displayed to audiences, the audiences can easily understand the content, and the user experience is improved.
The embodiment of the disclosure provides a live broadcasting method, an execution main body implementing the method can be a first terminal, a second terminal or a server, wherein the first terminal can be a terminal for acquiring videos during live broadcasting, the second terminal can be a terminal for playing videos during live broadcasting, and the terminal can be a mobile terminal, such as a mobile phone or a tablet personal computer, and can also be a fixed terminal, such as a computer or a television. According to different implementation main bodies of the method, three sets of live broadcast implementation methods are arranged, and the method comprises the following steps:
first terminal side
Fig. 3a is a flowchart illustrating a live method according to an exemplary embodiment, and as shown in fig. 3a, the live method is used in a first terminal and includes the following steps 301 to 302:
in step 301, a first terminal obtains at least one picture in a live video.
Illustratively, the live video may be a video captured by the first terminal while live. For example, a live Application (APP) may be installed in the first terminal, and the first terminal may detect a live broadcast start instruction input by a user through an operation page of the live APP, and capture a live broadcast video according to the live broadcast start instruction. After the live broadcast video is acquired, the first terminal can select the pictures with the preset number of frames from the live broadcast video according to the specified time interval, and the pictures with the preset number of frames are used as at least one picture in the live broadcast video, wherein the specified time interval and the preset number can be preset in the first terminal, and can also be acquired by detecting click actions or sliding actions of a user in an operation page of a live broadcast APP.
In step 302, when it is determined that the display content of at least one picture meets a preset condition, a mirror image transformation video for display is acquired by the first terminal.
The mirror image conversion video is a video obtained by performing horizontal mirror image conversion on a live video.
For example, the first terminal may detect whether each of the at least one picture includes content that can be correctly understood by the horizontal mirroring, and may determine that the content displayed in the at least one picture satisfies the preset condition when it is determined that each of the at least one picture includes content that can be correctly understood by the horizontal mirroring or it is determined that a proportion of the at least one picture including content that can be correctly understood by the horizontal mirroring is higher in the at least one picture. The first terminal may also select a part of the pictures from the at least one picture according to a specified sampling ratio, and detect one by one whether the selected part of the pictures includes content that can be correctly understood by the horizontal mirror image transformation, and when it is determined that each of the selected part of the pictures includes content that can be correctly understood by the horizontal mirror image transformation, or it is determined that a proportion of the pictures including the content that can be correctly understood by the horizontal mirror image transformation in the selected part of the pictures is higher, it may be determined that the display content of the at least one picture satisfies a preset condition. It should be noted that, the content that can be correctly understood by the horizontal mirror transformation may include characters, numbers, symbols, or the like, and the embodiment of the disclosure is not limited herein.
For example, the mirror image conversion video for displaying may be obtained by performing horizontal mirror image conversion on a live video to obtain the mirror image conversion video, or may be obtained by obtaining a video identifier for indicating the live video, and determining, in a video library, the mirror image conversion video corresponding to the video identifier according to the video identifier. The horizontal mirror transformation may be to transform a picture of each frame in the live video with a vertical central axis of the picture as a center to a pixel in the picture. For example, when it is determined that the display content of at least one frame meets the preset condition, the width w and the length h of the frame in the live video may be obtained, and the position of the pixel in the frame of each frame in the live video may be transformed according to the following formula to obtain the mirror-transformed video:
x=w-x0-1
y=y0
wherein (x)0,y0) For the coordinates of the pixels in the picture of each frame in the live video before transformation, (x, y) for the coordinates of the pixels in the picture of each frame in the live video after transformation. The mirrored video may be for presentation on the first terminal, or may be transmitted by the first terminal to the server, downloaded from the server to the second terminal and for presentation on the second terminal.
Fig. 3b is a schematic diagram of a live scene provided by an embodiment of the present disclosure, and as shown in fig. 3b, when the method is applied to the first terminal 101, the first terminal 101 captures a video through the front camera 111, where the captured video includes a live frame 113, and the live frame 113 includes characters, numbers, or symbols. The first mobile phone terminal 101 may be used as a live video after performing horizontal mirroring on the captured video, and at this time, the live video includes a live frame 113 subjected to horizontal mirroring, so that the live frame 113 subjected to horizontal mirroring includes characters, numbers, symbols, and the like subjected to horizontal mirroring, and the above contents may be difficult for viewers to understand if being directly displayed. When the first terminal 101 acquires at least one picture in the live video and determines that the display content of the at least one picture meets a preset condition, the first terminal 101 may acquire a mirror-image-converted video for display, and upload the mirror-image-converted video to the server 100, where the mirror-image-converted video includes a mirror-image-converted picture 141, and the mirror-image-converted picture 141 includes characters, numbers, symbols, or the like that are horizontally mirrored again. The second terminal 102 downloads the mirror-converted video from the server. When the live broadcasting software running on the second terminal 102 is in the audience watching mode, the mirror image conversion video can be displayed in the interface of the live broadcasting software, and because characters, numbers or symbols in the mirror image conversion picture 141 are horizontally mirror-converted again, the audience can easily understand the contents.
According to the technical scheme provided by the embodiment of the disclosure, at least one picture in a live video is acquired by a first terminal, and when it is determined that the display content of the at least one picture meets a preset condition, a mirror image conversion video for display is acquired by the first terminal. According to the technical scheme, when the content which can be correctly understood by a horizontal mirror image transformation party is included in the live video, the first terminal performs horizontal mirror image transformation on the live video to obtain the mirror image transformation video, so that when the mirror image transformation video is displayed to audiences, the audiences can easily understand the content, and the user experience is improved.
In one embodiment, as shown in fig. 3c, in step 302, when it is determined that the display content of at least one screen satisfies the preset condition, acquiring, by the first terminal, a mirror-transformed video for display may be implemented by step 3021:
in step 3021, when it is determined that the number of text pictures in the at least one picture is greater than or equal to the first picture number threshold, obtaining, by the first terminal, a mirror-converted video.
Wherein, the text picture is a picture with display contents including texts.
For example, the first terminal may perform text recognition on the display content of each of the at least one picture one by one, and divide the at least one picture into a text picture group and a non-text picture group according to the recognition result, where the picture in the text picture group may be a picture whose display content includes text according to the recognition result; the pictures in the non-text picture group can be pictures which are determined to be the pictures with the display contents not including the text according to the identification result. The characters may be chinese characters, english letters, german letters, japanese characters, french letters, portuguese letters, spanish letters, numbers, symbols, and other characters or parts of characters, and the embodiments of the disclosure are not limited herein. When the number of pictures in the text picture group is greater than or equal to the first picture number threshold, the mirror image transformation video can be acquired. The first picture quantity threshold may be set in the first terminal in advance, or may be obtained by detecting a click action or a slide action of a user in an operation page of a live APP.
In the technical scheme provided by the embodiment of the disclosure, when the number of character pictures in at least one picture acquired from a live video is determined to be excessive, a mirror image transformation video for display is acquired by a first terminal. Because the text image comprises the text which is difficult to understand and subjected to horizontal mirror image conversion, the difficulty of understanding the content of the live video containing excessive text images by the audience is increased when the live video is directly displayed. In the mirror image transformation video, the characters in the character picture can be normally understood after horizontal mirror image transformation, so that when the mirror image transformation video is displayed, audiences can easily understand the contents in the character picture, and the user experience is improved.
In one embodiment, as shown in fig. 3d, in step 302, when it is determined that the display content of at least one screen satisfies the preset condition, acquiring, by the first terminal, a mirror-transformed video for display may be implemented by step 3022:
in step 3022, when it is determined that the number of multi-object pictures in the at least one picture is greater than or equal to the second picture number threshold, acquiring, by the first terminal, a mirror-converted video.
The multi-object picture is a picture with the number of objects in the display content being greater than or equal to the threshold value of the number of object pictures.
For example, the first terminal may perform object recognition on the display content of each of the at least one screen one by one, and divide the at least one screen into a plurality of screen groups according to the recognition result, where each screen group includes the corresponding object number identifier and the screen whose display content includes the number of objects indicated by the object number identifier, for example, the screen in the first screen group may be a screen whose display content includes a single object according to the recognition result, the screen in the second screen group may be a screen whose display content includes two objects according to the recognition result, the screen in the third screen group may be a screen whose display content includes three objects according to the recognition result, and so on. Wherein the object may be a human body, an animal, a plant, a vehicle or furniture, and the embodiments of the present disclosure are not limited thereto. And then the first terminal acquires an object quantity threshold value and determines a picture group to be counted in the plurality of picture groups according to the object quantity threshold value, wherein the picture group to be counted is the picture group of which the quantity indicated by the object quantity identifier in the plurality of picture groups is greater than or equal to the object quantity threshold value. When the number of pictures in the counted picture group is greater than or equal to the second picture threshold value, in order to facilitate a user to understand the relative position between different objects or the relative movement between different objects in the live video, the mirror-transformed video may be acquired. The object quantity threshold and the second picture quantity threshold may be set in the first terminal in advance, or may be obtained by detecting a click action or a slide action of the user in an operation page of the live APP.
In the technical scheme provided by the embodiment of the disclosure, when the number of multiple object pictures in at least one picture acquired from a live video is determined to be too large, the first terminal acquires a mirror image conversion video for display, and because the multiple object pictures are directly displayed, the displayed pictures are subjected to horizontal mirror image conversion, the position relation among the multiple objects cannot be correctly reflected, and the scheme can ensure that when the proportion of the pictures containing the multiple objects in the live video is higher, the first terminal acquires the mirror image conversion video obtained by performing horizontal mirror image conversion on the live video, so that the position relation among the multiple objects in the video can be correctly reflected when the mirror image conversion video is displayed, thereby improving user experience.
In one embodiment, as shown in fig. 3e, the live broadcasting method provided by the embodiment of the present disclosure further includes the following steps 303:
in step 303, the first terminal obtains a mirroring transformation instruction.
Illustratively, a live broadcast APP can be operated on a first terminal, when the first terminal is used for live broadcast, a mirror image transformation option can be displayed in an operation interface of the live broadcast APP, meanwhile, a click position of a user on an operation page can be monitored in real time, and if the click position of the user is matched with the mirror image transformation option, the first terminal confirms that a mirror image transformation instruction input by the user is received. Or, a preset operation mode corresponding to the mirror image transformation instruction may be set on the first terminal during initialization, where the preset operation mode may be a preset number of times of clicking a screen within a preset time period, or a preset number of times of clicking a physical key within a preset time period, and the like. When the first terminal is used for live broadcasting, the number of clicks on the operation page within a preset time period of a user can be monitored in real time, and if the number of clicks of the user is the same as the preset number, the first terminal confirms that a mirror image conversion instruction input by the user is received.
In step 302, when it is determined that the display content of at least one screen satisfies the preset condition, acquiring, by the first terminal, a mirror-image-converted video for display, which may be implemented by step 3023:
in step 3023, when it is determined that the presentation content of the at least one screen satisfies the preset condition, acquiring, by the first terminal, a mirror-converted video in response to the mirror-conversion instruction.
According to the technical scheme, the first terminal acquires the mirror image transformation instruction and determines that the display content of at least one picture meets the preset condition, the first terminal responds to the mirror image transformation instruction to acquire the mirror image transformation video, so that a user can control whether the video used for display is the video subjected to horizontal mirror image transformation, the space selected by the user during live broadcasting is increased, and the user experience is improved.
In one embodiment, as shown in fig. 3f, in step 3023, when it is determined that the display content of at least one screen satisfies the preset condition, acquiring a mirror-converted video by the first terminal in response to the mirror-conversion instruction may be implemented by step 30231:
in step 30231, when it is determined that the display content of the at least one screen satisfies the preset condition and the live video is the video captured by the front camera of the terminal, the first terminal obtains the mirror-converted video in response to the obtaining of the mirror-converted instruction.
Illustratively, a live broadcast APP can run on a first terminal, when the first terminal is used for live broadcast, a front camera option and a rear camera option can be selected in an operation page of the live broadcast APP, a click position of a user on the operation page is monitored in real time, and if the click position of the user is matched with a front camera, the first terminal acquires a video through the front camera; and if the click position of the user is matched with the rear camera device, the first terminal acquires a video through the rear camera device. When first terminal passes through back camera device and gathers the video, can be directly with the video of gathering through back camera device as live broadcast video, because above-mentioned live broadcast video does not change by horizontal mirror image, consequently need not first terminal and confirm whether it satisfies the condition of predetermineeing when live, can directly upload to the server. When first terminal was through preceding camera device collection video, can show on the display screen after carrying out horizontal mirror image transform with the video of camera device collection before through simultaneously to regard as live video with the video after the horizontal mirror image transform, and upload this live video, so that show this live video. When the live video is the video acquired by the front camera device of the terminal, the content which is difficult to understand due to horizontal mirror image transformation may exist in the live video, so that when the live video is determined to be the video acquired by the front camera device of the terminal and the display content of at least one picture meets the preset condition, the mirror image transformation video is acquired in response to the acquired mirror image transformation instruction. The mirror image transformation video can enable a user to easily understand the content of the mirror image transformation video during display.
According to the technical scheme, when the display content of at least one picture meets the preset condition and the live video is determined to be the video collected through the front camera device of the terminal, the first terminal responds to the mirror image conversion acquisition instruction to acquire the mirror image conversion video, and the scheme can ensure that only the video collected through the front camera device of the terminal is subjected to horizontal mirror image conversion to acquire the mirror image conversion video, so that resources consumed during live broadcasting are reduced, and user experience is improved.
Server side
Fig. 4a is a flowchart illustrating a live method according to an exemplary embodiment, where, as shown in fig. 4a, the live method is used in a first terminal and includes the following steps 401 to 402:
in step 401, a server obtains at least one picture in a live video.
For example, the live video may be a video uploaded to the server by the first terminal during live broadcasting. For example, when the server receives a main broadcast video uploaded by the first terminal, a preset number of frames of pictures may be selected from the live broadcast video according to a specified time interval, and the preset number of frames of pictures may be used as at least one picture in the live broadcast video, where the specified time interval and the preset number may be set in advance on the server, or may be obtained according to a specified time interval command and a preset number command sent by the first terminal or the second terminal, where the first terminal or the second terminal may obtain the specified time interval and the preset number input by the user by detecting a click action or a sliding action of the user in an operation page of the live broadcast APP, and send a preset number command indicating the preset number and a specified time interval command indicating the specified time interval to the server.
In step 402, when it is determined that the display content of at least one picture meets a preset condition, a mirror-converted video for display is acquired by a server.
For example, the server may detect whether each of the at least one picture includes content that can be correctly understood by the horizontal mirroring, and when it is determined that each of the at least one picture includes content that can be correctly understood by the horizontal mirroring, or it is determined that a proportion of the at least one picture including content that can be correctly understood by the horizontal mirroring is higher, it may be determined that the display content of the at least one picture satisfies a preset condition. The server may also select a part of the pictures from the at least one picture according to a specified sampling ratio, and detect one by one whether the selected part of the pictures includes content that can be correctly understood by the horizontal mirror transformation party, and when it is determined that each of the selected part of the pictures includes content that can be correctly understood by the horizontal mirror transformation party, or it is determined that a proportion of the pictures including the content that can be correctly understood by the horizontal mirror transformation party in the selected part of the pictures is higher, it may be determined that the display content of the at least one picture satisfies a preset condition. It should be noted that, the content that can be correctly understood by the horizontal mirror transformation may include characters, numbers, symbols, or the like, and the embodiment of the disclosure is not limited herein.
According to the technical scheme, at least one picture in live videos uploaded to a server by a first terminal is obtained, and when it is determined that display contents of the at least one picture meet preset conditions, a mirror image conversion video for display is obtained by the server. According to the technical scheme, when the content which can be correctly understood by a horizontal mirror transformation party is included in the live video, the server performs horizontal mirror transformation on the live video to obtain the mirror transformation video, so that when the mirror transformation video is displayed to audiences, the audiences can easily understand the content, and the user experience is improved.
In one embodiment, as shown in fig. 4b, in step 402, when it is determined that the display content of at least one screen satisfies a preset condition, acquiring, by a server, a mirror-transformed video for display may be implemented by step 4021:
in step 4021, when it is determined that the number of text pictures in at least one picture is greater than or equal to the first picture number threshold, obtaining, by the server, a mirror-converted video.
Wherein, the text picture is a picture with display contents including texts.
For example, the server may perform character recognition on the display content of each of the at least one picture one by one, and divide the at least one picture into a character picture group and a non-character picture group according to the recognition result, where the picture in the character picture group may be a picture whose display content includes characters according to the recognition result; the pictures in the non-text picture group can be pictures which are determined to be the pictures with the display contents not including the text according to the identification result. The characters may be chinese characters, english letters, german letters, japanese characters, french letters, portuguese letters, spanish letters, numbers, symbols, and other characters or parts of characters, and the embodiments of the disclosure are not limited herein. When the number of pictures in the text picture group is greater than or equal to the first picture number threshold, the mirror image transformation video can be acquired. The first picture quantity threshold value may be set in the server in advance, or may be obtained according to a first picture quantity threshold value command sent by the first terminal or the second terminal, where the first terminal or the second terminal may obtain the first picture quantity threshold value input by the user by detecting a click action or a sliding action of the user in an operation page of the live APP, and send a first picture quantity threshold value command indicating the first picture quantity threshold value to the server.
According to the technical scheme, when the number of character pictures in at least one picture acquired from a live video is determined to be excessive, a mirror image transformation video for display is acquired by a server. Because the text image comprises the text which is difficult to understand and subjected to horizontal mirror image conversion, the difficulty of understanding the content of the live video containing excessive text images by the audience is increased when the live video is directly displayed. In the mirror image transformation video, the characters in the character picture can be normally understood after horizontal mirror image transformation, so that when the mirror image transformation video is displayed, audiences can easily understand the contents in the character picture, and the user experience is improved.
In one embodiment, as shown in fig. 4c, in step 402, when it is determined that the display content of at least one screen satisfies a preset condition, acquiring, by a server, a mirror-transformed video for display may be implemented by step 4022:
in step 4022, when it is determined that the number of multi-object pictures in the at least one picture is greater than or equal to the second picture number threshold, obtaining, by the server, a mirror-converted video.
The multi-object picture is a picture with the number of objects in the display content being greater than or equal to the threshold value of the number of object pictures.
For example, the server may perform object recognition on the display content of each of the at least one screen one by one, and divide the at least one screen into a plurality of screen groups according to a recognition result, where each screen group includes the corresponding object quantity identifier and the screen whose display content includes the number of objects indicated by the object quantity identifier, and then the server may obtain an object quantity threshold, and determine a screen group to be counted in the plurality of screen groups according to the object quantity threshold, where the screen group to be counted is a screen group in the plurality of screen groups in which the number indicated by the object quantity identifier is greater than or equal to the object quantity threshold. When the number of pictures in the counted picture group is greater than or equal to the second picture threshold value, in order to facilitate a user to understand the relative position between different objects or the relative movement between different objects in the live video, the mirror-transformed video may be acquired. The object quantity threshold and the second picture quantity threshold may be set in the server in advance, or may be obtained according to an object quantity threshold command sent by the first terminal or the second terminal, where the first terminal or the second terminal may obtain the object quantity threshold input by the user by detecting a click action or a sliding action of the user in an operation page of the live APP, and send an object quantity threshold command indicating the object quantity threshold to the server.
In the technical scheme provided by the embodiment of the disclosure, when the number of multiple object pictures in at least one picture acquired from a live video is determined to be too large, a mirror image conversion video for display is acquired by a server, and because the multiple object pictures are directly displayed, the displayed pictures are subjected to horizontal mirror image conversion, the position relation among the multiple objects cannot be correctly reflected.
In one embodiment, as shown in fig. 4d, the live broadcasting method provided by the embodiment of the present disclosure further includes the following steps 403:
in step 403, the server obtains the mirroring transformation instruction.
Illustratively, the server may receive the mirroring instruction from the first terminal or the second terminal. The first terminal or the second terminal can detect a click action or a sliding action of a user in an operation page of the live APP, and when the click action or the sliding action of the user in the operation page of the live APP is determined to meet a preset condition, the mirror image transformation instruction is sent to the server.
In step 402, when it is determined that the display content of at least one screen satisfies the preset condition, obtaining, by the server, a mirror-transformed video for display may be implemented by step 4023:
in step 4023, when it is determined that the display content of at least one screen satisfies a preset condition, acquiring, by the server, a mirror-converted video in response to the mirror-conversion instruction.
According to the technical scheme, the mirror image transformation instruction is obtained through the server, when the display content of at least one picture meets the preset condition, the server responds to the mirror image transformation instruction to obtain the mirror image transformation video, so that a user can control whether the video used for display is the video subjected to horizontal mirror image transformation, the space selected by the user during live broadcasting is increased, and the user experience is improved.
In one embodiment, as shown in fig. 4e, in step 4023, when it is determined that the display content of at least one screen satisfies the preset condition, acquiring, by the server, a mirror-transformed video in response to the mirror-transformed instruction, may be implemented by step 40231:
in step 40231, when it is determined that the display content of at least one screen meets a preset condition and it is determined that the live video is a video acquired by a front camera of the terminal, acquiring, by the server, a mirror-transformed video in response to the acquiring mirror-transformed instruction.
For example, the server may send a camera query instruction to the first terminal, so that the first terminal sends camera information to the server in response to the camera query instruction, where the camera information is used to indicate a camera used by the first terminal when capturing live video. When the server determines that the live video is the video acquired by the front camera device of the first terminal according to the camera device information and the display content of at least one picture meets the preset condition, the server can respond to the mirror image conversion acquisition instruction to acquire the mirror image conversion video.
According to the technical scheme, when the display content of at least one picture meets the preset condition and the live video is determined to be the video collected through the front camera device of the terminal, the server responds to the mirror image conversion acquisition instruction to acquire the mirror image conversion video, and the scheme can ensure that only the video collected through the front camera device of the terminal is subjected to horizontal mirror image conversion to acquire the mirror image conversion video, so that resources consumed during live broadcasting are reduced, and user experience is improved.
Second terminal side
Fig. 5a is a flowchart illustrating a live broadcasting method according to an exemplary embodiment, and as shown in fig. 5a, the live broadcasting method is used in a second terminal and includes the following steps 501 to 502:
in step 501, a second terminal obtains at least one picture in a live video.
Illustratively, the live video may be a video downloaded by the second terminal from the server while live. For example, when a live video is downloaded from a server to a second terminal, the second terminal may select a preset number of frames of pictures from the live video according to a specified time interval, and use the preset number of frames of pictures as at least one picture in the live video, where the specified time interval and the preset number may be set in the second terminal in advance, and the specified time interval and the preset number input by the user may also be obtained by detecting a click action or a sliding action in an operation page where the user runs a live APP on the second terminal.
In step 502, when it is determined that the display content of at least one picture meets a preset condition, a mirror-image-converted video for display is acquired by the second terminal.
The mirror image conversion video is a video obtained by performing horizontal mirror image conversion on a live video.
For example, the second terminal may detect whether each of the at least one picture includes content that can be correctly understood by the horizontal mirroring, and may determine that the content displayed in the at least one picture satisfies the preset condition when it is determined that each of the at least one picture includes content that can be correctly understood by the horizontal mirroring, or it is determined that a proportion of the at least one picture including content that can be correctly understood by the horizontal mirroring is higher in the at least one picture. The second terminal may also select a part of the pictures from the at least one picture according to a specified sampling ratio, and detect one by one whether the selected part of the pictures includes content that can be correctly understood by the horizontal mirror image transformation, and when it is determined that each of the selected part of the pictures includes content that can be correctly understood by the horizontal mirror image transformation, or it is determined that a proportion of the pictures including the content that can be correctly understood by the horizontal mirror image transformation in the selected part of the pictures is higher, it may be determined that the display content of the at least one picture satisfies a preset condition. It should be noted that, the content that can be correctly understood by the horizontal mirror transformation may include characters, numbers, symbols, or the like, and the embodiment of the disclosure is not limited herein. The horizontal mirroring may be a swapping of pixels in a picture of each frame of the live video around a vertical central axis of the picture.
According to the technical scheme provided by the embodiment of the disclosure, at least one picture in live videos downloaded from a server by a second terminal is obtained, and when it is determined that the display content of the at least one picture meets a preset condition, a mirror image conversion video for display is obtained by the second terminal. According to the technical scheme, when the content which can be correctly understood by a horizontal mirror transformation party is included in the live video, the live video is subjected to horizontal mirror transformation to obtain the mirror transformation video, so that when the mirror transformation video is displayed to audiences, the audiences can easily understand the content, and the user experience is improved.
In one embodiment, as shown in fig. 5b, in step 502, when it is determined that the display content of at least one screen satisfies the preset condition, acquiring, by the second terminal, a mirror-transformed video for display may be implemented by step 5021:
in step 5021, when the number of the text pictures in at least one picture is determined to be greater than or equal to the first picture number threshold, the mirror image transformation video is obtained by the second terminal.
Wherein, the text picture is a picture with display contents including texts.
For example, the second terminal may perform character recognition on the display content of each of the at least one picture one by one, and divide the at least one picture into a character picture group and a non-character picture group according to the recognition result, where the picture in the character picture group may be a picture whose display content includes characters according to the recognition result; the pictures in the non-text picture group can be pictures which are determined to be the pictures with the display contents not including the text according to the identification result. The characters may be chinese characters, english letters, german letters, japanese characters, french letters, portuguese letters, spanish letters, numbers, symbols, and other characters or parts of characters, and the embodiments of the disclosure are not limited herein. When the number of pictures in the text picture group is greater than or equal to the first picture number threshold, the mirror image transformation video can be acquired. The first picture quantity threshold may be set in the second terminal in advance, or may be the first picture quantity threshold input by the user obtained by detecting a click action or a slide action in an operation page of a live APP running on the second terminal by the user.
In the technical scheme provided by the embodiment of the disclosure, when the number of character pictures in at least one picture acquired from a live video is determined to be excessive, a mirror image transformation video for display is acquired by a second terminal. Because the text image comprises the text which is difficult to understand and subjected to horizontal mirror image conversion, the difficulty of understanding the content of the live video containing excessive text images by the audience is increased when the live video is directly displayed. In the mirror image transformation video, the characters in the character picture can be normally understood after horizontal mirror image transformation, so that when the mirror image transformation video is displayed, audiences can easily understand the contents in the character picture, and the user experience is improved.
In one embodiment, as shown in fig. 5c, in step 502, when it is determined that the display content of at least one screen satisfies the preset condition, acquiring, by the second terminal, a mirror-transformed video for display may be implemented by step 5022:
in step 5022, when the number of the multiple object pictures in at least one picture is determined to be greater than or equal to the second picture number threshold value, the mirror-image-transformed video is obtained by the second terminal.
The multi-object picture is a picture with the number of objects in the display content being greater than or equal to the threshold value of the number of object pictures.
For example, the second terminal may perform object recognition on the display content of each of the at least one screen one by one, and divide the at least one screen into a plurality of screen groups according to a recognition result, where each screen group includes a corresponding object number identifier and the display content includes the screens of the objects whose number is indicated by the object number identifier, and then the second terminal may obtain an object number threshold, and determine a screen group to be counted in the plurality of screen groups according to the object number threshold, where the screen group to be counted is the screen group in the plurality of screen groups whose number is greater than or equal to the object number threshold, which is indicated by the object number identifier. When the number of pictures in the counted picture group is greater than or equal to the second picture threshold value, in order to facilitate a user to understand the relative position between different objects or the relative movement between different objects in the live video, the mirror-transformed video may be acquired. The object quantity threshold and the second picture quantity threshold may be set in the second terminal in advance, or the object quantity threshold input by the user may be obtained by detecting a click action or a slide action in an operation page of a live APP running on the second terminal by the user.
In the technical scheme provided by the embodiment of the disclosure, when the number of multiple object pictures in at least one picture acquired from a live video is determined to be too large, the mirror image conversion video for display is acquired by the second terminal, and because the multiple object pictures are directly displayed, the displayed pictures are subjected to horizontal mirror image conversion, the position relation among the multiple objects cannot be correctly reflected, and the scheme can ensure that when the proportion of the pictures containing the multiple objects in the live video is higher, the mirror image conversion video obtained by performing horizontal mirror image conversion on the live video is acquired, so that when the mirror image conversion video is displayed, the position relation among the multiple objects in the video can be correctly reflected, and thus, the user experience is improved.
In one embodiment, as shown in fig. 5d, the live broadcasting method provided by the embodiment of the present disclosure further includes the following steps 503:
in step 503, the second terminal obtains a mirror change instruction.
For example, the second terminal may obtain the mirror image transformation instruction input by the user by detecting a click action or a slide action in an operation page of a live APP running on the second terminal.
In step 502, when it is determined that the display content of at least one picture meets the preset condition, the second terminal obtains the mirror image transformed video for display, which may be implemented in step 5023:
in step 5023, when it is determined that the display content of at least one picture meets a preset condition, a mirror-converted video is obtained by the second terminal in response to the mirror-conversion instruction.
According to the technical scheme, the mirror image transformation instruction is obtained, and when the display content of at least one picture meets the preset condition, the second terminal responds to the mirror image transformation instruction to obtain the mirror image transformation video, so that a user can control whether the video used for display is the video subjected to horizontal mirror image transformation, the space selected by the user during live broadcasting is increased, and the user experience is improved.
In one embodiment, as shown in fig. 5e, in step 5023, when it is determined that the display content of at least one screen meets the preset condition, the second terminal acquires the mirror-converted video in response to the mirror-conversion instruction, which may be implemented by step 50231:
in step 50231, when it is determined that the display content of at least one picture meets a preset condition and the live video is the video acquired through the front camera device of the terminal, the second terminal acquires the mirror image transformation video in response to the acquiring mirror image transformation instruction.
For example, the second terminal may send a first terminal camera device query instruction to the server, so that the server sends the camera device query instruction to the first terminal in response to the first terminal camera device query instruction, so that the first terminal sends camera device information to the server in response to the camera device query instruction, where the camera device information is used to indicate a camera device used by the first terminal when acquiring live video. And the server forwards the information of the camera device to the second terminal, so that the second terminal determines the live video to be the video acquired by the front camera device of the first terminal according to the information of the camera device. And when the second terminal confirms the information and confirms that the display content of at least one picture meets the preset condition, acquiring the mirror image transformation video in response to the acquisition mirror image transformation instruction.
According to the technical scheme, when the display content of at least one picture meets the preset condition and the live video is determined to be the video collected through the front camera device of the terminal, the second terminal responds to the mirror image conversion acquisition instruction to acquire the mirror image conversion video, and the scheme can ensure that only the video collected through the front camera device of the terminal is subjected to horizontal mirror image conversion to acquire the mirror image conversion video, so that resources consumed during live broadcasting are reduced, and user experience is improved.
The implementation process is described in detail by the following embodiments.
Fig. 6 is a schematic flow chart diagram illustrating a live method in accordance with an exemplary embodiment. As shown in fig. 6, the method comprises the following steps:
in step 601, the first terminal acquires at least one picture in a live video.
In step 602, the first terminal obtains a mirror transformation command.
In step 603, the first terminal determines whether the number of text frames in at least one frame is greater than or equal to a first frame number threshold.
In step 604, the first terminal determines whether the live video is a video captured by a front camera of the terminal.
In step 605, when it is determined that the number of text pictures in at least one picture is greater than or equal to the first picture number threshold and it is determined that the live video is a video captured by a front camera of the terminal, a mirror-converted video is obtained by the first terminal in response to the obtaining mirror-converted instruction.
The mirror image transformation video is used for uploading to a server, so that the second terminal can download the mirror image transformation video from the server and display the video on the second terminal.
It should be noted that the sequence of the above steps 603 and 604 may be reversed.
According to the technical scheme, at least one picture in a live video acquired by a first terminal is acquired through the first terminal, and when the fact that the number of character pictures in the at least one picture acquired from the live video is excessive and the live video is the video acquired through a front camera device of the terminal is determined, the first terminal responds to an acquired mirror image conversion instruction to acquire a mirror image conversion video. According to the technical scheme, the characters in the mirror image transformation video can be normally understood after horizontal mirror image transformation, so that when the mirror image transformation video is displayed, audiences can easily understand the contents in the mirror image transformation video, resources consumed by the first terminal in live broadcasting are reduced, the space selected by a user in live broadcasting is increased, and the user experience is improved.
Fig. 7 is a schematic flow chart diagram illustrating a live method in accordance with an exemplary embodiment. As shown in fig. 7, the method comprises the following steps:
in step 701, a first terminal acquires at least one picture in a live video.
In step 702, the first terminal obtains a mirror transformation command
In step 703, the first terminal determines whether the number of multi-object pictures in the at least one picture is greater than or equal to a second picture number threshold.
In step 704, the first terminal determines whether the live video is a video captured by a front camera of the terminal.
In step 705, when it is determined that the number of the multiple object pictures in the at least one picture is greater than or equal to the second picture number threshold and the live video is the video acquired by the front camera of the terminal, acquiring, by the first terminal, the mirror-converted video in response to the acquiring mirror-converted instruction.
The mirror image transformation video is used for uploading to a server, so that the second terminal can download the mirror image transformation video from the server and display the video on the second terminal.
It should be noted that the sequence of the above step 703 and step 704 may be reversed.
According to the technical scheme, by acquiring at least one picture in live video acquired by a first terminal, when the fact that the number of multiple object pictures in the at least one picture acquired from the live video is excessive and the live video is video acquired through a front camera device of the terminal is determined, a mirror image transformation video is acquired in response to an acquired mirror image transformation instruction. By the aid of the scheme, when the proportion of the picture containing the multiple objects in the live video is high, the position relation among the multiple objects in the mirror image transformation video can be correctly reflected, resources consumed by the first terminal in live broadcasting are reduced, and the space selected by a user in live broadcasting is increased, so that user experience is improved.
Fig. 8 is a schematic flow chart diagram illustrating a live method in accordance with an exemplary embodiment. As shown in fig. 8, the method comprises the following steps:
in step 801, a first terminal acquires at least one picture in a live video.
In step 802, the first terminal obtains a mirror transformation instruction.
In step 803, the first terminal determines whether the live video is a video captured by a front camera of the terminal.
In step 804, the first terminal determines whether the number of text frames in at least one frame is greater than or equal to a first frame number threshold.
In step 805, the first terminal determines whether the number of multi-object pictures in at least one picture is greater than or equal to a second picture number threshold.
In step 806, when it is determined that the number of text pictures in the at least one picture is greater than or equal to the first picture number threshold and the live video is the video collected by the front camera of the terminal, the first terminal acquires the mirror image transformation video in response to the acquire mirror image transformation instruction.
The mirror image transformation video is used for uploading to the server, so that the second terminal can download the mirror image transformation video from the server and display the video on the second terminal.
In step 807, when it is determined that the number of multi-object pictures in the at least one picture is greater than or equal to the second picture number threshold and the live video is the video captured by the front camera of the terminal, acquiring, by the first terminal, the mirror-converted video in response to the acquiring the mirror-converted instruction.
The mirror image transformation video is used for uploading to the server, so that the second terminal can download the mirror image transformation video from the server and display the video on the second terminal.
According to the technical scheme, at least one picture in live video collected by a first terminal in live broadcasting is obtained, and when the display content of the at least one picture meets the preset condition, the first terminal obtains mirror image conversion video for display. According to the technical scheme, when the content which can be correctly understood by a horizontal mirror transformation party is included in the live video, the live video is subjected to horizontal mirror transformation to obtain the mirror transformation video, so that when the mirror transformation video is displayed to audiences, the audiences can easily understand the content, and the user experience is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 9a is a block diagram of a live broadcast apparatus 90 according to an exemplary embodiment, where the live broadcast apparatus 90 may be a first terminal, a second terminal, or a server, or may be a part of the first terminal, the second terminal, or the server, and the live broadcast apparatus 90 may be implemented as a part of or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 9a, the live device 90 includes:
a picture acquiring module 901, configured to acquire at least one picture in a live video;
the mirror image transformation module 902 is configured to, when it is determined that the display content of at least one picture meets a preset condition, obtain a mirror image transformed video for display, where the mirror image transformed video is a video obtained by performing horizontal mirror image transformation on a live video.
In one embodiment, as shown in FIG. 9b, the mirror transformation module 902 includes:
the text transformation sub-module 9021 is configured to, when the number of text pictures in at least one picture is greater than or equal to a first picture number threshold, obtain a mirror image transformation video, where the text pictures are pictures whose display contents include text.
In one embodiment, as shown in FIG. 9c, the mirror transformation module 902 includes:
the multi-object transformation submodule 9022 is configured to, when it is determined that the number of multi-object images in at least one image is greater than or equal to the second image number threshold, acquire a mirror image transformation video, where the multi-object images are images in which the number of objects in the display content is greater than or equal to the object number threshold.
In one embodiment, as shown in fig. 9d, the live device 90 further comprises:
an instruction obtaining module 903, configured to obtain a mirror transformation instruction;
a mirror transformation module 902, comprising:
and the instruction response submodule 9023 is configured to, when it is determined that the display content of the at least one picture meets the preset condition, obtain the mirror-image-converted video in response to the mirror-image-conversion instruction.
In one embodiment, as shown in fig. 9e, the command response submodule 9023 includes:
and the instruction response unit 90231 is configured to, when it is determined that the display content of at least one picture meets a preset condition and it is determined that the live video is a video acquired by a front camera of the terminal, acquire a mirror-image-converted video in response to the acquire mirror-image-converted instruction.
The embodiment of the disclosure provides a live broadcasting device, which can acquire a mirror image conversion video for display by acquiring at least one picture in a live video when it is determined that display content of the at least one picture meets a preset condition. According to the technical scheme, when the content which can be correctly understood by a horizontal mirror transformation party is included in the live video, the live video is subjected to horizontal mirror transformation to obtain the mirror transformation video, so that when the mirror transformation video is displayed to audiences, the audiences can easily understand the content, and the user experience is improved.
Fig. 10 is a block diagram illustrating a live broadcasting apparatus 100 according to an exemplary embodiment, where the live broadcasting apparatus 100 may be a first terminal, a second terminal, or a server, or may be a part of the first terminal, the second terminal, or the server, and the live broadcasting apparatus 100 includes:
a processor 1001;
a memory 1002 for storing instructions executable by the processor 1001;
wherein the processor 1001 is configured to:
acquiring at least one picture in a live video;
when the display content of at least one picture meets the preset condition, acquiring a mirror image conversion video for display, wherein the mirror image conversion video is a video obtained by performing horizontal mirror image conversion on a live video.
In one embodiment, the processor 1001 may be further configured to:
and when the number of the character pictures in at least one picture is larger than or equal to a first picture number threshold value, acquiring a mirror image transformation video, wherein the character pictures are pictures of which the display contents comprise characters.
In one embodiment, the processor 1001 may be further configured to:
and when the number of the multiple object pictures in at least one picture is determined to be larger than or equal to a second picture number threshold value, acquiring the mirror image transformation video, wherein the multiple object pictures are pictures with the number of the objects in the display content larger than or equal to the object number threshold value.
In one embodiment, the processor 1001 may be further configured to:
acquiring a mirror image transformation instruction;
and when the display content of at least one picture is determined to meet the preset condition, acquiring the mirror image transformation video in response to the mirror image transformation instruction.
In one embodiment, the processor 1001 may be further configured to:
and when the display content of at least one picture meets the preset condition and the live video is determined to be the video acquired by the front camera device of the terminal, responding to the acquired mirror image conversion instruction to acquire the mirror image conversion video.
The embodiment of the disclosure provides a live broadcast device, which acquires a mirror image transformation video for display by acquiring at least one picture in a live broadcast video when it is determined that display content of the at least one picture meets a preset condition. According to the technical scheme, when the content which can be correctly understood by a horizontal mirror transformation party is included in the live video, the live video is subjected to horizontal mirror transformation to obtain the mirror transformation video, so that when the mirror transformation video is displayed to audiences, the audiences can easily understand the content, and the user experience is improved.
Fig. 11 is a block diagram illustrating an apparatus 1100 for live broadcasting, the apparatus 1100 being adapted for a first terminal or a second terminal according to an example embodiment. For example, the apparatus 1100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 1100 may include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and communications component 1116.
The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with presentation, telephone calls, data communications, camera operations, and recording operations. The processing components 1102 may include one or more processors 1120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operations at the device 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power component 1106 provides power to the various components of the device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1100.
The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1100 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1114 includes one or more sensors for providing various aspects of state assessment for the apparatus 1100. For example, the sensor assembly 1114 may detect an open/closed state of the apparatus 1100, the relative positioning of components, such as a display and keypad of the apparatus 1100, the sensor assembly 1114 may also detect a change in position of the apparatus 1100 or a component of the apparatus 1100, the presence or absence of user contact with the apparatus 1100, orientation or acceleration/deceleration of the apparatus 1100, and a change in temperature of the apparatus 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1116 is configured to facilitate wired or wireless communication between the apparatus 1100 and other devices. The apparatus 1100 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1104 comprising instructions, executable by the processor 1120 of the apparatus 1100 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium that may store computer instructions that, when executed by a processor of apparatus 1100, enable apparatus 1100 to perform the above-described live method, the method comprising:
acquiring at least one picture in a live video;
when the display content of at least one picture meets the preset condition, acquiring a mirror image conversion video for display, wherein the mirror image conversion video is a video obtained by performing horizontal mirror image conversion on a live video.
In one embodiment, when it is determined that the display content of at least one picture meets a preset condition, acquiring a mirror-image-converted video, including:
and when the number of the character pictures in at least one picture is larger than or equal to a first picture number threshold value, acquiring a mirror image transformation video, wherein the character pictures are pictures of which the display contents comprise characters.
In one embodiment, when it is determined that the display content of at least one picture meets a preset condition, acquiring a mirror-image-converted video, including:
and when the number of the multiple object pictures in at least one picture is determined to be larger than or equal to a second picture number threshold value, acquiring the mirror image transformation video, wherein the multiple object pictures are pictures with the number of the objects in the display content larger than or equal to the object number threshold value.
In one embodiment, the method further comprises:
acquiring a mirror image transformation instruction;
when the display content of at least one picture is determined to meet a preset condition, acquiring a mirror image transformation video for display, wherein the method comprises the following steps:
and when the display content of at least one picture is determined to meet the preset condition, acquiring the mirror image transformation video in response to the mirror image transformation instruction.
In one embodiment, when it is determined that the display content of at least one picture satisfies a preset condition, acquiring a mirror-converted video in response to a mirror-conversion instruction includes:
and when the display content of at least one picture meets the preset condition and the live video is determined to be the video acquired by the front camera device of the terminal, responding to the acquired mirror image conversion instruction to acquire the mirror image conversion video.
Fig. 12 is a block diagram illustrating an apparatus 1200 for live broadcasting in accordance with an example embodiment. For example, the apparatus 1200 may be provided as a server. The apparatus 1200 includes a processing component 1222 that further includes one or more processors, and memory resources, represented by memory 1232, for storing instructions, such as application programs, that are executable by the processing component 1222. The application programs stored in memory 1232 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1222 is configured to execute instructions to perform the above-described methods.
The apparatus 1200 may also include a power supply component 1226 configured to perform power management of the apparatus 1200, a wired or wireless network interface 1250 configured to connect the apparatus 1200 to a network, and an input output (I/O) interface 1258. The apparatus 1200 may operate based on an operating system stored in the memory 1232, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of an apparatus 1200, enable the apparatus 1200 to perform a live method, the method comprising:
acquiring at least one picture in a live video;
when the display content of at least one picture meets the preset condition, acquiring a mirror image conversion video for display, wherein the mirror image conversion video is a video obtained by performing horizontal mirror image conversion on a live video.
In one embodiment, when it is determined that the display content of at least one picture meets a preset condition, acquiring a mirror-image-converted video, including:
and when the number of the character pictures in at least one picture is larger than or equal to a first picture number threshold value, acquiring a mirror image transformation video, wherein the character pictures are pictures of which the display contents comprise characters.
In one embodiment, when it is determined that the display content of at least one picture meets a preset condition, acquiring a mirror-image-converted video, including:
and when the number of the multiple object pictures in at least one picture is determined to be larger than or equal to a second picture number threshold value, acquiring the mirror image transformation video, wherein the multiple object pictures are pictures with the number of the objects in the display content larger than or equal to the object number threshold value.
In one embodiment, the method further comprises:
acquiring a mirror image transformation instruction;
when the display content of at least one picture is determined to meet a preset condition, acquiring a mirror image transformation video for display, wherein the method comprises the following steps:
and when the display content of at least one picture is determined to meet the preset condition, acquiring the mirror image transformation video in response to the mirror image transformation instruction.
In one embodiment, when it is determined that the display content of at least one picture satisfies a preset condition, acquiring a mirror-converted video in response to a mirror-conversion instruction includes:
and when the display content of at least one picture meets the preset condition and the live video is determined to be the video acquired by the front camera device of the terminal, responding to the acquired mirror image conversion instruction to acquire the mirror image conversion video.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A live broadcast method, comprising:
acquiring at least one picture in a live video;
when the display content of the at least one picture is determined to meet a preset condition, acquiring a mirror image conversion video for display, wherein the mirror image conversion video is a video obtained by performing horizontal mirror image conversion on the live video;
when it is determined that the display content of the at least one picture meets a preset condition, acquiring a mirror image transformation video, including:
and when the number of the multiple object pictures in the at least one picture is determined to be larger than or equal to a second picture number threshold value, acquiring the mirror image transformation video, wherein the multiple object pictures are pictures with the number of the objects in the display content larger than or equal to the object number threshold value.
2. A live method according to any one of claims 1, characterized in that the method further comprises:
acquiring a mirror image transformation instruction;
when it is determined that the display content of the at least one picture meets a preset condition, acquiring a mirror image transformation video for display, including:
and when the display content of the at least one picture is determined to meet the preset condition, acquiring the mirror image transformation video in response to the mirror image transformation instruction.
3. The live broadcasting method according to claim 2, wherein when it is determined that the display content of the at least one picture satisfies the preset condition, acquiring the mirror-converted video in response to the mirror-conversion instruction includes:
and when the display content of the at least one picture is determined to meet the preset condition and the live video is determined to be the video acquired through a front camera device of the terminal, responding to the acquired mirror image conversion instruction to acquire the mirror image conversion video.
4. A live broadcast apparatus, comprising:
the picture acquisition module is used for acquiring at least one picture in the live video;
the image conversion module is used for acquiring an image conversion video for display when the display content of the at least one picture meets a preset condition, wherein the image conversion video is a video obtained by performing horizontal image conversion on the live video;
the mirror image transformation module comprises:
and the multi-object transformation submodule is used for acquiring the mirror image transformation video when the number of the multi-object pictures in the at least one picture is determined to be larger than or equal to a second picture number threshold, wherein the multi-object pictures are pictures with the number of the objects in the display content larger than or equal to the object number threshold.
5. A live device as claimed in any one of claims 4 further comprising:
the instruction acquisition module is used for acquiring a mirror image transformation instruction;
the mirror image transformation module comprises:
and the instruction response submodule is used for responding to the mirror image transformation instruction to acquire the mirror image transformation video when the display content of the at least one picture is determined to meet the preset condition.
6. The live broadcast apparatus according to claim 5, wherein the command response submodule includes:
and the instruction response unit is used for responding to the obtained mirror image conversion instruction to obtain the mirror image conversion video when the display content of the at least one picture is determined to meet the preset condition and the live video is determined to be the video collected by a front camera device of the terminal.
7. A live broadcast apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring at least one picture in a live video;
when the display content of the at least one picture is determined to meet a preset condition, acquiring a mirror image conversion video for display, wherein the mirror image conversion video is a video obtained by performing horizontal mirror image conversion on the live video;
when it is determined that the display content of the at least one picture meets a preset condition, acquiring a mirror image transformation video, including:
and when the number of the multiple object pictures in the at least one picture is determined to be larger than or equal to a second picture number threshold value, acquiring the mirror image transformation video, wherein the multiple object pictures are pictures with the number of the objects in the display content larger than or equal to the object number threshold value.
8. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 3.
CN201710379542.8A 2017-05-25 2017-05-25 Live broadcasting method and device Active CN107105311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710379542.8A CN107105311B (en) 2017-05-25 2017-05-25 Live broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710379542.8A CN107105311B (en) 2017-05-25 2017-05-25 Live broadcasting method and device

Publications (2)

Publication Number Publication Date
CN107105311A CN107105311A (en) 2017-08-29
CN107105311B true CN107105311B (en) 2020-06-19

Family

ID=59670623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710379542.8A Active CN107105311B (en) 2017-05-25 2017-05-25 Live broadcasting method and device

Country Status (1)

Country Link
CN (1) CN107105311B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970524B (en) * 2020-08-14 2022-03-04 北京字节跳动网络技术有限公司 Control method, device, system, equipment and medium for interactive live broadcast and microphone connection
CN112543343B (en) * 2020-11-27 2024-02-23 广州华多网络科技有限公司 Live broadcast picture processing method and device based on live broadcast with wheat
CN113793410A (en) * 2021-08-31 2021-12-14 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN105163017A (en) * 2013-03-25 2015-12-16 锤子科技(北京)有限公司 Method and device for showing self-shooting image
CN105959564A (en) * 2016-06-15 2016-09-21 维沃移动通信有限公司 Photographing method and mobile terminal
CN106327430A (en) * 2016-08-31 2017-01-11 维沃移动通信有限公司 Picture display method and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104204940B (en) * 2012-03-13 2016-04-27 富士胶片株式会社 Band projector camera and control method thereof
US20150207918A1 (en) * 2013-01-18 2015-07-23 Troy Lockman Mobile system for turning a mobile phone screen into a mirror
CN103985087A (en) * 2013-02-08 2014-08-13 北京银万特科技有限公司 Mirror image display and information processing method based on intelligent information terminal
KR102506341B1 (en) * 2013-08-04 2023-03-03 아이즈매치 리미티드 Devices, systems and methods of virtualizing a mirror
CN115412743A (en) * 2015-01-09 2022-11-29 艾斯适配有限公司 Apparatus, system, and method for automatically delaying a video presentation
WO2016162731A1 (en) * 2015-04-09 2016-10-13 Ozorio De Christo Ari Arrangement for mirror set, with tv set function and aggregated system for capture and digital exhibition of real images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163017A (en) * 2013-03-25 2015-12-16 锤子科技(北京)有限公司 Method and device for showing self-shooting image
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN105959564A (en) * 2016-06-15 2016-09-21 维沃移动通信有限公司 Photographing method and mobile terminal
CN106327430A (en) * 2016-08-31 2017-01-11 维沃移动通信有限公司 Picture display method and mobile terminal

Also Published As

Publication number Publication date
CN107105311A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
CN106791893B (en) Video live broadcasting method and device
CN106506448B (en) Live broadcast display method and device and terminal
US9674395B2 (en) Methods and apparatuses for generating photograph
US20170178289A1 (en) Method, device and computer-readable storage medium for video display
US20170304735A1 (en) Method and Apparatus for Performing Live Broadcast on Game
CN109257645B (en) Video cover generation method and device
CN112153400B (en) Live broadcast interaction method and device, electronic equipment and storage medium
CN108037863B (en) Method and device for displaying image
CN105786507B (en) Display interface switching method and device
CN110677734B (en) Video synthesis method and device, electronic equipment and storage medium
EP3796317A1 (en) Video processing method, video playing method, devices and storage medium
CN109862380B (en) Video data processing method, device and server, electronic equipment and storage medium
CN106534951B (en) Video segmentation method and device
CN113065008A (en) Information recommendation method and device, electronic equipment and storage medium
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
CN110798726A (en) Bullet screen display method and device, electronic equipment and storage medium
CN109766473B (en) Information interaction method and device, electronic equipment and storage medium
CN107105311B (en) Live broadcasting method and device
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN109145878B (en) Image extraction method and device
CN107247794B (en) Topic guiding method in live broadcast, live broadcast device and terminal equipment
CN111340690B (en) Image processing method, device, electronic equipment and storage medium
EP3799415A2 (en) Method and device for processing videos, and medium
CN112261453A (en) Method, device and storage medium for transmitting subtitle splicing map
CN111832455A (en) Method, device, storage medium and electronic equipment for acquiring content image

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