CN117793443A - Bullet screen display method and device - Google Patents

Bullet screen display method and device Download PDF

Info

Publication number
CN117793443A
CN117793443A CN202311862002.7A CN202311862002A CN117793443A CN 117793443 A CN117793443 A CN 117793443A CN 202311862002 A CN202311862002 A CN 202311862002A CN 117793443 A CN117793443 A CN 117793443A
Authority
CN
China
Prior art keywords
display
target
barrage
display material
sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311862002.7A
Other languages
Chinese (zh)
Inventor
黄涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili 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 Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN202311862002.7A priority Critical patent/CN117793443A/en
Publication of CN117793443A publication Critical patent/CN117793443A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the application provides a display method of a barrage, which comprises the following steps: and playing the target video, wherein the target video is associated with the display material. And combining the target barrage comment with the display material to obtain a combined object carrying the target barrage comment and the display material. And overlaying the combined object on the target video and sliding along a preset track. According to the technical scheme, the target barrage comment and the display material can be combined, so that the target barrage comment can be carried to be displayed (such as a pigment picture) in a synchronous moving manner in the sliding display process, namely, a special effect that a combination of the target barrage comment and the display material is displayed in a sliding manner on a target video is formed, the display effect of the barrage is improved, and the user experience is enhanced.

Description

Bullet screen display method and device
Technical Field
The embodiment of the application relates to the technical field of barrages, in particular to a barrage display method, a barrage display device, computer equipment and a computer readable storage medium.
Background
With the rapid development of video technology, more and more users can watch various video programs through a network. During the viewing of a video program, a user may interact with a host or other user by sending a bullet screen. The bullet screen refers to subtitles popped up and moving in a preset direction when watching video through a network, and is communication information. Barrages have not yet had a fixed vocabulary in English, which is commonly referred to as: co-agent, danmaku, barrage, pellet screen, pellet-screen, etc. The bullet screen can allow users to comment or feel, but is different from the common video sharing website which only displays a special comment area under a player, and the bullet screen can appear on a video picture in real time in a sliding caption mode, so that all viewers can be ensured to notice. However, the bullet screen as described above has poor display effect, and insufficient interactivity and playability, resulting in poor user experience.
It should be noted that the foregoing is not necessarily prior art, and is not intended to limit the scope of the patent protection of the present application.
Disclosure of Invention
Embodiments of the present application provide a display method, apparatus, computer device, and computer-readable storage medium for a bullet screen, so as to solve or alleviate one or more of the technical problems set forth above.
One aspect of the embodiments of the present application provides a method for displaying a barrage, where the method includes:
playing a target video, wherein the target video is associated with display materials;
combining the target barrage comment with the display material to obtain a combined object carrying the target barrage comment and the display material;
and overlaying the combined object on the target video and sliding along a preset track.
Optionally, the display material includes a first sequence of frame pictures and a second sequence of frame pictures; correspondingly, combining the target bullet comment and the display material comprises the following steps:
and setting the target barrage comment between the first sequence frame picture and the second sequence frame picture to form the combined object.
Optionally, the first sequence of frame pictures is a first picture in a frame animation format including a plurality of frames;
The second sequence of frame pictures is a second picture in a frame animation format comprising a plurality of frames.
Optionally, the configuration operation of the first sequence frame pictures and the second sequence frame pictures is as follows:
cutting the target display material according to a preset rule to divide the target display material into a first part and a second part;
the first sequence of frame pictures is determined based on the first portion and the second sequence of frame pictures is determined based on the second portion.
Optionally, the method further comprises: in the event that the target video is paused, sliding the combined object is stopped.
Optionally, the method further comprises: in response to a selection operation, the display material is selected from a plurality of display materials.
Optionally, the method further comprises: in the case where the bullet screen is an advanced bullet screen, a slide display is displayed on the target video in a manner specified by the bullet screen itself.
Optionally, the method further comprises: reporting display data under the condition that the combined object is successfully displayed;
the display data comprises bullet screen types corresponding to the display materials.
Optionally, the method further comprises: and clearing the combined object from the screen in response to a barrage screen clearing operation aiming at the target video.
Another aspect of an embodiment of the present application provides a display device for a bullet screen, including:
the playing module is used for playing a target video, and the target video is associated with display materials;
the combination module is used for combining the target barrage comment and the display material to obtain a combined object carrying the target barrage comment and the display material;
and the sliding module is used for covering the combined object on the target video and sliding along a preset track.
Another aspect of an embodiment of the present application provides a computer device, comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor;
wherein: the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
Another aspect of the embodiments provides a computer-readable storage medium having stored therein computer instructions which, when executed by a processor, implement a method as described above.
The technical scheme adopted by the embodiment of the application can comprise the following advantages:
When the target video is played, if there is a target barrage comment (barrage comment to be displayed in combination with the display material) in the target video, the target barrage comment and the display material (such as a pigment picture) can be combined together to form a combined object carrying the target barrage comment and the display material. And then, the combined object is displayed on the target video in a sliding manner along a preset track, so that the target barrage comment can be synchronously displayed in a moving manner with display materials (such as pigment and text pictures) in the sliding display process. And the special effect that the combination of the target barrage comment and the display material is displayed on the target video in a sliding way is formed, the display effect of the barrage is improved, and the user experience is enhanced.
Drawings
The accompanying drawings illustrate exemplary embodiments and, together with the description, serve to explain exemplary implementations of the embodiments. The illustrated embodiments are for exemplary purposes only and do not limit the scope of the claims. Throughout the drawings, identical reference numerals designate similar, but not necessarily identical, elements.
FIG. 1 schematically illustrates an operational environment diagram of a method of displaying a bullet screen according to one embodiment of the present application;
FIG. 2 schematically illustrates a flow chart of a method of displaying a bullet screen according to one embodiment of the present application;
FIG. 3 schematically illustrates a schematic of a composite object;
FIG. 4 schematically illustrates a schematic view of another composite object;
FIG. 5 schematically illustrates a schematic view of another composite object;
FIG. 6 schematically illustrates a bullet comment versus display material location;
FIG. 7 schematically illustrates various types of sequential frame animation schematics;
fig. 8 schematically illustrates an application example diagram of a display method of a bullet screen according to the first embodiment of the present application;
fig. 9 schematically illustrates another application example diagram of a display method of a barrage according to the first embodiment of the present application;
fig. 10 schematically illustrates another application example diagram of a display method of a barrage according to the first embodiment of the present application;
FIG. 11 is a flow chart schematically showing the steps of a method for displaying a bullet screen according to the first embodiment of the present application;
fig. 12 schematically shows a block diagram of a display device of a barrage according to a second embodiment of the application; and
Fig. 13 schematically shows a hardware architecture diagram of a computer device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that the descriptions of "first," "second," etc. in the embodiments of the present application are for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be regarded as not exist and not within the protection scope of the present application.
In the description of the present application, it should be understood that the numerical references before the steps do not identify the order of performing the steps, but are only used for convenience in describing the present application and distinguishing each step, and thus should not be construed as limiting the present application.
First, a term explanation is provided in relation to the present application:
the bullet screen is a subtitle which pops up and moves in a predetermined direction when viewing a video through a network. Barrages have not yet had a fixed vocabulary in English, which is commonly referred to as: comment, danmaku, barrage, pellet screen, pellet-screen commands, etc. The bullet screen allows viewers to comment or feel, but is different from a common video sharing website which only displays a special comment area under a player, and the bullet screen can appear on a video picture in real time in a sliding caption mode, so that all viewers can be ensured to notice.
For example, the data structure of the bullet screen may be as follows:
{
time units seconds transmitted in the video;
the type of barrage;
the size of the barrage characters;
color of barrage characters;
the date of bullet screen creation;
class name of barrage;
creating a user identification of the barrage;
a barrage mark;
bullet reviews (e.g., characters such as text);
duration of the barrage;
whether the bullet screen has a frame or not;
color of the bullet screen frame;
interline style of barrages;
}
pigment character barrage: and associating display materials, such as a pigment picture (map). The pigment text picture can be used as a combined display template of the barrage comment. The bullet comment and the display material are combined together, so that when the bullet comment is displayed on the target video in a sliding way, the display material can be carried to be displayed on the target video in a sliding way synchronously, and a visual effect that a combined body of the bullet comment and the display material is displayed on the target video in a sliding way is formed. The display material may be various materials for display on a screen, such as may be a picture, a motion picture, text, an animation, a special effect, or other types of element materials.
Pigment characters: patterns, including dynamic mapping, composed of special characters, symbols, or letters may be used to express emotion, or convey information.
Next, in order to facilitate understanding of the technical solutions provided in the embodiments of the present application by those skilled in the art, the following description is made on related technologies:
with the rapid development of video technology, more and more users can watch various video programs through a network. During the viewing of a video program, a user may interact with a host or other user by sending a bullet screen. The bullet screen refers to a subtitle which pops up and moves in a predetermined direction when a video is watched through a network, and is a kind of communication information.
However, the display effect of the bullet screen is poor, and interactivity and playability are insufficient, resulting in poor user experience.
Therefore, the embodiment of the application provides a bullet screen display technical scheme. In the technical scheme, (1) dynamic effect mapping is added at the front part and the rear part of barrage characters (namely barrage comments). (2) Redesign is performed based on the basic shape of the traditional pigment and text, and corresponding action arrangement design is performed. When the barrage is displayed, corresponding sequence frame pictures can be correspondingly displayed before and after the barrage comment except that the text part of the barrage is normally displayed. See in particular below.
Finally, for ease of understanding, an exemplary operating environment is provided below.
As shown in fig. 1, the environment application schematic includes: a service platform 2 and a client.
The service platform 2 may connect clients (4A, 4B, …, 4N) through a network.
The service platform 2 may provide various contents, bullet screen services, etc. to clients. For example, the barrage is sent to the client via the network. The network includes various network devices such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and/or the like. The network may include physical links such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, and the like. The network may include wireless links, such as cellular links, satellite links, wi-Fi links, and the like.
The service platform 2 may be a single server, a server cluster or a cloud computing service center, and is used for providing various services. For example:
the service platform 2 may provide content services. Wherein the content service may be configured to provide content such as video, audio, text data, combinations thereof, and the like. The content may include content streams (e.g., video streams, audio streams, information streams), content files (e.g., video files, audio files, text files), and/or other data.
The service platform 2 may be configured to manage messages for various content items. A user may browse content and access different content items to view comments for a particular content, such as comments posted by other users for the particular content. Comments from users associated with a particular content item may be output to other users viewing the particular content item. For example, all users accessing a content item (e.g., video) may view comments associated with the content item. The input comment content may be output in real time or near real time.
The service platform 2 may be configured to receive a plurality of messages. The plurality of messages may include a plurality of barrages associated with the content.
The service platform 2 may be configured to process a plurality of messages, such as various processing operations of message storage, message screening, message pushing, and the like. Wherein the message store is used to store a plurality of messages in a data store, such as a database. Message screening may include rejecting or tagging messages that match the screening criteria. Wherein the screening criteria may specify terms and/or phrases, such as an elegant language, etc. The screening criteria may specify characters, such as symbols, fonts, and the like. The screening criteria may specify language, computer readable code patterns, etc.
The service platform 2 may perform natural language processing, topic recognition, pattern recognition, artificial intelligence, etc. to automatically determine characteristics of and/or group messages. As an example, frequently occurring phrases or patterns may be identified as topics. As another example, a database of topics associated with content may be maintained. The topics may include genre (e.g., action, drama, comedy), personality (e.g., actor, actress, director), language, and the like. Messages may be grouped based on characteristics of the client device and/or the user sending the message. Demographic, interest, history, and/or the like may be stored for multiple users to determine potential groupings of messages. For example, the barrages uploaded by each user may be screened, filtered, ranked, personalized pushed, etc.
The service platform 2 may provide a barrage service configured to allow users to comment and/or share comments (i.e., barrages) associated with content. The bullet screen is presented on the same screen as the content. The bullet screen may be displayed in an overlay over the content and may have an animated effect. For example, the bullet screen may scroll (e.g., right to left, left to right, top to bottom, …), and the animation effect may be implemented based on the transiti on attribute of CSS 3.
The clients (4A, 4B, …, 4N) may be configured to access the content and services of the service platform 2. The clients (4A, 4B, …, 4N) may include electronic devices that carry or circumscribe display panels, such as mobile devices, tablet devices, laptop computers, workstations, virtual reality devices, gaming devices, digital streaming media devices, vehicular clients, smart televisions, set-top boxes, etc., as well as virtualized computing instances. Virtualized computing instances may comprise emulation of virtual machines, such as computer systems, operating systems, servers, and the like.
The clients (4A, 4B, …, 4N) may be associated with one or more users. A single user may also use one or more of the clients (4A, 4B, …, 4N) to access the service platform 2. The clients (4A, 4B, …, 4N) may travel to various locations and use different networks to access the service platform 2.
The clients (4A, 4B, …, 4N) may comprise a plurality of client programs, such as a video APP, a live APP, or an applet of a built-in barrage system, etc. In this embodiment, the content such as video provided by the service platform 2 can be presented by the client program, and the barrage content can be presented in a specific manner by the barrage system.
The clients (4A, 4B, …, 4N) may include interfaces that may include a touch pad, touch screen, mouse, keyboard, or other sensing elements. For example, the input element may be configured to receive user instructions that may cause the client (4A, 4B, …, 4N) to perform various types of operations, such as entering a barrage comment or the like.
It is noted that the above devices are exemplary and that the number and variety of devices may be adjustable in different scenarios or according to different needs.
The technical scheme of the application is described by a plurality of embodiments by taking the client (such as 4A) as an execution main body. It should be understood that these embodiments may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein.
Example 1
Fig. 2 schematically shows a flowchart of a display method of a barrage according to a first embodiment of the present application.
As shown in fig. 2, the display method of the barrage may include steps S200 to S204, wherein:
step S200, playing a target video, where the target video is associated with display material.
And step S202, combining the target barrage comment and the display material to obtain a combined object carrying the target barrage comment and the display material.
Step S204, the combined object is overlaid on the target video and slides along a preset track.
In the bullet screen display method provided by the embodiment, when the target video is played, if the target bullet screen comment (the bullet screen comment which needs to be displayed in combination with the display material) exists in the target video, the target bullet screen comment and the display material (such as the pigment and text picture) can be combined together to form a combined object carrying the target bullet screen comment and the display material. And then, the combined object is displayed on the target video in a sliding manner along a preset track, so that the target barrage comment can be synchronously displayed in a moving manner with display materials (such as pigment and text pictures) in the sliding display process. And the special effect that the combination of the target barrage comment and the display material is displayed on the target video in a sliding way is formed, the display effect of the barrage is improved, and the user experience is enhanced.
Each of steps S200 to S204 and optionally other steps are described in detail below in conjunction with fig. 2.
Step S200And playing the target video, wherein the target video is associated with the display material.
The target video may be various types of video on the platform, such as live (video), on-demand video. Wherein, (1) live (video): in the live broadcast process, the anchor terminal captures real-time content through a camera or other devices and transmits the real-time content to the audience terminal through the Internet. (2) video-on-demand: the video stored on the platform in advance can be watched by the audience terminal at any time according to the requirement of the audience terminal, and the playing progress (such as pause and replay) can be controlled, so that the audience terminal has higher viewing flexibility, such as movies, television programs, self-made videos uploaded by users, animations and the like.
The display material may refer to various materials for display on a screen, such as element materials that may be pictures, static maps, dynamic maps, text, animations, special effects, or other types. The size, color, shape, transparency, and other external shapes of the display material may be set according to actual conditions, and are not limited herein. In an exemplary application, the display material may be a pigment picture (or map). The pigment text may be a combination of symbols for expressing emotion, feeling, or conveying meaning, which is composed of various symbols, numerals, and letters. Such as: (1) smiling face: (+_A) (+.gtoreq.v.. Ltoreq.) (+.gtω.ltoreq.); (2) crying face: (', ω') (ToT); (3) surprised faces: (. O.). Degree.). Under the condition that the video content of the target video is different, the types of the pigment text pictures can also be different, and if the target video is a happy video, the pigment text in the pigment text pictures can be pigment text representing happy expression.
It should be noted that, for the comment of the bullet screen associated with the video on the video platform, there may be various display forms, such as a bullet screen with common characters and a bullet screen with pigment characters, which are not limited herein. If some time segments of some videos are to be displayed in a specific display form, corresponding trigger logic may be set, and trigger logic of different types of videos may be different, specifically: (1) For live broadcasting, a corresponding natural time triggering logic can be set through the service platform, namely, after the time reaches a natural time point range (namely, a display time interval), the barrage comment is displayed in a preset display form (such as a pigment barrage). For example, assuming that the natural time point range is 2023, 12, 31, 11, and 2023, 12, 31, 12, 11, the service platform may instruct the bullet screen layer to change the special effect bullet screen after reaching 2023, 12, 31, 11, and 11, e.g., cause bullet screen comments in the partial live broadcast to be displayed in the form of a pigment bullet screen. After 12 nd of 12 th of 2023, 12 months, 31 th, the bullet comment is restored to the original display form and is slid on the target video. (2) For video-on-demand, a corresponding absolute time point range (i.e., display time interval) may be set by CID (Content ID). For example, assuming that the target video is a video (5 minutes in length) that the user makes a contribution, and the display time interval is 2-4 minutes, if the target video is played for 2-4 minutes, the bullet comment associated with the display time interval may be displayed in a preset display form (such as a pigment bullet screen), and after the target video is played outside the display time interval, the bullet comment is displayed in an original display form. In addition, if the user drags the progress bar to the display time interval, the bullet comment can be instantly displayed on the target video in a sliding manner in a preset display mode.
Step S202And combining the target barrage comment with the display material to obtain a combined object carrying the target barrage comment and the display material.
The bullet comment can be a comment displayed in a text form along a preset track on a video. As shown in fig. 3, 4 and 5, the text "haha ha" in the figures is a target barrage comment, and the pictures in the two dashed boxes before and after the target barrage comment are display materials.
It should be noted that the display material may include one or more pictures, static maps, dynamic maps, texts, animations, special effects, or other types of element materials. In the case where the display material includes one material, the target bullet comment may be set to each azimuth of the material, for example, may be above, down, left, right, which is not limited herein. In the case where the display material includes a plurality of materials (such as sequential frame pictures), the positional relationship between the target bullet comment and the plurality of materials may be set according to the actual situation. Taking two materials as an example, the target barrage comment can be set in the middle of the two materials, specifically as follows:
In an alternative embodiment, the display material includes a first sequence of frame pictures and a second sequence of frame pictures. The step S202 may include: and setting the target barrage comment between the first sequence frame picture and the second sequence frame picture to form the combined object.
As shown in fig. 3 and 6, the first sequence frame picture (the front sequence frame material) may be a sequence frame picture in a dashed frame on the left side of the target barrage comment "ha", and the second sequence frame picture (the rear sequence frame material) may be a sequence frame picture in a dashed frame on the right side of the target barrage comment "ha". And setting the target barrage comment between the first sequence frame picture and the second sequence frame picture, thereby forming a complete combined object.
In the above-mentioned optional embodiment, the target barrage comment is set between the first sequence frame picture and the second sequence frame picture to form the combined object, and the formed combined object may have more interest, and the display effect of the barrage is improved.
Step S204And overlaying the combined object on the target video and sliding along a preset track.
The predetermined track may refer to a path or track of the target bullet comment moving on the target video, for example, a horizontal sliding track, a special track (such as an oblique track, a curved track).
It should be noted that, if the display material is a pigment text picture (map), the bullet screen type corresponding to the display material carrying the target bullet screen comment may be a pigment text bullet screen. In addition, the types of the pigment barrages can be further subdivided according to the shape, the function and the like of the pigment (in the pigment picture), and can comprise a call barrage (shown in fig. 3 and 8), a dancing barrage (shown in fig. 4 and 9) and a koi barrage (shown in fig. 5 and 10).
For example, as shown in fig. 8 to 10, the combined object carrying the target bullet comment and the display material may continue to be displayed in a sliding manner on the target video along a predetermined trajectory. It should be noted that, the display material may be a still picture, or may be a sequential frame animation (i.e. a picture in a frame animation format including a plurality of frames) or a moving effect map, which is specifically as follows:
in an alternative embodiment, the first sequence of frame pictures is a first picture in a frame animation format comprising a plurality of frames. The second sequence of frame pictures is a second picture in a frame animation format comprising a plurality of frames.
Taking a pigment picture as an example, when configuring the first sequence frame picture and the second sequence frame picture, the pigment corresponding to the requirement can be designed or selected, and the pigment is subjected to corresponding action arrangement design (see fig. 7 for a specific action arrangement design), so that the pigment can exhibit a dynamic effect. For example, as shown in fig. 5 and 10, the characters in the first sequence of frame pictures are similar to the fish head of the fancy carp, the target barrage comment is similar to the fish body of the fancy carp, and the characters in the second sequence of frame pictures are similar to the fish tail of the fancy carp. When the combined object (namely the display material carrying the comment of the target barrage) is displayed on the target video in a sliding way, the pigment character parts in the first sequence frame picture and the second sequence frame picture can swing up and down, so that the combined object visually looks like a fish head and a fish tail on the swinging fancy carp (moves on the target video).
In the above-mentioned alternative embodiment, in the form of sequential frame animation, the combined object formed by the first sequential frame picture, the target barrage comment, and the second sequential frame picture has an overall dynamic effect of head-to-tail matching, so as to improve the display effect of the barrage.
As described above, when configuring the first sequence frame picture and the second sequence frame picture, the design and arrangement may be performed based on the pigment text, and how to configure the first sequence frame picture and the second sequence frame picture based on the pigment text will be described in detail below.
In an alternative embodiment, as shown in fig. 11, the configuration operation of the first sequence frame pictures and the second sequence frame pictures is as follows:
step S1100, cutting the target display material according to a preset rule to divide the target display material into a first part and a second part.
Step S1102, determining the first sequence frame picture based on the first portion, and determining the second sequence frame picture based on the second portion.
The target display material can be various pictures, pigment and the like. Taking pigment as an example, the configuration operation of the first sequence frame picture and the second sequence frame picture is as follows: firstly, selecting a required target pigment according to actual conditions, such as target pigment 1: Then, the target pigment character 1 is processed according to the desired display effect or preset rulesLine cuts, such as may be based on a particular symbol (e.g., space, brackets) or a particular combination of symbols (e.g., "slash" "|") to cut the target script into a first portion (e.g., "if (")>A second moiety (e.g. ")) and a second moiety (e.g. (-)>"). And then, carrying out corresponding action arrangement design based on the first part to obtain a first sequence frame picture, and carrying out corresponding action arrangement design based on the second part to obtain a second sequence frame picture.
In the above optional embodiment, the target display material is cut, and corresponding action arrangement design is performed based on the cut target display material, so as to obtain the corresponding first sequence frame picture and second sequence frame picture, so that the subsequent target barrage comment can quickly obtain the sequence frame pictures with consistent overall style for combined display, and the display effect is improved.
When the display material needs to include a plurality of (three or more) sequential frame pictures, the target display material may be cut into a plurality of portions when the plurality of sequential frame pictures are arranged based on the display material. For example, if 3 sequential frame pictures are required, the pigment text correspondence may be cut into three parts. And then designing corresponding sequence frame pictures based on the three cut parts.
It should be noted that, in different configuration scenarios, the display effects of the display material and the target barrage comment on the target video will also be correspondingly different, and several optional embodiments are provided below.
Scheme one: the target video is paused in the scene.
The combined object may slide in a uniform or variable speed manner. If the target video pauses to play, the combined object carrying the target bullet comment and the display material can pause the sliding or can continue the sliding, and an alternative embodiment is provided below.
In an alternative embodiment, the method further comprises: in the event that the target video is paused, sliding the combined object is stopped.
In the above alternative embodiment, in the case that the target video pauses to play, the combined object is paused to slide, so that the display material and the target bullet comment can keep synchronization and consistency with the target video content.
Scheme II: in the case where there are a plurality of display materials.
In an alternative embodiment, the method further comprises: in response to a selection operation, the display material is selected from a plurality of display materials.
As shown in fig. 3, fig. 4, and fig. 5, each graph may correspond to a type of display material, and if multiple types of display materials are provided to the client, the client may select according to actual situations (such as personal preference). I.e., selecting a display material from a plurality of display materials that is ultimately used in combination with the target bullet comment, such as the display material of fig. 3 may be selected.
In the above-mentioned alternative embodiment, the display material which is finally used for being combined with the target barrage comment is selected from a plurality of display materials, so that the selected display material is more personalized, the interest of the user is increased, and the interaction and display effects are improved.
Scheme III: there are cases where the bullet screen is an advanced bullet screen.
In an alternative embodiment, the method further comprises: in the case where the bullet screen is an advanced bullet screen, a slide display is displayed on the target video in a manner specified by the bullet screen itself.
Advanced barrages may refer to barrages that have customizable properties such as special effects, styles, colors, sizes, animations, etc. during video playback. The type of the bullet screen may be a high-level bullet screen, and is not limited to this.
In the above alternative embodiment, for the advanced barrage, the barrage is displayed on the target video in a sliding manner in a manner specified by the barrage itself, so as to ensure individuation and specificity of the advanced barrage and ensure the display effect of the advanced barrage.
Scheme IV: and reporting buried point data.
In an alternative embodiment, the method further comprises: and reporting the display data under the condition that the display material carrying the target barrage comment is successfully displayed. The display data comprises bullet screen types corresponding to the display materials.
For example, in the case of a successful display of the combined object, the report of the point of burial data (i.e., display data) of the bullet screen may be triggered. The display data may include the combined object, the time of the launch in the video, the size and color of the bullet screen text, the bullet screen type to which the display material corresponds, and so on. It should be noted that, the bullet screen type may be identified by a corresponding private parameter (private parameter). In addition, the embedded point data may be compliance and desensitization data after client approval.
In the above-mentioned alternative embodiment, under the condition that the combined object carrying the target barrage comment and the display material is successfully displayed, the display data (i.e. the embedded point data) is reported, so that the platform can perform corresponding data summarization analysis according to the embedded point data of the barrage.
Scheme five: and under the bullet screen cleaning scene.
In an alternative embodiment, the method further comprises: and clearing the combined object from the screen in response to a barrage screen clearing operation aiming at the target video.
The barrage screen cleaning may refer to an operation of cleaning or hiding the combined object displayed on the screen in the target video playing process.
In the above optional embodiment, if the target video needs to be subjected to barrage screen cleaning, the barrage comments and display materials can be completely cleaned from the screen, so that the influence (such as shielding) of the combined object on the video content of the target video is reduced, and the viewing experience of the user is improved.
In some embodiments, (1) in the case of adjusting the playing frame, such as switching between half-screen (or portrait) and full-screen, the combined object may be normally presented. (2) If the audience terminal sets the corresponding barrage shielding setting, such as shielding level, shielding word, shielding advanced barrage, etc., the shielding setting can be normally executed. (3) If the version of the client application (e.g., chronos) is older, the target bullet comment may be displayed on the target video in the original manner.
To make this application easier to understand, one exemplary application is provided below.
S11, playing the target video.
S12, acquiring a display time interval (a natural time point range and an absolute time point range), and loading display materials (such as sequence frame pictures).
S13, combining the target barrage comments and the display materials to obtain a combined object carrying the target barrage comments and the display materials.
It should be noted that, in the case where the display material includes the first sequence frame picture and the second sequence frame picture, the target barrage comment may be set between the first sequence frame picture and the second sequence frame picture.
S14, according to the display time interval, the combined object is displayed on the target video in a sliding mode through a preset track.
Example two
Fig. 12 schematically shows a block diagram of a display device of a barrage according to the second embodiment of the present application, which may be divided into one or more program modules, which are stored in a storage medium and executed by one or more processors to complete the embodiments of the present application. Program modules in the embodiments of the present application refer to a series of computer program instruction segments capable of implementing specific functions, and the following description specifically describes the functions of each program module in the embodiment. As shown in fig. 12, the apparatus 1200 may include: play module 1210, combine module 1220, slide module 1230, wherein:
a playing module 1210, configured to play a target video, where the target video is associated with display material;
a combining module 1220, configured to combine the target barrage comment and the display material, so as to obtain a combined object carrying the target barrage comment and the display material;
and a sliding module 1230 for overlaying the combined object on the target video and sliding along a predetermined trajectory.
In an alternative embodiment, the display material includes a first sequence of frame pictures and a second sequence of frame pictures; the combining module 1220 is further configured to:
And setting the target barrage comment between the first sequence frame picture and the second sequence frame picture to form the combined object.
In an alternative embodiment, the first sequence of frame pictures is a first picture in a frame animation format comprising a plurality of frames;
the second sequence of frame pictures is a second picture in a frame animation format comprising a plurality of frames.
In an alternative embodiment, the configuration operation of the first sequence frame pictures and the second sequence frame pictures is as follows:
cutting the target display material according to a preset rule to divide the target display material into a first part and a second part;
the first sequence of frame pictures is determined based on the first portion and the second sequence of frame pictures is determined based on the second portion.
In an alternative embodiment, the display device of the barrage further includes a pause module, where the pause module is configured to:
in the event that the target video is paused, sliding the combined object is stopped.
In an alternative embodiment, the display device of the barrage further includes a selection module, where the selection module is configured to:
in response to a selection operation, the display material is selected from a plurality of display materials.
In an alternative embodiment, the display device of the barrage further includes a sliding display module, the sliding display module being configured to:
in the case where the bullet screen is an advanced bullet screen, a slide display is displayed on the target video in a manner specified by the bullet screen itself.
In an optional embodiment, the display device of the barrage further includes a reporting module, where the reporting module is configured to:
reporting display data under the condition that the combined object is successfully displayed;
the display data comprises bullet screen types corresponding to the display materials.
In an alternative embodiment, the display device of the barrage further includes a clearing module, where the clearing module is configured to:
and clearing the combined object from the screen in response to a barrage screen clearing operation aiming at the target video.
Example III
Fig. 13 schematically illustrates a hardware architecture diagram of a computer device 10000 suitable for implementing a display method of a barrage according to the third embodiment of the present application. In some embodiments, computer device 10000 may be a smart phone, a wearable device, a tablet, a personal computer, a vehicle terminal, a gaming machine, a virtual device, a workstation, a digital assistant, a set top box, a robot, or the like. In other embodiments, the computer device 10000 may be a rack server, a blade server, a tower server, or a rack server (including a stand-alone server, or a server cluster composed of multiple servers), or the like. As shown in fig. 13, the computer device 10000 includes, but is not limited to: the memory 10010, processor 10020, network interface 10030 may be communicatively linked to each other via a system bus. Wherein:
Memory 10010 includes at least one type of computer-readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory), random Access Memory (RAM), static Random Access Memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, memory 10010 may be an internal storage module of computer device 10000, such as a hard disk or memory of computer device 10000. In other embodiments, the memory 10010 may also be an external storage device of the computer device 10000, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 10000. Of course, the memory 10010 may also include both an internal memory module of the computer device 10000 and an external memory device thereof. In this embodiment, the memory 10010 is typically used for storing an operating system installed in the computer device 10000 and various application software, such as program codes of a display method of a bullet screen. In addition, the memory 10010 may be used to temporarily store various types of data that have been output or are to be output.
The processor 10020 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other chip in some embodiments. The processor 10020 is typically configured to control overall operation of the computer device 10000, such as performing control and processing related to data interaction or communication with the computer device 10000. In this embodiment, the processor 10020 is configured to execute program codes or process data stored in the memory 10010.
The network interface 10030 may comprise a wireless network interface or a wired network interface, which network interface 10030 is typically used to establish a communication link between the computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 to an external terminal through a network, establish a data transmission channel and a communication link between the computer device 10000 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a global system for mobile communications (Global System of Mobile communication, abbreviated as GSM), wideband code division multiple access (Wideband Code Divi sion Multiple Access, abbreviated as WCDMA), a 4G network, a 5G network, bluetooth (bluetooth), wi-Fi, etc.
It should be noted that fig. 13 only shows a computer device having components 10010-10030, but it should be understood that not all of the illustrated components are required to be implemented, and that more or fewer components may be implemented instead.
In this embodiment, the display method of the barrage stored in the memory 10010 may be further divided into one or more program modules and executed by one or more processors (such as the processor 10020) to complete the embodiments of the present application.
Example IV
The present application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the display method of the bullet screen in the embodiment.
In this embodiment, the computer-readable storage medium includes a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEP ROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the computer readable storage medium may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the computer readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash memory Card (Flash Card), etc. that are provided on the computer device. Of course, the computer-readable storage medium may also include both internal storage units of a computer device and external storage devices. In this embodiment, the computer readable storage medium is typically used to store an operating system and various types of application software installed on the computer device, such as program codes of the display method of the bullet screen in the embodiment. Furthermore, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are to be output.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the present application described above may be implemented in a general-purpose computer device, they may be concentrated on a single computer device, or distributed across a network of multiple computer devices, or they may alternatively be implemented in program code executable by a computer device, so that they may be stored in a storage device for execution by a computer device, and in some cases, the steps shown or described may be performed in an order different from that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps in them may be fabricated into a single integrated circuit module. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
It should be noted that the foregoing is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent protection of the present application, and all equivalent structures or equivalent processes using the descriptions and the contents of the present application or direct or indirect application to other related technical fields are included in the scope of the patent protection of the present application.

