Barrage display method, device, equipment, medium and program product
By using visual effects that link bullet comments to video content in video playback software, the styles of bullet comments are enriched, the user experience is enhanced, and users are helped to better understand the video content.
Patent Information
- Application Number
- CN202111229231.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-21
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2041-10-21
AI Technical Summary
Existing video playback software offers a limited variety of bullet screen styles, failing to effectively enrich the user experience.
By displaying bullet comments with target visual effects in the video frame, the target video content is associated with the bullet comment effects, and bullet comments without target visual effects are displayed when the target video content does not appear in the video frame, thus enriching the bullet comment styles.
It enhances users' ability to find points of resonance in video content through bullet screen effects, enabling users to better grasp the core ideas of the video content.
Smart Images

Figure CN116017016B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of multimedia playing, and particularly relates to a display method, device, equipment, medium and program product of a bullet screen. BACKGROUND
[0002] With the development of video technology, the existing video playing software is often provided with a bullet screen function. The bullet screen refers to a comment subtitle published by a user for a video.
[0003] In the related art, the bullet screen on a video playing interface has multiple styles, such as a bullet screen carrying a publishing role (a role selected by a viewer), a bullet screen with color characteristics, and a bullet screen with size characteristics. However, the bullet screen style displayed through the related art is only displayed according to the setting of a user, and the types of the bullet screen style are less. SUMMARY
[0004] The present application provides a display method, device, equipment, medium and program product of a bullet screen, which enriches the style of the bullet screen. The technical solution at least includes the following:
[0005] According to one aspect of the present application, a display method of a bullet screen is provided, and the method includes:
[0006] displaying a video picture;
[0007] in a case where target video content appears in the video picture, displaying a bullet screen with a target visual special effect, the target video content being associated with the target visual special effect;
[0008] in a case where the target video content does not appear in the video picture, displaying a bullet screen without the target visual special effect.
[0009] According to another aspect of the present application, a display device of a bullet screen is provided, and the device includes:
[0010] a display module configured to display a video picture;
[0011] the display module is further configured to, in a case where target video content appears in the video picture, display a bullet screen with a target visual special effect, the target video content being associated with the target visual special effect;
[0012] the display module is further configured to, in a case where the target video content does not appear in the video picture, display a bullet screen without the target visual special effect.
[0013] According to one aspect of the present application, a computer device is provided, and the computer device includes a processor and a memory. The memory stores a computer program, which is loaded and executed by the processor to implement the display method of the bullet screen as described above.
[0014] According to another aspect of the present application, a computer readable storage medium is provided, the storage medium storing a computer program, the computer program being loaded and executed by a processor to implement the display method of the barrage as described above.
[0015] According to another aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the display method of the barrage as described above.
[0016] The technical solutions provided by the embodiments of the present application have at least the following beneficial effects:
[0017] By associating the target video content appearing in the video picture with the target visual special effect of the barrage, not only the style of the barrage is enriched, but also the barrage with the target visual special effect and the target video content echo each other, which is beneficial for the user to find the resonance point of the target video content through the barrage special effect, so that the user can better grasp the core idea of the video content. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0019] Figure 1 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;
[0020] Figure 2 is a flowchart of the display method of the barrage provided by an exemplary embodiment of the present application;
[0021] Figure 3 is a schematic diagram of a video playing interface provided by an exemplary embodiment of the present application;
[0022] Figure 4 is a schematic diagram of a video playing interface provided by another exemplary embodiment of the present application;
[0023] Figure 5 is a flowchart of the display method of the barrage provided by another exemplary embodiment of the present application;
[0024] Figure 6 is a flowchart of the display method of the barrage provided by another exemplary embodiment of the present application;
[0025] Figure 7 FIG. 1 is a flowchart of a method for displaying a barrage according to another example embodiment of the present application;
[0026] Figure 8 FIG. 2 is a structural block diagram of a device for displaying a barrage according to an example embodiment of the present application;
[0027] Figure 9 FIG. 3 is a structural block diagram of a computer device according to an example embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the objects, technical solutions and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0029] First, the terms involved in the embodiments of the present application are briefly introduced:
[0030] Barrage: refers to the user's comment subtitle displayed on the video screen. In the related art, the barrage can be set as a barrage carrying a publishing role, such as "Su Mingcheng: picture him not taking a bath!!!", "Su Daqiang: picture him old!!!"; In the related art, the barrage can be set as a barrage with color characteristics, such as "haha" in color font; In the related art, the barrage can be set as a barrage with size characteristics, such as "front high energy" in five font.
[0031] Optionally, the form of the barrage includes but is not limited to at least one of text, picture and voice, which is not limited in the present application.
[0032] Real-time rendering: that is, calculating the screen while rendering. For the user, any operation, such as finger sliding on the screen, mouse clicking, keyboard input, etc., will cause the screen to be recalculated, and the user needs to get the feedback result in real time after the operation, so the screen needs to be rendered in real time. In simulation applications, a large amount of data shows that the rendering delay is controlled within 100ms, so that the user will not obviously perceive the asynchronization of the screen and the sound. Corresponding to real-time rendering is offline rendering, that is, rendering all future screens in advance and then switching one by one.
[0033] Figure 1 FIG. 1 is a flowchart of a method for displaying a barrage according to another example embodiment of the present application;
[0034] The terminal 120 is installed and runs an application supporting video playing. The application includes, but is not limited to, at least one of a webpage, an applet and a client. The terminal 120 is a terminal used by a user to control at least one of playing, pausing, switching, speed adjusting, sending a barrage and resolution adjusting of a video.
[0035] The terminal 120 is connected to the server 140 through a wired network or a wireless network.
[0036] The server 140 includes at least one of a server, a plurality of servers, a cloud computing platform and a virtualization center. For example, the server 140 includes a processor 144 and a memory 142, and the memory 142 includes a receiving module 1421, a control module 1422 and a sending module 1423. The receiving module 1421 is configured to receive a request sent by the terminal 120, such as a video playing request. The control module 1422 is configured to generate a response based on the video playing request. The sending module 1423 is configured to send the response to the terminal 120, such as sending a video frame to the terminal 120. The server 140 is configured to provide a background service for the application supporting video playing. Alternatively, the server 140 undertakes a major computing work, and the terminal 120 undertakes a minor computing work; or the server 140 undertakes a minor computing work, and the terminal 120 undertakes a major computing work.
[0037] In one embodiment, before the video playing, in response to the terminal 120 sending a video playing request to the server 140, the server 140 returns a storage data table of the video to the terminal 120, and the storage data table includes related data of at least one visual effect, and the related data includes a category number of the visual effect, a start time of the visual effect, an end time of the visual effect and visual effect data (a pre-configured set of visual effect sequence frames or a pre-configured video with an alpha channel).
[0038] Optionally, the application installed on the terminal 120 can be an application on an Android (an operating system platform) or an IOS (an operating system platform), and the device type of the terminal 120 includes at least one of a smart phone, a smart computer, a vehicle-mounted terminal, a wearable device, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop computer and a desktop computer. The following embodiments are exemplified by taking the terminal 120 including a smart phone, and the device type of the terminal 120 is not limited in the embodiments.
[0039] To enrich the style of the barrage, Figure 2 a flowchart of a display method of a barrage is shown, and the method is applied to Figure 1 The terminal 120 is exemplified, and the method includes:
[0040] Step 220, displaying the video picture;
[0041] In one embodiment, the terminal runs a client supporting video playing, and the terminal screen displays the video picture, which is optionally played through a small window or a full screen window. In one embodiment, the video picture is displayed on the client interface, or the video picture is displayed through a small window when the terminal runs other application programs.
[0042] In one embodiment, in response to the user touching the target video, the terminal loads the target video from the server and displays the video picture of the target video on the screen. In one embodiment, in response to the user selecting any moment on the playing time axis of the video, the terminal displays the video picture on the screen. In one embodiment, in response to the user's finger swiping operation on the video picture, the terminal displays the video picture on the screen.
[0043] Step 240, displaying the bullet screen with the target visual effect in the case where the target video content appears in the video picture, the target video content being associated with the target visual effect;
[0044] Target video content: refers to the pre-selected video content in the video, for example, in a 2-hour horror movie, a 3-second "monster suddenly appears with a fierce face" segment is selected as the target video segment, and in response to the terminal screen displaying any frame of the video picture in the 3-second segment, it is considered that the target video content appears in the video picture.
[0045] Target visual effect: refers to a pre-set visual effect associated with the target video content, which is used to simulate, cooperate with, or imitate at least one of the target video content, the target video content, and the shooting lens of the target video content.
[0046] In one embodiment, in the case where the video content of "monster suddenly appears with a fierce face" appears in the video picture, the terminal displays the bullet screen with the flickering effect, which is manifested as the bullet screen disappearing and then appearing, or displaying part of the bullet screen and then switching to display another part of the bullet screen.
[0047] In one embodiment, in the case where the target video content appears in the video picture, the terminal displays the bullet screen without the target visual effect, and in response to the terminal rendering the target visual effect of the bullet screen without the target visual effect, the terminal displays the bullet screen with the target visual effect.
[0048] Step 260, displaying the bullet screen without the target visual effect in the case where the target video content does not appear in the video picture.
[0049] In one embodiment, the terminal displays the barrage without the target visual effect in a case where the target video content does not appear in the video picture.
[0050] The barrage without the target visual effect includes at least one of a barrage in a white normal text style, a barrage carrying a publishing role, a barrage with a color feature, and a barrage with a size feature. The barrage without the target visual effect in the present application is relative to the barrage with the target visual effect, and the present application does not limit the barrage without the target visual effect, which can have any barrage style mentioned in the related art.
[0051] In summary, by associating the target video content appearing in the video picture with the target visual effect of the barrage, not only the style of the barrage is enriched, but also the barrage with the target visual effect and the target video content echo each other, which is beneficial for the user to find the resonance point of the target video content through the barrage effect, so that the user can better grasp the core idea of the video content.
[0052] To realize the echo of the barrage and the target video content, based on Figure 2 In the optional embodiment shown in FIG. 2, step 240 can be replaced by any one of S1, S2 and S3.
[0053] S1: In a case where the target video content appears in the video picture, the barrage with the first visual effect is displayed, and the first visual effect is used to simulate the visual effect of the target video content.
[0054] In one embodiment, the target video content includes a flame, and the first visual effect includes a flame effect. Illustratively, referring to FIG. 3, the target video content includes a flame, and the first visual effect includes a flame effect. Figure 3 , Figure 3 FIG. 3 shows a video playing interface (a) before the target video content appears in the video picture, and video playing interfaces (b) and (c) after the target video content appears in the video picture. The barrage in the video playing interface (a) does not have the target visual effect. In a case where the target video content of “two cars colliding” appears in the video picture, the video playing interface (b) displays the barrage with the visual effect of “small flame”, and then the video playing interface (c) displays the barrage with the visual effect of “big flame”.
[0055] In an embodiment, the target video content comprises a weather element, the first visual effect comprises a weather element effect, and the weather element comprises at least one of wind, thunder, rain, and snow. Illustratively, the video frame presents a scene of “howling wind”, and the bullet screen with air flow effect is displayed to simulate the visual effect of “howling wind”; illustratively, the video frame presents a scene of “thunder and lightning”, and the bullet screen with lightning effect is displayed to simulate the visual effect of “thunder and lightning”; illustratively, the video frame presents a scene of “heavy rain”, and the bullet screen with water droplet effect is displayed to simulate the visual effect of “heavy rain”; illustratively, the video frame presents a scene of “snowy”, and the bullet screen with snowflake effect is displayed to simulate the visual effect of “snowy”.
[0056] In an embodiment, the target video content comprises a landscape element, the first visual effect comprises a landscape element effect, and the landscape element effect comprises at least one of mountains, rivers, plants, animals, and high-rise buildings. Illustratively, the video frame presents a scene of “endless mountains”, and the bullet screen with mountain peak effect is displayed to simulate the visual effect of “endless mountains”; illustratively, the video frame presents a scene of “trickling stream”, and the bullet screen with water flow effect is displayed to simulate the visual effect of “trickling stream”; illustratively, the video frame presents a scene of “lush green plants”, and the bullet screen with plant effect is displayed to simulate the visual effect of “lush green plants”; illustratively, the video frame presents a scene of “animals everywhere”, and the bullet screen with animal effect is displayed to simulate the visual effect of “animals everywhere”; illustratively, the video frame presents a scene of “high-rise buildings”, and the bullet screen with house effect is displayed to simulate the visual effect of “high-rise buildings”.
[0057] S2: In the case of the appearance of the target video content in the video frame, the bullet screen with the second visual effect is displayed, and the second visual effect is used to cooperate with the video scene of the target video content.
[0058] In an embodiment, the target video content comprises a romantic scene, and the second visual effect comprises a love heart effect; illustratively, the target video content comprises a scene of “boy proposing to girl”, and the bullet screen with love heart effect is displayed to cooperate with the target video content of the scene of “boy proposing to girl”.
[0059] In an embodiment, the target video content comprises a horror scene, and the second visual effect comprises a flashing effect; illustratively, the target video content comprises a scene of “ghost appearing”, and the bullet screen with flashing effect is displayed to cooperate with the target video content of the scene of “ghost appearing”. Figure 4 , Figure 4The video player interface (a) before the target video content appears in the video picture, and the video player interface (b) and (c) after the target video content appears in the video picture are shown. The barrage in the video player interface (a) does not have the target visual effect. In the case that the target video content of "TV picture jump display snowflake image" appears in the video picture, the video player interface (b) displays the barrage with the visual effect of "rapid flashing", and then the video player interface (c) displays the barrage with the visual effect of "continuous flashing". The flashing effect is used to match the target video content of "TV picture jump display snowflake image".
[0060] In an embodiment, the target video content includes a happy scene, and the second visual effect includes a firework effect; illustratively, the target video content includes a "scene of a family having a reunion dinner on New Year's Eve", and the barrage with the firework effect is displayed, and the firework effect is used to match the target video content of "scene of a family having a reunion dinner on New Year's Eve".
[0061] In an embodiment, the target video content includes a sad scene, and the second visual effect includes a tear effect; illustratively, the target video content includes a "scene of a boy crying in a corner after suffering from campus bullying", and the barrage with the tear effect is displayed, and the tear effect is used to match the target video content of "scene of a boy crying in a corner after suffering from campus bullying".
[0062] S3: In the case that the target video content appears in the video picture, display the barrage with the third visual effect, and the third visual effect is used to imitate the shooting lens effect of the target video content.
[0063] In an embodiment, the target video content includes video content shot by a slow motion, and the third visual effect includes a slow motion effect; illustratively, the target video content includes a "kungfu picture in an action film shot by a slow motion", and the barrage with the slow motion effect is displayed, and the barrage without the slow motion effect moves from right to left at a normal speed, and the barrage with the slow motion effect moves from right to left at a slower speed. The slow motion effect is used to imitate the slow motion of the kungfu picture.
[0064] In an embodiment, the target video content includes video content shot by a close-up lens, and the third visual effect includes a magnification effect; illustratively, the target video content includes a "picture of a face shot by a close-up lens", and the barrage with the magnification effect is displayed, and the barrage without the magnification effect is displayed in a normal size of text, and the barrage with the magnification effect is displayed in a larger size.
[0065] In one embodiment, the target video content comprises a video content captured by a long shot, and the third visual effect comprises a zoom-out effect; illustratively, the target video content comprises a "crowd picture captured by a long shot", the bullet screen with the zoom-out effect is displayed in a smaller size, and the bullet screen without the zoom-out effect is displayed in a normal size.
[0066] It is worth noting that the above S1, S2 and S3 can replace step 240 alone, or any two in combination, or all three in combination, and the present application does not limit this.
[0067] In summary, by setting the first visual effect to simulate the visual effect of the target video content, the second visual effect to cooperate with the video scene of the target video content, and the third visual effect to imitate the shooting lens effect of the target video content, the target video content is further associated with the target visual effect, and the style of the bullet screen is specifically enriched.
[0068] To determine the appearance of the target video content in the video picture, based on Figure 2 As shown in the optional embodiment, Figure 5 A flowchart of a display method of a bullet screen provided by an example embodiment of the present application is shown. Before step 240 is executed, step 231 or step 232 is further executed.
[0069] Step 231: obtaining a current playing time of a video picture, and determining that the target video content appears in the video picture in a case where the current playing time falls within a preset rendering time period of the target visual effect;
[0070] The preset rendering time period indicates a time period from the start time to the end time of the target visual effect.
[0071] In one embodiment, before the video is played, the terminal receives a storage data table of the video returned by the server, and the storage data table includes related data of at least one visual effect, the related data including a category number of the visual effect, a start time of the visual effect, an end time of the visual effect, and visual effect data (a group of visual effect sequence frames pre-configured or a video with an alpha channel pre-configured).
[0072] In response to the terminal obtaining the current playing time of the video picture, based on the current playing time falling between the start time of the target visual effect and the end time of the target visual effect (i.e., the current playing time is greater than or equal to the start time of the target visual effect, and the current playing time is less than or equal to the end time of the target visual effect), the terminal obtains the related data of the target visual effect from the storage data table, and determines that the target video content appears in the video picture.
[0073] At step 232, the AI (Artificial Intelligence) model is used to identify the video picture to obtain an identification result; and in a case where the identification result matches the target video content, it is determined that the target video content appears in the video picture.
[0074] In one embodiment, in response to the terminal using the image recognition model to perform feature extraction on the video picture, the image feature of the video picture is obtained; the terminal uses the image recognition model to obtain the matching degree between the image feature of the video picture and the feature of the image containing the target video content; and in a case where the matching degree meets a preset condition, it is determined that the target video content appears in the video picture.
[0075] Illustratively, in response to the terminal using the image recognition model to perform feature extraction on the video picture, the image feature of the video picture is obtained; the terminal uses the image recognition model to determine that the distance between the image feature of the video picture and the image feature of “car collision” is lower than a distance threshold, and it is determined that “car collision” (target video content) appears in the video picture.
[0076] Optionally, the image recognition model includes a convolution layer, an activation layer and a pooling layer. The convolution layer is used to extract the image feature and map the input data to the feature space; the activation layer is used to perform an activation operation on the output of the convolution layer and output the identification result of the video picture; and the pooling layer performs a maximum value pooling operation on the output of the activation layer. The number of layers included in the image recognition model is not limited in the embodiments of the present application. Generally speaking, the more the number of layers of the image recognition model, the better the effect but the longer the calculation time. In actual application, the image recognition model with appropriate number of layers can be designed in combination with the requirements for recognition accuracy and efficiency.
[0077] Optionally, the image recognition model is a CNN (Convolutional Neural Network), which can be an alexNet network, a VGG-16 network, etc. In addition, the algorithm used to train the CNN and obtain the image recognition model can be a faster RCNN algorithm, an RCNN algorithm, etc. The CNN and the algorithm for training the CNN are not specifically limited in the embodiments of the present application.
[0078] In summary, by listening to the real-time playing time of the video picture, it is determined that the target video content appears in the video picture, the asynchronous process between the rendering of the bullet screen and the video playing is realized, and the two are only connected through the time axis, which greatly reduces the difficulty of rendering the bullet screen on the video playing interface.
[0079] The AI model is used to identify video images, and the target video content is determined to appear in the video image based on the degree of match between the recognition results and the target video content. The AI model does not require pre-configuration of the rendering time period of visual effects. Instead, it is only necessary to find the target barrage effects based on the recognition results identified by the trained AI model. This enables the transferable rendering of visual effects between different videos, and has a wider range of applications.
[0080] based on Figure 2 In the illustrated alternative embodiment, Figure 6 A flowchart of a method for displaying a bullet screen provided by an exemplary embodiment of the present application is shown, wherein the target visual effect includes a looping visual effect, and step 240 can be replaced by step 250.
[0081] Step 250: When the target video content appears in the video screen, render the looping visual effects of the bullet screen and display the bullet screen with the looping visual effects.
[0082] The target video content is associated with a looping visual effect, which is a dynamic visual effect that appears periodically on the bullet screen. Figure 3 , Figure 3 The video playback interface (c) in the video playback interface shows a looping visual effect, and the terminal repeatedly renders the "blazing fire" effect of the bullet screen. Figure 4 , Figure 4 The video playback interface (c) in the video playback interface displays a looping visual effect, and the terminal repeatedly renders the "continuous flashing" effect of the bullet screen.
[0083] In one embodiment, the terminal renders the looping special effect in real-time. For example, when target video content appears in a video screen, the terminal monitors the real-time playback time of the video screen, obtains the coordinates and size of the bullet comment, and renders the looping visual special effect of the bullet comment based on the looping visual special effect data and the coordinates and size of the bullet comment until the real-time playback time reaches a preset end time of the looping visual special effect, after which the terminal displays the looping visual special effect. The looping visual special effect data includes at least one of a first special effect sequence frame group and a first special effect video.
[0084] Illustratively, the first special effects sequence frame group is a transparent sequence frame group that carries a looping visual effect. Based on the coordinates and size of the bullet comment, the terminal overlays the first special effects sequence frame group with the bullet comment at the location of the bullet comment using rendering techniques such as masking, mapping, or shading. After each frame in the first special effects sequence frame group is sequentially overlaid with the bullet comment, the first special effects sequence frame group is overlaid again until the real-time playback time reaches the preset end time of the looping visual effect.
[0085] Illustratively, the first special effects video is a video with an alpha channel that carries a looping visual effect. Based on the coordinates and size of the bullet comment, the terminal overlays the first special effects video with the bullet comment at the location of the bullet comment using rendering techniques such as masking, mapping, or shading. After each frame of the first special effects video is sequentially overlaid with the bullet comment, the first special effects video is re-overlaid until the real-time playback time reaches the preset end time of the looping visual effect.
[0086] In one embodiment, the target visual effects also include entry visual effects. Before "rendering the looping visual effects of the bullet comment" in step 250, it also includes: rendering the entry visual effects of the bullet comment.
[0087] Among them, the entrance visual effect is the visual effect that appears on the bullet screen at the beginning of the rendering process of the target visual effect. Figure 3 , Figure 3 The video playback interface (b) is the entry visual effect, and the terminal renders the "little flame" effect of the barrage. Figure 4 , Figure 4 The video playback interface (b) is the entry visual effect, and the terminal renders the "rapid flashing" effect of the barrage.
[0088] In one embodiment, the terminal renders the entry special effects in real-time. Schematically, the terminal obtains the coordinates and size of the barrage; based on the entry visual special effects data and in combination with the coordinates and size of the barrage, the terminal renders the entry visual special effects of the barrage, and the entry visual special effects data includes at least one of the second special effects sequence frame group and the second special effects video.
[0089] Schematically, the second special effect sequence frame group is a transparent sequence frame group carrying an entry visual effect. Combined with the coordinates and size of the barrage, the terminal superimposes the second special effect sequence frame group with the barrage at the position of the barrage through rendering techniques such as masking, mapping, or shading.
[0090] Schematically, the second special effects video is a video with an alpha channel that carries an entry visual effect. Combined with the coordinates and size of the barrage, the terminal superimposes the second special effects video with the barrage at the position of the barrage through rendering techniques such as masking, mapping, or shading.
[0091] In one embodiment, the target visual effects also include an appearance visual effect. After "rendering the looping visual effects of the bullet comment" in step 250, it also includes: rendering the appearance visual effect of the bullet comment.
[0092] Among them, the appearance visual effect is the visual effect that appears on the barrage at the end stage of the rendering process of the target visual effect.
[0093] Indicative, with reference Figure 3The video playing interface (c) can further display a video of "flickering flame gradually being extinguished", and the visual effect of "flickering flame gradually being extinguished" is the entry visual effect. Figure 4 The video playing interface (c) can further display a video of "bullet screen gradually being repaired", and the visual effect of "bullet screen gradually being repaired" is the entry visual effect.
[0094] In an embodiment, the terminal renders the entry visual effect in a real-time rendering manner. Illustratively, the terminal obtains the coordinates and size of the bullet screen; based on the entry visual effect data and in combination with the coordinates and size of the bullet screen, the terminal renders the entry visual effect of the bullet screen, and the entry visual effect data includes at least one of a third special effect sequence frame group and a third special effect video.
[0095] Illustratively, the third special effect sequence frame group is a transparent sequence frame group carrying the entry visual effect, and in combination with the coordinates and size of the bullet screen, the terminal superimposes the third special effect sequence frame group and the bullet screen through a rendering technology such as masking, mapping or coloring at the position of the bullet screen.
[0096] Illustratively, the third special effect video is a video with an alpha channel carrying the entry visual effect, and in combination with the coordinates and size of the bullet screen, the terminal superimposes the third special effect video and the bullet screen through a rendering technology such as masking, mapping or coloring at the position of the bullet screen.
[0097] In summary, by rendering the entry visual effect, the cycle visual effect and the exit visual effect of the bullet screen, the bullet screen style is further enriched, and the rendered bullet screen more closely echoes the content of the target video. For example, if the content of the target video is "the whole process of a fire", the entry visual effect is a "small flame at the beginning of the fire", the cycle visual effect is a "roaring fire during the fire", and the exit visual effect is a "small flame when the fire is about to be extinguished".
[0098] Next, the rendering of the target visual effect (including the entry visual effect, the cycle visual effect and the exit visual effect) will be described in detail.
[0099] First, before playing the video, the terminal loads a storage data table of the video, and the storage data table includes related data of at least one visual effect, and the related data includes a label of the visual effect, a start time value of the visual effect, an end time value of the visual effect, and visual effect data (a group of pre-configured visual effect sequence frames or a pre-configured video with an alpha channel).
[0100] The data table stores data related to the target visual effect, and the target visual effect includes an entry visual effect, a loop visual effect, and an exit visual effect. The data related to the target visual effect includes a start time value of the target visual effect, an end time value of the target visual effect, entry visual effect data (a sequence frame group carrying the entry visual effect or a video with an alpha channel carrying the entry visual effect), loop visual effect data (a sequence frame group carrying the loop visual effect or a video with an alpha channel carrying the loop visual effect), and exit visual effect data (a sequence frame group carrying the exit visual effect or a video with an alpha channel carrying the exit visual effect).
[0101] Then, the terminal listens to a real-time playing time of the video picture. When the real-time playing time is greater than or equal to the start time value of the target visual effect and less than or equal to the end time value of the target visual effect, the terminal acquires coordinates and dimensions of the barrage, and draws the entry visual effect data on the position of the barrage according to the coordinates and dimensions of the barrage. Illustratively, Figure 3 (b) in FIG. 4 shows the entry visual effect on the position of the barrage.
[0102] Then, after the entry visual effect is drawn, the terminal draws the loop visual effect data on the position of the barrage until the real-time playing time reaches the end time value of the target visual effect. If the loop visual effect has been drawn before the real-time playing time reaches the end time value of the target visual effect, the terminal draws the loop visual effect data on the position of the barrage again from the beginning. Illustratively, Figure 3 (c) in FIG. 4 shows the loop visual effect on the position of the barrage.
[0103] Finally, after the real-time playing time reaches the end time of the target visual effect, the terminal draws the exit visual effect data on the position of the barrage until the exit visual effect data is drawn. Optionally, after (c) in FIG. 4, the exit visual effect of “the flame gradually goes out” is also shown. Figure 3 (c) in FIG. 4 shows the exit visual effect of “the flame gradually goes out”.
[0104] In one embodiment, Figure 7 FIG. 5 shows a flowchart of a display method of a barrage provided by an exemplary embodiment of the present application. The method includes the following steps.
[0105] In step 701, a video timeline triggers a start time point of a target visual effect.
[0106] In one embodiment, when the video loading is completed, the terminal loads the storage data table of the video, the storage data table of the video including the related data of at least one visual effect, the related data including the category identifier of the visual effect, the start time value of the visual effect, the end time value of the visual effect, and the visual effect data (a pre-configured set of visual effect sequence frames or a pre-configured visual effect video).
[0107] In one embodiment, in response to the real-time play time value on the video timeline being greater than or equal to the start time value of the target visual effect, the terminal determines that the video timeline triggers the start time point of the target visual effect.
[0108] Step 702, drawing the entry visual effect;
[0109] In one embodiment, the terminal obtains the coordinates of the bullet screen visible in the current screen and the length of the bullet character. The size of the bullet is determined according to the length of the bullet character.
[0110] In one embodiment, according to the entry visual effect data in the target visual effect, the terminal draws the entry visual effect of the bullet on the position of the bullet according to the coordinates and size of the bullet. The target visual effect includes the entry visual effect, the cycle visual effect, and the exit visual effect.
[0111] Step 703, drawing the cycle visual effect;
[0112] In one embodiment, according to the cycle visual effect data in the target visual effect, the terminal draws the cycle visual effect of the bullet on the position of the bullet according to the coordinates and size of the bullet.
[0113] Step 704, whether the video timeline triggers the end time point of the target visual effect;
[0114] In one embodiment, the terminal determines whether the video timeline triggers the end time point of the target visual effect. Illustratively, in response to the real-time play time value on the video timeline being greater than or equal to the start time value of the target visual effect, it is determined that the video timeline triggers the end time point of the target visual effect. If yes, step 705 is executed; if no, step 703 is executed.
[0115] Step 705, drawing the exit visual effect;
[0116] In one embodiment, according to the exit visual effect data in the target visual effect, the terminal draws the exit visual effect of the bullet on the position of the bullet according to the coordinates and size of the bullet.
[0117] In summary, by rendering the entry visual effect, the cycle visual effect, and the exit visual effect of the bullet, not only the bullet style is further enriched, but also the rendered bullet more closely echoes the target video content.
[0118] Figure 8 A structural block diagram of a display device of a barrage provided by an example embodiment of the present application is shown, and the device comprises:
[0119] The display module 801 is configured to display a video picture.
[0120] The display module 801 is further configured to display a barrage with a target visual effect in a case where the target video content appears in the video picture, the target video content being associated with the target visual effect.
[0121] The display module 801 is further configured to display a barrage without the target visual effect in a case where the target video content does not appear in the video picture.
[0122] In an embodiment, the display module 801 is further configured to display a barrage with a first visual effect in a case where the target video content appears in the video picture, the first visual effect being used to simulate a visual effect of the target video content.
[0123] In an embodiment, the display module 801 is further configured to display a barrage with a second visual effect in a case where the target video content appears in the video picture, the second visual effect being used to match a video scene of the target video content.
[0124] In an embodiment, the display module 801 is further configured to display a barrage with a third visual effect in a case where the target video content appears in the video picture, the third visual effect being used to imitate a shooting lens effect of the target video content.
[0125] In an embodiment, the target video content includes a flame, and the first visual effect includes a flame effect.
[0126] In an embodiment, the target video content includes a meteorological element, and the first visual effect includes a meteorological element effect, the meteorological element including at least one of wind, thunder, rain, and snow.
[0127] In an embodiment, the target video content includes a romantic scene, and the second visual effect includes a heart effect.
[0128] In an embodiment, the target video content includes a horror scene, and the second visual effect includes a flickering effect.
[0129] In an embodiment, the target video content includes a happy scene, and the second visual effect includes a firework effect.
[0130] In an embodiment, the target video content includes a sad scene, and the second visual effect includes a tear effect.
[0131] In an embodiment, the target video content comprises video content captured by a slow-motion shot, and the third visual effect comprises a slow-motion effect.
[0132] In an embodiment, the target video content comprises video content captured by a close-up shot, and the third visual effect comprises a zoom-in effect.
[0133] In an embodiment, the target video content comprises video content captured by a long shot, and the third visual effect comprises a zoom-out effect.
[0134] In an embodiment, the apparatus further comprises a determining module 802.
[0135] In an embodiment, the determining module 802 is configured to acquire a current playing time of a video frame, and determine that the target video content appears in the video frame in a case where the current playing time falls within a preset rendering time period of the target visual effect, the preset rendering time period indicating a time period from a start time to an end time of the target visual effect.
[0136] In an embodiment, the determining module 802 is further configured to identify the video frame by using an artificial intelligence (AI) model to obtain an identification result, and determine that the target video content appears in the video frame in a case where the identification result matches the target video content.
[0137] In an embodiment, the apparatus further comprises a rendering module 803.
[0138] In an embodiment, the target visual effect comprises a loop visual effect, and the rendering module 803 is configured to render the loop visual effect of the barrage, the loop visual effect being a dynamic visual effect that periodically appears on the barrage.
[0139] In an embodiment, the rendering module 803 is further configured to listen to a real-time playing time of the video frame, acquire coordinates and a size of the barrage, and render the loop visual effect of the barrage repeatedly based on loop visual effect data in combination with the coordinates and the size of the barrage until the real-time playing time reaches a preset end time, the loop visual effect data comprising at least one of a first special effect sequence frame group and a first special effect video.
[0140] In an embodiment, the target visual effect further comprises an entry visual effect, and the rendering module 803 is further configured to render the entry visual effect of the barrage, the entry visual effect being a visual effect that appears on the barrage in a start phase of a rendering process of the target visual effect.
[0141] In an embodiment, the rendering module 803 is further configured to acquire coordinates and a size of the barrage, and render the entry visual effect of the barrage based on entry visual effect data in combination with the coordinates and the size of the barrage, the entry visual effect data comprising at least one of a second special effect sequence frame group and a second special effect video.
[0142] In one embodiment, the target visual effect also includes an appearance visual effect, and the rendering module 803 is further used to render the appearance visual effect of the barrage. The appearance visual effect is a visual effect that appears on the barrage at the end stage of the rendering process of the target visual effect.
[0143] In one embodiment, the rendering module 803 is also used to obtain the coordinates and size of the barrage; based on the appearance visual effects data, combined with the coordinates and size of the barrage, the appearance visual effects of the barrage are rendered, and the appearance effects data includes at least one of the third special effects sequence frame group and the third special effects video.
[0144] To sum up, the above-mentioned device not only enriches the style of the barrage by associating the target video content appearing in the video screen with the target visual effects of the barrage, but also makes the barrage with the target visual effects echo the target video content, which is beneficial for users to find resonance points of the target video content through the barrage effects, so that users can better grasp the core ideas of the video content.
[0145] It should be noted that the display device of the barrage provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the display device of the barrage provided in the above embodiment belongs to the same concept as the embodiment of the method for displaying the barrage. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0146] Figure 9 The following is a block diagram of a computer device 900 according to an exemplary embodiment of the present application. The computer device 900 may be a portable mobile terminal, such as a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer, or a desktop computer. The computer device 900 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, or other similar names.
[0147] Typically, the computer device 900 includes a processor 901 and a memory 902 .
[0148] The processor 901 can include one or more processing cores, such as a 4-core processor, a 9-core processor, and the like. The processor 901 can be implemented in the form of at least one of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), a PLA (Programmable Logic Array), and the like. The processor 901 can also include a main processor and a co-processor. The main processor is a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit). The co-processor is a low-power processor for processing data in a standby state. In some embodiments, the processor 901 can be integrated with a GPU (Graphics Processing Unit) for rendering and drawing content to be displayed by the display screen. In some embodiments, the processor 901 can further include an AI (Artificial Intelligence) processor for processing machine learning-related computing operations.
[0149] The memory 902 can include one or more computer-readable storage media that can be non-transitory. The memory 902 can also include a high-speed random access memory, and a nonvolatile memory such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 902 is used to store at least one instruction for being executed by the processor 901 to implement the display method of the bullet screen provided by the method embodiments in the present application.
[0150] In some embodiments, the computer device 900 can also optionally include a peripheral device interface 903 and at least one peripheral device. The processor 901, the memory 902, and the peripheral device interface 903 can be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 903 through a bus, a signal line, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 904, a display screen 905, a camera component 906, an audio circuit 907, and a power supply 908.
[0151] The peripheral interface 903 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 901 and the memory 902. In some embodiments, the processor 901, the memory 902 and the peripheral interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902 and the peripheral interface 903 can be implemented on a separate chip or circuit board, and the present embodiments are not limited in this regard.
[0152] The radio frequency circuit 904 is configured to receive and send RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 904 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 904 converts electrical signals to electromagnetic signals for transmission, or converts electromagnetic signals received to electrical signals. Optionally, the radio frequency circuit 904 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 904 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 904 can also include NFC (Near Field Communication) related circuitry, and the present application is not limited in this regard.
[0153] The display screen 905 is configured to display a UI (User Interface). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 905 is a touch display screen, the display screen 905 is further configured to capture touch signals on or above the surface of the display screen 905. The touch signals can be input to the processor 901 as control signals for processing. In this case, the display screen 905 can also be configured to provide virtual buttons and / or virtual keyboard, also known as soft buttons and / or soft keyboard. In some embodiments, the display screen 905 can be one, disposed on the front panel of the computer device 900; in other embodiments, the display screen 905 can be at least two, respectively disposed on different surfaces of the computer device 900 or in a folding design; in other embodiments, the display screen 905 can be a flexible display screen, disposed on a curved surface or a folding surface of the computer device 900. Even, the display screen 905 can also be disposed in an irregular shape, i.e., a special-shaped screen. The display screen 905 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.
[0154] The camera assembly 906 is configured to capture images or videos. Optionally, the camera assembly 906 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal, and the rear camera is disposed on the back of the terminal. In some embodiments, the rear camera is at least two, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, to realize the background blur function by fusing the main camera and the depth-of-field camera, the panoramic shooting and VR (Virtual Reality) shooting function by fusing the main camera and the wide-angle camera, or other fusion shooting functions. In some embodiments, the camera assembly 906 can further include a flash. The flash can be a single-color-temperature flash or a dual-color-temperature flash. The dual-color-temperature flash refers to the combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.
[0155] The audio circuit 907 can include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into an electrical signal input to the processor 901 for processing, or input to the radio frequency circuit 904 to realize voice communication. For the purpose of stereo sound collection or noise reduction, the microphone can be multiple, respectively arranged at different parts of the computer device 900. The microphone can also be an array microphone or an omnidirectional collection type microphone. The speaker is used to convert the electrical signal from the processor 901 or the radio frequency circuit 904 into sound waves. The speaker can be a conventional diaphragm speaker, or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only can it convert electrical signals into sound waves that humans can hear, but it can also convert electrical signals into sound waves that humans cannot hear for ranging purposes. In some embodiments, the audio circuit 907 can also include a headphone jack.
[0156] The power supply 908 is used to supply power to various components in the computer device 900. The power supply 908 can be alternating current, direct current, disposable battery or rechargeable battery. When the power supply 908 includes a rechargeable battery, the rechargeable battery can be a wired charging battery or a wireless charging battery. The wired charging battery is a battery charged through a wired line, and the wireless charging battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0157] In some embodiments, the computer device 900 further includes one or more sensors 910. The one or more sensors 910 include, but are not limited to, an acceleration sensor 911, a gyroscope sensor 912, a pressure sensor 913, a fingerprint sensor, an optical sensor 914, and a proximity sensor 915.
[0158] The acceleration sensor 911 can detect the acceleration in three coordinate axes of the coordinate system established by the computer device 900. For example, the acceleration sensor 911 can be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 901 can control the display screen 905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 911. The acceleration sensor 911 can also be used for game or user motion data collection.
[0159] The gyroscope sensor 912 can detect the body direction and rotation angle of the computer device 900, and the gyroscope sensor 912 can collect 3D actions of the user on the computer device 900 in cooperation with the acceleration sensor 911. The processor 901 can realize the following functions according to the data collected by the gyroscope sensor 912: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization when shooting, game control, and inertial navigation.
[0160] The pressure sensor 913 is arranged at a side frame of the computer device 900 and / or a lower layer of the display screen 905. When the pressure sensor 913 is arranged at the side frame of the computer device 900, a holding signal of the user to the computer device 900 can be detected, and left-hand or right-hand recognition or a shortcut operation is performed by the processor 901 according to the holding signal collected by the pressure sensor 913. When the pressure sensor 913 is arranged at the lower layer of the display screen 905, a pressure operation of the user to the display screen 905 is performed by the processor 901 to control an operable control on a UI interface. The operable control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0161] The optical sensor 914 is configured to collect ambient light intensity. In an embodiment, the processor 901 controls the display brightness of the display screen 905 according to the ambient light intensity collected by the optical sensor 914. Specifically, when the ambient light intensity is high, the display brightness of the display screen 905 is increased; and when the ambient light intensity is low, the display brightness of the display screen 905 is decreased. In another embodiment, the processor 901 dynamically adjusts the shooting parameter of the camera assembly 906 according to the ambient light intensity collected by the optical sensor 914.
[0162] The proximity sensor 915, also referred to as a distance sensor, is usually arranged at a front panel of the computer device 900. The proximity sensor 915 is configured to collect the distance between the user and the front of the computer device 900. In an embodiment, when the proximity sensor 915 detects that the distance between the user and the front of the computer device 900 gradually decreases, the processor 901 controls the display screen 905 to switch from a bright screen state to an off-screen state; and when the proximity sensor 915 detects that the distance between the user and the front of the computer device 900 gradually increases, the processor 901 controls the display screen 905 to switch from the off-screen state to the bright screen state.
[0163] Those skilled in the art can understand that the structure shown in the above embodiments is not a limitation on the computer device 900, and the computer device 900 can include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement. Figure 9
[0164] The present application also provides a computer readable storage medium, wherein the storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the display method of the barrage provided by the above method embodiments.
[0165] The application provides a computer program product or computer program, which comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the display method of the scroll provided in the method embodiments.
[0166] The above-mentioned sequence numbers of the embodiments of the application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0167] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or can be instructed by a program to complete the related hardware, and the program can be stored in a computer readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk.
[0168] The above-mentioned is only the optional embodiment of the application, and does not limit the application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the application shall be included in the protection scope of the application.
Claims
1. A method for displaying a bullet screen, characterized in that: The method comprises: displaying a video picture; in the case where target video content appears in the video picture, displaying a barrage with a first visual effect, the first visual effect being used to simulate a visual effect of the target video content; or, in the case where target video content appears in the video picture, displaying a barrage with a second visual effect, the second visual effect being used to match a video scene of the target video content; or, in the case where target video content appears in the video picture, displaying a barrage with a third visual effect, the third visual effect being used to imitate a shooting lens effect of the target video content; in the case where the target video content does not appear in the video picture, displaying a barrage without a target visual effect, the target visual effect including the first visual effect or the second visual effect or the third visual effect.
2. The method of claim 1, wherein the target video content includes flames, and the first visual effect includes a flame effect; or the target video content includes meteorological elements, and the first visual effect includes a meteorological element effect, the meteorological elements including at least one of wind, thunder, rain, and snow.
3. The method of claim 1, wherein the target video content includes a romantic scene, and the second visual effect includes a heart effect; or the target video content includes a horror scene, and the second visual effect includes a flickering effect; or the target video content includes a joyful scene, and the second visual effect includes a firework effect; or the target video content includes a sad scene, and the second visual effect includes a tear effect.
4. The method of claim 1, wherein the target video content includes video content captured by a slow-motion lens, and the third visual effect includes a slow-motion effect; or the target video content includes video content captured by a close-up lens, and the third visual effect includes a zoom-in effect; or the target video content includes video content captured by a long shot lens, and the third visual effect includes a zoom-out effect.
5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: obtaining a current playing time of the video picture, and determining that the target video content appears in the video picture in the case where the current playing time falls within a preset rendering time period of the target visual effect, the preset rendering time period indicating a time period from a start time to an end time of the target visual effect; or identifying the video picture by using an artificial intelligence (AI) model to obtain an identification result, and determining that the target video content appears in the video picture in the case where the identification result matches the target video content.
6. The method according to any one of claims 1 to 4, characterized in that, The target visual effect includes a cyclic visual effect, and the method further comprises: rendering a cyclic visual effect of the barrage, the cyclic visual effect being a dynamic visual effect that periodically appears on the barrage.
7. The method of claim 6, wherein, The rendering of the cyclic visual effect of the barrage comprises: listening to a real-time playing time of the video picture; obtaining coordinates and dimensions of the barrage; and The cyclic visual effect data of the target visual effect includes at least one of a first special effect sequence frame group and a first special effect video.
8. The method of claim 6, wherein, The target visual effect further includes an entry visual effect, and before the rendering of the cyclic visual effect of the barrage, the method further includes: rendering an entry visual effect of the barrage, the entry visual effect being a visual effect appearing on the barrage at a starting stage of a rendering process of the target visual effect.
9. The method of claim 8, wherein, The rendering of the entry visual effect of the barrage includes: obtaining the coordinates and the size of the barrage; based on entry visual effect data, in combination with the coordinates and the size of the barrage, rendering an entry visual effect of the barrage, the entry visual effect data including at least one of a second special effect sequence frame group and a second special effect video.
10. The method of claim 6, wherein, The target visual effect further includes an exit visual effect, and after the rendering of the cyclic visual effect of the barrage, the method further includes: rendering an exit visual effect of the barrage, the exit visual effect being a visual effect appearing on the barrage at an ending stage of a rendering process of the target visual effect.
11. The method of claim 10, wherein, The rendering of the exit visual effect of the barrage includes: obtaining the coordinates and the size of the barrage; based on exit visual effect data, in combination with the coordinates and the size of the barrage, rendering an exit visual effect of the barrage, the exit visual effect data including at least one of a third special effect sequence frame group and a third special effect video. 12.A display device of a barrage, characterized by, The device includes: a display module configured to display a video picture; The display module is further configured to, in a case where target video content appears in the video picture, display a barrage with a first visual effect, the first visual effect being used to simulate a visual effect of the target video content; or, in a case where target video content appears in the video picture, display a barrage with a second visual effect, the second visual effect being used to cooperate with a video scene of the target video content; or, in a case where target video content appears in the video picture, display a barrage with a third visual effect, the third visual effect being used to imitate a shooting lens effect of the target video content. The display module is further configured to, in a case where the target video content does not appear in the video picture, display a barrage without a target visual effect, the target visual effect including the first visual effect or the second visual effect or the third visual effect.
13. A computer device, comprising: The computer device includes a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the display method of the barrage according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, the computer program being loaded and executed by the processor to implement the display method of the barrage according to any one of claims 1 to 11.
15. A computer program product, characterised in that, The computer program product stores a computer program, the computer program being loaded and executed by the processor to implement the display method of the barrage according to any one of claims 1 to 11.
Citation Information
Patent Citations
Bullet screen effect-based development method and device
CN105068795A