CN106231367B - Beautifying processing method and device - Google Patents

Beautifying processing method and device Download PDF

Info

Publication number
CN106231367B
CN106231367B CN201610850175.0A CN201610850175A CN106231367B CN 106231367 B CN106231367 B CN 106231367B CN 201610850175 A CN201610850175 A CN 201610850175A CN 106231367 B CN106231367 B CN 106231367B
Authority
CN
China
Prior art keywords
video stream
stream data
beautifying
terminal
beautifying processing
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
CN201610850175.0A
Other languages
Chinese (zh)
Other versions
CN106231367A (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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201610850175.0A priority Critical patent/CN106231367B/en
Publication of CN106231367A publication Critical patent/CN106231367A/en
Application granted granted Critical
Publication of CN106231367B publication Critical patent/CN106231367B/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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to a beautifying processing method and a device, wherein the method comprises the following steps: receiving video stream data uploaded by a main broadcasting client in a live broadcasting channel; performing beautifying processing on the received video stream data; and broadcasting the video stream data after the beauty treatment to a spectator client entering the live broadcast channel so that the spectator client performs video display according to the video stream data after the beauty treatment. By applying the scheme, regardless of whether the terminal where the anchor client is located supports the beautifying processing function, videos watched by users of other clients are videos after beautifying processing, and the videos after beautifying processing attract users more than videos without beautifying processing, so that the number of fans of the anchor can be increased.

Description

Beautifying processing method and device
Technical Field
The application relates to the field of network live broadcast, in particular to a beautifying processing method and device.
Background
The network live broadcast system is an internet system which broadcasts live video stream of an anchor client to audience clients. After entering a certain channel in the live channels, the user of the audience client can watch the video uploaded by the main broadcast client. In order to attract more fans, a user of the anchor client can beautify the shot video by using the anchor client, send the beautified video to the server, and broadcast the beautified video to the audience client through the server for display.
However, for a low-profile terminal, due to low configuration, the terminal cannot meet the condition required for beautifying, so that the anchor client installed in the low-profile terminal cannot realize the beautifying function, and therefore, the anchor client can only send video stream data without beautifying processing to the server, and broadcasts the video stream data to the audience client through the server, and the audience client entering a live broadcast room displays videos without beautifying processing, thereby easily reducing the number of fans of the anchor.
Disclosure of Invention
The application provides a beautifying processing method and device, which are used for solving the problem that in the prior art, as an anchor client in a low-profile terminal cannot realize a beautifying function, a spectator client entering a live broadcast room cannot display a beautifying video.
According to a first aspect of embodiments of the present application, there is provided a beauty treatment method, the method including:
receiving video stream data uploaded by a main broadcasting client in a live broadcasting channel;
judging whether to perform beautifying processing on the received video stream data according to the stored prompt information and the corresponding relation of the anchor client;
if so, performing beauty treatment on the received video stream data and broadcasting the video stream data subjected to the beauty treatment to a viewer client entering the live channel so that the viewer client performs video display according to the video stream data subjected to the beauty treatment.
According to a second aspect of embodiments of the present application, there is provided a beauty treatment method, the method including:
receiving video streaming data broadcasted by a server, wherein the video streaming data is uploaded by a main broadcasting client entering a live broadcasting channel;
judging whether to perform beautifying processing on the received video stream data according to the stored prompt information and the corresponding relation of the anchor client;
and if so, performing beauty treatment on the received video stream data and performing video display according to the video stream data after the beauty treatment.
According to a third aspect of embodiments of the present application, there is provided a beauty treatment apparatus, the apparatus including:
the data receiving module is used for receiving video stream data uploaded by a main broadcasting client in a live broadcasting channel;
the judging module is used for judging whether to carry out beautifying processing on the received video stream data according to the stored prompt information and the corresponding relation of the anchor client;
the beautifying processing module is used for carrying out beautifying processing on the received video stream data when the video stream data needs to be subjected to beautifying processing;
and the data broadcasting module is used for broadcasting the video stream data after the beauty treatment to the audience client entering the live broadcast channel so as to enable the audience client to perform video display according to the video stream data after the beauty treatment.
According to a fourth aspect of embodiments of the present application, there is provided a beauty treatment apparatus, the apparatus including:
the data receiving module is used for receiving video stream data broadcasted by a server side, wherein the video stream data is uploaded by a main broadcasting client side entering a live broadcasting channel;
the judging module is used for judging whether to carry out beautifying processing on the received video stream data according to the stored prompt information and the corresponding relation of the anchor client;
the beautifying processing module is used for carrying out beautifying processing on the received video stream data when the video stream data needs to be subjected to beautifying processing;
and the video display module is used for displaying videos according to the video stream data after the beautifying processing.
When the beautifying processing method and the beautifying processing device are applied, the video stream data uploaded by the anchor client in the live channel can be received, the received video stream data is subjected to beautifying processing, and then the video stream data subjected to the beautifying processing is broadcasted to the audience client entering the live channel, so that the audience client performs video display according to the video stream data subjected to the beautifying processing.
When the beautifying processing method and the beautifying processing device are applied, the video stream data broadcasted by the server can be received, wherein the video stream data is the video stream data uploaded by a main broadcasting client entering a live broadcasting channel; performing beautifying processing on the received video stream data; and performing video display according to the video stream data subjected to the face beautifying processing, so that whether the anchor client performs the face beautifying processing on the video stream data or not is realized, the videos watched by the audience of the audience client are the videos subjected to the face beautifying processing, and the number of fans of the anchor can be increased because the videos subjected to the face beautifying processing are more attractive to users compared with the videos not subjected to the face beautifying processing.
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 application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of a live network architecture according to an exemplary embodiment of the present application.
Fig. 2A is a flow chart illustrating a beauty treatment method according to an exemplary embodiment of the present application.
Fig. 2B is a timing diagram illustrating a beauty treatment method according to an exemplary embodiment of the present application.
Fig. 3A is a flow chart illustrating another beauty treatment method according to an exemplary embodiment of the present application.
Fig. 3B is a timing diagram illustrating another beauty treatment method according to an exemplary embodiment of the present application.
Fig. 4 is a hardware structure diagram of a server device where the beauty processing apparatus is located according to the present application.
Fig. 5 is a block diagram of an embodiment of a beauty treatment apparatus according to the present application.
Fig. 6 is a block diagram of another embodiment of a beauty treatment apparatus according to the present application.
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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In order to better understand the beauty processing method and apparatus disclosed in the present application, a live broadcast network architecture used in the embodiments of the present application is first described. As shown in fig. 1, fig. 1 is a schematic diagram of a live network architecture according to an exemplary embodiment of the present application. The live network architecture can include a server and a plurality of terminals. The server is used for providing background services of live webcasting. The server may include a server, a server cluster or a cloud platform, and may also be a program for executing the service. The terminal may be a smart terminal having a live webcast function, for example, the smart terminal may be a smart phone, a tablet computer, a PDA (Personal Digital Assistant), a multimedia player, a wearable device, and the like. In a live network architecture, terminals may be divided into anchor terminals and audience terminals. The anchor terminal is internally provided with an anchor client, and the audience terminal is internally provided with an audience client. The anchor client and viewer client may be a video live application, such as "tiger's live". For ease of understanding, when a live video application enters a anchor mode, the live video application may be referred to as an anchor client; when a live video application enters viewer mode, the live video application may be referred to as a viewer client. The audience terminal installed with the audience client can watch the live video uploaded by the main broadcasting client. The anchor terminal and the audience terminal can be connected with the server terminal in a wired network, a wireless network or a data transmission line and the like.
In the live broadcast network architecture, a viewer can log in a server of the live broadcast network architecture through a viewer client on a viewer terminal, an anchor can log in the server of the live broadcast network architecture through an anchor client on an anchor terminal, and the viewer and the anchor enter the same live broadcast channel. The anchor client uploads the online live broadcast content to the server, and the server sends the online live broadcast content to the audience client logged into the online live broadcast channel for the audience of the audience client to watch.
In order to avoid the problem that other clients entering a live broadcast room cannot display a beauty video due to the fact that the clients in the low-profile terminal cannot realize the beauty function in the prior art, the application provides a beauty processing method, the method can be applied to a live network architecture as shown in fig. 1, by receiving video stream data uploaded by a main broadcasting client in a live channel, and performing a beautifying process on the received video stream data, then the video stream data after the beauty treatment is broadcasted to the audience client terminal entering the live broadcast channel so as to realize the video display of the audience client terminal according to the video stream data after the beauty treatment, because the video watched by the audience is the video after the beauty treatment and the video after the beauty treatment is more attractive to the user compared with the video without the beauty treatment, therefore, the number of fans of the anchor can be increased, and more anchors are attracted to use anchor clients.
As shown in fig. 2A, fig. 2A is a flowchart of a beauty treatment method according to an exemplary embodiment shown in the present application, the method includes steps 201 to 203:
in step 201, video stream data uploaded by a main broadcast client in a live channel is received.
In step 202, the received video stream data is subjected to a beautifying process.
In step 203, the video stream data after the beauty processing is broadcasted to the viewer client entering the live channel, so that the viewer client performs video display according to the video stream data after the beauty processing.
The embodiment can be applied to a server side of a live network architecture. The client can comprise a PC end, a mobile end and the like. The PC end comprises a web end and an APP end, and the mobile end comprises a wap end and an APP end.
Firstly, the anchor client can create and enter a live broadcast channel, live video stream data is uploaded to the server, and the server receives the video stream data uploaded by the anchor client in the live broadcast channel.
In one example, the server may directly perform a beautifying process on the received video stream data, so as to obtain a beautifying video. Therefore, whether the anchor client performs the beautifying processing on the video stream data or not, the server performs the beautifying processing on the video stream data, and the video stream data broadcasted by the server can be ensured to be the data subjected to the beautifying processing.
In another example, to avoid the service end performing secondary beautifying on the video stream data, it may be determined that the received video stream data needs to be subjected to beautifying before the received video stream data is subjected to beautifying. Several modes of determination are listed below:
the first mode is as follows: and receiving first prompt information, wherein the first prompt information is used for indicating that the terminal provided with the anchor client does not support the beautifying processing function.
Wherein, the terminal installed with the anchor client may be called an anchor terminal. The first prompt information may be information sent by the anchor client to the server, for example, when the anchor client detects that the anchor terminal does not support the beauty processing function, the first prompt information is sent to the server.
The first prompt message is used for indicating that the terminal installed with the anchor client does not support the beautifying function, and the server can determine that the received video stream data is data without beautifying after receiving the first prompt message, that is, the received video stream data needs to be beautified.
For the sending timing of the first prompt information, in an example, each time the video stream data is sent, the first prompt information may be sent at the same time, so that the server determines whether to perform the beautifying processing on the received video stream data according to the first prompt information. In another example, the first prompt message need only be sent to the server once. The terminal can carry the terminal identifier when sending information to the server every time, so that the server can associate the first prompt information with the terminal identifier to obtain the corresponding relation. When the server receives the video stream data, whether the received video stream data is subjected to the beautifying processing can be judged according to the terminal identification and the determined corresponding relation.
As can be seen from the foregoing embodiments, the terminal on which the anchor client is installed is indicated by way of the first prompt message not to support the beautifying processing function, so that it is relatively easy to determine that the received video stream data needs to be beautified.
The second mode is as follows: and receiving second prompt information, wherein the second prompt information is used for indicating that the received video stream data is not subjected to beautifying processing.
The second prompt information may be information sent by the anchor client to the server, where the second prompt information is used to indicate that the received video stream data is not subjected to the skin care processing, and it may be determined that the received video stream data needs to be subjected to the skin care processing after the second prompt information is received.
Therefore, the received video stream data is indicated to be not subjected to the beautifying processing through the second prompt message, so that the received video stream data can be determined to be subjected to the beautifying processing, and the method is easy to implement.
The third mode is as follows: receiving configuration information of a terminal for installing the anchor client; and determining that the terminal does not support the beautifying processing function according to the configuration information.
The anchor client can be installed in the terminal, and when the terminal configuration is low, the anchor client cannot perform beautifying processing on the video stream data. The configuration information is information for determining whether the terminal supports the beauty processing function, and for example, the configuration information may be a system version or a memory.
In one example, the determining that the terminal does not support a beauty processing function according to the configuration information includes: and when the system version of the terminal is lower than the preset version, judging that the terminal does not support the beautifying processing function.
For example, for the Android system, if the system version of the terminal is lower than 4.2, it may be determined that the terminal does not support the beauty processing function. For the IOS system, if the system version of the terminal is lower than 8.0, it may be determined that the terminal does not support the beauty processing function.
It is understood that the preset version can be set according to requirements, and is not limited to the above-mentioned version.
In another example, the determining that the terminal does not support a beauty processing function according to the configuration information includes: and when the memory of the terminal is less than or equal to the preset memory, judging that the terminal does not support the beautifying processing function.
For example, for the Android system, if the memory of the terminal is less than or equal to 1G, it may be determined that the terminal does not support the beauty processing function. For the IOS system, if the memory of the terminal is less than or equal to 512M, it may be determined that the terminal does not support the beauty processing function.
It can be understood that, the above only lists several ways of determining whether the terminal supports the beauty processing function according to the configuration information, and other configuration information may also be used for the determination, which is not described herein again.
As can be seen from the foregoing embodiments, in the embodiments, it can be directly determined whether the terminal supports the beauty processing function through the configuration information of the terminal, and the server determines the terminal, so as to reduce the burden of the terminal.
The various technical features in the above embodiments can be arbitrarily combined, so long as there is no conflict or contradiction between the combinations of the features, but the combination is limited by the space and is not described one by one, and therefore, any combination of the various technical features in the above embodiments also belongs to the scope disclosed in the present specification.
In addition, for performing the beautifying processing on the received video stream data, a beautifying method in the related art may be adopted, for example, the beautifying processing of the video stream may be realized by adjusting a beautifying parameter of video beautifying software. For other beautifying methods, no further description is given here.
For the convenience of understanding the scheme of the present application, the present application is described with an application example in which a client interacts with a server. As shown in fig. 2B, fig. 2B is a timing diagram of a beauty treatment method according to an exemplary embodiment, which can be applied in a system including an anchor client, a viewer client and a server, the method including the steps of:
1. and the anchor client sends the configuration information of the terminal provided with the anchor client to the server.
2. And the server receives the configuration information, judges whether the terminal supports the beautifying processing function according to the configuration information, and stores the judgment result.
3. And after the anchor client enters a live channel, uploading the shot video stream data to the server.
4. And the server receives video stream data uploaded by the main broadcasting client in the live broadcasting channel.
5. And if the terminal does not support the beautifying processing function, carrying out beautifying processing on the received video stream data.
Wherein, since it has been determined that the terminal on which the anchor client is installed does not support the beautifying function, it may be determined that the received video stream data needs to be subjected to beautifying processing, and the received video stream data is subjected to beautifying processing.
6. And broadcasting the video stream data after the beautifying processing to a viewer client entering the live channel.
7. And the audience client performs video display according to the video stream data after the beautifying processing.
8. And if the terminal supports the function of beautifying, directly broadcasting the received video stream data to a viewer client entering the live channel.
9. And the audience client performs video display according to the received video stream data.
It can be seen from the above embodiments that, when the terminal where the anchor client is located does not support the function of beautifying, the server receives the video stream data uploaded by the anchor client in the live broadcast channel, performs beautifying processing on the received video stream data, and broadcasts the video stream data subjected to beautifying processing to the audience client entering the live broadcast channel, so that the video displayed by the audience client is the video subjected to beautifying processing, and the number of fans of the anchor can be increased. When the terminal where the anchor client is located supports the beautifying processing function, the server does not perform beautifying processing on the video stream data, so that resource waste caused by secondary beautifying is avoided.
In order to avoid the problem that other clients entering a live broadcast room cannot display a beauty video due to the fact that a client in a low-profile terminal cannot realize a beauty function in the prior art, the application provides another beauty processing method which can be applied to a live broadcast network architecture shown in fig. 1 and receives video streaming data broadcasted by a server, wherein the video streaming data is video streaming data uploaded by a main broadcast client entering a live broadcast channel; performing beautifying processing on the received video stream data; and performing video display according to the video stream data subjected to the face beautifying processing, so that whether the anchor client performs the face beautifying processing on the video stream data or not is realized, the videos watched by the audience of the audience client are the videos subjected to the face beautifying processing, and the number of fans of the anchor can be increased because the videos subjected to the face beautifying processing are more attractive to users compared with the videos not subjected to the face beautifying processing.
As shown in fig. 3A, fig. 3A is a flowchart of another beauty treatment method according to an exemplary embodiment, the method includes steps 301 to 303:
in step 301, video stream data broadcasted by a server is received, where the video stream data is uploaded by a main broadcast client entering a live channel.
In step 302, the received video stream data is subjected to a beautifying process.
In step 303, video presentation is performed according to the beautification-processed video stream data.
The method can be applied to the audience client entering the live channel, namely the anchor client and the audience client are in the same live channel. The anchor client or viewer client may include a PC end, a mobile end, and the like. The PC end comprises a web end and an APP end, and the mobile end comprises a wap end and an APP end.
Firstly, the anchor client can upload live video stream data to the server, and the server receives the video stream data uploaded by the anchor client in a live channel and broadcasts the video stream data to the audience clients entering the live channel.
In one example, the viewer client may directly perform a beautifying process on the received video stream data, thereby obtaining a beautifying video. Therefore, whether the anchor client performs the beautifying processing on the video stream data or not, the audience client performs the beautifying processing on the video stream data, and the video displayed by the audience client can be ensured to be the video subjected to the beautifying processing.
In another example, to avoid the secondary beautifying of the video stream data by the viewer client, it may be determined that the received video stream data needs to be beautified before the received video stream data is beautified. Several modes of determination are listed below:
the first mode is as follows: and receiving first prompt information, wherein the first prompt information is used for indicating that the terminal provided with the anchor client does not support the beautifying processing function.
Wherein, the terminal installed with the anchor client may be called an anchor terminal. The first prompt information may be information sent by the anchor client to the server, for example, when the anchor client detects that the anchor terminal does not support the beauty processing function, the first prompt information is sent to the server. The first prompt information may be information generated by the server terminal when the anchor terminal is determined not to support the beauty processing function, or the like. The first prompt message is used for indicating that the terminal installed with the anchor client does not support the beautifying function, and the audience client can judge that the received video stream data is data without beautifying after receiving the first prompt message, namely, the received video stream data needs to be beautified.
As can be seen from the foregoing embodiments, the terminal on which the anchor client is installed is indicated by way of the first prompt message not to support the beautifying processing function, so that it is relatively easy to determine that the received video stream data needs to be beautified.
The second mode is as follows: and receiving second prompt information, wherein the second prompt information is used for indicating that the received video stream data is not subjected to beautifying processing.
The second prompt information may be prompt information generated by the anchor client when the anchor client determines that the video stream data is not subjected to the beautifying processing, or prompt information generated by the server when the anchor client determines that the video stream data is not subjected to the beautifying processing, and the like. The second prompt information is used to indicate that the received video stream data is not subjected to the beautifying processing, and it may be determined that the received video stream data needs to be subjected to the beautifying processing after the second prompt information is received.
Therefore, the received video stream data is indicated to be not subjected to the beautifying processing through the second prompt message, so that the received video stream data can be determined to be subjected to the beautifying processing, and the method is easy to implement.
The third mode is as follows: receiving configuration information of a terminal for installing the anchor client; and determining that the terminal does not support the beautifying processing function according to the configuration information.
The anchor client can be installed in the terminal, and when the terminal configuration is low, the anchor client cannot perform beautifying processing on the video stream data. The configuration information is information for determining whether the terminal supports the beauty processing function, and for example, the configuration information may be a system version or a memory.
In one example, the determining that the terminal does not support a beauty processing function according to the configuration information includes: and when the system version of the terminal is lower than the preset version, judging that the terminal does not support the beautifying processing function.
In another example, the determining that the terminal does not support a beauty processing function according to the configuration information includes: and when the memory of the terminal is less than or equal to the preset memory, judging that the terminal does not support the beautifying processing function.
It can be understood that, the above only lists several ways of determining whether the terminal supports the beauty processing function according to the configuration information, and other configuration information may also be used for the determination, which is not described herein again.
In one example, it can also be determined whether a terminal executing the method supports a beauty processing function; and if the terminal executing the method does not support the beautifying function, outputting third prompt information, wherein the third prompt information is used for indicating that the received video stream data is data which is not subjected to beautifying processing.
The beautifying processing of the received video stream data comprises: and if the terminal executing the method supports the beautifying processing function, performing beautifying processing on the received video stream data.
The terminal for executing the method can be a terminal where a viewer client entering a live channel is located. The anchor client and the viewer client are on the same live channel. When the terminal where the anchor client is located and the terminal where the audience client is located do not support the beautifying function, third prompt information can be output to prompt the user that the watched video is the video without beautifying processing, so that the user can know the true situation, and the loss of the anchor caused by the absence of beautifying processing can be slightly reduced.
The various technical features in the above embodiments can be arbitrarily combined, so long as there is no conflict or contradiction between the combinations of the features, but the combination is limited by the space and is not described one by one, and therefore, any combination of the various technical features in the above embodiments also belongs to the scope disclosed in the present specification.
For the convenience of understanding the scheme of the present application, the present application is described with an application example in which a client interacts with a server. As shown in fig. 3B, fig. 3B is a timing diagram of another beauty treatment method shown in the present application according to an exemplary embodiment, which can be applied in a system including an anchor client, a viewer client and a server, the method including the steps of:
1. and the anchor client sends the video stream data and the configuration information of the terminal for installing the anchor client to the server.
2. And the server broadcasts the received video stream data and the configuration information to the audience client terminals entering the same live channel.
3. And the audience client judges whether the terminal supports the beautifying processing function or not according to the configuration information.
4. And if the terminal does not support the beautifying processing function, performing beautifying processing on the received video stream data, and performing video display according to the video stream data after the beautifying processing.
5. And if the terminal supports the beautifying processing function, directly displaying the video according to the received video stream data.
According to the embodiment, when the terminal where the anchor client is located does not support the beautifying function, the video stream data broadcasted by the server is received by the audience client, the received video stream data is subjected to beautifying processing, and then video display is performed according to the video stream data subjected to the beautifying processing, so that the video displayed by the audience client is the video subjected to the beautifying processing, and anchor blogging can be realized. When the terminal where the anchor client is located supports the beautifying processing function, the audience client does not perform beautifying processing on the video stream data, so that resource waste caused by secondary beautifying is avoided.
Corresponding to the embodiment of the beautifying processing method, the application also provides embodiments of a beautifying processing device and server equipment.
The embodiment of the beautifying processing device can be applied to server-side equipment. The embodiments of the apparatus may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and as a logical device, the device is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the server device where the device is located. From a hardware aspect, as shown in fig. 4, a hardware structure diagram of a service device in which the beauty processing apparatus 431 is located in the present application is shown, except for the processor 410, the memory 430, the network interface 440, and the nonvolatile memory 420 shown in fig. 4, the device in which the apparatus is located in the embodiment may also include other hardware according to the actual function of the device, and one hardware structure is not shown in fig. 4.
Referring to fig. 5, a block diagram of an embodiment of a beauty treatment apparatus according to the present application is shown:
the device includes: a data receiving module 510, a beauty processing module 520 and a data broadcasting module 530.
The data receiving module 510 is configured to receive video stream data uploaded by a main broadcast client in a live channel.
A beauty processing module 520, configured to perform beauty processing on the received video stream data.
The data broadcasting module 530 is configured to broadcast the video stream data after the beauty processing to the viewer client entering the live channel, so that the viewer client performs video display according to the video stream data after the beauty processing.
In an alternative implementation, the apparatus comprises at least one of the following modules (not shown in fig. 5):
the first determining module is used for receiving first prompt information before the received video stream data is subjected to beautifying processing, and the first prompt information is used for indicating that a terminal provided with the anchor client side does not support the beautifying processing function.
A second determining module, configured to receive configuration information of a terminal on which the anchor client is installed before performing a beautifying process on the received video stream data; and determining that the terminal does not support the beautifying processing function according to the configuration information.
And the third determining module is used for receiving second prompt information before the received video stream data is subjected to the beautifying processing, and the second prompt information is used for indicating that the received video stream data is not subjected to the beautifying processing.
In another optional implementation manner, the configuration information includes a system version and/or a memory; the second determination module is configured to (not shown in fig. 5):
and when the system version of the terminal is lower than the preset version, judging that the terminal does not support the beautifying processing function.
And/or when the memory of the terminal is less than or equal to the preset memory, judging that the terminal does not support the beautifying processing function.
Referring to fig. 6, a block diagram of another embodiment of the beauty treatment device of the present application is shown:
the device comprises: a data receiving module 610, a beauty processing module 620 and a video presentation module 630.
The data receiving module 610 is configured to receive video stream data broadcasted by a server, where the video stream data is video stream data uploaded by a main broadcast client entering a live broadcast channel.
A beautifying processing module 620, configured to perform beautifying processing on the received video stream data.
And a video display module 630, configured to perform video display according to the video stream data after the beauty processing.
In an alternative implementation, the apparatus comprises at least one of the following modules (not shown in fig. 6):
the first determining module is used for receiving first prompt information before the received video stream data is subjected to beautifying processing, and the first prompt information is used for indicating that a terminal provided with the anchor client side does not support the beautifying processing function.
A second determining module, configured to receive configuration information of a terminal on which the anchor client is installed before performing a beautifying process on the received video stream data; and determining that the terminal does not support the beautifying processing function according to the configuration information.
And the third determining module is used for receiving second prompt information before the received video stream data is subjected to the beautifying processing, and the second prompt information is used for indicating that the received video stream data is not subjected to the beautifying processing.
In another optional implementation manner, the configuration information includes a system version and/or a memory; the second determination module is configured to (not shown in fig. 6):
and when the system version of the terminal is lower than the preset version, judging that the terminal does not support the beautifying processing function.
And/or when the memory of the terminal is less than or equal to the preset memory, judging that the terminal does not support the beautifying processing function.
In another alternative implementation, the apparatus further comprises (not shown in fig. 6):
and the judging module is used for judging whether the terminal executing the method supports the beautifying processing function.
And the information output module is used for outputting third prompt information if the terminal executing the method does not support the beautifying function, wherein the third prompt information is used for indicating that the received video stream data is data which is not subjected to beautifying processing.
The beauty treatment module is used for: and if the terminal executing the method supports the beautifying processing function, performing beautifying processing on the received video stream data.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application 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 application is limited only by the appended claims.

Claims (7)

1. A cosmetic treatment method, characterized in that it comprises:
receiving video stream data uploaded by a main broadcasting client in a live broadcasting channel;
determining whether to subject the received video stream data to a beautifying process; wherein determining whether to subject the received video stream data to a beautifying process includes: determining whether to perform beautifying processing on the video data stream according to the corresponding relation between the terminal provided with the anchor client and first prompt information, wherein the first prompt information is used for indicating that the terminal provided with the anchor client does not support the beautifying processing function; or determining whether to perform beautifying processing on the received video stream data according to configuration information of a terminal provided with the anchor client, wherein the configuration information is used for determining that the terminal does not support the beautifying processing function;
if so, performing the beautifying processing on the video data stream and broadcasting the video stream data subjected to the beautifying processing to a spectator client entering the live channel so that the spectator client performs video display according to the video stream data subjected to the beautifying processing.
2. The method of claim 1, wherein the configuration information comprises a system version and/or memory; the determining that the terminal does not support a beauty processing function according to the configuration information includes:
when the system version of the terminal is lower than a preset version, judging that the terminal does not support the beautifying processing function;
and/or the presence of a gas in the gas,
and when the memory of the terminal is less than or equal to the preset memory, judging that the terminal does not support the beautifying processing function.
3. A cosmetic treatment method, characterized in that it comprises:
receiving video streaming data broadcasted by a server, wherein the video streaming data is uploaded by a main broadcasting client entering a live broadcasting channel;
determining whether to subject the received video stream data to a beautifying process; determining whether to perform the beautifying processing on the video data stream according to the corresponding relation between the terminal provided with the anchor client and first prompt information, wherein the first prompt information is used for indicating that the terminal provided with the anchor client does not support the beautifying processing function; or determining whether to perform beautifying processing on the received video stream data according to configuration information of a terminal provided with the anchor client, wherein the configuration information is used for determining that the terminal does not support the beautifying processing function;
and performing video display according to the video stream data after the beautifying processing.
4. The method of claim 3, wherein the configuration information comprises a system version and/or memory; the determining that the terminal does not support a beauty processing function according to the configuration information includes:
when the system version of the terminal is lower than a preset version, judging that the terminal does not support the beautifying processing function;
and/or the presence of a gas in the gas,
and when the memory of the terminal is less than or equal to the preset memory, judging that the terminal does not support the beautifying processing function.
5. The method of claim 3, further comprising:
judging whether a terminal executing the method supports a beautifying processing function or not;
if the terminal executing the method does not support the beautifying function, outputting third prompt information, wherein the third prompt information is used for indicating that the received video stream data is data which is not subjected to beautifying;
the beautifying processing of the received video stream data comprises:
and if the terminal executing the method supports the beautifying processing function, performing beautifying processing on the received video stream data.
6. A beauty treatment apparatus, characterized in that the apparatus comprises:
the data receiving module is used for receiving video stream data uploaded by a main broadcasting client in a live broadcasting channel;
the judging module is used for determining whether to carry out beautifying processing on the received video stream data; wherein determining whether to subject the received video stream data to a beautifying process includes: determining whether to perform beautifying processing on the video data stream according to the corresponding relation between the terminal provided with the anchor client and first prompt information, wherein the first prompt information is used for indicating that the terminal provided with the anchor client does not support the beautifying processing function; or determining whether to perform beautifying processing on the received video stream data according to configuration information of a terminal provided with the anchor client, wherein the configuration information is used for determining that the terminal does not support the beautifying processing function;
the beautifying processing module is used for carrying out beautifying processing on the received video stream data;
and the data broadcasting module is used for broadcasting the video stream data after the beauty treatment to the audience client entering the live broadcast channel so as to enable the audience client to perform video display according to the video stream data after the beauty treatment.
7. A beauty treatment apparatus, characterized in that the apparatus comprises:
the data receiving module is used for receiving video stream data broadcasted by a server side, wherein the video stream data is uploaded by a main broadcasting client side entering a live broadcasting channel;
the judging module is used for determining whether to carry out beautifying processing on the received video stream data; determining whether to perform the beautifying processing on the video data stream according to the corresponding relation between the terminal provided with the anchor client and first prompt information, wherein the first prompt information is used for indicating that the terminal provided with the anchor client does not support the beautifying processing function; or determining whether to perform beautifying processing on the received video stream data according to configuration information of a terminal provided with the anchor client, wherein the configuration information is used for determining that the terminal does not support the beautifying processing function;
the beautifying processing module is used for carrying out beautifying processing on the received video stream data;
and the video display module is used for displaying videos according to the video stream data after the beautifying processing.
CN201610850175.0A 2016-09-23 2016-09-23 Beautifying processing method and device Active CN106231367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610850175.0A CN106231367B (en) 2016-09-23 2016-09-23 Beautifying processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610850175.0A CN106231367B (en) 2016-09-23 2016-09-23 Beautifying processing method and device

Publications (2)

Publication Number Publication Date
CN106231367A CN106231367A (en) 2016-12-14
CN106231367B true CN106231367B (en) 2020-03-06

Family

ID=58077273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610850175.0A Active CN106231367B (en) 2016-09-23 2016-09-23 Beautifying processing method and device

Country Status (1)

Country Link
CN (1) CN106231367B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147782B (en) * 2017-04-27 2020-05-19 北京酷我科技有限公司 Method for recording live broadcast of mobile phone
CN108040285B (en) * 2017-11-15 2019-12-06 上海掌门科技有限公司 Video live broadcast picture adjusting method, computer equipment and storage medium
CN108093267B (en) * 2017-12-27 2020-12-04 广州虎牙信息科技有限公司 Live broadcast method and device, storage medium and electronic equipment
CN109951736B (en) * 2019-04-11 2021-06-08 北京大生在线科技有限公司 Filter method and system for online real-time video
CN110267093B (en) * 2019-05-15 2022-03-29 广州视源电子科技股份有限公司 Live video pushing method and device, storage medium, terminal and live mirror
CN114125277B (en) * 2021-11-12 2024-02-09 北京达佳互联信息技术有限公司 Method and equipment for controlling video shooting special effects of application
CN116016972B (en) * 2022-12-29 2024-09-24 广州方硅信息技术有限公司 Live broadcasting room beautifying method, device and system, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574306A (en) * 2014-12-24 2015-04-29 掌赢信息科技(上海)有限公司 Face beautifying method for real-time video and electronic equipment
CN104853134A (en) * 2014-02-13 2015-08-19 腾讯科技(深圳)有限公司 Video communication method and video communication device
CN105631417A (en) * 2015-12-24 2016-06-01 武汉鸿瑞达信息技术有限公司 Video beautification system and method applied to Internet video live broadcast
CN105872447A (en) * 2016-05-26 2016-08-17 努比亚技术有限公司 Video image processing device and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10003851B2 (en) * 2009-11-24 2018-06-19 Imagine Communications Corp. Managed multiplexing of video in an adaptive bit rate environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853134A (en) * 2014-02-13 2015-08-19 腾讯科技(深圳)有限公司 Video communication method and video communication device
CN104574306A (en) * 2014-12-24 2015-04-29 掌赢信息科技(上海)有限公司 Face beautifying method for real-time video and electronic equipment
CN105631417A (en) * 2015-12-24 2016-06-01 武汉鸿瑞达信息技术有限公司 Video beautification system and method applied to Internet video live broadcast
CN105872447A (en) * 2016-05-26 2016-08-17 努比亚技术有限公司 Video image processing device and method

Also Published As

Publication number Publication date
CN106231367A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
CN106231367B (en) Beautifying processing method and device
CN106454407B (en) Video live broadcasting method and device
CN112714330B (en) Gift presenting method and device based on live broadcast with wheat and electronic equipment
CN105635180B (en) Information push method and device
CN108093267B (en) Live broadcast method and device, storage medium and electronic equipment
CN106127528B (en) Advertisement putting method and device
CN111836074B (en) Live wheat-connecting method and device, electronic equipment and storage medium
US20180288450A1 (en) Method for inserting information push into live video streaming, server, and terminal
JP2006005897A (en) Terminal device, content distribution system, information output method, information output program
CN105516741A (en) Method and apparatus for inserting game in live broadcast interface
US8797357B2 (en) Terminal, system and method for providing augmented broadcasting service using augmented scene description data
US11540028B2 (en) Information presenting method, terminal device, server and system
US20170111667A1 (en) System and method for distributing media content associated with an event
CN104883618A (en) Method, device, and system for tentatively watching living programs
CN112492347A (en) Method for processing information flow and displaying bullet screen information and information flow processing system
CN105100906A (en) Play control method and play control device
US11930248B2 (en) Information processing apparatus, information processing method, transmission apparatus, and transmission method
CN106792244A (en) Net cast method and device
KR20200001153A (en) Method and system for generating highlight video
JP2012134980A (en) System and method of providing personalized service
CN112492324A (en) Data processing method and system
CN113873282B (en) Live broadcasting room guiding speaking method, system, device, medium and computer equipment
CN113645472A (en) Interaction method and device based on playing object, electronic equipment and storage medium
CN106790369B (en) Multimedia application interface decorating method and device
US10250938B1 (en) Pre-fetching supplemental content for a media stream

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210108

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 511442 24 floors, B-1 Building, Wanda Commercial Square North District, Wanbo Business District, 79 Wanbo Second Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.