Claims (12)

1. A method of displaying a barrage, the method comprising:
playing a target video, wherein the target video is associated with display materials;
combining the target barrage comment with the display material to obtain a combined object carrying the target barrage comment and the display material;
and overlaying the combined object on the target video and sliding along a preset track.
2. The method of claim 1, wherein the display material comprises a first sequence of frame pictures and a second sequence of frame pictures;
correspondingly, combining the target barrage comment and the display material to obtain a combined object carrying the target barrage comment and the display material, including:
and setting the target barrage comment between the first sequence frame picture and the second sequence frame picture to form the combined object.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the first sequence frame picture is a first picture in a frame animation format comprising a plurality of frames;
the second sequence of frame pictures is a second picture in a frame animation format comprising a plurality of frames.
4. The method of claim 2, wherein the configuring of the first sequence of frame pictures and the second sequence of frame pictures operates as follows:
Cutting the target display material according to a preset rule to divide the target display material into a first part and a second part;
the first sequence of frame pictures is determined based on the first portion and the second sequence of frame pictures is determined based on the second portion.
5. The method according to any one of claims 1 to 4, further comprising:
in the event that the target video is paused, sliding the combined object is stopped.
6. The method according to any one of claims 1 to 4, further comprising:
in response to a selection operation, the display material is selected from a plurality of display materials.
7. The method according to any one of claims 1 to 4, further comprising:
in the case where the bullet screen is an advanced bullet screen, a slide display is displayed on the target video in a manner specified by the bullet screen itself.
8. The method according to any one of claims 1 to 4, further comprising:
reporting display data under the condition that the combined object is successfully displayed;
the display data comprises bullet screen types corresponding to the display materials.
9. The method according to any one of claims 1 to 4, further comprising:
and clearing the combined object from the screen in response to a barrage screen clearing operation aiming at the target video.
10. A display device for a bullet screen, the device comprising:
the playing module is used for playing a target video, and the target video is associated with display materials;
the combination module is used for combining the target barrage comment and the display material to obtain a combined object carrying the target barrage comment and the display material;
and the sliding module is used for covering the combined object on the target video and sliding along a preset track.
11. A computer device, comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein:
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 9.
12. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein computer instructions which, when executed by a processor, implement the method of any of claims 1 to 9.
CN202311862002.7A 2023-12-29 2023-12-29 Bullet screen display method and device Pending CN117793443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311862002.7A CN117793443A (en) 2023-12-29 2023-12-29 Bullet screen display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311862002.7A CN117793443A (en) 2023-12-29 2023-12-29 Bullet screen display method and device

Publications (1)

Publication Number Publication Date
CN117793443A true CN117793443A (en) 2024-03-29

Family

ID=90387051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311862002.7A Pending CN117793443A (en) 2023-12-29 2023-12-29 Bullet screen display method and device

Country Status (1)

Country Link
CN (1) CN117793443A (en)

Similar Documents

Publication Publication Date Title
US20220417567A1 (en) Computerized system and method for automatic highlight detection from live streaming media and rendering within a specialized media player
US11580699B2 (en) Systems and methods for changing a users perspective in virtual reality based on a user-selected position
US10911815B1 (en) Personalized recap clips
US9936184B2 (en) Code execution in complex audiovisual experiences
US20210342385A1 (en) Interactive method and system of bullet screen easter eggs
US20190104325A1 (en) Event streaming with added content and context
US20110154200A1 (en) Enhancing Media Content with Content-Aware Resources
US20120163770A1 (en) Switched annotations in playing audiovisual works
CN111491174A (en) Virtual gift acquisition and display method, device, equipment and storage medium
WO2015103636A2 (en) Injection of instructions in complex audiovisual experiences
CN111279687A (en) Video subtitle processing method and director system
US20180143741A1 (en) Intelligent graphical feature generation for user content
US20200252691A1 (en) Apparatus and method for concurrent video viewing with user-added realtime content
CN104980766A (en) Information processing method, device, and terminal
CN112422844A (en) Method, device and equipment for adding special effect in video and readable storage medium
KR101915792B1 (en) System and Method for Inserting an Advertisement Using Face Recognition
US10972809B1 (en) Video transformation service
CN113613062A (en) Video data processing method, apparatus, device, storage medium, and program product
KR20170090856A (en) Method for generating open scenario
CN113157973A (en) Method, device, equipment and medium for generating cover
CN111667313A (en) Advertisement display method and device, client device and storage medium
CN117793443A (en) Bullet screen display method and device
CN115237314B (en) Information recommendation method and device and electronic equipment
CN117793475A (en) Bullet screen display method and device
US20200366973A1 (en) Automatic Video Preview Creation System

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination