CN111800668A - Bullet screen processing method, device, equipment and storage medium - Google Patents

Bullet screen processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111800668A
CN111800668A CN202010680273.0A CN202010680273A CN111800668A CN 111800668 A CN111800668 A CN 111800668A CN 202010680273 A CN202010680273 A CN 202010680273A CN 111800668 A CN111800668 A CN 111800668A
Authority
CN
China
Prior art keywords
bullet screen
video
barrage
target
target video
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.)
Granted
Application number
CN202010680273.0A
Other languages
Chinese (zh)
Other versions
CN111800668B (en
Inventor
罗祥茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010680273.0A priority Critical patent/CN111800668B/en
Priority claimed from CN202010680273.0A external-priority patent/CN111800668B/en
Publication of CN111800668A publication Critical patent/CN111800668A/en
Application granted granted Critical
Publication of CN111800668B publication Critical patent/CN111800668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention provides a bullet screen processing method, a bullet screen processing device, bullet screen processing equipment and a storage medium; the method comprises the following steps: playing the video content of the target video in a playing interface; the target video comprises at least two video clips corresponding to preset duration; acquiring a bullet screen corresponding to the target video, wherein the video content targeted by the bullet screen comprises a target object; and when any one of the at least two video clips containing the target video clip of the target object is played, presenting the bullet screen in a playing interface corresponding to the target video clip. By the method and the device, the barrage associated with the target object can be automatically presented when a plurality of target video clips containing the target object are played, and the pushing effect of the barrage is improved.

Description

Bullet screen processing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of mobile internet, in particular to a bullet screen processing method, a bullet screen processing device, bullet screen equipment and a storage medium.
Background
With the rise of barrage, more and more users like to send barrage while watching video to express the emotion of the currently watched video, such barrage is usually related to specific video content, for example, when a user sees a certain star or a certain scene in a video, the barrage is published to comment on the star or the scene.
In the correlation technique, when carrying out the barrage show, only carry out the barrage show in the video content department when corresponding the barrage is published, however, in the video broadcast process, there is the condition that same star or scene appears many times, and the mode that the barrage only shows once is neglected easily in numerous barrages, and the propelling movement effect of barrage is low.
Disclosure of Invention
The embodiment of the invention provides a bullet screen processing method, a bullet screen processing device, bullet screen equipment and a storage medium, which can automatically present a bullet screen associated with a target object when a plurality of target video clips containing the target object are played, and improve the pushing effect of the bullet screen.
The embodiment of the invention provides a bullet screen processing method, which comprises the following steps:
playing the video content of the target video in a playing interface; the target video comprises at least two video clips corresponding to preset duration;
acquiring a bullet screen corresponding to the target video, wherein the video content targeted by the bullet screen comprises a target object;
and when any one of the at least two video clips containing the target video clip of the target object is played, presenting the bullet screen in a playing interface corresponding to the target video clip.
The embodiment of the invention provides a bullet screen processing device, which comprises:
the playing module is used for playing the video content of the target video in the playing interface; the target video comprises at least two video clips corresponding to preset duration;
the acquisition module is used for acquiring a bullet screen corresponding to the target video, and the video content targeted by the bullet screen comprises a target object;
and the bullet screen presenting module is used for presenting the bullet screen in a playing interface corresponding to the target video clip when any one of the at least two video clips containing the target object is played.
In the foregoing solution, before the acquiring the bullet screen corresponding to the target video, the apparatus further includes:
the first presentation module is used for responding to barrage editing operation aiming at the video content and presenting a barrage editing interface corresponding to the video content;
the second presentation module is used for responding to the barrage editing operation triggered based on the barrage editing interface and presenting a barrage corresponding to the video content obtained based on the barrage editing operation;
and the sending module is used for responding to the sending instruction aiming at the bullet screen and sending the bullet screen.
In the above scheme, the device further comprises a third presenting module, wherein the third presenting module is used for, before the bullet screen is sent,
presenting a public presentation function item and a private presentation function item of the bullet screen;
the public presentation function item is used for indicating that any client playing the target video has the permission to display the bullet screen, and the private presentation function item is used for indicating that the authorized target client has the permission to display the bullet screen;
and receiving a trigger operation aiming at the public presentation function item or the private presentation function item, and triggering a sending instruction aiming at the bullet screen.
In the foregoing solution, the third presenting module is further configured to present, in the barrage editing interface, a public presenting function item and a private presenting function item of the barrage.
In the above scheme, the third presentation module is further configured to present a public presentation function item and a private presentation function item of the bullet screen through a card floating layer suspended above the bullet screen editing interface.
In the above scheme, the third presenting module is further configured to present, in the barrage editing interface, a sending function item for sending the barrage;
responding to the trigger operation aiming at the sending function item, presenting a sending mode selection interface with preset transparency, wherein the sending mode selection interface and the barrage editing interface are mutually independent;
and presenting the public presentation function item and the private presentation function item of the bullet screen in the sending mode selection interface.
In the foregoing solution, the sending module is further configured to send the bullet screen to a server when the sending instruction is used to indicate that any client that plays the target video has the authority to display the bullet screen, so as to
When the server receives a playing request of any client for the target video, returning the video content of the target video and the barrage, so that when the client plays any target video segment containing the target object in the at least two video segments, the barrage is presented in a playing interface corresponding to the target video segment;
when the sending instruction is used for indicating that the authorized target client side has the permission of displaying the bullet screen, the bullet screen is sent to the server so as to
When the server receives a playing request of the target client for the target video, returning the video content of the target video and the barrage, so that when the target client plays any one of the at least two video segments containing the target video segment of the target object, the barrage is presented in a playing interface corresponding to the target video segment.
In the above scheme, the apparatus further includes a barrage editing module, where the barrage editing operation is a text adding operation corresponding to the video content, and before a barrage corresponding to the target video is presented based on the barrage editing operation, the barrage editing module is configured to present a text editing frame corresponding to the video content;
and in response to a text adding operation triggered based on the text editing box, presenting text content input based on the text editing box in the text editing box, and taking the text content as the bullet screen content of the bullet screen.
In the foregoing solution, the barrage editing operation is a text adding operation corresponding to the video content, and the barrage editing module is further configured to add the barrage editing operation to the video content
Presenting a voice entry icon corresponding to the video content;
in response to a text adding operation triggered based on the voice input icon, presenting text content corresponding to the text adding operation in the bullet screen editing interface, and taking the text content as bullet screen content corresponding to the bullet screen;
and the text content is obtained by performing text conversion on the voice input based on the voice input icon.
In the above scheme, the barrage editing operation is an image adding operation corresponding to the video content, and before the barrage corresponding to the video content is presented based on the barrage editing operation, the barrage editing module is further configured to present an image option corresponding to the target video;
and in response to an image adding operation triggered based on the image option, presenting at least one image element selected based on the image option in the bullet screen editing interface, and taking the image element as a bullet screen corresponding to the video content.
In the above scheme, the barrage editing operation is a media information adding operation corresponding to the video content, and the barrage editing module is further configured to present media information options corresponding to the video content before presenting a barrage corresponding to the target video obtained based on the barrage editing operation;
responding to a media information adding operation triggered based on the media information option, presenting a media identifier corresponding to the media information added based on the media information adding operation in the bullet screen editing interface, and taking the media identifier as a bullet screen corresponding to the target video;
the media identifier is configured to trigger playing of the added media information when a trigger operation for the media identifier is received, where the media information includes at least one of: audio information, video information.
In the foregoing solution, the barrage presenting module is further configured to present, in a playing interface corresponding to the target video segment, a media identifier associated with the barrage, where the media identifier is used to indicate that the barrage carries media information, and the media information includes at least one of the following: audio information, video information;
correspondingly, the playing module is further configured to play the media information carried by the bullet screen in response to a trigger operation for the media identifier.
In the above scheme, the bullet screen presenting module is further configured to determine a video frame containing the target object in the target video segment;
and when the video frames have at least two frames, presenting the barrage in a playing interface corresponding to a preset number of video frames.
An embodiment of the present invention provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the bullet screen processing method provided by the embodiment of the invention when the executable instructions stored in the memory are executed.
The embodiment of the invention provides a computer-readable storage medium, which stores executable instructions and is used for causing a processor to execute the executable instructions so as to realize the bullet screen processing method provided by the embodiment of the invention.
The embodiment of the invention has the following beneficial effects:
in the process of playing the video content of the target video, the bullet screen corresponding to the target video is obtained, and when any one of the at least two video clips contains the target video clip of the target object, the bullet screen is displayed in the playing interface corresponding to the target video clip.
Drawings
Fig. 1 is a schematic diagram of an alternative architecture of a bullet screen processing system according to an embodiment of the present invention;
fig. 2 is an alternative structural schematic diagram of an electronic device according to an embodiment of the present invention;
fig. 3A-3B are schematic flow diagrams illustrating an alternative bullet screen processing method according to an embodiment of the present invention;
fig. 4 is a schematic display diagram of a playing interface provided in the embodiment of the present invention;
FIGS. 5A-5B are schematic diagrams of a barrage editing interface according to an embodiment of the present invention;
fig. 6A to 6D are schematic diagrams of bullet screen sending interfaces provided in the embodiments of the present invention;
fig. 7 is a schematic diagram of word segmentation of a bullet screen according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of video segment tagging provided by an embodiment of the present invention;
FIGS. 9A-9D are schematic diagrams of a playback interface provided by an embodiment of the invention;
FIGS. 10A-10C are schematic diagrams of a playback interface provided by an embodiment of the present invention;
fig. 11 is an alternative flow chart of a bullet screen processing method according to an embodiment of the present invention;
fig. 12 is an alternative flowchart of a bullet screen processing method according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a bullet screen processing device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the description that follows, reference is made to the term "first \ second …" merely to distinguish between similar objects and not to represent a particular ordering for the objects, it being understood that "first \ second …" may be interchanged in a particular order or sequence of events as permitted, such that embodiments of the invention described herein may be practiced in an order other than that illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) And the bullet screen directly displays the comments on the video and displays the comments on a playing interface of the video in a rolling, stopping and other modes.
2) The client, an application program running in the terminal for providing various services, such as a video playing client.
3) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
Referring to fig. 1, fig. 1 is an alternative architecture diagram of a processing system 100 for bullet screens according to an embodiment of the present invention, in order to support an exemplary application, a terminal 400 (exemplary terminals 400-1, …, and terminal 400-N are shown) is connected to a server 200 through a network 300, where the network 300 may be a wide area network or a local area network, or a combination of the two, and data transmission is implemented using a wireless link.
In practical applications, the terminal 400 may be various types of user terminals such as a smart phone, a tablet computer, a notebook computer, and the like, and may also be a desktop computer, a media player, a game console, a television, or a combination of any two or more of these data processing devices; the server 200 may be a single server configured to support various services, may also be configured as a server cluster, may also be a cloud server, and the like.
In actual implementation, a client, such as a video playing client, a browser client, an instant messaging client, etc., is provided on the terminal 400, and when a user opens the client of the terminal 400-1 to play a target video, the terminal 400-1 is configured to play video content of the target video in a playing interface, where the target video includes at least two video segments corresponding to a preset duration;
the server 200 is configured to issue a bullet screen corresponding to the target video to the terminal 400, where the video content targeted by the bullet screen includes the target object;
and the terminal 400 is configured to present a bullet screen in a play interface corresponding to the target video clip when any one of the at least two video clips containing the target object is played.
In some embodiments, when the user opens the client of the terminal 400-1 to play the target video, the terminal 400-1 is configured to play the video content of the target video in the play interface; responding to the barrage editing operation aiming at the video content, and presenting a barrage editing interface corresponding to the video content; responding to a bullet screen editing operation triggered based on a bullet screen editing interface, and presenting a bullet screen of corresponding video content obtained based on the bullet screen editing operation;
in response to the transmission instruction for the bullet screen, the bullet screen is transmitted to the server 200.
The server 200 is used for performing semantic analysis on the bullet screen content of the bullet screen to obtain semantic information of the bullet screen; respectively carrying out image recognition on frame images in each video clip of the target video to obtain key information corresponding to each video clip; and respectively matching the semantic information with each key information, determining the video content corresponding to the key information which is successfully matched as the video content which has an association relation with the bullet screen content, and marking at least one associated video clip.
In some embodiments, the sending instruction is used to instruct any terminal, such as the terminal 400-1 to the terminal 400-N, that plays the target video to have the right to display the bullet screen, and the server 200 is further used to return the video content of the target video and the bullet screen when receiving a play request of any terminal for the target video, so that when at least one video clip of the target video is played by the terminal 400-1 to the terminal 400-N, the bullet screen is presented in a play interface corresponding to each video clip.
In some embodiments, the sending instruction is used to indicate that an authorized target terminal, such as the terminal 400-1, has a right to display the bullet screen, and the server 200 is further used to return the video content of the target video and the bullet screen when receiving a play request of the target terminal for the target video, so that when the terminal 400-1 plays at least one video clip of the target video, the bullet screen is presented in a play interface corresponding to each video clip. And for other terminals which do not have the authority to present the barrage, such as the terminal 400-2 to the terminal 400-N, when sending the play request for the target video, the server 200 only returns the video content of the target video and does not return the barrage, that is, only the video content is presented and the barrage is not presented in the play interface of the terminal 400-2 to the terminal 400-N for playing the target video.
Referring to fig. 2, fig. 2 is an optional schematic structural diagram of an electronic device 500 according to an embodiment of the present invention, in practical applications, the electronic device 500 may be the terminal 400 or the server 200 in fig. 1, and the electronic device is the terminal 400 shown in fig. 1 as an example, so as to describe the electronic device according to the embodiment of the present invention. The electronic device 500 shown in fig. 2 includes: at least one processor 510, memory 550, at least one network interface 520, and a user interface 530. The various components in the electronic device 500 are coupled together by a bus system 540. It is understood that the bus system 540 is used to enable communications among the components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 540 in fig. 2.
The Processor 510 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 530 includes one or more output devices 531 enabling presentation of media content, including one or more speakers and/or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components to facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 550 optionally includes one or more storage devices physically located remote from processor 510.
The memory 550 may comprise volatile memory or nonvolatile memory, and may also comprise both volatile and nonvolatile memory. The nonvolatile memory may be a Read Only Memory (ROM), and the volatile memory may be a Random Access Memory (RAM). The memory 550 described in connection with embodiments of the invention is intended to comprise any suitable type of memory.
In some embodiments, memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 551 including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
a network communication module 552 for communicating to other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: bluetooth, wireless compatibility authentication (WiFi), and Universal Serial Bus (USB), etc.;
a presentation module 553 for enabling presentation of information (e.g., a user interface for operating peripherals and displaying content and information) via one or more output devices 531 (e.g., a display screen, speakers, etc.) associated with the user interface 530;
an input processing module 554 to detect one or more user inputs or interactions from one of the one or more input devices 532 and to translate the detected inputs or interactions.
In some embodiments, the processing device of the bullet screen provided by the embodiments of the present invention may be implemented in a software manner, and fig. 2 shows a processing device 555 of the bullet screen stored in a memory 550, which may be software in the form of programs and plug-ins, and includes the following software modules: a playing module 5551, an acquiring module 5552 and a bullet screen presenting module 5553, which are logical and thus can be arbitrarily combined or further split according to the implemented functions. The functions of the respective modules will be explained below.
In other embodiments, the processing Device of the bullet screen provided in the embodiments of the present invention may be implemented in hardware, and as an example, the processing Device of the bullet screen provided in the embodiments of the present invention may be a processor in the form of a hardware decoding processor, which is programmed to execute the processing method of the bullet screen provided in the embodiments of the present invention, for example, the processor in the form of the hardware decoding processor may employ one or more Application Specific Integrated Circuits (SIC), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
Based on the above description of the bullet screen processing system and the electronic device implementing the embodiment of the present invention, the bullet screen processing method provided by the embodiment of the present invention is described next, and in actual implementation, the bullet screen processing method provided by the embodiment of the present invention may be implemented by a server or a terminal alone, or may be implemented by a server and a terminal in cooperation.
Referring to fig. 3A, fig. 3A is an optional schematic flow chart of a bullet screen processing method according to an embodiment of the present invention, and will be described with reference to the steps shown in fig. 3A.
Step 101: and playing the video content of the target video in a playing interface of the terminal.
In practical application, a terminal is provided with a client, such as a short video client, a browser client, an instant messaging client, and the like, and when a user opens the client arranged on the terminal to play a target video, video content for the target video is played in a playing interface. The target video comprises at least two video clips corresponding to preset duration; in actual implementation, the target video may be segmented based on the preset time duration to obtain video segments corresponding to the preset time duration, for example, for a target video with a total time duration of 40 minutes, the target video is segmented at intervals of 10 minutes to obtain 4 video segments, and the time duration of each video segment is 10 minutes.
Here, the video content of the playback target video includes the following two scenes: playing the video content of the target video and pausing the playing of the video content of the target video; that is to say, the video content played in the playing interface may be the video content in the playing state, or may be the video content in the paused playing state.
Step 102: and acquiring a bullet screen of the corresponding target video, wherein the video content aimed at by the bullet screen comprises a target object.
Here, the barrage corresponding to the target video acquired by the terminal may be edited by a barrage editor during the playing of any video content of the target video, or may be edited based on the video content including the target object being played.
Referring to fig. 3B, fig. 3B is an optional flowchart of the bullet screen processing method according to the embodiment of the present invention, and in some embodiments, before the terminal acquires the bullet screen corresponding to the target video, the bullet screen may be obtained through editing in steps 104 to 106 shown in fig. 3B.
Step 104: and responding to the barrage editing operation aiming at the video content, and presenting a barrage editing interface corresponding to the target video.
In practical application, in the process that a user watches video content of a played target video, when the user wants to send a bullet screen for the watched certain video content, a bullet screen editing operation for the video content may be triggered, that is, when the bullet screen editing operation is triggered, the corresponding video content refers to content of a frame image of the target video that is presented when the bullet screen editing operation is triggered, for example, a bullet screen function item that is presented in a playing interface and used for editing the bullet screen is triggered to trigger a corresponding bullet screen editing instruction to a terminal, the terminal receives the bullet screen editing instruction, presents a bullet screen editing interface of the corresponding video content, and presents a function item that is used for editing the bullet screen on the bullet screen editing interface.
Referring to fig. 4, fig. 4 is a schematic display diagram of a playing interface provided in an embodiment of the present invention, in fig. 4, when video content of the 07 th set of "chen x directive" is being played in the playing interface a, if a user wants to send a bullet screen for the video content C when content of a frame image presented in the playing interface corresponding to the time 09:49 indicated by B, such as a video content C of "xix war", a bullet screen function item D may be triggered, and a terminal, in response to this bullet screen editing operation, presents a bullet screen editing interface as shown in fig. 5A, fig. 5A is a schematic diagram of a bullet screen editing interface provided in an embodiment of the present invention, in fig. 5A, the bullet screen editing interface a includes a plurality of function items, such as a text addition function item a1, an image addition function item a2, a media information addition function item A3, and the like, where a bullet screen is edited based on the text addition function item, and the obtained bullet screen is in a text form, and editing the bullet screen based on the image adding function item, wherein the obtained bullet screen is in an image form, and editing the bullet screen based on the media information adding function item, and the obtained bullet screen is in a media information form.
Step 105: and responding to the bullet screen editing operation triggered based on the bullet screen editing interface, and presenting the bullet screen of the corresponding target video obtained based on the bullet screen editing operation.
Here, in actual implementation, when a user triggers a function item in the bullet screen editing interface to perform a bullet screen editing operation, the terminal responds to the bullet screen editing operation of the user and presents a corresponding bullet screen.
In some embodiments, the barrage editing operation is a text adding operation of the corresponding video content, and before the barrage of the corresponding video content obtained based on the barrage editing operation is presented, the barrage may be further generated by:
presenting a text edit box corresponding to the video content; and in response to a text adding operation triggered based on the text editing box, presenting the text content input based on the text editing box in the text editing box, and taking the text content as the bullet screen content of the bullet screen.
In some embodiments, the barrage editing operation is a text adding operation of the corresponding video content, and before the barrage of the corresponding video content obtained based on the barrage editing operation is presented, the barrage may be further generated by:
presenting a voice entry icon corresponding to the video content; responding to a text adding operation triggered based on a voice input icon, presenting text content corresponding to the text adding operation in a bullet screen editing interface, and taking the text content as bullet screen content corresponding to a bullet screen; the text content is obtained by performing text conversion on the voice recorded based on the voice recording icon.
Here, in practical implementation, when text addition is performed for video content, the text content may be input through a text edit box or obtained by text conversion of input speech. Referring to fig. 5B, fig. 5B is a schematic diagram of a barrage editing interface provided in the embodiment of the present invention, in fig. 5B, a user may input text content through a text editing box B1, or input voice by frequently pressing a voice input icon B2 and convert the voice into corresponding text content, and accordingly, the text content obtained by editing is taken as a barrage of corresponding video content and presented in a play interface.
It should be noted that, for the presentation of the text edit box or the voice entry icon, in some embodiments, the text edit interface shown in fig. 5B may be directly presented by triggering the bullet screen function item D in fig. 4, and the text edit box B1 and the voice entry icon B2 are presented in the text edit interface; in some embodiments, the barrage editing interface shown in fig. 5A may also be presented first by triggering the barrage function item D in fig. 4, and when the user triggers the text addition function item a1 shown in fig. 5A, the text editing interface shown in fig. 5B is presented, and the text editing box B1 and the voice entry icon B2 are presented in the text editing interface.
In some embodiments, the barrage editing operation is an image adding operation of the corresponding video content, and before the barrage corresponding to the video content obtained based on the barrage editing operation is presented, the barrage can be further generated by:
presenting image options corresponding to the video content; and in response to an image adding operation triggered based on the image option, presenting at least one image element selected based on the image option in the barrage editing interface, and taking the image element as a barrage of the corresponding video content.
Here, the added image element is an image element associated with the played video content, for example, for the video content C of "shixa battle" shown in fig. 4, when the image element is selected, the video content C may be captured, the captured image may be used as a bullet screen corresponding to the video content, a photograph or poster of "shixa battle" or a photograph including the word "shixa battle" may be selected from the terminal, and accordingly, the image element may be used as a bullet screen corresponding to the video content and presented on the playing interface. Through the mode, the bullet screen that appears in the playing interface can also be in an image form besides a text form, so that the expression form of the bullet screen that appears is rich and interesting, and the interest of interaction between users is improved.
In some embodiments, the barrage editing operation is a media information adding operation of the corresponding video content, and before the barrage of the corresponding target video obtained based on the barrage editing operation is presented, the barrage may be further generated as follows:
presenting media information options corresponding to the video content; responding to a media information adding operation triggered based on the media information option, presenting a media identifier corresponding to the media information added based on the media information adding operation in a bullet screen editing interface, and taking the media identifier as a bullet screen of corresponding video content; the media identifier is used for triggering the added media information to be played when a triggering operation for the media identifier is received, and the media information comprises at least one of the following: audio information, video information.
Here, the added media information is media information related to the video content being played, and for example, when the media information is added to the video content C of "shix war" shown in fig. 4, media information related to "shix war", such as a song sung by "shix war", audio information praised for "shix war", dynamic video information created from a photograph of "shix war", or the like, may be selected.
Through the mode, the bullet screen displayed in the playing interface can also be in the form of media information besides the text form, so that the displayed bullet screen is rich and interesting in expression form, and the interestingness of interaction among users is improved.
Step 106: and responding to a sending instruction for the bullet screen, and sending the bullet screen.
In some embodiments, before sending the bullet screen, the terminal may further trigger a mode instruction for the bullet screen by: presenting a public presentation function item and a private presentation function item of the bullet screen; and receiving a trigger operation aiming at the public presentation function item or the private presentation function item, and triggering a sending instruction aiming at the barrage.
The public presentation function item is used for indicating any client side playing the target video to have the permission of displaying the bullet screen, and the private presentation function item is used for indicating the authorized target client side to have the permission of displaying the bullet screen.
Here, the user editing the bullet screen can select the transmission method of the bullet screen edited by the user. The private presentation function item can be used for indicating that the client for editing the bullet screen has the authority to display the bullet screen, or indicating that other part of clients have the authority to display the bullet screen in addition to the client for editing the bullet screen.
In some embodiments, the terminal may present the public presentation function item and the private presentation function item of the barrage by: and displaying the public display function item and the private display function item of the bullet screen in the bullet screen editing interface.
Referring to fig. 6A, fig. 6A is a schematic diagram of a bullet screen sending interface provided in the embodiment of the present invention, in fig. 6A, a public presentation function item a2 and a private presentation function item A3 are presented in a bullet screen editing interface a1, and when a user triggers the public presentation function item a2, a sending instruction for sending an edited bullet screen to all clients playing target videos is triggered; when the user triggers the privacy presenting function item a3, a sending instruction to send the edited barrage to a client that partially plays the target video is triggered.
When the private presentation function item A3 is used for indicating that the client only editing the barrage has the right to display the barrage, only presenting the edited barrage in the playing interface of the client editing the barrage; when the privacy presenting function item is used for indicating that the client except the client for editing the bullet screen has the permission to display the bullet screen, when the user triggers the privacy presenting function item, a corresponding target client selecting interface is also presented, at least one target client function item for selection is presented in the target client selecting interface, the client indicated by the target client function item can be the client which is positioned in the same local area network as the client for editing the bullet screen, and the client of a friend can be designated for the client for editing the bullet screen. In practical applications, the target client selection interface may be presented in various ways, such as presenting in a pop-up screen editing interface in a pop-up window form, or performing page jump, jumping from the pop-up screen editing interface to the target client selection interface, and the like.
Referring to fig. 6B, fig. 6B is an interface schematic diagram of bullet screen sending provided by the embodiment of the present invention, when a user triggers the privacy presenting function item a3 in fig. 6A, a corresponding target client selecting interface B is presented in the bullet screen editing interface shown in fig. 6B in a form of a bullet window, the target client selecting interface B presents three target client function items, such as a user 1, a user 2, and a user 3, and when the user triggers two target client function items, the target clients corresponding to the user 1 and the user 2 are indicated as target clients having the authority to display the bullet screen.
In some embodiments, the terminal may present the public presentation function item and the private presentation function item of the barrage by: and displaying the public display function item and the private display function item of the bullet screen through the card floating layer suspended above the bullet screen editing interface.
Here, the card floating layer may be a bubble type card floating layer, movable in the bullet screen editing interface.
In some embodiments, the terminal may present the public presentation function item and the private presentation function item of the barrage by:
presenting a sending function item for sending the bullet screen in a bullet screen editing interface; responding to the trigger operation aiming at the sending function item, and presenting a sending mode selection interface with preset transparency; and in the sending mode selection interface, presenting the public presentation function item and the private presentation function item of the bullet screen.
Wherein, the transmission mode selection interface and the barrage editing interface are mutually independent.
Referring to fig. 6C, fig. 6C is an interface schematic diagram of bullet screen sending provided by the embodiment of the present invention, when the user triggers the sending function item B3 in fig. 6A, the sending mode selection interface C1 shown in fig. 6C is presented, the sending mode selection interface C1 may have a certain transparency, and the public presenting function item of the "public mode" indicated by C2 and the private presenting function item of the "private mode" indicated by C3 are presented.
In some embodiments, the terminal may send the edited barrage by:
when the sending instruction is used for indicating that any client playing the target video has the right of displaying the bullet screen, sending the bullet screen to the server so as to return the video content of the target video and the bullet screen when the server receives a playing request of any client for the target video, and presenting the bullet screen in a playing interface corresponding to the target video when any one of at least two video clips played to the target video by the client contains the target video clip of the target object; therefore, the edited bullet screen is visible to all users watching the target video, and the interestingness of the bullet screen is increased.
When the sending instruction is used for indicating that the authorized target client side has the right of displaying the bullet screen, sending the bullet screen to the server, so that when the server receives a playing request of the target client side for the target video, the video content and the bullet screen of the target video are returned, and when the target client side plays any one of at least two video clips of the target video, wherein the target video clip comprises a target video clip of a target object, the bullet screen is presented in a playing interface corresponding to the target video clip; therefore, the edited barrage is only visible to a part or only to the user, so that the privacy is improved, and the creation desire of the barrage stimulating the user is facilitated.
Referring to fig. 6D, fig. 6D is a bullet screen matching diagram provided in the embodiment of the present invention, and after the terminal sends the edited bullet screen to the server, bullet screen matching prompt information shown in fig. 6D is presented in a bullet screen interface of the terminal. After receiving the bullet screen sent by the terminal, the server performs semantic analysis on the bullet screen content of the bullet screen to obtain semantic information of the bullet screen; respectively carrying out image recognition on frame images in each video clip of the target video to obtain key information corresponding to each video clip; the semantic information is matched with each piece of key information, the video content corresponding to the successfully matched key information is determined to be in an association relation with the bullet screen content, and the video targeted by the bullet screen comprises the target object, so that the video clip corresponding to the successfully matched key information can be determined to be the target video clip comprising the target object, and further, the bullet screen content of the bullet screen is understood to be in an association relation with the target object contained in the target video clip.
In practical implementation, when the edited bullet screen is in a text form, word segmentation processing can be performed on the bullet screen content of the bullet screen to obtain a plurality of corresponding word segments, and then semantic analysis is performed on the word segments to obtain corresponding semantic information; when the edited bullet screen is in an image form, image recognition can be performed on the image bullet screen to obtain semantic information of a corresponding image; when the edited barrage is in a media information form, the media information content of the barrage of the media information can be analyzed to obtain the semantic information corresponding to the media information.
For example, referring to fig. 7, fig. 7 is a schematic diagram of word segmentation of the bullet screen provided in the embodiment of the present invention, and when the bullet screen content of the bullet screen is "xiaox war you commander", the word segmentation processing is performed on the bullet screen content to obtain three words segmentation of "xiaox war", "you", "commander" etc.
The server performs face recognition or image recognition on frame images in each video clip of the target video respectively to obtain key information corresponding to each video clip, for example, the key information of the video clip 1 is: the key information of the xiaox war … and the video clip 2 is as follows: key information of old xx … and video clip 3 are: … Key information of the Xiaox warfare … and the video clip 4 is as follows: wangxbo …, and the like; then the server matches the semantic information of the barrage content with the key information of each video clip, and since the key information of the video clip 1 and the key information of the video clip 3 both contain the "xix war", the key information of the video clip 1 and the key information of the video clip 3 are considered to be successfully matched with the barrage content, so that the video content of the video clip 1 and the video clip 2 can be determined to have an association relation with the barrage content of the barrage, and at the moment, the video clip 1 and the video clip 2 are determined to be the target video clip containing the target object (namely the "xix war"); then, marking the video segment 1 and the video segment 2, and specially marking at a preset frame (such as a first frame) of the video segment, so as to start to present the barrage at the position of playing to the preset frame, and present the barrage only once at the video segment, and present the edited barrage when playing to all target video segments containing target objects in the target video at the next replay.
In some embodiments, the server may further perform similarity matching between frame images in the video segments and frame images of the target video presented when the barrage editing operation is triggered, and when the similarity value exceeds a similarity threshold, determine that the corresponding video segment has the same video content as the frame images of the target video presented when the barrage editing operation is triggered, that is, determine the video segment corresponding to the similarity value exceeding the similarity threshold as the target video segment containing the target object.
In some embodiments, the acquired bullet-screen content may not be intuitively and semantically associated with the frame image of the target video presented when the bullet-screen editing operation is triggered, for example, the frame image of the target video presented when the bullet-screen editing operation is triggered is an image of "character a", and the bullet-screen content of the edited bullet-screen is "his featured bar", at this time, the server may perform similarity matching between the frame image in each video segment of the target video and the frame image of the target video presented when the bullet-screen editing operation is triggered (e.g., an image of "character a"), and determine the video segment corresponding to the similarity value exceeding the similarity threshold as the target video segment containing the target object (e.g., "character a"), but since the bullet-screen of "his featured bar" is edited when the frame image of the target video presented is an image of "character a", therefore, it is still considered that the bullet screen content of the bullet screen has an association relationship with the target object (such as "character a") included in the target video segment, and therefore, when the target video segment including "character a" is played, the bullet screen of "his sports bar" is presented in the playing interface corresponding to the target video segment.
Referring to fig. 8, fig. 8 is a schematic diagram of marking video clips provided in the embodiment of the present invention, and for a scenario in the 07 th collection of "chen x ling", a target video clip having an association relationship with a bullet screen content "xiao x war your commander", so as to indicate that when the marked target video clip is played, an edited bullet screen "xiao x war your commander" is presented.
Step 103: and when any one of the at least two video clips containing the target object is played, the bullet screen is presented in the playing interface corresponding to the target video clip.
Referring to fig. 9A to 9D, fig. 9A to 9D are schematic diagrams of a playing interface provided in an embodiment of the present invention, for video content in the 07 th collection of "chen x ling", when the video content related to "xix war" is played at time 09:49, a user edits a bullet screen of "xix war you shishuai ya", and in a process of playing a remaining scenario in the 07 th collection, if a target video segment related to "xix war" is played, the bullet screen of "xix war you shishuai" is presented. For example, a bullet screen of "shix war your handshaake" is presented when played to video content related to "shix war" corresponding to time 09:49 in fig. 9A, 15:42 in fig. 9B, 23:16 in fig. 9C, and 34:27 in fig. 9D, respectively.
In some embodiments, when the target video is a certain drama, the target video segments are not limited to the target video segments including the target object in the currently played episode, but may also be the target video segments including the target object in all episodes of the drama, that is, when the target video segments including the target object in all episodes are played, the edited barrage is presented. For example, for the target video of "chen x ling", when video content about "xiao x war" at the time 09:49 of the 07 th episode is played, the user edits a bullet screen of "xiao x war you good commander", and when the remaining scenario of the 07 th episode or other episodes than the 07 th episode are played next, the bullet screen of "xiao x war you good commander" is presented as long as the target video clip related to "xiao x war" is played.
In some embodiments, the bullet screen is in an image form, and the bullet screen in the image form is presented in the playing interface corresponding to each target video clip, referring to fig. 10A, fig. 10A is a schematic view of the playing interface provided in the embodiments of the present invention, in fig. 10A, the bullet screen a is an image bullet screen, and the image content is associated with the video content, for example, the image contains a word related to "shix war".
In some embodiments, the barrage is in a media information form, and a media identifier associated with the barrage is presented in a playing interface corresponding to each target video segment, where the media identifier is used to indicate that the barrage carries media information, and the media information includes at least one of the following: audio information, video information; correspondingly, responding to the triggering operation aiming at the media identification, and playing the media information carried by the bullet screen.
Referring to fig. 10B-10C, fig. 10B-10C are schematic diagrams of a playing interface provided by an embodiment of the present invention, in fig. 10B, a bullet screen B is an audio bullet screen, and when a user clicks the bullet screen B, audio information carried by the bullet screen can be played; in fig. 10C, the bullet screen C is a video bullet screen, and when the user clicks the bullet screen C, the video information carried by the bullet screen can be played.
Through the mode, in the process of playing the video content of the target video, the bullet screen corresponding to the target video is obtained, when any one of the at least two video clips contains the target video clip of the target object, the bullet screen is displayed in the playing interface corresponding to the target video clip, and due to the fact that the video content targeted by the bullet screen contains the target object, the bullet screen related to the target object can be automatically displayed when a plurality of target video clips containing the target object are played, and the pushing effect of the bullet screen is improved.
Meanwhile, the barrage editing is carried out on the video content which is being played, and the barrage obtained by editing is sent, so that the edited barrage is presented in the playing interface of the current video content, and the edited barrage can also be presented in the playing interface for playing other target video segments containing the target object, therefore, the barrage can be automatically presented when a plurality of target video segments containing the target object are played only by one barrage editing operation, the operation is simple, and the efficiency of barrage publishing is improved; the requirement that satisfies the user of heavy barrage that can be better, the barrage that presents simultaneously is various, has flourished the atmosphere of watching, has improved user's impression and has experienced.
Next, a description is continued on a bullet screen processing method provided by an embodiment of the present invention, referring to fig. 11, fig. 11 is an optional flowchart of the bullet screen processing method provided by the embodiment of the present invention, and in fig. 11, a first terminal and a second terminal both play video content of a target video in a playing interface, where the first terminal is both a bullet screen issuing side and a bullet screen receiving side, and the second terminal is a bullet screen receiving side, which will be described with reference to the steps shown in fig. 11.
Step 201: and playing the video content of the target video in a playing interface of the first terminal.
In practical application, the first terminal and the second terminal are provided with clients, such as a short video client, a browser client, an instant messaging client, and the like, and when a user opens the client arranged on the terminal to play a target video, video content for the target video is played in a playing interface. The target video comprises at least two video clips corresponding to preset duration; in actual implementation, the target video can be segmented based on the preset duration to obtain video segments corresponding to the preset duration one by one.
Step 202: and the first terminal responds to the barrage editing operation aiming at the video content and presents a barrage editing interface corresponding to the video content.
Step 203: and the first terminal responds to the text editing operation triggered based on the bullet screen editing interface, presents the text content obtained based on the text editing operation, and takes the text content as the bullet screen content of the bullet screen.
Here, the video content targeted by the bullet screen includes the target object.
Step 204: and the first terminal responds to the sending instruction aiming at the bullet screen and sends the bullet screen to the server.
Here, the sending instruction may be used to indicate that any client that plays the target video has the right to display the bullet screen, and may also be used to indicate that the target client that obtains authorization has the right to display the bullet screen.
Step 205: and the server performs semantic analysis on the bullet screen content of the bullet screen to obtain semantic information of the bullet screen.
Step 206: and the server respectively identifies the frame images in each video clip of the target video to obtain the key information corresponding to each video clip.
Step 207: and the server respectively matches the semantic information with each key information to obtain a target video clip corresponding to the successfully matched key information.
Here, the video content corresponding to the successfully matched key information is determined to have an association relationship with the barrage content, and the video clip corresponding to the successfully matched key information is determined to be a target video clip containing a target object.
Step 208: and when the server determines that the sending instruction is used for indicating that any client side playing the target video has the permission of displaying the bullet screen, the server sends the bullet screen to the first terminal and the second terminal.
Here, when the server determines that the sending instruction is used for indicating that the first terminal playing the target video has the authority to display the bullet screen, the bullet screen is sent to the first terminal, so that the bullet screen is presented in the playing interface corresponding to the target video clip only when any one of at least two video clips of the target video played by the first terminal contains the target video clip of the target object.
Step 209: and when any one of at least two video clips of the target video comprises the target video clip of the target object, the bullet screen is presented in the playing interface corresponding to the target video clip.
Step 210: and when any one of at least two video clips of the target video comprises the target video clip of the target object, the bullet screen is presented in the playing interface corresponding to the target video clip.
Here, the bullet screen content of the bullet screen and the video content of the target video segment have an association relationship, and step 209 and step 210 are not time-sequential, so that a user at any terminal side can view the bullet screen in the playing interface when viewing the target video segment associated with the bullet screen content.
In the following, an exemplary application of the embodiments of the present invention in a practical application scenario will be described.
The bullet screen presentation mode in the related art can only appear in the current time and the current playing scene, a specific scene cannot be accurately identified, or a plurality of similar scenes, for example, a certain star appears in different video clips, if a user wants to send a bullet screen to a plurality of similar scenes, the user needs to edit the bullet screen for many times, and sometimes, in order to accurately send a bullet screen, the user needs to manually pause the playing video, so that the operation is complicated, and the viewing experience of the user is influenced.
In view of the above, embodiments of the present invention provide a bullet screen processing method, apparatus, device and storage medium to solve the above problems.
Referring to fig. 12, fig. 12 is an alternative flowchart of a bullet screen processing method according to an embodiment of the present invention, and will be described with reference to the steps shown in fig. 12.
Step 301: and playing the video content of the target video in a playing interface of the first terminal.
Here, the first terminal is a terminal on the user a side, and the second terminal is a terminal on the user B side.
Step 302: and the first terminal responds to the barrage editing operation aiming at the video content and presents a barrage editing interface corresponding to the video content.
Here, in the process that the user a watches the video content of the playing target video, when the user a wants to send a bullet screen for a certain watched video content, a bullet screen editing operation for the video content may be triggered, for example, a bullet screen function item for editing the bullet screen, which is presented in the playing interface, is triggered to trigger a corresponding bullet screen editing instruction to the terminal, and the terminal receives the bullet screen editing instruction and presents a bullet screen editing interface corresponding to the video content.
For example, a scenario of episode 07 of "chen x ordered" is being played in the playing interface a of fig. 4, and when a video content C of "xix war" is presented in the playing interface at 09:49 indicated by B, a bullet screen for the video content is edited.
Step 303: and the first terminal obtains an edited bullet screen based on the bullet screen editing interface.
Here, when editing a bullet screen in a text form, the text content may be input through a text edit box, or may be obtained by text-converting the input speech, where the video content of the edited bullet screen includes the target object.
Step 304: and sending the barrage to the server through the selected sending mode.
Here, the sending mode includes a public sending mode (i.e., the above-mentioned public presenting function item) and a private sending mode (i.e., the above-mentioned private presenting function item), where the public sending mode is used to instruct any client that plays the target video to have the authority to display the barrage, for example, both user a and user B can view the edited barrage, and the private sending mode is used to instruct an authorized target client to have the authority to display the barrage, for example, only user a can view the edited barrage.
Step 305: and the server matches the target video clip containing the target object according to the semantic identification of the bullet screen content.
In actual implementation, the server performs word segmentation processing on the bullet screen content of the bullet screen to obtain a plurality of corresponding words, and then performs semantic analysis on the words to obtain corresponding semantic information; for example, if the bullet screen content of the bullet screen is "xiaox war you commander", the bullet screen content is subjected to word segmentation processing to obtain three word segmentations of "xiaox war", "you" and "commander.
Then, face recognition or image recognition is performed on the frame images in each video segment of the target video, so as to obtain key information corresponding to each video segment, for example, the key information of video segment 1 obtained by recognizing each video segment in the 07 th set of "chen x ling" is: the key information of the xiaox war … and the video clip 2 is as follows: key information of old xx … and video clip 3 are: … Key information of the Xiaox warfare … and the video clip 4 is as follows: wangxbo … and the like.
Finally, semantic information of the bullet screen content is matched with key information of each video clip, and the video clip corresponding to the key information which is successfully matched is determined as a target video clip containing a target object, which can be further understood as that the target object contained in the target video clip has an association relation with the bullet screen content.
For example, since the key information of the video clip 1 and the key information of the video clip 3 both contain "xix wars", that is, the key information of the video clip 1 and the key information of the video clip 3 are considered to be successfully matched with the contents of the bullet screen, that is, the target video clip associated with the bullet screen "xix wars you shialayao" is: video segment 1 and video segment 2, and marking video segment 1 and video segment 2, such as marking specifically in the first frame of the video segment, see fig. 8.
In practical application, for better user experience, the edited barrage content is sent to the first frame of the matched target video segment, so that the edited barrage is accurately presented when the first frame of the target video segment is played, and the barrage is presented only once in the video segment, and a specific presentation manner can be seen in fig. 9A to 9D. When the next replay is carried out, all the edited barrages are presented when all the target video clips containing the target objects in the target video are played.
Step 306: the server judges whether the sending mode is the open mode, and if the sending mode is the open mode, steps 307 and 308 are executed; when the transmission mode is not the public mode, step 307 is executed.
Here, if the sending mode is the open mode, when the server receives the play requests of the first terminal and the second terminal for the target video, the server returns the video content of the target video and the barrage edited by the user a to the first terminal and the second terminal; therefore, the user A and the user B can see the bullet screen, and in addition, the bullet screen is visible to all users watching the target video, so that the interestingness of the bullet screen is increased.
If the sending mode is a private mode, when the server receives the playing requests of the first terminal and the second terminal for the target video, the server returns the video content of the target video and the barrage edited by the user A to the first terminal, and returns the video content of the target video to the second terminal, namely the barrage edited by the user A cannot be received by the second terminal, namely the user B cannot watch the barrage edited by the user A, so that the barrage edited by the user A is only visible for the user, the privacy is higher, and the creation desire of the barrage of the user can be stimulated.
Step 307: and when any one of at least two video clips of the target video comprises the target video clip of the target object, the bullet screen is presented in the playing interface corresponding to the target video clip.
Step 308: and when any one of at least two video clips of the target video comprises the target video clip of the target object, the bullet screen is presented in the playing interface corresponding to the target video clip.
Here, step 307 and step 308 are not sequentially divided, and a user at any terminal side can view the bullet screen in the playing interface when viewing the target video clip containing the target object under the authority of viewing the bullet screen; thus, the barrage of "you like a dart for the" Xiaox war "can be presented in all video clips related to the" Xiaox war ".
In this way, the requirement that satisfies the heavy barrage user that can be better only needs once to edit, can map the barrage of editing to and present in a plurality of similar scenes, realizes "a key" and sends the effect of barrage in a plurality of scenes, has promoted the sending efficiency of barrage, has flourished the viewing atmosphere, has improved user's impression and has experienced.
Referring to fig. 13, fig. 13 is a schematic structural composition diagram of a bullet screen processing apparatus according to an embodiment of the present invention, and as shown in fig. 13, the bullet screen processing apparatus 555 according to the embodiment of the present invention includes:
the playing module 5551 is configured to play the video content of the target video in the playing interface; the target video comprises at least two video clips corresponding to preset duration;
an obtaining module 5552, configured to obtain a bullet screen corresponding to the target video, where video content targeted by the bullet screen includes a target object;
the bullet screen presenting module 5553 is configured to present the bullet screen in a playing interface corresponding to a target video clip when the target video clip including the target object is played to any one of the at least two video clips.
In some embodiments, before the acquiring the bullet screen corresponding to the target video, the apparatus further includes:
the first presentation module is used for responding to barrage editing operation aiming at the video content and presenting a barrage editing interface corresponding to the video content;
the second presentation module is used for responding to the barrage editing operation triggered based on the barrage editing interface and presenting a barrage corresponding to the video content obtained based on the barrage editing operation;
and the sending module is used for responding to the sending instruction aiming at the bullet screen and sending the bullet screen.
In some embodiments, the apparatus further comprises a third presenting module for, prior to sending the bullet screen,
presenting a public presentation function item and a private presentation function item of the bullet screen;
the public presentation function item is used for indicating that any client playing the target video has the permission to display the bullet screen, and the private presentation function item is used for indicating that the authorized target client has the permission to display the bullet screen;
and receiving a trigger operation aiming at the public presentation function item or the private presentation function item, and triggering a sending instruction aiming at the bullet screen.
In some embodiments, the third presenting module is further configured to present, in the barrage editing interface, a public presenting function item and a private presenting function item of a barrage.
In some embodiments, the third presenting module is further configured to present a public presenting function item and a private presenting function item of the bullet screen through a card floating layer suspended above the bullet screen editing interface.
In some embodiments, the third presenting module is further configured to present, in the barrage editing interface, a sending function item for sending the barrage;
responding to the trigger operation aiming at the sending function item, presenting a sending mode selection interface with preset transparency, wherein the sending mode selection interface and the barrage editing interface are mutually independent;
and presenting the public presentation function item and the private presentation function item of the bullet screen in the sending mode selection interface.
In some embodiments, the apparatus further includes an associated segment determining module, where the associated segment determining module is configured to perform semantic analysis on the bullet screen content of the bullet screen to obtain semantic information of the bullet screen;
respectively carrying out image recognition on frame images in each video clip of the target video to obtain key information corresponding to each video clip;
and respectively matching the semantic information with each piece of key information, and determining the video content corresponding to the key information which is successfully matched as the associated relation with the bullet screen content.
In some embodiments, the sending module is further configured to send the bullet screen to a server when the sending instruction is used to indicate that any client that plays the target video has a right to display the bullet screen, so as to
When the server receives a playing request of any client for the target video, returning the video content of the target video and the barrage, so that when the client plays any target video segment containing the target object in the at least two video segments, the barrage is presented in a playing interface corresponding to the target video segment;
when the sending instruction is used for indicating that the authorized target client side has the permission of displaying the bullet screen, the bullet screen is sent to the server so as to
When the server receives a playing request of the target client for the target video, returning the video content of the target video and the barrage, so that when the target client plays any one of the at least two video segments containing the target video segment of the target object, the barrage is presented in a playing interface corresponding to the target video segment.
In some embodiments, the apparatus further includes a barrage editing module, where the barrage editing operation is a text adding operation corresponding to the video content, and before the barrage corresponding to the target video obtained based on the barrage editing operation is presented, the barrage editing module is configured to present a text editing box corresponding to the video content;
and in response to a text adding operation triggered based on the text editing box, presenting text content input based on the text editing box in the text editing box, and taking the text content as the bullet screen content of the bullet screen.
In some embodiments, the barrage editing operation is a text adding operation corresponding to the video content, and the barrage editing module is further configured to add the text to the video content
Presenting a voice entry icon corresponding to the video content;
in response to a text adding operation triggered based on the voice input icon, presenting text content corresponding to the text adding operation in the bullet screen editing interface, and taking the text content as bullet screen content corresponding to the bullet screen;
and the text content is obtained by performing text conversion on the voice input based on the voice input icon.
In some embodiments, the barrage editing operation is an image adding operation corresponding to the video content, and before the barrage corresponding to the video content is presented based on the barrage editing operation, the barrage editing module is further configured to present an image option corresponding to the target video;
and in response to an image adding operation triggered based on the image option, presenting at least one image element selected based on the image option in the bullet screen editing interface, and taking the image element as a bullet screen corresponding to the video content.
In some embodiments, the barrage editing operation is a media information adding operation corresponding to the video content, and the barrage editing module is further configured to present a media information option corresponding to the target video before presenting a barrage corresponding to the video content obtained based on the barrage editing operation;
responding to a media information adding operation triggered based on the media information option, presenting a media identifier corresponding to the media information added based on the media information adding operation in the barrage editing interface, and taking the media identifier as a barrage corresponding to the video content;
the media identifier is configured to trigger playing of the added media information when a trigger operation for the media identifier is received, where the media information includes at least one of: audio information, video information.
In some embodiments, the barrage presenting module is further configured to present, in a play interface corresponding to the target video segment, a media identifier associated with the barrage, where the media identifier is used to indicate that the barrage carries media information, and the media information includes at least one of: audio information, video information;
correspondingly, the playing module is further configured to play the media information carried by the bullet screen in response to a trigger operation for the media identifier.
In some embodiments, the barrage presenting module is further configured to determine a video frame containing the target object in the target video segment;
and when the video frames have at least two frames, presenting the barrage in a playing interface corresponding to a preset number of video frames.
An embodiment of the present invention provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the bullet screen processing method provided by the embodiment of the invention when the executable instructions stored in the memory are executed.
The embodiment of the invention provides a computer-readable storage medium, which stores executable instructions and is used for causing a processor to execute the executable instructions so as to realize the bullet screen processing method provided by the embodiment of the invention.
In some embodiments, the storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EE PROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, may be stored in a portion of a file that holds other programs or data, e.g., in one or more scripts in a HyperText markup Language (H TML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only an example of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (15)

1. A method for processing a bullet screen, the method comprising:
playing the video content of the target video in a playing interface; the target video comprises at least two video clips corresponding to preset duration;
acquiring a bullet screen corresponding to the target video, wherein the video content targeted by the bullet screen comprises a target object;
and when any one of the at least two video clips containing the target video clip of the target object is played, presenting the bullet screen in a playing interface corresponding to the target video clip.
2. The method of claim 1, wherein prior to said obtaining a bullet screen corresponding to said target video, said method further comprises:
responding to the barrage editing operation aiming at the video content, and presenting a barrage editing interface corresponding to the video content;
responding to a bullet screen editing operation triggered based on the bullet screen editing interface, and presenting a bullet screen which is obtained based on the bullet screen editing operation and corresponds to the target video;
and responding to a sending instruction aiming at the bullet screen, and sending the bullet screen.
3. The method of claim 2, wherein prior to said sending said bullet screen, said method further comprises:
presenting a public presentation function item and a private presentation function item of the bullet screen;
the public presentation function item is used for indicating that any client playing the target video has the permission to display the bullet screen, and the private presentation function item is used for indicating that the authorized target client has the permission to display the bullet screen;
and receiving a trigger operation aiming at the public presentation function item or the private presentation function item, and triggering a sending instruction aiming at the bullet screen.
4. The method of claim 3, wherein presenting the public and private presence functions of the barrage comprises:
displaying a public display function item and a private display function item of the bullet screen in the bullet screen editing interface; alternatively, the first and second electrodes may be,
and displaying the public display function item and the private display function item of the bullet screen through the card floating layer suspended above the bullet screen editing interface.
5. The method of claim 3, wherein presenting the public and private presence functions of the barrage comprises:
presenting a sending function item for sending the bullet screen in the bullet screen editing interface;
responding to the trigger operation aiming at the sending function item, presenting a sending mode selection interface with preset transparency, wherein the sending mode selection interface and the barrage editing interface are mutually independent;
and presenting the public presentation function item and the private presentation function item of the bullet screen in the sending mode selection interface.
6. The method of claim 2, wherein said sending said bullet screen comprises:
when the sending instruction is used for indicating that any client side playing the target video has the permission of displaying the bullet screen, sending the bullet screen to a server so as to
When the server receives a playing request of any client for the target video, returning the video content of the target video and the barrage, so that when the client plays any target video segment containing the target object in the at least two video segments, the barrage is presented in a playing interface corresponding to the target video segment;
when the sending instruction is used for indicating that the authorized target client side has the permission of displaying the bullet screen, the bullet screen is sent to the server so as to
When the server receives a playing request of the target client for the target video, returning the video content of the target video and the barrage, so that when the target client plays any one of the at least two video segments containing the target video segment of the target object, the barrage is presented in a playing interface corresponding to the target video segment.
7. The method of claim 2, wherein the barrage editing operation is a text adding operation corresponding to the video content, and wherein before the presentation of the barrage corresponding to the target video based on the barrage editing operation, the method further comprises:
presenting a text edit box corresponding to the video content;
and in response to a text adding operation triggered based on the text editing box, presenting text content input based on the text editing box in the text editing box, and taking the text content as the bullet screen content of the bullet screen.
8. The method of claim 2, wherein the barrage editing operation is a text adding operation corresponding to the video content, and wherein before the presentation of the barrage corresponding to the target video based on the barrage editing operation, the method further comprises:
presenting a voice entry icon corresponding to the video content;
in response to a text adding operation triggered based on the voice input icon, presenting text content corresponding to the text adding operation in the bullet screen editing interface, and taking the text content as bullet screen content corresponding to the bullet screen;
and the text content is obtained by performing text conversion on the voice input based on the voice input icon.
9. The method of claim 2, wherein the barrage editing operation is an image adding operation corresponding to the video content, and wherein before the presenting of the barrage corresponding to the target video based on the barrage editing operation, the method further comprises:
presenting image options corresponding to the video content;
and in response to an image adding operation triggered based on the image option, presenting at least one image element selected based on the image option in the bullet screen editing interface, and taking the image element as a bullet screen corresponding to the target video.
10. The method of claim 2, wherein the barrage editing operation is a media information adding operation corresponding to the video content, and wherein the method further comprises, before the presentation of the barrage corresponding to the target video based on the barrage editing operation, the method further comprises:
presenting media information options corresponding to the video content;
responding to a media information adding operation triggered based on the media information option, presenting a media identifier corresponding to the media information added based on the media information adding operation in the bullet screen editing interface, and taking the media identifier as a bullet screen corresponding to the target video;
the media identifier is configured to trigger playing of the added media information when a trigger operation for the media identifier is received, where the media information includes at least one of: audio information, video information.
11. The method of claim 2, wherein the presenting the barrage in the playback interface corresponding to the target video segment comprises:
presenting a media identifier associated with the barrage in a playing interface corresponding to the target video clip, wherein the media identifier is used for indicating that the barrage carries media information, and the media information includes at least one of the following: audio information, video information;
accordingly, the method further comprises:
and responding to the triggering operation aiming at the media identification, and playing the media information carried by the bullet screen.
12. The method of claim 1, wherein the presenting the barrage in the playback interface corresponding to the target video segment comprises:
determining a video frame containing the target object in the target video segment;
and when the video frames have at least two frames, presenting the barrage in a playing interface corresponding to a preset number of video frames.
13. A bullet screen processing apparatus, characterized in that the apparatus comprises:
the playing module is used for playing the video content of the target video in the playing interface; the target video comprises at least two video clips corresponding to preset duration;
the acquisition module is used for acquiring a bullet screen corresponding to the target video, and the video content targeted by the bullet screen comprises a target object;
and the bullet screen presenting module is used for presenting the bullet screen in a playing interface corresponding to the target video clip when any one of the at least two video clips containing the target object is played.
14. An electronic device, comprising:
a memory for storing executable instructions;
a processor, configured to implement the bullet screen processing method according to any one of claims 1 to 12 when executing the executable instructions stored in the memory.
15. A computer-readable storage medium having stored thereon executable instructions for causing a processor to perform a method of processing a bullet screen as claimed in any one of claims 1 to 12 when executed.
CN202010680273.0A 2020-07-15 Barrage processing method, barrage processing device, barrage processing equipment and storage medium Active CN111800668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010680273.0A CN111800668B (en) 2020-07-15 Barrage processing method, barrage processing device, barrage processing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010680273.0A CN111800668B (en) 2020-07-15 Barrage processing method, barrage processing device, barrage processing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111800668A true CN111800668A (en) 2020-10-20
CN111800668B CN111800668B (en) 2024-06-07

Family

ID=

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328152A (en) * 2020-11-26 2021-02-05 腾讯科技(深圳)有限公司 Media file playing control method and device, electronic equipment and storage medium
CN113179412A (en) * 2021-03-15 2021-07-27 北京城市网邻信息技术有限公司 Information processing method and device, electronic equipment and storage medium
CN114449326A (en) * 2020-11-06 2022-05-06 上海哔哩哔哩科技有限公司 Video annotation method, client, server and system
CN115037964A (en) * 2022-06-06 2022-09-09 深圳市前海多晟科技股份有限公司 Barrage-based video combination method and device, computer equipment and storage medium
CN115484465A (en) * 2021-05-31 2022-12-16 上海幻电信息科技有限公司 Bullet screen generation method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980809A (en) * 2015-06-30 2015-10-14 北京奇艺世纪科技有限公司 Barrage processing method and apparatus
CN106375865A (en) * 2016-09-20 2017-02-01 腾讯科技(深圳)有限公司 Method, system and terminal for bullet screen interaction based on social information
CN109309851A (en) * 2017-07-26 2019-02-05 腾讯科技(深圳)有限公司 Information processing method, server and terminal
CN109982128A (en) * 2019-03-19 2019-07-05 腾讯科技(深圳)有限公司 Barrage generation method, device, storage medium and the electronic device of video
CN110460899A (en) * 2019-06-28 2019-11-15 咪咕视讯科技有限公司 Methods of exhibiting, terminal device and the computer readable storage medium of barrage content
CN111405344A (en) * 2020-03-18 2020-07-10 腾讯科技(深圳)有限公司 Bullet screen processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980809A (en) * 2015-06-30 2015-10-14 北京奇艺世纪科技有限公司 Barrage processing method and apparatus
CN106375865A (en) * 2016-09-20 2017-02-01 腾讯科技(深圳)有限公司 Method, system and terminal for bullet screen interaction based on social information
CN109309851A (en) * 2017-07-26 2019-02-05 腾讯科技(深圳)有限公司 Information processing method, server and terminal
CN109982128A (en) * 2019-03-19 2019-07-05 腾讯科技(深圳)有限公司 Barrage generation method, device, storage medium and the electronic device of video
CN110460899A (en) * 2019-06-28 2019-11-15 咪咕视讯科技有限公司 Methods of exhibiting, terminal device and the computer readable storage medium of barrage content
CN111405344A (en) * 2020-03-18 2020-07-10 腾讯科技(深圳)有限公司 Bullet screen processing method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449326A (en) * 2020-11-06 2022-05-06 上海哔哩哔哩科技有限公司 Video annotation method, client, server and system
CN112328152A (en) * 2020-11-26 2021-02-05 腾讯科技(深圳)有限公司 Media file playing control method and device, electronic equipment and storage medium
CN112328152B (en) * 2020-11-26 2022-07-29 腾讯科技(深圳)有限公司 Method and device for controlling playing of media file, electronic equipment and storage medium
CN113179412A (en) * 2021-03-15 2021-07-27 北京城市网邻信息技术有限公司 Information processing method and device, electronic equipment and storage medium
CN115484465A (en) * 2021-05-31 2022-12-16 上海幻电信息科技有限公司 Bullet screen generation method and device, electronic equipment and storage medium
CN115484465B (en) * 2021-05-31 2024-03-15 上海幻电信息科技有限公司 Bullet screen generation method and device, electronic equipment and storage medium
CN115037964A (en) * 2022-06-06 2022-09-09 深圳市前海多晟科技股份有限公司 Barrage-based video combination method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2021244205A1 (en) Interaction scenario start up method, apparatus, storage medium, client end, and server
US11206448B2 (en) Method and apparatus for selecting background music for video shooting, terminal device and medium
CN109640188B (en) Video preview method and device, electronic equipment and computer readable storage medium
US20210006715A1 (en) Method and apparatus for video shooting, terminal device and storage medium
CN109640129B (en) Video recommendation method and device, client device, server and storage medium
CN111294663B (en) Bullet screen processing method and device, electronic equipment and computer readable storage medium
CN108650555B (en) Video interface display method, interactive information generation method, player and server
CN107920274B (en) Video processing method, client and server
US10009596B2 (en) Video production sharing apparatus and method
US9558784B1 (en) Intelligent video navigation techniques
CN110691281B (en) Video playing processing method, terminal device, server and storage medium
US10848831B2 (en) Methods, systems, and media for providing media guidance
US9635337B1 (en) Dynamically generated media trailers
US9564177B1 (en) Intelligent video navigation techniques
CN113015005B (en) Video clipping method, device and equipment and computer readable storage medium
CN113010698B (en) Multimedia interaction method, information interaction method, device, equipment and medium
CN110958470A (en) Multimedia content processing method, device, medium and electronic equipment
CN114339285B (en) Knowledge point processing method, video processing method, device and electronic equipment
CN112954390B (en) Video processing method, device, storage medium and equipment
JP2017538328A (en) Promotion information processing method, apparatus, device, and computer storage medium
CN111556329B (en) Method and device for inserting media content in live broadcast
CN109889921B (en) Audio and video creating and playing method and device with interaction function
CN113852767B (en) Video editing method, device, equipment and medium
CN106936830B (en) Multimedia data playing method and device
CN113259708A (en) Method, computer device and medium for introducing commodities based on short video

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40030872

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant