CN111277910B - Bullet screen display method and device, electronic equipment and storage medium - Google Patents
Bullet screen display method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111277910B CN111277910B CN202010154423.4A CN202010154423A CN111277910B CN 111277910 B CN111277910 B CN 111277910B CN 202010154423 A CN202010154423 A CN 202010154423A CN 111277910 B CN111277910 B CN 111277910B
- Authority
- CN
- China
- Prior art keywords
- bullet screen
- video
- style
- rendering
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000009877 rendering Methods 0.000 claims abstract description 67
- 230000033764 rhythmic process Effects 0.000 claims description 33
- 238000012545 processing Methods 0.000 claims description 14
- 230000007704 transition Effects 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000013135 deep learning Methods 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 10
- 230000010365 information processing Effects 0.000 abstract description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 235000013601 eggs Nutrition 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013145 classification model Methods 0.000 description 1
- 238000011840 criminal investigation Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 239000002759 woven fabric Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
- H04N21/4355—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention relates to the field of information processing, and discloses a bullet screen display method and device, electronic equipment and a storage medium. The bullet screen display method comprises the following steps: determining the style type of a currently played video; rendering the barrage information input by the user according to a rendering mode corresponding to the style type; the corresponding relation between the style type and the rendering mode is preset; and displaying the rendered bullet screen information. The bullet screen displayed is matched with the watched video style, and the bullet screen display effect is improved.
Description
Technical Field
The embodiment of the invention relates to the field of information processing, in particular to a bullet screen display method and device, electronic equipment and a storage medium.
Background
The current video barrage is mainly displayed based on a character form, a user can input characters when watching a video, the characters are displayed on the video at the same time, and other users can see and perform corresponding operations. In addition, the user can also send animation or expression video dynamic barrage information, for example, the user can send animation barrage information such as 'cheering', 'throwing eggs', and the like.
The inventors found that at least the following problems exist in the related art: at present, the effect of the bullet screen display sent by the user in all videos is the same, and the bullet screen is low in interestingness.
Disclosure of Invention
An object of embodiments of the present invention is to provide a bullet screen display method, device, electronic device, and storage medium, so that a displayed bullet screen is more suitable for a watched video style, and a bullet screen display effect is improved.
In order to solve the above technical problem, an embodiment of the present invention provides a bullet screen display method, including: determining the style type of a currently played video; rendering the barrage information input by the user according to a rendering mode corresponding to the style type; the corresponding relation between the style type and the rendering mode is preset; and displaying the rendered bullet screen information.
An embodiment of the present invention also provides a bullet screen display device, including:
the style type determining module is used for determining the style type of the currently played video;
the rendering module is used for rendering the barrage information input by the user according to the rendering mode corresponding to the style type; the corresponding relation between the style type and the rendering mode is preset;
and the display module is used for displaying the rendered barrage information.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the storage stores instructions which can be executed by at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the bullet screen display method.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the bullet screen display method.
Compared with the prior art, the method and the device for playing the barrage perform corresponding rendering processing on the barrage input by the user according to the style type of the video watched by the user currently, and then display the rendered barrage. The displayed bullet screen is more fit with the watched video style, and the bullet screen display effect is improved.
In addition, the bullet screen information includes video objects; rendering the barrage information input by the user according to a rendering mode corresponding to the style type, and the method comprises the following steps: and rendering the video frame of the video object according to the rendering mode corresponding to the style type. The video barrage is rendered, the style effect is more obvious, and the video barrage is more fit with the currently played video.
Additionally, determining a genre type of the currently playing video includes: determining the style type of the currently played video according to the label information of the currently played video; or recognizing the text description of the currently played video; based on the textual description, a genre type of the video is determined. The video style is determined according to the video character information, and the method is simpler and more accurate.
Additionally, determining a genre type of the currently playing video includes: extracting key video frames of a currently played video, identifying the style of the key video frames by adopting a pre-trained deep learning algorithm model, and taking the style of the key video frames as the style type of the video. And determining the style type according to the identified and extracted video key frame, wherein the determined style type is more accurate.
In addition, before displaying the rendered bullet screen information, the method further comprises the following steps: intercepting a video clip of a preset time period of a currently played video; determining the event rhythm of the video clip, and determining the playing time length of the barrage information according to the event rhythm; displaying rendered bullet screen information, comprising: and playing the bullet screen information according to the playing time length. The playing time of the bullet screen is determined according to the rhythm of the video scenario, so that the bullet screen is matched with the scenario, and the interestingness is higher.
Additionally, determining an event tempo for the video segment includes: extracting characteristic parameters representing the rhythm of the event in the video clip; the characteristic parameters comprise transition frequency, video subtitle quantity and picture character quantity; and determining the event rhythm of the video clip according to the preset corresponding relation between the characteristic parameters and the event rhythm. The plot rhythm is determined through the transition frequency, the number of the video subtitles and the number of the picture characters, and the plot rhythm is simpler and more accurate.
In addition, before rendering the barrage information input by the user according to the rendering mode corresponding to the style type, the method further comprises the following steps: acquiring a plurality of bullet screen information input by a user within a preset time period; splicing a plurality of bullet screen information according to a preset mode to form a spliced bullet screen; the rendering processing of the barrage information input by the user according to the rendering mode corresponding to the style type comprises the following steps: rendering the spliced bullet screen according to a rendering mode corresponding to the style type; displaying rendered bullet screen information, comprising: and displaying the rendered spliced barrage. Unified processing after a plurality of barrage concatenations avoids rendering a plurality of barrages one by one and causes the treater burden too big.
In addition, a plurality of spliced bullet screens are provided; the spliced barrage after the display is rendered includes: and the spliced bullet screens are displayed in a stacked mode according to a preset priority order. When the number of the bullet screens in the preset time period is large, the bullet screens can be divided into a plurality of spliced bullet screens for laminated display, and the bullet screens are prevented from being played in a delayed mode.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a flowchart of a bullet screen display method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a bullet screen display method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a bullet screen display method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a bullet screen display device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to a bullet screen display method, including: determining the style type of a currently played video; rendering the barrage information input by the user according to a rendering mode corresponding to the style type; the corresponding relation between the style type and the rendering mode is preset; and displaying the rendered bullet screen information. The bullet screen displayed is matched with the watched video style, and the bullet screen display effect is improved. The implementation details of the bullet screen display method of the present embodiment are specifically described below, and the following description is only provided for the convenience of understanding, and is not necessary for implementing the present embodiment.
As shown in fig. 1, the bullet screen display method in the present embodiment specifically includes:
Specifically, a plurality of style types may be defined in advance, for example, defining "national style", "nostalgic style", "comic style", and the like. And determining the video to be in the corresponding style type according to the video content or the character information of the currently played video.
In one example, the style type of the currently played video may be determined according to the tag information of the currently played video; specifically, the tag information of the video may be various, such as military travel, love, ancient clothes, youth, idol, ethics, swordsmen, criminal investigation, suspicion, spy fighting, family, city, and the like, and the tag information and the style type preset corresponding relationship, such as military travel, spy fighting corresponding to the national style, youth, idol corresponding to the cartoon style, ancient clothes corresponding to the curse style, and the like. And determining the corresponding video style according to the label information corresponding to the video.
In another example, a textual description of a currently playing video may be identified; based on the textual description, a genre type of the video is determined. When the video watched by the user is a short video, the video platform usually does not provide the label information of the short video, and then the name or the text introduction of the video watched by the user at present can be obtained, and the name or the text introduction of the video watched by the user at present can be identified, such as identifying national drama, urban drama, ancient drama, magic drama, quadratic element and the like. And determining the style type of the current video according to the preset corresponding relation between the recognized keywords and the style types.
In addition, the genre type of the currently playing video can also be determined by: extracting key video frames of a currently played video, identifying the style of the key video frames by adopting a pre-trained deep learning algorithm model, and taking the style of the key video frames as the style type of the video. Specifically, a plurality of video frames of the short video are extracted, or the short video is directly input into a trained video style classification model, and the style type of the short video is determined in a deep learning mode.
102, rendering the barrage information input by the user according to a rendering mode corresponding to the style type; wherein, the corresponding relation between the style type and the rendering mode is preset.
Specifically, the barrage information input by the user is acquired, and may be a character or a video object, and style rendering is performed on the barrage information according to a style type to which a currently played video belongs, for example, a rendering element matched with the style type is added to the barrage information, and for a national style video, a background of the barrage character may be set as an off-white woven fabric pattern; for videos with cartoon styles, cartoon frames can be added to bullet screen information.
In one example, the bullet screen information includes a video object; rendering the barrage information input by the user according to a rendering mode corresponding to the style type, and the method comprises the following steps: and rendering the video frame of the video object according to the rendering mode corresponding to the style type. Specifically, like a video barrage that is "applause" or "throw eggs", rendering processing corresponding to the national style is performed on a video of the national style, and caricature rendering processing is performed on a two-dimensional animation video. The method mainly comprises the steps of adopting a key frame processing technology to render videos, taking the national style as an example, reducing the saturation of the videos by 20, selecting a sketch filter, simulating a stroll to generate a line drawing outline, overlapping the line drawing outline with an original bullet video object, newly building a layer with a color value of # D1C0A5 on the original video object, linearly deepening, setting the opacity to be 50%, and generating the primitive color sense of the painting medium. And corresponding rendering modes can be set for the other style types, and the video object can be displayed as a national style in a national drama, a cartoon style in a quadratic element cartoon and the like by processing the key frames.
And 103, displaying the rendered bullet screen information.
Specifically, the rendered bullet screen information is displayed in a preset display area, for example, a text bullet screen can be scrolled and displayed above the screen, and a video object can be played in the center of the screen in a short time.
In the bullet screen display method in this embodiment, the bullet screen information input by the user is correspondingly rendered according to the style type of the video currently watched by the user, and the rendered bullet screen information is displayed, so that the displayed bullet screen is more fit with the style of the video being watched, and the bullet screen display effect is improved.
A second embodiment of the present invention relates to a bullet screen display method. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in the second embodiment, the barrage information can determine the playing time according to the compact situation of the playing scenario, so that the barrage display and the scenario are closely combined, and the barrage playing effect is improved. As shown in fig. 2, the bullet screen display method in the present embodiment specifically includes:
Specifically, the compact situation of the scenario currently watched by the user is obtained, a small segment of video segment can be cut from the video currently watched by the user, and the length of the video segment is preset and needs to include the video frame currently watched by the user. And analyzing the intercepted video clip to determine the event rhythm of the video clip.
In one example, determining an event cadence for a video segment includes: extracting characteristic parameters representing the rhythm of the event in the video clip; the characteristic parameters comprise transition frequency, video subtitle quantity and picture character quantity; and determining the event rhythm of the video clip according to the preset corresponding relation between the characteristic parameters and the event rhythm. For example, the transition frequency is set to be greater than 50, the number of video subtitles in 10 seconds is set to be greater than 10, and at least one condition that the number of picture characters exceeds more than 4 people is met, namely that the event rhythm is a compact period; when none of the three characteristic parameters meets the condition, the event rhythm is a gentle period.
Furthermore, a large number of characteristic parameters such as transition frequency, video caption quantity, picture character quantity and the like in a sample video clip can be extracted in advance to be input into a model for training, an event rhythm classifier neural network is generated, and then the event rhythm of the video clip is obtained by inputting the video clip to be analyzed.
And step 204, determining the playing time of the bullet screen information according to the event rhythm.
Specifically, if it is the plot compact period at present, the play time period of the bullet screen information may be set to be shorter, and if it is the plot gentle period at present, the play time period of the bullet screen information may be set to be longer. In one example, the preset playing time T of the barrage information input by the user is obtained0For 5s, if the current plot is determined to be the compact period, T can be calculated according to a preset strategy1=0.5*T0I.e. 2.5 s. If the current plot is determined to be the gentle period, T can be calculated according to a preset strategy2=1.2*T0That is, 6s, the original playing time of the bullet screen information is shortened or lengthened to obtain a new playing time, in practical application, the coefficient for adjusting the playing time may also be other values, and the embodiment is not limited.
And step 205, playing the rendered barrage information according to the playing time length.
Specifically, according to the determined playing time length, the frame rate, i.e. the playing speed, of the barrage information is appropriately adjusted, so that the barrage information is played according to the determined playing time length.
In the bullet screen display method in this embodiment, the bullet screen information input by the user is correspondingly rendered according to the style type of the video currently watched by the user, and the rendered bullet screen information is played according to the event rhythm of the video clip watched and the specific playing duration, so that the displayed bullet screen is more in accordance with the style and rhythm of the video watched, and the bullet screen display effect is improved.
A third embodiment of the present invention relates to a bullet screen display method. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in the second embodiment of the invention, the information of a plurality of bullet screens can be simultaneously acquired to form a spliced bullet screen for unified display, so that the processing efficiency is improved. As shown in fig. 3, the bullet screen display method in the present embodiment specifically includes:
This step is similar to step 101 in the first embodiment, and is not described again.
Specifically, the system may simultaneously acquire a plurality of pieces of bullet screen information within a certain time period, where the bullet screen information may be a plurality of pieces of bullet screen information sent by the same user, or may be bullet screen information sent by a plurality of users. The preset time period can be set according to the bullet screen density, for example, it can be set to 0.1 second, 0.3 second or 0.5 second, if the bullet screen density is greater, it can select to acquire bullet screen information in a shorter time. It should be noted that the preset time period includes the current time.
And 303, splicing the plurality of bullet screen information according to a preset mode to form a spliced bullet screen.
Specifically, a plurality of bullet screen information acquired in the same time period are spliced in a vertical typesetting mode, a horizontal typesetting mode or other typesetting modes and displayed in a picture layer to form a spliced bullet screen.
304, rendering the spliced bullet screen according to a rendering mode corresponding to the style type; wherein, the corresponding relation between the style type and the rendering mode is preset.
This step is similar to step 102 of the first embodiment, except that in this embodiment, the object to be rendered is no longer single bullet screen information, but a spliced bullet screen formed by splicing a plurality of bullet screen information, and the spliced bullet screen formed by a plurality of bullet screens is rendered in a unified manner, so that it is avoided that a plurality of bullet screen information are processed one by one simply and quickly, and the overhead of the processor can be saved. Specifically, for the text bullet screen, all text information can be rendered on the spliced bullet screen in a unified manner, for example, rendering elements of corresponding styles are added; for the barrage of the video type, key video frame style rendering can be uniformly performed on a plurality of spliced video objects.
And 305, displaying the rendered spliced barrage.
Specifically, after a plurality of bullet screen information are uniformly rendered in a spliced bullet screen mode, the bullet screen information is displayed in a bullet screen display area in a spliced bullet screen mode.
Further, the event rhythm of the currently played video clip can be obtained first, and the playing time of the spliced barrage is determined according to the event rhythm, or the playing time of a plurality of pieces of barrage information in the spliced barrage is determined. And adjusting the frame rate of each bullet screen information according to the determined playing time length to play each bullet screen information according to the determined playing time length. Or, the playing time lengths of the multiple barrages are predetermined, the frame rate of the multiple barrage information is adjusted and then the multiple barrage information is spliced to form a spliced barrage, then the spliced barrage is rendered and processed, and the rendered spliced barrage is played.
Furthermore, the spliced bullet screen can be provided with a plurality of bullet screens; the spliced barrage after the display is rendered includes: and the spliced bullet screens are displayed in a stacked mode according to a preset priority order. Specifically, if the number of bullet screen information video objects is large at the same time, a spliced bullet screen B can be newly built, the layer of the spliced bullet screen B is defaulted to be arranged below the layer of the original spliced bullet screen a, and when the focus received by the user input floats to the spliced bullet screen B, the layer of the spliced bullet screen B is switched to the position above the layer of the spliced bullet screen a.
In addition, the method can also be used for receiving the praise instruction of the user on the bullet screen information in the splicing layer or controlling the display transparency of the spliced bullet screen and the like.
In the bullet screen display method in the embodiment, the plurality of bullet screen information input by the user form the spliced bullet screen, and the corresponding rendering processing is performed on the spliced bullet screen according to the style type of the video currently watched by the user, so that the displayed bullet screen is more fit with the style of the watched video, and the bullet screen display effect is improved.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to a bullet screen display device, which has a specific structure as shown in fig. 4, and includes: a style type determining module 401, configured to determine a style type of a currently played video; a rendering module 402, configured to perform rendering processing on the barrage information input by the user according to a rendering manner corresponding to the style type; the corresponding relation between the style type and the rendering mode is preset; and a display module 403, configured to display rendered bullet screen information.
In a specific example, the bullet screen information includes a video object, and the rendering module 402 is specifically configured to perform rendering processing on a video frame of the video object according to a rendering manner corresponding to the style type.
In a specific example, the style type determining module 401 is specifically configured to determine the style type of the currently playing video according to the tag information of the currently playing video; or recognizing the text description of the currently played video; and determining the style type of the video according to the text description.
In a specific example, the style type determining module 401 is specifically configured to extract a key video frame of the currently playing video, identify a style of the key video frame by using a pre-trained deep learning algorithm model, and use the style of the key video frame as the style type of the video.
In a specific example, the bullet screen display device may further include: and the playing duration determining module is used for intercepting a video clip of a preset time period of the currently played video, determining the event rhythm of the video clip, and determining the playing duration of the barrage information according to the event rhythm. The display module 403 is specifically configured to play the bullet screen information according to the play duration determined by the play duration determining module.
In a specific example, the playing duration determining module is specifically configured to extract a characteristic parameter representing a rhythm of an event in the video segment; the characteristic parameters comprise transition frequency, video subtitle quantity and picture character quantity, and the event rhythm of the video clip is determined according to the preset corresponding relation between the characteristic parameters and the event rhythm.
In a specific example, the bullet screen display device may further include: and the splicing module is used for acquiring a plurality of bullet screen information input by a user in a preset time period and splicing the bullet screen information according to a preset mode to form a spliced bullet screen. The rendering module 402 is specifically configured to render the spliced barrage according to a rendering manner corresponding to the style type. The display module 403 is specifically configured to display the rendered spliced barrage.
It should be understood that this embodiment is an example of the apparatus corresponding to the first to third embodiments, and may be implemented in cooperation with the first to third embodiments. The related technical details mentioned in the first to third embodiments are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A fifth embodiment of the present invention relates to an electronic apparatus, and a specific structure of the electronic apparatus is shown in fig. 5. Includes at least one processor 502; and a memory 501 communicatively coupled to at least one processor 502. The memory 501 stores instructions executable by the at least one processor 502, and the instructions are executed by the at least one processor 502, so that the at least one processor 502 can execute the bullet screen display method in the foregoing embodiment.
In the present embodiment, the processor 502 is exemplified by a Central Processing Unit (CPU), and the Memory 502 is exemplified by a Random Access Memory (RAM). The processor 502 and the memory 501 may be connected by a bus or other means, and fig. 5 illustrates the connection by the bus as an example. The memory 501 is a non-volatile computer-readable storage medium, and can be used to store a non-volatile software program, a non-volatile computer-executable program, and modules, such as the program for implementing the bullet screen display method in the embodiment of the present application, stored in the memory 501. The processor 502 executes various functional applications and data processing of the device by running the nonvolatile software programs, instructions, and modules stored in the memory 501, that is, the bullet screen display method described above is implemented.
The memory 501 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store a list of options, etc. Further, the memory 501 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 501 may optionally include memory located remotely from processor 502, which may be connected to an external device via a network.
One or more program modules are stored in the memory 501 and, when executed by the one or more processors 502, perform the bullet screen display method of any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, has corresponding functional modules and beneficial effects of the execution method, and can refer to the method provided by the embodiment of the application without detailed technical details in the embodiment.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.
Claims (9)
1. A bullet screen display method is characterized by comprising the following steps:
determining the style type of a currently played video;
acquiring a plurality of bullet screen information input by a user within a preset time period;
splicing the plurality of bullet screen information according to a preset mode to form a spliced bullet screen;
rendering the spliced barrage according to a rendering mode corresponding to the style type; the corresponding relation between the style type and the rendering mode is preset;
and displaying the rendered spliced barrage.
2. The bullet screen display method of claim 1 wherein said bullet screen information comprises video objects;
the rendering processing of the barrage information input by the user according to the rendering mode corresponding to the style type comprises the following steps: and rendering the video frame of the video object according to the rendering mode corresponding to the style type.
3. The bullet screen display method of claim 1, wherein said determining the genre type of the currently playing video comprises:
determining the style type of the currently played video according to the label information of the currently played video; or,
identifying a caption of the currently playing video; and determining the style type of the video according to the text description.
4. The bullet screen display method of claim 1, wherein said determining the genre type of the currently playing video comprises:
and extracting key video frames of the currently played video, identifying the style of the key video frames by adopting a pre-trained deep learning algorithm model, and taking the style of the key video frames as the style type of the video.
5. The bullet screen display method according to claim 1, wherein before displaying the rendered bullet screen information, further comprising:
intercepting a video clip of a preset time period of the currently played video;
determining the event rhythm of the video clip, and determining the playing duration of the barrage information according to the event rhythm;
the displaying rendered bullet screen information comprises: and playing the bullet screen information according to the playing time length.
6. The bullet screen display method of claim 5, wherein said determining the event rhythm of said video segment comprises:
extracting characteristic parameters representing the rhythm of the event in the video clip; the characteristic parameters comprise transition frequency, video subtitle quantity and picture character quantity;
and determining the event rhythm of the video clip according to the preset corresponding relation between the characteristic parameters and the event rhythm.
7. A bullet screen display device, comprising:
the style type determining module is used for determining the style type of the currently played video;
the system comprises a rendering module, a display module and a display module, wherein the rendering module is used for acquiring a plurality of bullet screen information input by a user within a preset time period; splicing the plurality of bullet screen information according to a preset mode to form a spliced bullet screen; rendering the spliced barrage according to a rendering mode corresponding to the style type; the corresponding relation between the style type and the rendering mode is preset;
and the display module is used for displaying the rendered splicing bomb.
8. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
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 bullet screen display method of any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the bullet screen display method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010154423.4A CN111277910B (en) | 2020-03-07 | 2020-03-07 | Bullet screen display method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010154423.4A CN111277910B (en) | 2020-03-07 | 2020-03-07 | Bullet screen display method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111277910A CN111277910A (en) | 2020-06-12 |
CN111277910B true CN111277910B (en) | 2022-03-22 |
Family
ID=70999353
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010154423.4A Active CN111277910B (en) | 2020-03-07 | 2020-03-07 | Bullet screen display method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111277910B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114118025A (en) * | 2020-08-26 | 2022-03-01 | 上海哔哩哔哩科技有限公司 | Method and equipment for converting style of bullet screen text |
CN114173173B (en) * | 2020-09-10 | 2024-06-11 | 腾讯数码(天津)有限公司 | Bullet screen information display method and device, storage medium and electronic equipment |
CN112312190A (en) * | 2020-10-10 | 2021-02-02 | 游艺星际(北京)科技有限公司 | Video picture display method and device, electronic equipment and storage medium |
CN114390358A (en) * | 2020-10-21 | 2022-04-22 | 上海哔哩哔哩科技有限公司 | Barrage input method and device |
CN114286154A (en) * | 2021-09-23 | 2022-04-05 | 腾讯科技(深圳)有限公司 | Subtitle processing method and device for multimedia file, electronic equipment and storage medium |
CN114268827B (en) * | 2021-12-22 | 2023-08-15 | 咪咕互动娱乐有限公司 | Method, device, equipment and computer readable storage medium for interaction of viewing and competition |
CN114697721B (en) * | 2022-03-30 | 2023-07-25 | 阿里巴巴(中国)有限公司 | Bullet screen display method and electronic equipment |
CN114818605A (en) * | 2022-04-28 | 2022-07-29 | 杭州网易云音乐科技有限公司 | Font generation and text display method, device, medium and computing equipment |
CN117319757A (en) * | 2023-09-08 | 2023-12-29 | 北京优酷科技有限公司 | Subtitle display method and device, electronic equipment and computer storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105335051A (en) * | 2015-11-20 | 2016-02-17 | 珠海多玩信息技术有限公司 | Method and device for displaying bullet screen type gifts in video area |
CN105812888A (en) * | 2016-03-31 | 2016-07-27 | 北京奇艺世纪科技有限公司 | Character display method and device |
CN106454532A (en) * | 2016-10-21 | 2017-02-22 | 合网络技术(北京)有限公司 | Video player and interactive display method thereof |
CN106973309A (en) * | 2017-03-27 | 2017-07-21 | 福建中金在线信息科技有限公司 | A kind of barrage generation method and device |
CN107360459A (en) * | 2017-07-07 | 2017-11-17 | 腾讯科技(深圳)有限公司 | A kind of processing method of barrage, device and storage medium |
CN108833990A (en) * | 2018-06-29 | 2018-11-16 | 北京优酷科技有限公司 | Video caption display methods and device |
CN110708588A (en) * | 2019-10-17 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Barrage display method and device, terminal and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102780921B (en) * | 2011-05-10 | 2015-04-29 | 华为终端有限公司 | Method, system and device for acquiring review information during watching programs |
CN106210861B (en) * | 2016-08-23 | 2020-08-07 | 上海幻电信息科技有限公司 | Method and system for displaying bullet screen |
CN108810598A (en) * | 2017-04-26 | 2018-11-13 | 武汉斗鱼网络科技有限公司 | The drift of the barrage of live streaming or video playing renders the method and system of display |
-
2020
- 2020-03-07 CN CN202010154423.4A patent/CN111277910B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105335051A (en) * | 2015-11-20 | 2016-02-17 | 珠海多玩信息技术有限公司 | Method and device for displaying bullet screen type gifts in video area |
CN105812888A (en) * | 2016-03-31 | 2016-07-27 | 北京奇艺世纪科技有限公司 | Character display method and device |
CN106454532A (en) * | 2016-10-21 | 2017-02-22 | 合网络技术(北京)有限公司 | Video player and interactive display method thereof |
CN106973309A (en) * | 2017-03-27 | 2017-07-21 | 福建中金在线信息科技有限公司 | A kind of barrage generation method and device |
CN107360459A (en) * | 2017-07-07 | 2017-11-17 | 腾讯科技(深圳)有限公司 | A kind of processing method of barrage, device and storage medium |
CN108833990A (en) * | 2018-06-29 | 2018-11-16 | 北京优酷科技有限公司 | Video caption display methods and device |
CN110708588A (en) * | 2019-10-17 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Barrage display method and device, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111277910A (en) | 2020-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111277910B (en) | Bullet screen display method and device, electronic equipment and storage medium | |
WO2021120814A1 (en) | Video annotation method and apparatus, device, and computer-readable storage medium | |
US11475666B2 (en) | Method of obtaining mask frame data, computing device, and readable storage medium | |
CN109948446B (en) | Video clip processing method and device and computer readable storage medium | |
CN109803180B (en) | Video preview generation method and device, computer equipment and storage medium | |
US20210329338A1 (en) | Content filtering in media playing devices | |
CN109218629B (en) | Video generation method, storage medium and device | |
TWI712316B (en) | Method and device for generating video summary | |
US11871086B2 (en) | Method of displaying comment information, computing device, and readable storage medium | |
CN113542865B (en) | Video editing method, device and storage medium | |
CN111954060B (en) | Barrage mask rendering method, computer device and readable storage medium | |
CN113518256A (en) | Video processing method and device, electronic equipment and computer readable storage medium | |
CN111429341B (en) | Video processing method, device and computer readable storage medium | |
CN110677718B (en) | Video identification method and device | |
CN111372116B (en) | Video playing prompt information processing method and device, electronic equipment and storage medium | |
CN113407436A (en) | Play component compatibility detection method and device, computer equipment and storage medium | |
Husa et al. | HOST-ATS: automatic thumbnail selection with dashboard-controlled ML pipeline and dynamic user survey | |
CN113573128B (en) | Audio processing method, device, terminal and storage medium | |
EP3876543A1 (en) | Video playback method and apparatus | |
CN116980605A (en) | Video processing method, apparatus, computer device, storage medium, and program product | |
WO2023029862A1 (en) | Bullet-screen comment display method and apparatus, and device and storage medium | |
CN114697741B (en) | Multimedia information playing control method and related equipment | |
CN115665508A (en) | Video abstract generation method and device, electronic equipment and storage medium | |
CN112312205B (en) | Video processing method and device, electronic equipment and computer storage medium | |
CN115379290A (en) | Video processing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |