WO2023000980A1 - 视频处理方法、装置、电子设备及存储介质 - Google Patents

视频处理方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2023000980A1
WO2023000980A1 PCT/CN2022/104106 CN2022104106W WO2023000980A1 WO 2023000980 A1 WO2023000980 A1 WO 2023000980A1 CN 2022104106 W CN2022104106 W CN 2022104106W WO 2023000980 A1 WO2023000980 A1 WO 2023000980A1
Authority
WO
WIPO (PCT)
Prior art keywords
bullet
video
barrage
logo
chat
Prior art date
Application number
PCT/CN2022/104106
Other languages
English (en)
French (fr)
Inventor
江婧轩
张培辉
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Priority to EP22845145.6A priority Critical patent/EP4344222A1/en
Publication of WO2023000980A1 publication Critical patent/WO2023000980A1/zh
Priority to US18/392,432 priority patent/US20240129591A1/en

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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • 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/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/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a video processing method, device, electronic equipment and storage medium.
  • Bullet chat is an asynchronous interactive method based on the progress of video playback.
  • most products support video viewers to manually input bullet chat while watching a video to express their attitudes, opinions, and emotions towards the video content.
  • the present disclosure provides a video processing method, device, electronic device and storage medium.
  • An embodiment of the present disclosure provides a video processing method, the method comprising:
  • a bullet chatting logo is added to the video to be released, so as to display the bullet chatting logo during video playback.
  • An embodiment of the present disclosure also provides a video processing method, the method comprising:
  • a bullet chat corresponding to the bullet chat content is displayed on the video playback screen.
  • An embodiment of the present disclosure also provides a video processing device, the device comprising:
  • the trigger operation receiving module is used to receive the trigger operation of the barrage control associated with the video to be released;
  • the adding module is configured to add a barrage logo to the video to be released in response to the trigger operation, so as to display the barrage logo during video playback.
  • An embodiment of the present disclosure also provides a video processing device, the device comprising:
  • the receiving module is configured to receive a trigger operation directed at the bullet chatting logo on the video playback screen, and the bullet chatting content is displayed on the bullet chatting logo;
  • a display module configured to display a bullet chat corresponding to the bullet chat content on the video playback screen in response to the trigger operation.
  • An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing instructions executable by the processor; and the processor, for reading the instruction from the memory.
  • the instructions can be executed, and the instructions are executed to implement the video processing method provided by the embodiment of the present disclosure.
  • the embodiment of the present disclosure also provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program is used to execute the video processing method provided by the embodiment of the present disclosure.
  • FIG. 1 is a schematic flowchart of a video processing method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic interface diagram of a video publishing page provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a video processing method provided by another embodiment of the present disclosure.
  • FIG. 4A is an example diagram of a setting page of a barrage identification provided by an embodiment of the present disclosure
  • FIG. 4B is an example diagram of displaying barrage logos during video playback provided by an embodiment of the present disclosure
  • FIG. 5A is an example diagram of a setting page of a barrage logo provided by another embodiment of the present disclosure.
  • FIG. 5B is an example diagram of the addition result of the barrage identification provided by an embodiment of the present disclosure.
  • FIG. 5C is an example diagram of displaying prompt information in a pop-up window on the setting page
  • FIG. 6 is an example diagram of a setting page of a barrage identification provided by another embodiment of the present disclosure.
  • FIG. 7A is an example diagram of a setting page of a barrage identification provided by another embodiment of the present disclosure.
  • FIG. 7B is an example diagram of displaying barrage in the preview window of the setting page provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic flowchart of a video processing method provided by another embodiment of the present disclosure.
  • FIG. 9A is an example diagram showing a barrage logo displayed in a video playback screen
  • FIG. 9B is an example diagram of displaying the corresponding bullet chat in the video playback screen when the bullet chat logo is single-clicked;
  • FIG. 9C is an example diagram of displaying the corresponding bullet chat in the video playback screen when the bullet chat logo is clicked multiple times;
  • FIG. 9D is an example diagram of displaying the corresponding animation in the video playback screen when clicking on the barrage logo exceeds the preset threshold value
  • FIG. 10 is a schematic flowchart of another video processing method provided by an embodiment of the present disclosure.
  • FIG. 11A is an example diagram showing a barrage logo showing a barrage content item in a video playback screen
  • Fig. 11B is an example Fig. 1 showing barrage content in a video playback screen
  • FIG. 12A is an example diagram showing a barrage logo showing multiple barrage content items in a video playback screen
  • Fig. 12B is an example Fig. 2 showing barrage content in the video playback screen
  • FIG. 12C is an example diagram of a video viewer clicking on a bullet chatting content item displayed in the bullet chatting logo
  • Fig. 12D is an example Fig. 3 showing barrage content in the video playback screen
  • Fig. 13 is an example diagram showing an animation in a video playback screen
  • Fig. 14 is an example diagram showing special effects in a video playback screen
  • FIG. 15 is a schematic structural diagram of a video processing device provided by an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of another video processing device provided by an embodiment of the present disclosure.
  • Fig. 17 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • FIG. 1 is a schematic flowchart of a video processing method provided by an embodiment of the present disclosure.
  • the method can be executed by a video processing device, where the device can be implemented by software and/or hardware, and generally can be integrated into an electronic device.
  • the video processing method may include the following steps:
  • Step 101 receiving a trigger operation of a barrage control associated with a video to be released.
  • the barrage control is a control that guides video creators to add a barrage logo to the video to be released.
  • the barrage logo can be, for example, a barrage icon or a barrage button that guides video viewers to post a barrage.
  • the bullet chatting logo is displayed in the video, the bullet chatting corresponding to the bullet chatting logo can be sent at the current moment of video playback, so as to realize the release of bullet chatting with one click, without the need for video viewers to manually edit the bullet chatting content, which reduces the cost and threshold of bullet chatting release .
  • the barrage control can be set on the video publishing page of the video publishing application, such as setting the barrage control at a predetermined position on the video publishing page.
  • Content by clicking the bullet chat control at a specific position, add bullet chat logos to one or more positions of the video to be released, thus simplifying the operation path for video creators to add bullet chat logos to videos to be released, and improving Increase efficiency, which in turn helps to improve video publishing efficiency and user experience.
  • the specific position of the barrage control on the video publishing page can be automatically configured by the video publishing application, or it can be customized by the video creator according to the operating habits and convenience of operation, which is conducive to improving the flexibility and richness of interaction.
  • Step 102 in response to the trigger operation, add a bullet chatting logo to the video to be released, so as to display the bullet chatting logo during video playback.
  • the position where the bullet chat logo is added in the video to be released can be any position such as the middle area of the video playback screen, the lower right corner, or near the current playback progress of the video, so as to improve the flexibility of the bullet chat logo display.
  • the size of the bullet chat logo can be as large as possible without blocking the content of the video playback screen, so as to increase the probability of video viewers seeing the bullet chat logo, and then guide video viewers to click on the bullet chat logo to post the bullet chat.
  • a barrage identifier is added to the video to be released.
  • the video viewer plays the video
  • the bullet chatting logo added by the video creator will be displayed during the video playback process.
  • the video viewer can click on the bullet chatting logo to send the corresponding message in the video.
  • the barrage to achieve one-click release barrage.
  • the video creator can click the barrage control at a specific position on the video publishing page according to the content of the video playback screen at different playback progress , add the barrage logo in a timely manner in the video to be released.
  • the display duration of the bullet chat logo in the video to be released can be a default duration, such as 5 seconds, and the display style, size, and adding position of the bullet chat logo can adopt the default value of the video publishing application.
  • Video creators add barrage logos to the video by combining the content of the video playback screen, giving full play to the independent creativity of video creators, which is conducive to improving the tightness of the integration of barrage and video content.
  • the video processing device receives a trigger operation on the barrage control, in response to the trigger operation, the page can be jumped to
  • the setting page of the bullet chatting logo supports video creators to add the bullet chatting logo independently based on the setting page of the bullet chatting logo.
  • the video creator can customize the setting page of the bullet chatting logo in the currently pending video Add position, display duration, display style, title and more.
  • video creators can customize the relevant information of the bullet chat logo, which realizes the personalized setting of the bullet chat logo and improves the flexibility of adding the bullet chat logo.
  • FIG. 2 is a schematic interface diagram of a video publishing page provided by an embodiment of the present disclosure.
  • a barrage control 211 is displayed at a specific position 210 on the video publishing page.
  • the video creator needs to add a barrage logo to the current video playback screen, he can click the barrage control 211 .
  • the video processing device receives a trigger operation of the video creator on the bullet chat control 211, in response to the trigger operation, a bullet chat logo is added to the current video playback screen, such as the bullet chat logo indicated by reference numeral 213 in FIG. 2 .
  • a bullet chat logo is added to the video to be released, so as to display the bullet chat logo during video playback.
  • Fig. 3 is a schematic flowchart of a video processing method provided by another embodiment of the present disclosure.
  • this embodiment provides a response method to the trigger operation of the bullet chat control, specifically, in response to the trigger operation, the setting page of the bullet chat logo is displayed, and the video creator is supported based on the setting The page automatically adds the barrage logo.
  • the same or similar content as the above-mentioned embodiment will not be repeated in this embodiment, and related explanations may refer to the above-mentioned embodiment.
  • the video processing method may include the following steps:
  • Step 301 receiving a trigger operation of a barrage control associated with a video to be released.
  • Step 302 in response to the triggering operation, display the setting page of the barrage identification.
  • Step 303 receiving at least one setting information input through the setting page, adding a barrage logo to the video to be released according to the at least one setting information, so as to display the barrage logo according to the at least one setting information during video playback.
  • the setting information includes but is not limited to the title of the bullet chat logo, the content of the bullet chat logo, the start time, duration, end time, display style, display position, and size of the bullet chat logo in the video to be released, etc. at least one of the information.
  • the setting information input by the video creator through the setting page includes at least one barrage content.
  • Receive at least one setting information input through the setting page add a barrage logo to the video to be released according to the at least one setting information, so as to display the barrage logo according to at least one setting information during video playback, including:
  • Receive at least one barrage content input through the setting page, and the barrage logo added in the video to be released contains the at least one barrage content, so as to display the barrage logo containing the at least one barrage content during video playback , and then in response to the trigger operation of the bullet chat identifier, display the bullet chat corresponding to the at least one bullet chat content on the video playback screen.
  • At least one barrage content entered by the video creator through the setting page may be the target barrage content selected from multiple candidate barrage content preset by the system, or the barrage content customized by the video creator content, the present disclosure does not limit it.
  • at least one barrage content input through the setting page is received, including:
  • the user-defined barrage content inputted by the user (that is, the video creator) through the setting page is received as the at least one barrage content.
  • FIG. 4A is an example diagram of a setting page of a bullet chatting identification provided by an embodiment of the present disclosure.
  • the title of the setting page can be set as “Bullet chatting guide setting”, for example, the setting page indicated by the reference numeral 410 in FIG. 4A Title, so that users can know the page function of the page they enter in time.
  • an input box 411 of bullet chatting content is displayed on the setting page, and a sample of bullet chatting content input "example: 666" is displayed in the input box 411, and the video creator can input in the input box 411 Customize the barrage content, and then the video processing device can receive the custom barrage content input by the video creator as the barrage content identified by the barrage.
  • the video creator can input one or more barrage contents in the input box 411.
  • the barrage contents can be separated by spaces, commas, commas, etc. .
  • the setting page is also provided with a candidate barrage content area 412.
  • multiple candidate barrage content such as "666" and “come on” are provided in the setting page, and the prompt " Choose one of the following content as the barrage content” to guide video creators to choose from candidate barrage content, reduce the cost of barrage content editing, and improve the efficiency of adding barrage logos.
  • the video creator can select at least one target bullet chat content from the candidate bullet chat content area 412, and then the video processing device receives at least the target bullet chat content selected by the video creator as the bullet chat content identified by the bullet chat.
  • Fig. 4B is an example diagram of displaying a barrage logo during video playback provided by an embodiment of the present disclosure. As shown in Fig.
  • a barrage logo with a label 413 is displayed near the playback progress bar, the barrage The logo contains the bullet chatting content "666" bullet chatting logo. If the video viewer wants to publish a barrage, he can click "666" of the label 413, and then in response to the click operation, the barrage corresponding to the barrage content is displayed on the video playback screen, as shown by the label 414 in Figure 4B. Indicates the barrage "666".
  • the flexibility of the bullet chat content setting is improved, and, by setting For bullet chat content, add a bullet chat logo containing bullet chat content to the video to be released, so that when the video viewer triggers the bullet chat logo displayed in the video playback screen, the bullet chat content corresponding to the bullet chat content can be displayed on the video playback screen, There is no need for video viewers to manually edit the bullet chat content, which reduces the cost of bullet chat publishing and improves user experience.
  • the content setting condition can be that the number of words in the bullet chatting content does not exceed 10 characters. If the number of characters in the content exceeds 10 characters, the prompt message "Enter up to 10 characters, please re-edit the content of the bullet chat" will be displayed to remind the video creator to re-enter the content of the bullet chat with no more than 10 characters.
  • the setting information entered by the video creator through the setting page may include the title of the barrage, then at least one setting information input through the setting page is received, and the barrage identification is added to the video to be released according to at least one setting information , to display the barrage logo according to at least one setting information during video playback, including:
  • the setting information input by the video creator through the setting page may include the title of the bullet chat and the content of the bullet chat, then at least one setting information input through the setting page is received, and according to the at least one setting information in the video to be published Add the bullet chatting logo to display the bullet chatting logo according to at least one setting information during video playback, including:
  • FIG. 5A is an example diagram of a setting page of a bullet chatting identification provided by another embodiment of the present disclosure
  • the title of the setting page can be set to “Bullet chatting guide setting”, for example, the setting indicated by reference numeral 510 in FIG. 5A Page title, so that users can know the page function of the page they enter in time.
  • the setting page is provided with an input box 511 for entering the title of the bullet chat and an input box 512 for entering the content of the bullet chat.
  • the input box 511 shows a sample of the title of the bullet chat "Example: let's send the bullet chat ", to guide the video creator to enter the bullet chat title of the bullet chat logo through the input box 511, and the input box 512 displays a bullet chat content input sample "Example: 666", to guide the video creator to input the bullet chat through the input box 512 content.
  • the video creator clicks the "OK” button on the setting page shown in Figure 5A if the video creator has not yet input the barrage title and/or the barrage content at this time, then the red font can be displayed under the input box 511 with the words "bullet chat". Screen title can not be empty " prompt message, below input box 512 displays " bullet chat content cannot be empty " prompt message with red font, to prompt video author to input bullet chat title and/or bullet chat content. If the video creator has entered the qualified bullet chat title and bullet chat content, when the "OK" button is clicked, the bullet chat logo containing the bullet chat title and bullet chat content will be displayed in the video to be released, among which, the bullet chat content Not shown to preserve mystery.
  • the title setting condition can be that the number of characters in the title does not exceed 8 characters.
  • the video processing device After the video processing device receives the bullet chat title input by the video creator through the setting page, it will count the number of words in the bullet chat title. If the number of characters in the bullet chat title exceeds 8 characters , the prompt message "Up to 8 characters can be entered, please re-edit the bullet chat title" is displayed to prompt the video creator to re-enter the bullet chat title with no more than 8 characters.
  • the setting information entered by the video creator through the setting page may also include the display time of the barrage logo, so that, after receiving at least one setting information input through the setting page, the video to be published is displayed according to the at least one setting information.
  • Add the bullet chatting logo to display the bullet chatting logo according to at least one setting information during video playback including:
  • receiving the display time of the bullet chatting logo input through the setting page, so as to display the bullet chatting logo during the video playback according to the display time may include: receiving the start time and end time input through the setting page, so as to display the bullet chatting logo during the video playback The barrage logo is displayed during the playback period from the start time to the end time during the process.
  • the start time entered through the setting page should not exceed the total duration of the video to be published, and the end time should be greater than the start time. For example, assuming that the total duration of the video to be published is 45 seconds, the input start time should not be greater than 45 seconds, and the input end time should be greater than the start time. If the resulting time is greater than 45 seconds, the barrage logo will be displayed from the start time to the video Play ends. When the input start time is greater than the total duration of the video to be released, an error message "The start time of the barrage logo cannot exceed the total duration of the video" can be displayed to prompt the video creator to re-enter the start time.
  • the barrage logo will start to be displayed when the video to be released is played to 12 seconds , and continue to display the barrage logo until the end of 20 seconds.
  • receiving the display time of the bullet chatting logo input through the setting page, so as to display the bullet chatting logo during the video playback according to the display time may include: receiving the start time and duration input through the setting page to display the bullet chatting logo during the video playback
  • the barrage logo is displayed from the start time during playback, and remains displayed for a period corresponding to the duration.
  • the sum of the start time and the duration should not be greater than the total duration of the video to be released. If the sum of the start time and the duration is greater than the total duration of the video to be released, an error message will be displayed "The duration of the barrage logo should not exceed the duration of the video Total Duration" to prompt the video creator to re-enter the duration.
  • the barrage logo will start to be displayed when the video to be released reaches 12 seconds, and will continue to display for 10 seconds before ending.
  • receiving the display time of the bullet chatting logo input through the setting page, so as to display the bullet chatting logo during video playback according to the display time may include: receiving the start time input through the setting page, and according to the start time and video The end time determines the duration, so that the bullet chat logo is displayed from the start time during video playback, and remains displayed within the period corresponding to the duration.
  • the duration when determining the duration, you can calculate the remaining duration from the input start time to the end of the video, and compare the remaining duration with the preset duration threshold. If the remaining duration is greater than or equal to the duration threshold, the duration The threshold is set as the duration, and if the remaining duration is less than the duration threshold, the remaining duration is set as the duration.
  • the preset duration threshold is 10 seconds
  • the remaining duration from the start time to the end of the video is 15 seconds, which is greater than the duration If the threshold is 10 seconds, you can set the duration as the duration threshold of 10 seconds.
  • At least one time edit box among start time, end time, and duration can be displayed on the setting page, and one of start time, end time, and duration input through the time edit box can be received Or a combination of multiple time information.
  • the preview window of the video to be released can be displayed on the setting page, and the drag operation acting on the playback progress bar of the preview window can be received to set the start time according to the dragging start position of the progress bar, And set the end time according to the drag end position of the progress bar.
  • the time editing boxes corresponding to the start time, end time, and duration can be displayed, but also a preview window of the video to be released can be displayed, and the video creator can choose to enter the start time according to his own habits At least one of , end time, and duration. You can also set the start time and end time by dragging the progress bar in the preview window.
  • FIG. 6 is an example diagram of the setting page of the bullet chatting identification provided by another embodiment of the present disclosure, and the title of the setting page can be set as “Bullet chatting guidance setting”, for example, the setting indicated by reference numeral 610 in FIG. 6 Page title, so that users can know the page function of the page they enter in time.
  • the setting page is provided with a start time input box 611 , an end time input box 612 and a duration input box 613 , and the user can input at least one of the start time, end time and duration through the input boxes.
  • the unit of start time, end time and duration is second, and the start time and end time can be kept in two digits, for example, the start time in Figure 6 can be set to 04:08 seconds.
  • a preview window 614 is also set in the setting page, and the preview window 614 is used to play the currently to-be-published video and display the playback progress bar 615 of the current to-be-published video, so that the video creator can preview the current to-be-published video.
  • the initial playback state of the preview window 614 is a paused state, only the cover of the video is displayed, and the current video to be released is not played. If the user triggers the "Start Play" control, the current video to be released will start to be played in the preview window 614, and the progress will be passed.
  • the bar shows the playback progress of the video.
  • the video playback screen at different moments of the video can be previewed by changing the playback progress position of the progress bar. If the video creator manually drags the progress bar of the currently to-be-published video to a specific position based on the preview window 614, set the start time as the dragging start position , set the end time as the drag end position, the video processing device can automatically fill in the start time and end time determined according to the video creator’s drag operation on the playback progress bar into the start time input box 611 and the end time input box 612 .
  • the start time and end time can be determined by dragging the playback progress bar, without the need for video creators to manually enter the start time and end time, which improves the convenience of determining the display time of the bullet chat logo, and is conducive to improving the efficiency of adding bullet chat logos .
  • the setting information input by the video creator through the setting page may include the display template and/or display position of the barrage logo, so that at least one setting information input through the setting page is received, and according to the at least one setting information Add a bullet chatting logo to the video to be released, so as to display the bullet chatting logo according to at least one setting information during video playback, including:
  • the bullet chatting logo will be displayed according to the display template during the playback of the current video to be released, without limiting the display position of the bullet chatting logo (at this time, you can use system pre-configured location). If the video creator only sets the display position of the bullet chatting logo, the bullet chatting logo will be displayed at the display position during the playback of the current video to be released, without limiting the display template of the bullet chatting logo (at this time, you can Use the pre-configured templates of the system). If the video creator sets the display position and display template of the bullet chat logo at the same time, the bullet chat logo will be displayed at the display position according to the display template during the playback of the current video to be released. As a result, the diversity of interaction is enriched, and the user experience is improved.
  • video creators can select their favorite display templates from the preset bullet chat logo template library, such as a bullet chat logo display template with a red background, a bullet chat logo display template with a circular shape, and the like.
  • the display template can also be the display form of multiple bullet chat contents in the bullet chat logo, for example, multiple bullet chat contents are displayed side by side, and four bullet chat contents are displayed in the form of field characters. grid style display, etc.
  • the display position refers to the display position of the barrage logo in the video playback area or the video playback screen. Specifically, it can be the upper right corner or the lower right corner of the video playback area to facilitate the trigger operation of the video viewer. This is because most users are accustomed to using the right hand.
  • receiving the display position of the barrage identification entered through the setting page includes:
  • the preview window of the setting page will display the bullet chat logo added on the video playback screen, so that the video creator can preview the bullet chat.
  • the added effect of the screen logo If the video creator is not satisfied with the current display position of the bullet chat logo, he can drag the bullet chat logo to the desired display position on the video playback screen and stop dragging.
  • the video processing device receives and responds to the dragging Operation, determine the end position of the drag operation as the display position of the bullet chatting logo, and display the bullet chatting logo at the ending position.
  • the display position of the bullet chat logo is determined according to the end position of the drag operation, so that the video creator can flexibly adjust the display position of the bullet chat logo by dragging the bullet chat logo, which improves the The convenience of changing the display position of the bullet chat logo is conducive to improving the efficiency of adding the bullet chat logo.
  • the setting information entered by the video creator through the setting page of the bullet chatting logo can include the bullet chatting display style, then at least one setting information input through the setting page is received, and the video to be published is displayed according to the at least one setting information.
  • Add a barrage logo in to display the barrage logo according to at least one setting information during video playback, including:
  • the bullet chat display style includes: the font style for displaying the bullet chat on the video screen, and/or the bullet chat animation style.
  • the video creator only sets the font style for displaying the bullet chat
  • the content of the bullet chat will be displayed according to the set font style, and the animation style of the bullet chat will not be changed. Limit (at this time, the animation style pre-configured by the system can be used).
  • the video creator only sets the bullet chat animation style
  • the content of the bullet chat will be displayed according to the set bullet chat animation style, without limiting the font style of the bullet chat (At this point, you can use the fonts pre-configured by the system).
  • the video creator sets both the bullet chatting animation style and the font style, when the bullet chatting is released by triggering the bullet chatting logo during the playback of the video screen, the bullet chatting content will be displayed according to the set font style and bullet chatting animation style. As a result, the display style of the barrage is enriched, and the visual experience of the user is improved.
  • video creators can choose their favorite font style from the preset font library, such as selecting the font style of bullet chat as red highlight, artistic word style, etc.
  • Video creators can choose their favorite animation styles from the preset animation style library, such as blinking, jumping, easter eggs, etc.
  • the preview window of the video to be released can be displayed on the setting page of the barrage logo, and in response to the preview operation of playing the video to be released in the preview window, within the playing period corresponding to the display time Display the bullet chatting logo containing the bullet chatting content; in response to the trigger operation on the bullet chatting logo, display the bullet chatting content on the currently playing video screen according to the font style and/or the bullet chatting animation style.
  • the bullet chat logo added in the video playback screen supports preview, and the video creator can watch the effect of adding the bullet chat logo in the video playback screen through the preview window provided on the setting page.
  • the initial state of the video to be released in the preview window can be a paused playback state.
  • the video to be released starts to play in the preview window , and display the bullet chat logo when playing to the video screen with the bullet chat logo added, and the bullet chat logo will be displayed within the playing period corresponding to the display time, or, in response to the preview operation, you can directly jump to the video screen with the bullet chat logo added
  • the marked video playback progress starts to play the video screen, and the barrage logo containing the barrage content is displayed within the playing period corresponding to the display time. If the video creator performs a trigger operation on the bullet chat logo in the video playback screen displayed in the preview window, then in response to the trigger operation, the bullet chat content corresponding to the bullet chat logo will be displayed in the current video playback screen.
  • the display of can be displayed according to a preset font style and/or barrage animation style.
  • the font style is preset as an artistic font
  • the content of the bullet chat will be displayed on the video playback screen in an artistic font
  • the animation style of the bullet chat is preset to be flashing
  • the content of the bullet chat will be displayed in a blinking manner on the video playback screen.
  • the font style is preset as artistic font and the bullet chatting animation content is flashing, then the bullet chatting content of artistic font will be flashingly displayed in the video playback screen.
  • FIG. 7A is an example diagram of a setting page of a barrage identification provided by yet another embodiment of the present disclosure.
  • the title of the setting page can be set as "bullet screen guidance setting", for example, the title of the setting page represented by the number 601 in FIG. 7A, so that the user can know the page function of the entered page in time.
  • the setting page includes a start time edit box 602, an end time edit box 603, a duration edit box 603, a barrage title input box 604, a barrage content input box 605, and a barrage font style edit box 606
  • the barrage animation style editing box 607 also includes a preview window 608.
  • the start time of the bullet chat logo entered by the video creator through this setting page is 04:05 seconds
  • the duration is 10 seconds
  • the content of the bullet chat is 666
  • the font style of the bullet chat is "italic"
  • the bullet chatting content 666 corresponding to the bullet chatting logo will be displayed in italics in the video playback screen, as shown by the bullet chatting number 600 in FIG. 7B .
  • the barrage display style further includes: setting a barrage animation style and a corresponding barrage sending threshold.
  • the barrage sending threshold can be set by the video creator, for example, set to 30, 50, etc., or it can be a default value, for example, the default value can be 66.
  • the video creator can set the bullet chatting sending threshold value and the corresponding bullet chatting animation style, and when the number of consecutive postings of the same bullet chatting reaches the threshold value, the bullet chatting animation style is displayed.
  • the barrage sending threshold is set to 66 times
  • the corresponding barrage animation style is setting off fireworks
  • the set identifier may be, for example, an identifier of a shopping cart.
  • the setting page in the embodiment of the present disclosure may include input corresponding to information such as bullet chat title, bullet chat content, start time, end time, duration, display position, display template, bullet chat display style, etc. box, the video creator can selectively input one or more setting information to set the barrage logo according to the requirement, and the system default setting can be adopted for the individual information not set by the video creator.
  • the setting page also includes a barrage title input box 616 and a barrage content input box 617 . You can also set an asterisk " ⁇ " near the input box, and remind the video creator which information is required to fill in the setting information through the prompt message "The item added with ⁇ is required", so as to help the video creator set the barrage logo Corresponding setting information.
  • the video processing method of the embodiment of the present disclosure by receiving the trigger operation of the barrage control associated with the video to be released, in response to the trigger operation, displaying the setting page of the barrage identification, receiving at least one setting information input through the setting page, according to at least One piece of setting information adds a barrage logo to the video to be released, so as to display the barrage logo according to at least one piece of setting information during video playback.
  • the video creator can set the relevant information of the bullet chatting logo according to the requirement, so as to add a customized bullet chatting logo in the video playback screen, realize the personalized setting of the bullet chatting logo, and improve the user experience.
  • Fig. 8 is a schematic flowchart of a video processing method provided by another embodiment of the present disclosure.
  • this embodiment provides an implementation mode of triggering the barrage logo displayed in the video playback screen to realize one-click posting of the barrage, specifically responding to the trigger operation of the barrage logo , to display the corresponding barrage content and barrage animation on the video playback screen.
  • the video processing method may also include the following steps:
  • Step 701 receiving a bullet chatting sending trigger operation applied to the bullet chatting logo on the playing screen of the posted video.
  • the video creator described in the foregoing embodiments can also watch the videos published by other users as a video viewer.
  • Video viewers can watch videos through video applications installed on electronic devices such as smart phones, tablet computers, and personal computers.
  • the video viewer can execute the bullet chatting trigger operation on the bullet chatting logo, and the video processing device receives the bullet chatting The barrage sending trigger operation.
  • Step 702 in response to the trigger operation of sending a bullet chat, display the bullet chat content and animation of the bullet chat corresponding to the trigger operation of sending the bullet chat and/or the bullet chat identification on the video playback screen.
  • the display position of the bullet chatting on the video playback screen may adopt the bullet chatting display position pre-configured by the system, or the video viewer may personalize the bullet chatting display position according to their own preferences, which is not limited in this disclosure.
  • a bullet chatting corresponding to the bullet chatting identifier will be displayed on the video playback screen, and the content of the published bullet chatting is that the video creator of the video pre-sets the bullet chatting
  • the barrage content set by the screen ID If the video creator has also set up a corresponding barrage animation, the content of the barrage can be displayed in the form of a barrage animation. For example, if the video creator sets the bullet chatting content corresponding to the bullet chatting logo to 666, and the bullet chatting animation is flashing, then when the video viewer triggers the bullet chatting logo displayed in the video playback screen once, the flashing animation will appear in the video playback screen Style display barrage content 666.
  • the video when multiple bullet chatting trigger operations are received, or the trigger duration of the received bullet chatting trigger operations is longer than the preset value, that is, during the current display time of the bullet chatting logo, the video
  • the bullet chatting sending trigger operation of continuous clicking or long pressing on the bullet chatting logo
  • multiple bullet chatting content corresponding to the bullet chatting logo will be displayed on the video playback screen.
  • Barrage where the number of displayed barrages can be determined according to the number of consecutive clicks on the barrage logo or the duration of the long press. For example, when the button is clicked 10 times in a row, 10 bullet chats will be released, and when the long press is 8 seconds, 8 bullet chats can be released.
  • a video viewer continuously sends multiple bullet chats only one bullet chat can be displayed on the video playback screen of other video viewers, so as to avoid the situation that displaying multiple bullet chats will affect other video viewers' viewing of video content.
  • the video viewer continuously executes the bullet chatting sending trigger operation for a certain number of times within the current display time of the bullet chatting logo, or when the trigger duration of long pressing the bullet chatting logo reaches a certain length of time, if Post bullet chats containing bullet chat content on the video playback screen.
  • the number of bullet chats reaching the threshold may affect the viewing experience of video viewers.
  • FIG. 9A is an example diagram showing a barrage logo displayed in a video playback screen.
  • the barrage logo 710 starts to be displayed when the video is played to 04:08 seconds, and the barrage title of the barrage logo is "Apply barrage here", the content of the barrage is "awesome".
  • the video creator of the video has set the animation effect of displaying the aircraft when the number of consecutive clicks on the barrage logo reaches 10 times during the current display duration.
  • the video viewer clicks on the barrage logo 710 if the video viewer clicks once, the barrage content is displayed in the video playback screen as a barrage with "awesome", such as the barrage represented by the label 711 in Figure 9B.
  • the animated plane may appear in the form of flying from the bottom to the top of the video playback screen, or fly from the right side to the left side of the video playback screen, and FIG. 9D is only an example, but not a limitation to the present disclosure.
  • the barrage switch when the video viewer does not turn on the barrage switch, if the video viewer executes a barrage sending trigger operation on the barrage logo displayed in the video playback screen, the barrage switch is automatically turned on, and can The prompt message "The barrage switch has been turned on for you" is displayed.
  • the video processing method of the embodiment of the present disclosure by receiving the bullet chatting trigger operation acting on the bullet chatting logo on the published video playback screen, responding to the bullet chatting sending trigger operation, displaying the bullet chatting sending trigger operation on the video playback screen and/or the bullet chatting content and bullet chatting animation corresponding to the bullet chatting logo.
  • video viewers only need to click on the bullet chat logo to publish the bullet chat, which realizes one-click posting of the bullet chat without manually editing the content of the bullet chat. It also saves the time for posting barrage, improves the integration of barrage and video content, and improves user experience.
  • FIG. 10 is a schematic flowchart of another video processing method provided by an embodiment of the present disclosure.
  • the method can be executed by the video processing device provided by the embodiment of the present disclosure.
  • the device can be implemented by software and/or hardware, and can generally be integrated in in electronic equipment.
  • the video processing method may include the following steps:
  • Step 111 receiving a trigger operation for the bullet chatting logo on the video playback screen, where the bullet chatting content is displayed.
  • Step 112 in response to the trigger operation, display a bullet chat corresponding to the bullet chat content on the video playback screen.
  • the video playback screen when a video viewer watches a video released by a video creator, the video playback screen will display a barrage logo pre-added to the video by the video creator, and the barrage logo will display the barrage content.
  • a video viewer wants to post a bullet chat he can perform a trigger operation on the bullet chat logo displayed on the video playback screen to realize the bullet chat transmission.
  • the video processing device receives the trigger operation, and in response to the trigger operation, displays The barrage corresponding to the barrage content is displayed on the barrage.
  • FIGS. 9A and 9B when a video viewer clicks on the barrage logo 710 shown in FIG. 9A , in response to the click operation, a barrage with the content of the barrage displayed on the video playback screen as "awesome", The barrage represented by the reference numeral 711 in FIG. 9B .
  • the bullet chatting content is displayed on the bullet chatting logo, and in response to the triggering operation, the bullet chatting content is displayed on the video playback screen Corresponding barrage.
  • video viewers only need to click on the bullet chat logo to publish the bullet chat, which realizes one-click posting of the bullet chat without manually editing the content of the bullet chat. It also saves the time for posting barrage, and improves the integration of barrage and video content.
  • the bullet chatting content is displayed on the bullet chatting logo, and the bullet chatting sent by triggering the bullet chatting logo corresponds to the bullet chatting content, thereby meeting user expectations and improving user experience.
  • the video processing method further includes:
  • the bullet chats corresponding to the number of bullet chats are displayed on the video playing screen.
  • the type of the trigger operation may include but not limited to single click, double click, long press and so on.
  • the type of the trigger operation when a trigger operation on the barrage logo displayed on the video playback screen is received, the type of the trigger operation may be determined. For example, when a click operation is received within a preset time and the duration of the click is less than a preset duration, it can be determined that the type of the trigger operation is a single click; When clicking an operation, it can be determined that the type of the trigger operation is a continuous click, and the number of consecutive clicks can be obtained; when a trigger operation is received within a preset time, and the duration of the trigger operation exceeds a preset duration, It can be determined that the type of the trigger operation is a long press, and the duration of the long press can be obtained.
  • the type of the trigger operation determine the number of bullet chats displayed on the video playback screen, and display the bullet chats corresponding to the number of bullet chats on the video playback screen.
  • the determined trigger operation type when the determined trigger operation type is click, then determine the number of bullet chats to be 1, send 1 bullet chat, and display a bullet chat corresponding to the content of the bullet chat on the video playback screen, as shown in Figure 9B
  • bar barrage such as the barrage represented by the label 712 in Figure 9C
  • the determined trigger operation type is a long press
  • the number of barrages is the duration of the long press, such as assuming that the video viewer presses the barrage shown in Figure 9A for a long time. If the duration of the screen logo 710 is 7 seconds, it can be determined that the type of the trigger operation is a long press, and if the duration of the long press is 7 seconds, it can be determined that the number of bullet chats is 7, and the content of the bullet chat displayed in the video playback screen is "awesome" 7 barrages of ", such as the barrage represented by the label 712 in Fig. 9C.
  • a maximum preset number of barrages will be sent.
  • the maximum preset number is, for example, 66, thus forming a batch The atmosphere of the barrage.
  • the type of the trigger operation is determined, and the number of bullet chatting displayed on the video playback screen is determined according to the type of the trigger operation, and then the bullet chatting corresponding to the number of bullet chatting is displayed on the video playback screen
  • different numbers of bullet chats can be displayed on the video playback screen through different trigger operations, and video viewers can post one or more bullet chats by single-clicking, long-pressing, etc., which improves the flexibility of bullet chatting release It is convenient for users to quickly send batches of barrage.
  • the bullet chatting content includes a bullet chatting content item
  • displaying the bullet chatting corresponding to the bullet chatting content on the video playback screen includes:
  • a bullet chat with the same content as the bullet chat is displayed on the video playback screen.
  • the barrage content is displayed on the barrage logo, and the barrage content is used to indicate the content of the barrage sent by the barrage sign.
  • the barrage content may include a barrage content item, and the barrage content Item is the display item on the bullet chat logo used to display the bullet chat content.
  • One bullet chat content item corresponds to one bullet chat content.
  • FIG. 11A is an example diagram showing a bullet chatting logo displaying a bullet chatting content item in the video playback screen.
  • the bullet chatting logo 1110 starts to be displayed when the video is played to 04:08 seconds.
  • the barrage title of the barrage logo is "Let's have a barrage”
  • the barrage content is displayed on the barrage sign.
  • the barrage content includes a barrage content item 1101, and the barrage content is "hahaha”.
  • the bullet chatting content includes a bullet chatting content item, when receiving a trigger operation on the bullet chatting logo displayed on the video playback screen, in response to the trigger operation , displaying the same barrage content as the barrage content on the video playback screen, thus making it easier for video viewers to know the barrage content corresponding to the barrage logo, so as to determine whether the barrage content can meet their own needs, and thus facilitate the video
  • the viewer decides whether to post the bullet chat through the bullet chat logo, and the bullet chat sent is more in line with user expectations.
  • the bullet chatting content includes a plurality of bullet chatting content items
  • displaying the bullet chatting corresponding to the bullet chatting content on the video playback screen includes :
  • a bullet chatting corresponding to the at least one bullet chatting content item is displayed on the video playback screen.
  • the bullet chat content may include multiple bullet chat content items, each bullet chat content item corresponds to a bullet chat content item, when the video viewer clicks at least one bullet chat content item, in response to the click operation, A bullet chat corresponding to at least one bullet chat content item is displayed on the video playing screen.
  • a bullet chat corresponding to at least one bullet chat content item is displayed on the video playing screen.
  • the user selects at least one bullet chatting content item among multiple bullet chatting content items, and triggers the sending control on the bullet chatting logo.
  • a bullet chat corresponding to at least one bullet chat content item is displayed on the video playing screen.
  • Fig. 12A is an example diagram showing a barrage logo showing multiple barrage content items in the video playback screen, as shown in Fig.
  • the bullet chatting logo 1210 the title of the bullet chatting logo is "Let's have a bullet chatting", and the bullet chatting content is displayed on the bullet chatting logo, and the bullet chatting content includes four bullet chatting content items, four bullet chatting content items
  • the contents of the barrage are "awesome", “666", “hahaha” and “I'm convinced", as shown in the barrage content item represented by the label 1201 in Figure 12A.
  • Video viewers can choose the bullet chat content they want to publish from the four bullet chat content items according to their own needs.
  • the clicked content will be displayed on the video playback screen.
  • the bullet chat corresponding to at least one bullet chat content item.
  • the video viewer first clicks on the bullet chat content item whose content is "hahaha”.
  • the position pointed by the index finger is the location of the bullet chat content "hahaha”.
  • the barrage content item of "I have taken it” is shown in Figure 12C.
  • the position pointed by the index finger is the position of the barrage content "I have taken it”
  • the displayed content in the video playback screen is "Ha Haha” and the content of the bullet chat "I'm convinced", such as the bullet chat shown by the labels 1211 and 1212 in Figure 12D.
  • the bullet chat content includes a plurality of bullet chat content items, in response to the selection operation of at least one bullet chat content item in the multiple bullet chat content items, in The bullet chat corresponding to at least one bullet chat content item is displayed on the video playback screen, so that it is convenient for video viewers to know the multiple bullet chat content supported by the bullet chat logo displayed in the video playback screen.
  • the bullet chat logo corresponding to Multiple barrage content items provide video viewers with a variety of optional barrage content, which is flexible and further provides convenience for video viewers to publish barrage, thus meeting user expectations while giving users It provides a larger selection space for bullet chatting, enriches the interaction methods for users to send bullet chatting, and improves user experience.
  • the multiple bullet chat content items may be multiple bullet chat content items configured by the video publisher when the video is published, and the multiple bullet chat content items may include the The bullet chatting content item determined by the video clip (video clip type, video clip content, video clip screen, etc.), for example, the bullet chatting addition position is the position corresponding to the 10th-12th minute video clip in the video, if the 10th-12th If the 1-minute video segment is a joke-telling type video segment, then the determined corresponding barrage content item may be the text or emoticon of "hahaha”.
  • the plurality of bullet chatting content items may also include bullet chatting content items determined according to historical bullet chatting received by corresponding videos within a historical time period.
  • a trigger operation on the barrage identification when a trigger operation on the barrage identification is received, it may also be determined whether the trigger operation satisfies a preset condition, and if the trigger operation satisfies a preset condition, the The relevant information of the barrage is displayed on the playback screen of the above video.
  • the barrage related information may include but not limited to at least one of animation, special effects, and audio.
  • the preset condition can be preset by the video creator when making the video, or it can be the preset condition configured by the video application.
  • the trigger condition of the bullet chat related information can be the bullet chat identification within the preset duration The number of triggering operations reaches the preset value, the number of consecutive bullet chats reaches the preset value, and the duration of long-pressing the bullet chat logo reaches the preset duration, etc. This disclosure does not limit this.
  • the bullet chat related information is displayed on the video playback screen, such as displaying animations, easter eggs, special effects, playing preset audio, etc., to enrich the bullet chat style.
  • the determining whether the triggering operation satisfies the preset triggering condition of bullet chatting related information includes:
  • the preset condition is met.
  • the frequency of the triggering operation may be the number of times the barrage logo is triggered continuously, and correspondingly, the preset threshold value may be a click times threshold, and the click times threshold may be preset as 10 times, 30 times, 66 times, etc.;
  • the frequency of triggering the operation can also be the duration of long pressing the bullet chatting logo.
  • the preset threshold value can be a duration threshold, and the duration threshold can be preset as 8 seconds, 10 seconds, 15 seconds, etc.
  • the frequency of the triggering operation reaches the preset threshold value
  • it is determined that the triggering operation meets the preset condition and then the barrage related information is displayed on the video playback screen.
  • the preset threshold value is 10 times
  • the preset barrage related information is an animation of an airplane flying into the screen from the right side of the video playback screen
  • the preset threshold value is 10 times
  • the preset barrage related information is the special effect of setting off fireworks in the video playback screen
  • the fireworks are displayed on the video playback screen, as shown in Figure 14, indicated by the label 1400 in Figure 14 is the firework special effect shown in the video playback screen.
  • fireworks special effects can be dynamically displayed, such as fireworks blooming in the video playback screen until the fireworks gradually fall.
  • the bullet chat related information can also be a preset audio, and when the trigger operation on the bullet chat identification meets the preset condition, the preset audio is played, and the preset audio can be, for example, "Great", " 666" and other voice messages can also be preset music, or it can also be an audio message corresponding to the bullet chat content selected by the video viewer. When the condition is set, the voice will play "Great".
  • the barrage related information is displayed on the video playback screen, thereby enriching the barrage style and improving video viewing viewer's visual experience.
  • the bullet chat identifier may be an identifier that guides video viewers to send a bullet chat
  • the bullet chat identifier may include a bullet chat title, a sending control, and the bullet chat content.
  • the barrage title may be a title that guides viewers to send a barrage, for example, "Let's have a barrage”.
  • the sending control is used to receive the trigger operation of the user to send the barrage, the sending control has a dynamic display style, has a first display style before receiving the trigger operation, and has a second display style within a preset time after receiving the trigger operation. Display styles.
  • the barrage related information is animation
  • the sending control has a display style corresponding to the animation, for example, the animation is the animation of the target object, and the sending control can display a pattern of the target object.
  • the pattern of the target object on the sending control is moved to a preset position of the video playback screen by the sending control, thereby generating an animation of the target object, such as an airplane.
  • FIG. 15 is a schematic structural diagram of a video processing device provided by an embodiment of the present disclosure.
  • the device can be implemented by software and/or hardware, and generally can be integrated into an electronic device.
  • the video processing device 80 may include:
  • the trigger operation receiving module 801 is configured to receive the trigger operation of the barrage control associated with the video to be released;
  • the adding module 802 is configured to, in response to the triggering operation, add a barrage logo to the video to be released, so as to display the barrage logo during video playback.
  • the adding module 802 may include:
  • a setting page display unit configured to display a setting page of the barrage identifier in response to the trigger operation
  • the barrage identification adding unit is used to receive at least one setting information input through the setting page, and add a barrage identification in the video to be released according to the at least one setting information, so as to follow the at least one setting information during video playback.
  • a setting message displays the barrage logo.
  • the barrage identification adding unit is specifically used for:
  • the barrage identification added in the video to be published contains the at least one barrage content, so as to display the at least one barrage content during video playback.
  • the bullet chatting identifier of the bullet chatting content and in response to the trigger operation of the bullet chatting identifier, a bullet chatting corresponding to the at least one bullet chatting content is displayed on a video playback screen.
  • barrage identification adding unit is also specifically used for:
  • the barrage identification adding unit is also specifically used for:
  • the barrage identification adding unit is also specifically used for:
  • At least one time edit box among start time, end time, and duration is displayed on the setting page, and the barrage identification adding unit is further configured to: receive the start time input through the time edit box Time, the end time, the duration of one or more time information combination;
  • the preview window of the video to be released is displayed on the setting page, and the barrage identification adding unit is also specifically used for: receiving a drag operation acting on the playback progress bar of the preview window, to according to the progress bar
  • the start time is set at the drag start position, and the end time is set according to the drag end position of the progress bar.
  • the barrage identification adding unit is also specifically used for:
  • the barrage display style includes: a font style for displaying the barrage on the video screen, and/or a barrage animation style.
  • the video processing device 80 also includes:
  • a preview window display module configured to display a preview window of the video to be released on the setting page
  • An identification preview module configured to display the bullet chat logo containing the bullet chat content within the playback period corresponding to the display time in response to the preview operation of playing the video to be released in the preview window;
  • the bullet chat preview module is configured to display the bullet chat content on the currently playing video screen according to the font style and/or the bullet chat animation style in response to the trigger operation on the bullet chat logo.
  • the barrage identification adding unit is specifically used for:
  • the bullet chat identification added in the video to be released contains the bullet chat title, so as to display the bullet chat title containing the bullet chat title during video playback screen logo.
  • the barrage identification adding unit is specifically used for:
  • barrage identification adding unit is also specifically used for:
  • a drag operation acting on the bullet chatting mark is received, and a display position of the bullet chatting mark is determined according to an end position of the dragging operation.
  • the video processing device 80 also includes:
  • the barrage sending operation receiving module is used to receive the barrage sending trigger operation acting on the barrage logo on the published video playback screen;
  • the barrage display module is used to display the barrage content and barrage animation corresponding to the barrage sending trigger operation and/or the barrage identification on the video playback screen in response to the barrage sending trigger operation .
  • the video processing device provided in the embodiments of the present disclosure can execute the video processing method provided in any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
  • FIG. 16 is a schematic structural diagram of another video processing device provided by an embodiment of the present disclosure.
  • the device can be implemented by software and/or hardware, and can generally be integrated into an electronic device.
  • the video processing device 800 may include:
  • the receiving module 810 is configured to receive a trigger operation for the bullet chatting logo on the video playback screen, where the bullet chatting content is displayed on the bullet chatting logo;
  • the display module 820 is configured to display a bullet chat corresponding to the bullet chat content on the video playback screen in response to the trigger operation.
  • the video processing device 800 further includes:
  • a type determination module configured to determine the type of the trigger operation
  • a barrage number determination module configured to determine the number of barrages displayed on the video playback screen according to the type of the trigger operation
  • the barrage display module is configured to display barrages corresponding to the number of barrages on the video playback screen.
  • the barrage content includes a barrage content item
  • the presentation module 820 is specifically used for:
  • a bullet chat with the same content as the bullet chat is displayed on the video playback screen.
  • the barrage content includes multiple barrage content items, and the presentation module 820 is specifically used for:
  • a bullet chat corresponding to the at least one bullet chat content item is displayed on the video playback screen.
  • the video processing device 800 also includes:
  • a detection module configured to determine whether the trigger operation satisfies a preset condition
  • the associated information display module is configured to display the bullet chat associated information on the video playback screen when the trigger operation satisfies the preset condition.
  • the detection module is specifically used for:
  • the preset condition is met.
  • the video processing device provided in the embodiments of the present disclosure can execute the video processing method provided in any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
  • the present disclosure further proposes a computer program product, including computer programs/instructions, which implement the video processing methods in the above embodiments when the computer programs/instructions are executed by a processor.
  • Fig. 17 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • FIG. 17 it shows a schematic structural diagram of an electronic device 900 suitable for implementing an embodiment of the present disclosure.
  • the electronic device 900 in the embodiment of the present disclosure may include, but not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals ( Mobile terminals such as car navigation terminals) and stationary terminals such as digital TVs, desktop computers and the like.
  • the electronic device shown in FIG. 17 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
  • an electronic device 900 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 901, which may be randomly accessed according to a program stored in a read-only memory (ROM) 902 or loaded from a storage device 908.
  • a processing device such as a central processing unit, a graphics processing unit, etc.
  • RAM memory
  • various appropriate actions and processes are executed by programs in the memory (RAM) 903 .
  • RAM 903 In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are also stored.
  • the processing device 901, ROM 902, and RAM 903 are connected to each other through a bus 904.
  • An input/output (I/O) interface 905 is also connected to the bus 904 .
  • the following devices can be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 907 such as a computer; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909.
  • the communication means 909 may allow the electronic device 900 to perform wireless or wired communication with other devices to exchange data. While FIG. 17 shows electronic device 900 having various means, it is to be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 909 , or from storage means 908 , or from ROM 902 .
  • the processing device 901 the above-mentioned functions defined in the video processing method of the embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client and the server can communicate using any currently known or future network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium
  • HTTP HyperText Transfer Protocol
  • the communication eg, communication network
  • Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives a trigger operation of the barrage control associated with the video to be released; responds to the An operation is triggered to add a bullet chatting logo to the video to be released, so that the bullet chatting logo is displayed during video playback.
  • Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • the present disclosure provides a video processing method, including:
  • a barrage logo is added to the video to be released, so as to display the Barrage logos, including:
  • At least one setting information input through the setting page is received, and according to the at least one setting information, adding The bullet chatting logo, to display the bullet chatting logo according to the at least one setting information during video playback, including:
  • the barrage identification added in the video to be published contains the at least one barrage content, so as to display the at least one barrage content during video playback.
  • the bullet chatting identifier of the bullet chatting content and in response to the trigger operation of the bullet chatting identifier, a bullet chatting corresponding to the at least one bullet chatting content is displayed on a video playback screen.
  • the receiving at least one barrage content input through the setting page includes:
  • At least one setting information input through the setting page is received, and according to the at least one setting information, adding The bullet chatting logo is used to display the bullet chatting logo according to the at least one setting information during video playback, and further includes:
  • the display time of the barrage identification input through the setting page is received, so as to display during the video playback according to the display time
  • the barrage identification includes:
  • the method further includes:
  • At least one setting information input through the setting page is received, and according to the at least one setting information, adding The bullet chatting logo, to display the bullet chatting logo according to the at least one setting information during video playback, including:
  • the bullet chat identification added in the video to be released contains the bullet chat title, so as to display the bullet chat title containing the bullet chat title during video playback screen logo.
  • At least one setting information input through the setting page is received, and according to the at least one setting information, adding The bullet chatting logo, to display the bullet chatting logo according to the at least one setting information during video playback, including:
  • the receiving the display position of the barrage logo input through the setting page includes:
  • a drag operation acting on the bullet chatting mark is received, and a display position of the bullet chatting mark is determined according to an end position of the dragging operation.
  • the present disclosure provides a video processing method, including:
  • a bullet chat corresponding to the bullet chat content is displayed on the video playback screen.
  • the bullet chatting content includes a bullet chatting content item;
  • the barrage corresponding to the barrage content includes:
  • a bullet chat with the same content as the bullet chat is displayed on the video playback screen.
  • the bullet chat content includes a plurality of bullet chat content items, and in response to the trigger operation, displaying on the video playback screen
  • the barrage corresponding to the content of the barrage including:
  • a bullet chat corresponding to the at least one bullet chat content item is displayed on the video playback screen.
  • the video processing method provided in the present disclosure further includes:
  • the bullet chats corresponding to the number of bullet chats are displayed on the video playing screen.
  • the video processing method provided in the present disclosure further includes:
  • the barrage related information is displayed on the video playback screen.
  • the determining whether the trigger operation satisfies a preset condition includes:
  • the preset condition is met.
  • the present disclosure provides a video processing device, including:
  • the trigger operation receiving module is used to receive the trigger operation of the barrage control associated with the video to be released;
  • the adding module is configured to add a barrage logo to the video to be released in response to the trigger operation, so as to display the barrage logo during video playback.
  • the adding module may include:
  • a setting page display unit configured to display a setting page of the barrage identifier in response to the trigger operation
  • the barrage identification adding unit is used to receive at least one setting information input through the setting page, and add a barrage identification in the video to be released according to the at least one setting information, so as to follow the at least one setting information during video playback.
  • a setting message displays the barrage logo.
  • the barrage identification adding unit is specifically used for:
  • the barrage identification added in the video to be published contains the at least one barrage content, so as to display the at least one barrage content during video playback.
  • the bullet chatting identifier of the bullet chatting content and in response to the trigger operation of the bullet chatting identifier, a bullet chatting corresponding to the at least one bullet chatting content is displayed on a video playback screen.
  • the barrage identification adding unit is specifically further used for:
  • the barrage identification adding unit is specifically further used for:
  • the barrage identification adding unit is specifically further used for:
  • At least one time editing box among the start time, end time, and duration is displayed on the setting page, and the barrage identification adding unit, specifically It is also used to: receive one or more time information combinations of the start time, the end time, and the duration input through the time edit box;
  • the preview window of the video to be released is displayed on the setting page, and the barrage identification adding unit is also specifically used for: receiving a drag operation acting on the playback progress bar of the preview window, to according to the progress bar
  • the start time is set at the drag start position, and the end time is set according to the drag end position of the progress bar.
  • the barrage identification adding unit is specifically used for:
  • the bullet chat identification added in the video to be released contains the bullet chat title, so as to display the bullet chat title containing the bullet chat title during video playback screen logo.
  • the barrage identification adding unit is specifically used for:
  • the barrage identification adding unit is specifically further used for:
  • a drag operation acting on the bullet chatting mark is received, and a display position of the bullet chatting mark is determined according to an end position of the dragging operation.
  • the present disclosure provides a video processing device, including:
  • the receiving module is configured to receive a trigger operation directed at the bullet chatting logo on the video playback screen, and the bullet chatting content is displayed on the bullet chatting logo;
  • a display module configured to display a bullet chat corresponding to the bullet chat content on the video playback screen in response to the trigger operation.
  • the bullet chatting content includes a bullet chatting content item; the display module is specifically used for:
  • a bullet chat with the same content as the bullet chat is displayed on the video playback screen.
  • the bullet chatting content includes multiple bullet chatting content items, and the presentation module is specifically used for:
  • a bullet chat corresponding to the at least one bullet chat content item is displayed on the video playback screen.
  • the video processing device further includes:
  • a type determination module configured to determine the type of the trigger operation
  • a barrage number determination module configured to determine the number of barrages displayed on the video playback screen according to the type of the trigger operation
  • the barrage display module is configured to display barrages corresponding to the number of barrages on the video playback screen.
  • the video processing device further includes:
  • a detection module configured to determine whether the trigger operation satisfies a preset condition
  • the associated information display module is configured to display the bullet chat associated information on the video playback screen when the trigger operation satisfies the preset condition.
  • the detection module is specifically used for:
  • the preset condition is met.
  • the present disclosure provides an electronic device, including:
  • the processor is configured to read the executable instructions from the memory, and execute the instructions to implement any video processing method provided in the present disclosure.
  • the present disclosure provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program is used to execute any one of the video files provided by the present disclosure. Approach.

Abstract

本公开实施例涉及一种视频处理方法、装置、电子设备及存储介质,其中该方法包括:接收对待发布视频所关联的弹幕控件的触发操作;响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示所述弹幕标识。

Description

视频处理方法、装置、电子设备及存储介质
本申请要求于2021年07月20日提交中国专利局、申请号为202110821355.7、申请名称为“视频处理方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及计算机技术领域,尤其涉及一种视频处理方法、装置、电子设备及存储介质。
背景技术
弹幕是一种基于视频播放进度的异步互动方式,目前多数产品支持视频观看者在观看视频过程中手动输入弹幕,以表达对于视频内容的态度、观点和情感。
然而,手动输入弹幕,容易造成较高的用户生成内容(User Generated Content,UGC)成本。
发明内容
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种视频处理方法、装置、电子设备及存储介质。
本公开实施例提供了一种视频处理方法,所述方法包括:
接收对待发布视频所关联的弹幕控件的触发操作;
响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示所述弹幕标识。
本公开实施例还提供了一种视频处理方法,所述方法包括:
接收对视频播放画面上显示的弹幕标识的触发操作,所述弹幕标识上展示有弹幕内容;
响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕。
本公开实施例还提供了一种视频处理装置,所述装置包括:
触发操作接收模块,用于接收对待发布视频所关联的弹幕控件的触发操作;
添加模块,用于响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示所述弹幕标识。
本公开实施例还提供了一种视频处理装置,所述装置包括:
接收模块,用于接收针对视频播放画面上的弹幕标识的触发操作,所述弹幕标识上展示有弹幕内容;
展示模块,用于响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕。
本公开实施例还提供了一种电子设备,所述电子设备包括:处理器;用于存储所述处理器可执行指令的存储器;所述处理器,用于从所述存储器中读取所述可执行指令,并执 行所述指令以实现如本公开实施例提供的视频处理方法。
本公开实施例还提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行如本公开实施例提供的视频处理方法。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开一实施例提供的一种视频处理方法的流程示意图;
图2为本公开实施例所提供的一种视频发布页面的界面示意图;
图3为本公开另一实施例所提供的一种视频处理方法的流程示意图;
图4A为本公开一实施例所提供的弹幕标识的设置页面示例图;
图4B为本公开一实施例所提供的视频播放时显示弹幕标识的示例图;
图5A为本公开另一实施例所提供的弹幕标识的设置页面示例图;
图5B为本公开一实施例所提供的弹幕标识的添加结果示例图;
图5C为在设置页面中弹窗显示提示信息的示例图;
图6为本公开又一实施例所提供的弹幕标识的设置页面示例图;
图7A为本公开再一实施例所提供的弹幕标识的设置页面示例图;
图7B为本公开一实施例所提供的在设置页面的预览窗口显示弹幕的示例图;
图8为本公开又一实施例所提供的一种视频处理方法的流程示意图;
图9A为视频播放画面中显示弹幕标识的示例图;
图9B为单次点击弹幕标识时在视频播放画面中显示对应弹幕的示例图;
图9C为多次点击弹幕标识时在视频播放画面中显示对应弹幕的示例图;
图9D为点击弹幕标识超过预设门限值时在视频播放画面中显示对应动画的示例图;
图10为本公开一实施例所提供的另一种视频处理方法的流程示意图;
图11A为视频播放画面中显示展示有一个弹幕内容项的弹幕标识的示例图;
图11B为在视频播放画面中展示弹幕内容的示例图一;
图12A为视频播放画面中显示展示有多个弹幕内容项的弹幕标识的示例图;
图12B为在视频播放画面中展示弹幕内容的示例图二;
图12C为视频观看者点击弹幕标识中展示的弹幕内容项的示例图;
图12D为在视频播放画面中展示弹幕内容的示例图三;
图13为在视频播放画面中展示动画的示例图;
图14为在视频播放画面中展示特效的示例图;
图15为本公开一实施例所提供的一种视频处理装置的结构示意图;
图16为本公开一实施例所提供的另一种视频处理装置的结构示意图;
图17为本公开一实施例所提供的一种电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
图1为本公开一实施例提供的一种视频处理方法的流程示意图,该方法可以由视频处理装置执行,其中该装置可以采用软件和/或硬件实现,一般可集成在电子设备中。如图1所示,该视频处理方法可以包括以下步骤:
步骤101,接收对待发布视频所关联的弹幕控件的触发操作。
其中,弹幕控件为引导视频创作者在待发布视频中添加弹幕标识的控件,弹幕标识例如可以是引导视频观看者发布弹幕的弹幕图标或弹幕按钮,当视频观看者点击视频中的弹幕标识时,可以在视频播放的当前时刻发送弹幕标识对应的弹幕,从而实现了一键发布弹幕,无需视频观看者手动编辑弹幕内容,降低了弹幕发布成本和门槛。
本公开实施例中,弹幕控件可以设置在视频发布应用的视频发布页面中,比如在视频发布页面的预定位置处设置弹幕控件,当视频创作者发布视频时,可以根据待发布视频的视频内容,通过点击特定位置处的弹幕控件的方式,在待发布视频的一个或多个位置处添加弹幕标识,从而简化了视频创作者在待发布视频中添加弹幕标识的操作路径,提高添加效率,进而有利于提高视频发布效率及用户体验。其中,弹幕控件在视频发布页面的特定位置可以是视频发布应用自动配置的,也可以是视频创作者根据操作习惯和操作便捷性自定义设置的,有利于提升交互的灵活性及丰富性。
步骤102,响应于触发操作,在待发布视频中添加弹幕标识,以在视频播放过程中显示弹幕标识。
其中,弹幕标识在待发布视频中的添加位置可以为视频播放画面的中间区域、右下角、视频当前播放进度附近等任意位置,以提高弹幕标识展示的灵活性。此外,弹幕标识的尺寸可以在不遮挡视频播放画面内容的情况下尽可能的大,以提高视频观看者看到弹幕标识的概率,进而引导视频观看者点击弹幕标识来发布弹幕。
本公开实施例中,视频处理装置接收到对弹幕控件的触发操作时,响应于该触发操作,在待发布视频中添加弹幕标识。当视频观看者播放该视频时,会在视频播放过程中显示视 频创作者添加的弹幕标识,视频观看者在弹幕标识的引导下,可以通过点击弹幕标识的方式,在视频中发送对应的弹幕,实现一键发布弹幕。
作为一种可能的实施方式,当待发布视频在视频发布页面中处于播放状态时,视频创作者可以根据不同播放进度下的视频播放画面内容,通过点击视频发布页面中特定位置处的弹幕控件,在待发布视频中适时地添加弹幕标识。其中,弹幕标识在待发布视频中的显示时长可以是默认时长,比如5秒,弹幕标识的显示样式、尺寸、添加位置等均可采用视频发布应用的默认值。视频创作者通过结合视频播放画面内容在视频中添加弹幕标识,发挥了视频创作者的自主创造性,有利于提高弹幕与视频内容的结合紧密度。
作为另一种可能的实施方式,当待发布视频在视频发布页面中处于暂停状态时,视频处理装置若接收到对弹幕控件的触发操作,则响应于该触发操作,可以将页面跳转至弹幕标识的设置页面,支持视频创作者基于弹幕标识的设置页面自主添加弹幕标识,比如视频创作者可以在弹幕标识的设置页面中自定义设置弹幕标识在当前待发布视频中的添加位置、显示时长、显示样式、标题等。通过提供弹幕标识的设置页面支持视频创作者自定义弹幕标识的相关信息,实现了弹幕标识的个性化设置,提高了弹幕标识添加的灵活性。
示例性地,图2为本公开实施例所提供的一种视频发布页面的界面示意图。如图2所示,在视频发布页面的特定位置210处展示有弹幕控件211,当视频创作者需要在当前视频播放画面中添加弹幕标识时,可以点击弹幕控件211。视频处理装置接收到视频创作者对弹幕控件211的触发操作时,响应于该触发操作,在当前的视频播放画面中添加弹幕标识,如图2中标号213所表示的弹幕标识。
本实施例的视频处理方法,通过接收对待发布视频所关联的弹幕控件的触发操作,响应于该触发操作,在待发布视频中添加弹幕标识,以在视频播放过程中显示弹幕标识。采用上述技术方案,实现了由视频创作者发挥自主创造性,在待发布视频中添加弹幕标识,视频创作者可以结合视频内容在待发布视频中添加弹幕标识,来引导视频观看者触发弹幕标识发送弹幕,有利于提高弹幕与视频内容的结合紧密度。
图3为本公开另一实施例所提供的一种视频处理方法的流程示意图。在上述实施例的基础上,本实施例给出了一种对弹幕控件的触发操作的响应方式,具体是响应于该触发操作,显示弹幕标识的设置页面,支持视频创作者基于该设置页面自主添加弹幕标识。其中,与上述实施例相同或相似的内容在本实施例不再赘述,相关解释可以参考上述实施例。
如图3所示,该视频处理方法可以包括以下步骤:
步骤301,接收对待发布视频所关联的弹幕控件的触发操作。
步骤302,响应于触发操作,显示弹幕标识的设置页面。
本公开实施例中,可以为弹幕控件设置对应的弹幕标识的设置页面,当接收到视频创作者对弹幕控件的触发操作时,响应于该触发操作,跳转至弹幕标识的设置页面,以使视频创作者在该设置页面中设置弹幕标识的相关信息。
步骤303,接收通过设置页面输入的至少一个设置信息,根据至少一个设置信息在待发布视频中添加弹幕标识,以在视频播放过程中按照至少一个设置信息显示弹幕标识。
其中,设置信息包括但不限于弹幕标识的弹幕标题、弹幕内容、弹幕标识在待发布视频中的开始时间、持续时长、结束时间、展示样式、展示位置、弹幕标识的尺寸等信息中 的至少一种。
作为一种可能的实施方式,视频创作者通过设置页面输入的设置信息包括至少一个弹幕内容。接收通过设置页面输入的至少一个设置信息,根据至少一个设置信息在待发布视频中添加弹幕标识,以在视频播放过程中按照至少一个设置信息显示弹幕标识,包括:
接收通过设置页面输入的至少一个弹幕内容,在待发布视频中添加的弹幕标识包含所述至少一个弹幕内容,以在视频播放过程中显示包含所述至少一个弹幕内容的弹幕标识,进而响应于所述弹幕标识的触发操作,在视频播放画面上展示与所述至少一个弹幕内容对应的弹幕。
进一步地,视频创作者通过设置页面输入的至少一个弹幕内容,可以是从系统预设的多个候选弹幕内容中选择的目标弹幕内容,也可以是视频创作者自定义输入的弹幕内容,本公开对此不作限制。从而,接收通过设置页面输入的至少一个弹幕内容,包括:
在所述设置页面显示预设的候选弹幕内容,接收从所述候选弹幕内容中确定的目标弹幕内容作为所述至少一个弹幕内容;和/或,
接收用户(即视频创作者)通过所述设置页面输入的自定义弹幕内容作为所述至少一个弹幕内容。
示例性地,图4A为本公开一实施例所提供的弹幕标识的设置页面示例图,该设置页面的标题可以设置为“弹幕引导设置”,例如图4A中标号410所表示的设置页面标题,以方便用户及时获知所进入页面的页面功能。如图4A所示,该设置页面中显示有弹幕内容的输入框411,并在输入框411内显示有弹幕内容输入样例“例:666”,视频创作者可以在输入框411中输入自定义弹幕内容,之后视频处理装置可以接收视频创作者输入的自定义弹幕内容作为弹幕标识的弹幕内容。需要说明的是,视频创作者可以在输入框411中输入一个或多个弹幕内容,当输入多个弹幕内容时,弹幕内容之间可以用空格或者逗号、顿号等形式分隔开。如图4A所示,该设置页面中还设置有候选弹幕内容区412,可以看出,设置页面中提供了“666”、“加油”等多个候选弹幕内容,并显示有提示语“从下面的内容中选择一个作为弹幕内容吧”,以引导视频创作者从候选弹幕内容中进行选择,降低弹幕内容编辑成本,从而提高弹幕标识的添加效率。视频创作者可以从候选弹幕内容区412中选择至少一个目标弹幕内容,之后视频处理装置接收视频创作者选择的至少目标弹幕内容作为弹幕标识的弹幕内容。
本示例中,假设视频创作者输入的弹幕内容为“666”,视频处理装置接收到弹幕内容“666”后,则在待处理视频中添加包含该弹幕内容“666”的弹幕标识,播放该视频的过程中显示该弹幕标识。需要说明的是,弹幕标识对应的弹幕内容可以随弹幕标识一起显示在视频中,以方便视频观看者获知该弹幕标识对应的弹幕内容;弹幕标识对应的弹幕内容也可以不随弹幕标识一起显示,以保持神秘感。图4B为本公开一实施例所提供的视频播放时显示弹幕标识的示例图,如图4B所示,在视频播放过程中,播放进度条附近显示有标号413的弹幕标识,该弹幕标识包含弹幕内容“666”弹幕标识。如果视频观看者想要发布弹幕,则可以点击标号413的“666”,进而响应于该点击操作,在视频播放画面上展示与弹幕内容对应的弹幕,如图4B中的标号414所表示的弹幕“666”。
通过接收用户从候选弹幕内容中选择的目标弹幕内容作为弹幕内容和/或接收用户输 入的自定义弹幕内容作为弹幕内容,提高了弹幕内容设置的灵活性,并且,通过设置弹幕内容,在待发布视频中添加包含弹幕内容的弹幕标识,使得视频观看者触发视频播放画面中显示的弹幕标识时,能够在视频播放画面中展示弹幕内容对应的弹幕,无需视频观看者手动编辑弹幕内容,降低了弹幕发布成本,提升了用户体验。
进一步地,在一种可能的实施方式中,还可以预先设置弹幕内容的内容设置条件,在接收视频创作者通过设置页面输入的自定义弹幕内容之后,检测自定义弹幕内容是否满足内容设置条件,并在不满足内容设置条件时,显示预设的提示信息对自定义弹幕内容进行修改。
例如,内容设置条件可以为弹幕内容字数不超过10个字,视频处理装置接收到视频创作者通过设置页面输入的自定义弹幕内容之后,统计自定义弹幕内容的字数,如果自定义弹幕内容的字数超过10个字,则显示“最多可输入10个字,请重新编辑弹幕内容”的提示信息,以提示视频创作者重新输入字数不超过10个字的弹幕内容。
作为一种可能的实施方式,视频创作者通过设置页面输入的设置信息可以包括弹幕标题,则接收通过设置页面输入的至少一个设置信息,根据至少一个设置信息在待发布视频中添加弹幕标识,以在视频播放过程中按照至少一个设置信息显示弹幕标识,包括:
接收通过设置页面输入的弹幕标题,在待发布视频中添加的弹幕标识包含弹幕标题,以在视频播放过程中显示包含弹幕标题的弹幕标识。通过接收通过设置页面输入的弹幕标题,在待发布视频中添加包含弹幕标题的弹幕标识,能够使视频观看者明了弹幕标识的用途,引导视频观看者在观看视频的过程中通过弹幕标识发布弹幕。
作为一种可能的实施方式,视频创作者通过设置页面输入的设置信息可以包括弹幕标题和弹幕内容,则接收通过设置页面输入的至少一个设置信息,根据至少一个设置信息在待发布视频中添加弹幕标识,以在视频播放过程中按照至少一个设置信息显示弹幕标识,包括:
接收通过设置页面输入的弹幕标题和弹幕内容,在待发布视频中添加的弹幕标识包含弹幕标题和弹幕内容,以在视频播放过程中显示包含弹幕标题和弹幕内容的弹幕标识。
示例性地,图5A为本公开另一实施例所提供的弹幕标识的设置页面示例图,该设置页面的标题可以设置为“弹幕引导设置”,例如图5A中标号510所表示的设置页面标题,以方便用户及时获知所进入页面的页面功能。如图5A所示,该设置页面中设置有输入弹幕标题的输入框511和输入弹幕内容的输入框512,输入框511张显示有弹幕标题的样例“例:来发弹幕吧”,以引导视频创作者通过输入框511输入弹幕标识的弹幕标题,输入框512内显示有弹幕内容输入样例“例:666”,以引导视频创作者通过输入框512输入弹幕内容。假设视频创作者通过输入框511输入的弹幕标题为“此处应有弹幕”,通过输入框512输入的弹幕内容为“厉害了”,则在待发布视频中添加弹幕标题为“此处应有弹幕”、弹幕内容为“厉害了”的弹幕标识,如图5B中标号513所表示的弹幕标识。
此外,如果视频创作者点击图5A所示的设置页面中的“取消”按钮,则弹窗显示“离开后所有操作无法保存,确认离开?”的提示信息,如图5C中标号514所示,若视频创作者点击弹窗中的“确认”按钮,则关闭该设置页面;若视频创作者点击弹窗中的“取消”按钮,或者点击弹窗右上角的叉号“X”,则返回至如图5A所示的设置页面。如果视频创作者点击 图5A所示的设置页面中的“确定”按钮,若此时视频创作者尚未输入弹幕标题和/或弹幕内容,则可以在输入框511下方用红色字体显示“弹幕标题不能为空”的提示信息,在输入框512下方用红色字体显示“弹幕内容不能为空”的提示信息,以提示视频创作者输入弹幕标题和/或弹幕内容。如果视频创作者已输入符合条件的弹幕标题和弹幕内容,则点击“确定”按钮时,则在待发布视频中显示包含弹幕标题和弹幕内容的弹幕标识,其中,弹幕内容不显示以保留神秘感。
进一步地,在一种可能的实施方式中,还可以预先设置弹幕标题的标题设置条件,在接收视频创作者通过设置页面输入的弹幕标题之后,检测弹幕标题是否满足标题设置条件,并在不满足标题设置条件时,显示预设的提示信息对弹幕标题进行修改。
例如,标题设置条件可以为标题字数不超过8个字,视频处理装置接收到视频创作者通过设置页面输入的弹幕标题之后,统计弹幕标题的字数,如果弹幕标题的字数超过8个字,则显示“最多可输入8个字,请重新编辑弹幕标题”的提示信息,以提示视频创作者重新输入字数不超过8个字的弹幕标题。
作为一种可能的实施方式,视频创作者通过设置页面输入的设置信息还可以包括弹幕标识显示时间,从而,接收通过设置页面输入的至少一个设置信息,根据至少一个设置信息在待发布视频中添加弹幕标识,以在视频播放过程中按照至少一个设置信息显示弹幕标识,还包括:
接收通过设置页面输入的弹幕标识显示时间,以按照显示时间在视频播放过程中显示弹幕标识。通过接收弹幕标识显示时间,按照弹幕标识显示时间在视频播放过程中显示弹幕标识,能够灵活控制弹幕标识在视频中的显示时长,提高弹幕标识显示的灵活性。
作为一种示例,接收通过设置页面输入的弹幕标识显示时间,以按照显示时间在视频播放过程中显示弹幕标识,可以包括:接收通过设置页面输入的开始时间和结束时间,以在视频播放过程中从开始时间到结束时间之间的播放时段显示弹幕标识。
其中,通过设置页面输入的开始时间不应超出待发布视频的总时长,且结束时间应大于开始时间。比如,假设待发布视频的总时长为45秒,则输入的开始时间应当不大于45秒,输入的结束时间应当大于开始时间,如果结果时间大于45秒,则弹幕标识从开始时间展示至视频播放结束。当输入的开始时间大于待发布视频的总时长时,可以显示报错信息“弹幕标识的开始时间不可超过视频总时长”,以提示视频创作者重新输入开始时间。
举例而言,假设待发布视频的总时长为45秒,视频创作者通过设置页面输入的开始时间为12秒,结束时间为20秒,则在待发布视频播放至12秒时开始显示弹幕标识,并持续显示弹幕标识至20秒结束。
作为另一种示例,接收通过设置页面输入的弹幕标识显示时间,以按照显示时间在视频播放过程中显示弹幕标识,可以包括:接收通过设置页面输入的开始时间和持续时长,以在视频播放过程中从开始时间时显示弹幕标识,并在与持续时长对应的时段内保持显示。
其中,开始时间与持续时长之和不应大于待发布视频的总时长,如果开始时间与持续时长之和大于待发布视频的总时长,则显示报错信息“弹幕标识的持续时长不应超过视频总时长”,以提示视频创作者重新输入持续时长。
举例而言,假设视频创作者通过设置页面输入的开始时间为12秒,持续时长为10秒, 则在待发布视频播放至12秒时开始显示弹幕标识,并持续显示10秒后结束。
作为另一种示例,接收通过设置页面输入的弹幕标识显示时间,以按照显示时间在视频播放过程中显示弹幕标识,可以包括:接收通过设置页面输入的开始时间,并根据开始时间和视频结束时间确定持续时长,以在视频播放过程中从开始时间时显示弹幕标识,并在与持续时长对应的时段内保持显示。
本示例中,在确定持续时长时,可以计算从输入的开始时间至视频结束之间的剩余时长,并将剩余时长与预设时长阈值进行比较,如果剩余时长大于或等于时长阈值,则将时长阈值设置为持续时长,如果剩余时长小于时长阈值,则将剩余时长设置为持续时长。
举例而言,假设待发布视频的视频总时长为45秒,通过设置页面输入的开始时间为30秒,预设时长阈值为10秒,从开始时间至视频结束的剩余时长为15秒,大于时长阈值10秒,则可以设置持续时长为时长阈值10秒。
作为一种可能的实施方式,在设置页面中可以显示开始时间、结束时间、持续时长中的至少一种时间编辑框,接收通过时间编辑框输入的开始时间、结束时间、持续时长中的一种或者多种时间信息组合。
作为一种可能的实施方式,在设置页面中可以显示待发布视频的预览窗口,接收作用在预览窗口的播放进度条上的拖拽操作,以根据进度条的拖拽起始位置设置开始时间,及根据进度条的拖拽结束位置设置结束时间。
作为一种可能的实施方式,在设置页面中可以既显示开始时间、结束时间、持续时长分别对应的时间编辑框,还显示待发布视频的预览窗口,视频创作者可以根据自身习惯选择输入开始时间、结束时间、持续时长中的至少一个,也可以通过拖拽预览窗口中的进度条的方式来设置开始时间和结束时间。
示例性地,图6为本公开又一实施例所提供的弹幕标识的设置页面示例图,该设置页面的标题可以设置为“弹幕引导设置”,例如图6中标号610所表示的设置页面标题,以方便用户及时获知所进入页面的页面功能。如图6所示,该设置页面中设置有开始时间输入框611、结束时间输入框612和持续时长输入框613,用户可以通过输入框输入开始时间、结束时间和持续时长中的至少一个。其中,开始时间、结束时间和持续时长的单位为秒,开始时间和结束时间可以保留两位数,比如图6中开始时间可以设置为04:08秒。
如图6所示,该设置页面中还设置有预览窗口614,预览窗口614用于播放当前待发布视频并显示当前待发布视频的播放进度条615,以使视频创作者预览当前待发布视频。其中,预览窗口614的初始播放状态为暂停状态,只展示视频封面,不对当前待发布视频进行播放,若用户触发“开始播放”控件,则在预览窗口614开始播放当前待发布视频,并通过进度条显示视频的播放进度。通过进度条播放进度位置变化可以预览视频不同时刻的视频播放画面,若视频创作者基于预览窗口614手动拖拽当前待发布视频的进度条到某具体位置,则设置开始时间为拖拽起始位置,设置结束时间为拖拽结束位置,视频处理装置可以将根据视频创作者对播放进度条的拖拽操作确定的开始时间和结束时间,自动填写至开始时间输入框611和结束时间输入框612中。通过拖拽播放进度条的方式实现确定开始时间和结束时间,无需视频创作者手动输入开始时间和结束时间,提高了确定弹幕标识的显示时间的便捷性,有利于提高弹幕标识的添加效率。
作为一种可能的实施方式,视频创作者通过设置页面输入的设置信息可以包括弹幕标识的显示模板和/或显示位置,从而,接收通过设置页面输入的至少一个设置信息,根据至少一个设置信息在待发布视频中添加弹幕标识,以在视频播放过程中按照至少一个设置信息显示弹幕标识,包括:
接收通过设置页面输入的弹幕标识显示模板和/或显示位置,以在视频播放过程中根据显示模板和/或显示位置显示弹幕标识。由此,能够丰富弹幕标识在视频中的显示形式和显示位置,提升视觉效果。
例如,如果视频创作者仅设置了弹幕标识的显示模板,则在当前待发布视频的播放过程中按照显示模板显示弹幕标识,而不对弹幕标识的显示位置进行限定(此时,可以采用系统预先配置的位置)。若视频创作者仅设置了弹幕标识的显示位置,则在当前待发布视频的播放过程中,在该显示位置处显示弹幕标识,而不对弹幕标识的显示模板进行限定(此时,可以采用系统预先配置的模板)。若视频创作者同时设置了弹幕标识的显示位置以及显示模板,则在当前待发布视频的播放过程中,在该显示位置处按照显示模板显示弹幕标识。由此,丰富了交互的多样性,改善了用户体验。
具体的,视频创作者可以从预设的弹幕标识的模板库中选择自己喜欢的显示模板,显示背景为红色的弹幕标识显示模板、形状为圆形的弹幕标识显示模板等。当视频创作者输入的弹幕内容为多个时,显示模板还可以是多个弹幕内容在弹幕标识中的显示形式,比如多个弹幕内容并列显示、四个弹幕内容以田字格的样式显示等。显示位置指弹幕标识在视频播放区或者视频播放画面的显示位置,具体可以是视频播放区的右上角或者右下角,以方便视频观看者的触发操作,这是出于大多数用户习惯使用右手进行一些触发操作的考虑,当然还可以是视频播放区的中间位置,以最大程度地吸引视频观看者的注意力,使视频观看者看到弹幕标识,进而引导视频观看者触发弹幕标识,达到增加视频的弹幕量的目的。
进一步地,在一种可能的实施方式中,接收通过设置页面输入的弹幕标识的显示位置,包括:
在设置页面显示待发布视频的预览窗口,其中,预览窗口的视频播放画面上显示弹幕标识;
接收作用在弹幕标识上的拖拽操作,根据拖拽操作的结束位置确定弹幕标识的显示位置。
也就是说,当视频创作者已在视频播放画面的某个位置处添加了弹幕标识之后,设置页面的预览窗口中会显示视频播放画面上添加的弹幕标识,以方便视频创作者预览弹幕标识的添加效果。如果视频创作者对该弹幕标识当前的显示位置不满意,则可以在视频播放画面上拖拽该弹幕标识至希望显示的位置处后停止拖拽,视频处理装置接收并响应于该拖拽操作,将拖拽操作的结束位置确定为弹幕标识的显示位置,并在结束位置显示该弹幕标识。通过接收作用在弹幕标识上的拖拽操作,根据拖拽操作的结束位置确定弹幕标识的显示位置,使得视频创作者拖拽弹幕标识即可灵活调整弹幕标识的显示位置,提高了改变弹幕标识的显示位置的便捷性,有利于提高弹幕标识的添加效率。
作为一种可能的实施方式,视频创作者通过弹幕标识的设置页面输入的设置信息可以包括弹幕展示样式,则接收通过设置页面输入的至少一个设置信息,根据至少一个设置信 息在待发布视频中添加弹幕标识,以在视频播放过程中按照至少一个设置信息显示弹幕标识,还包括:
接收通过设置页面设置的弹幕展示样式,其中,弹幕展示样式包括:在视频画面上展示弹幕的字体样式,和/或,弹幕动画样式。
例如,如果视频创作者仅设置了展示弹幕的字体样式,则在播放视频画面的过程中通过触发弹幕标识发布弹幕时,按照设置的字体样式展示弹幕内容,而不对弹幕动画样式进行限定(此时,可以采用系统预先配置的动画样式)。若视频创作者仅设置了弹幕动画样式,则在播放视频画面过程中通过触发弹幕标识发布弹幕时,按照设置的弹幕动画样式展示弹幕内容,而不对弹幕的字体样式进行限定(此时,可以采用系统预先配置的字体)。若视频创作者同时设置了弹幕动画样式及字体样式,则在播放视频画面过程中通过触发弹幕标识发布弹幕时,按照设置的字体样式和弹幕动画样式展示弹幕内容。由此,丰富了弹幕的展示样式,提高了用户的视觉体验。
作为一种示例,视频创作者可以从预设的字体库中选择自己喜欢的字体样式,比如选择弹幕的字体样式为红色高亮、艺术字样式等。视频创作者可以从预设的动画样式库中选择自己喜欢的动画样式,比如闪烁、跳动、彩蛋等。
进一步地,作为一种可能的实施方式,在弹幕标识的设置页面中可以显示待发布视频的预览窗口,响应于在预览窗口播放待发布视频的预览操作,在与显示时间对应的播放时段内显示包含弹幕内容的弹幕标识;响应于对弹幕标识的触发操作,在当前播放的视频画面上根据字体样式,和/或,弹幕动画样式显示弹幕内容。
本公开实施例中,视频播放画面中添加的弹幕标识支持预览,视频创作者可以通过设置页面提供的预览窗口观看弹幕标识在视频播放画面中的添加效果。待发布视频在预览窗口中的初始状态可以为暂停播放状态,当视频创作者触发“开始播放”控件时,触发待发布视频的预览操作,响应于该预览操作,预览窗口中开始播放待发布视频,并在播放至添加了弹幕标识的视频画面时显示弹幕标识,弹幕标识在与显示时间对应的播放时段内显示,或者,响应于该预览操作,可以直接跳转至添加有弹幕标识的视频播放进度开始播放视频画面,在与显示时间对应的播放时段内显示包含弹幕内容的弹幕标识。若视频创作者对预览窗口中显示的视频播放画面中的弹幕标识执行了触发操作,则响应于该触发操作,在当前的视频播放画面中显示弹幕标识对应的弹幕内容,弹幕内容的显示可以根据预先设置的字体样式和/或弹幕动画样式进行显示。
例如,如果预先设置了字体样式为艺术字体,则以艺术字体在视频播放画面中展示弹幕内容,如果预先设置了弹幕动画样式为闪烁,则在视频播放画面中将弹幕内容闪烁显示,如果预先设置了字体样式为艺术字体及弹幕动画内容为闪烁,则在视频播放画面中将艺术字体的弹幕内容闪烁显示。
示例性地,图7A为本公开再一实施例所提供的弹幕标识的设置页面示例图。该设置页面的标题可以设置为“弹幕引导设置”,例如图7A中标号601所表示的设置页面标题,以方便用户及时获知所进入页面的页面功能。如图7A所示,该设置页面中包括开始时间编辑框602、结束时间编辑框603、持续时长编辑框603、弹幕标题输入框604、弹幕内容输入框605、弹幕字体样式编辑框606和弹幕动画样式编辑框607,还包括预览窗口608。如 图7A所示,视频创作者通过该设置页面输入的弹幕标识的开始时间为04:05秒,持续时长为10秒,弹幕内容为666,弹幕字体样式为“斜体”,则当视频创作者通过预览窗口来预览添加弹幕标识的待发布视频时,从视频播放至04:05秒开始,在视频播放画面中显示弹幕内容为“666”的弹幕标识,如图7A中标号609所表示的弹幕标识,并持续显示10秒。若视频创作者在预览窗口中点击该弹幕标识609,则在视频播放画面中以斜体展示该弹幕标识对应的弹幕内容666,如图7B中标号600所表示的弹幕。
进一步地,在一种可能的实施方式中,弹幕展示样式还包括:设置弹幕动画样式以及对应的弹幕发送门限值。
其中,弹幕发送门限值可以由视频创作者自行设置,比如设置为30、50等,也可以是默认值,比如默认值可以是66。
本公开实施例中,视频创作者可以设置弹幕发送门限值及对应的弹幕动画样式,当同一弹幕连续发布次数达到该门限值时,显示该弹幕动画样式。
举例而言,假设设置弹幕发送门限值为66次,对应的弹幕动画样式为燃放烟花,则当视频观看者通过视频播放画面中显示的弹幕标识连续发布弹幕的次数达到66次时,在视频播放画面中燃放烟花。由此,进一步丰富了弹幕样式,提高了视觉体验。
在一种可能的实施方式中,当弹幕标识在视频播放画面的显示位置与设定标识在视频播放画面的显示位置重合时,调整弹幕标识在视频播放画面的显示位置,或者控制设定标识在弹幕标识的下方显示,此时弹幕标识的显示优先级高于设定标识。其中,设定标识例如可以是商品购物车的标识。
需要说明的是,本公开实施例中的设置页面中,可以包含弹幕标题、弹幕内容、开始时间、结束时间、持续时长、显示位置、显示模板、弹幕展示样式等信息分别对应的输入框,视频创作者可以根据需求选择性的输入一个或多个设置信息来对弹幕标识进行设置,对于视频创作者未设置的个别信息,可以采用系统默认设置。例如图6中,设置页面中还包括弹幕标题输入框616和弹幕内容输入框617。在输入框附近还可以设置星号“※”,并通过提示信息“加※的项为必填项”来提示视频创作者哪些信息为必须填写的设置信息,以帮助视频创作者设置弹幕标识对应的设置信息。
本公开实施例的视频处理方法,通过接收对待发布视频所关联的弹幕控件的触发操作,响应于触发操作,显示弹幕标识的设置页面,接收通过设置页面输入的至少一个设置信息,根据至少一个设置信息在待发布视频中添加弹幕标识,以在视频播放过程中按照至少一个设置信息显示弹幕标识。采用上述技术方案,视频创作者可以根据需求设置弹幕标识的相关信息,以在视频播放画面中添加自定义的弹幕标识,实现了个性化设置弹幕标识,提升了用户体验。
图8为本公开又一实施例所提供的一种视频处理方法的流程示意图。在上述实施例的基础上,本实施例给出了一种对视频播放画面中显示的弹幕标识进行触发以实现一键发布弹幕的实施方式,具体是响应于对弹幕标识的触发操作,在视频播放画面中展示对应的弹幕内容及弹幕动画。
如图8所示,该视频处理方法还可以包括以下步骤:
步骤701,接收作用于已发布视频播放画面上的弹幕标识的弹幕发送触发操作。
本公开实施例中,前述实施例所述的视频创作者,还可以视频观看者的身份观看其他用户已发布的视频。视频观看者可以通过智能手机、平板电脑、个人电脑等电子设备上安装的视频应用观看视频,视频的播放形式可以是横屏、竖屏、悬浮小窗口等任意形式。
在已发布视频播放过程中,当视频画面播放至弹幕标识的添加位置处时,在弹幕标识的引导下,视频观看者可以对弹幕标识执行弹幕发送触发操作,视频处理装置接收该弹幕发送触发操作。
步骤702,响应于弹幕发送触发操作,在视频播放画面上展示与弹幕发送触发操作和/或弹幕标识对应的弹幕内容及弹幕动画。
其中,弹幕在视频播放画面上的展示位置可以采用系统预先配置的弹幕展示位置,也可以由视频观看者根据自身喜好个性化设置弹幕展示位置,本公开对此不作限制。
作为一种示例,当接收的弹幕发送触发操作为一个时,则在视频播放画面上展示与弹幕标识对应的一条弹幕,发布的弹幕的内容为该视频的视频创作者预先为弹幕标识设置的弹幕内容。若视频创作者还为设置了对应的弹幕动画,则可以弹幕动画的形式展示弹幕内容。例如,视频创作者设置弹幕标识对应的弹幕内容为666,弹幕动画为闪烁,则当视频观看者触发一次视频播放画面中显示的弹幕标识时,在视频播放画面中以闪烁的动画样式展示弹幕内容666。
作为另一种示例,当接收的弹幕触发操作为多个,或者接收的弹幕触发操作的触发持续时长大于预设值时,也就是说,在弹幕标识的本次显示时间内,视频观看者对弹幕标识执行了连续点击或长按的弹幕发送触发操作时,响应于该弹幕发送触发操作,在视频播放画面中展示内容为该弹幕标识对应的弹幕内容的多个弹幕,其中,展示的弹幕个数可以根据连续点击弹幕标识的次数或长按的时长确定。例如,当连续点击10次时,则发布10条弹幕,当长按的时长为8秒时,可以发布8条弹幕。此外,当视频观看者连续发送多条弹幕时,其他视频观看者的视频播放画面中可以仅展示一条弹幕,以避免展示多条弹幕影响其他视频观看者观看视频内容的情况。
进一步地,当视频观看者在弹幕标识的本次显示时间内,连续执行弹幕发送触发操作的次数达到一定值,或者,长按该弹幕标识的触发持续时长达到一定时长时,若在视频播放画面中发布包含弹幕内容的弹幕,弹幕的数量达到门限值可能会影响视频观看者的观看体验,此时可以在视频播放画面中播放预设的弹幕动画(比如飞机、彩蛋等),以表达视频观看者当前的激动心情。
示例性地,图9A为视频播放画面中显示弹幕标识的示例图,如图9A所示,在视频播放至04:08秒时开始显示弹幕标识710,该弹幕标识的弹幕标题为“此处应用弹幕”,弹幕内容为“厉害了”。假设该视频的视频创作者设置了在该弹幕标识本次展示时长内被连续点击次数达到10次时显示飞机的动画效果。当视频观看者点击该弹幕标识710时,如果视频观看者点击了一次,则在视频播放画面中展示弹幕内容为“厉害了”的一条弹幕,如图9B中标号711所表示的弹幕;如果视频观看者连续点击多次该弹幕标识,但连续点击次数小于10次,则在视频播放画面中展示弹幕内容为“厉害了”的一大波弹幕,如图9C中标号712所表示的弹幕;如果视频观看者连续点击该弹幕标识超过10次,则在视频播放画面中展示飞机,如图9D中标号713所表示的动画。其中,动画飞机可以从视频播放画面的底部向顶部飞 的形式出现,也可以从视频播放画面的右侧向左侧飞的形式出行,图9D仅作为示例,而不能作为对本公开的限制。
在一种可能的实施方式中,当视频观看者未打开弹幕开关时,若视频观看者对视频播放画面中显示的弹幕标识执行弹幕发送触发操作,则自动开启弹幕开关,并可以显示“已为您打开弹幕开关”的提示信息。
本公开实施例的视频处理方法,通过接收作用于已发布视频播放画面上的弹幕标识的弹幕发送触发操作,响应于弹幕发送触发操作,在视频播放画面上展示与弹幕发送触发操作和/或弹幕标识对应的弹幕内容及弹幕动画。采用上述技术方案,视频观看者仅需点击弹幕标识即可发布弹幕,实现了一键发布弹幕,无需手动编辑弹幕内容,不仅降低了弹幕发布成本和发布门槛,提高了发布弹幕的效率,还节约了发布弹幕的时间,提高了弹幕与视频内容的结合紧密度,提升了用户体验。
图10为本公开一实施例所提供的另一种视频处理方法的流程示意图,该方法可以由本公开实施例所提供的视频处理装置执行,该装置可由软件和/或硬件实现,一般可集成在电子设备中。
如图10所示,该视频处理方法可以包括以下步骤:
步骤111,接收针对视频播放画面上的弹幕标识的触发操作,所述弹幕标识上展示有弹幕内容。
步骤112,响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕。
本公开实施例中,当视频观看者观看视频创作者已发布的视频时,视频播放画面上会显示视频创作者预先为视频添加的弹幕标识,弹幕标识上展示有弹幕内容。当视频观看者想要发布弹幕时,可以对视频播放画面上显示的弹幕标识执行触发操作来实现弹幕发送,视频处理装置接收该触发操作,并响应于该触发操作,在视频播放画面上展示与该弹幕内容对应的弹幕。
例如图9A和图9B所示,当视频观看者点击图9A中所示的弹幕标识710时,响应于该点击操作,在视频播放画面上显示弹幕内容为“厉害了”的弹幕,如图9B中标号711所表示的弹幕。
本公开实施例的视频处理方法,通过接收针对视频播放画面上的弹幕标识的触发操作,弹幕标识上展示有弹幕内容,响应于该触发操作,在视频播放画面上展示与弹幕内容对应的弹幕。采用上述技术方案,视频观看者仅需点击弹幕标识即可发布弹幕,实现了一键发布弹幕,无需手动编辑弹幕内容,不仅降低了弹幕发布成本和发布门槛,提高了发布弹幕的效率,还节约了发布弹幕的时间,提高了弹幕与视频内容的结合紧密度。而且,弹幕标识上展示有弹幕内容,触发该弹幕标识所发送的弹幕与该弹幕内容相对应,由此,符合用户的预期,提升了用户体验。
视频观看者观看视频时,可能希望发布多条弹幕,比如当观看到激动处时,通过发布多条弹幕来表达自己的激动心情。从而,在一种可能的实施方式中,所述视频处理方法还包括:
确定所述触发操作的类型;
根据所述触发操作的类型确定在所述视频播放画面上展示的弹幕数量;
在所述视频播放画面上展示与所述弹幕数量对应的弹幕。
其中,触发操作的类型可以包括但不限于单击、连击、长按等。
本公开实施例中,接收到对视频播放画面上显示的弹幕标识的触发操作时,可以确定该触发操作的类型。比如,当在一预设时间内,接收到一次点击操作时,点击持续时长小于一预设时长,可以确定该触发操作的类型为单击;当在一预设时间内,接收到多次单击操作时,可以确定该触发操作的类型为连击,并获取连续点击的次数;当在一预设时间内,接收到一个触发操作,且该触发操作的持续时长超过一预设时长时,可以确定该触发操作的类型为长按,并获取长按时长。
进一步地,根据触发操作的类型,确定在视频播放画面上展示的弹幕数量,并在视频播放画面上展示与弹幕数量对应的弹幕。
比如,当确定的触发操作类型为单击时,则确定弹幕数量为1个,发送1条弹幕,并在视频播放画面上展示与弹幕内容对应的一条弹幕,如图9B中标号711所表示的弹幕;当确定的触发操作类型为连击时,可以确定弹幕数量与连击的次数相同,并在视频播放画面中展示与弹幕内容对应的弹幕,所展示弹幕的弹幕数量与连击的次数一致,比如,假设视频观看者连击了7次图9A中所示的弹幕标识710,则在视频播放画面中展示弹幕内容为“厉害了”的7条弹幕,如图9C中标号712所表示的弹幕;当确定的触发操作类型为长按时,可以确定弹幕数量为长按时长,比如假设视频观看者长按图9A中所示的弹幕标识710的时长为7秒,则可以确定触发操作的类型为长按,长按时长为7秒,则可以确定弹幕数量为7个,则在视频播放画面中展示弹幕内容为“厉害了”的7条弹幕,如图9C中标号712所表示的弹幕。再比如,确定的触发操作类型为长按时或者一预设时长内连续点击的次数超过预设次数阈值时,发送最大预设数量的弹幕,最大预设数量例如为66个,由此形成批量弹幕的氛围。
本公开实施例中,通过响应于触发操作,确定触发操作的类型,根据触发操作的类型确定在视频播放画面上展示的弹幕数量,进而在视频播放画面上展示与弹幕数量对应的弹幕,由此,实现了通过不同的触发操作在视频播放画面上展示不同数量的弹幕,视频观看者可以通过单击、长按等方式发布一条或多条弹幕,提高了弹幕发布的灵活性,方便用户快速发送批量弹幕。
在一种可能的实施方式中,弹幕内容包括一个弹幕内容项,则所述响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕,包括:
响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容相同的弹幕。
本公开实施例中,弹幕标识上展示有弹幕内容,弹幕内容用于指示触发该弹幕标识所发送的弹幕的内容,该弹幕内容可以包括一个弹幕内容项,弹幕内容项即弹幕标识上用于展示弹幕内容的展示项,一个弹幕内容项对应一个弹幕内容,当接收到对视频播放画面上展示的弹幕标识的触发操作时,响应于该触发操作,在视频播放画面上展示与弹幕内容项中的弹幕内容相同的弹幕。
示例性地,图11A为视频播放画面中显示展示有一个弹幕内容项的弹幕标识的示例图,如图11A所示,在视频播放至04:08秒时开始显示弹幕标识1110,该弹幕标识的弹幕标题 为“来个弹幕吧”,该弹幕标识上展示有弹幕内容,该弹幕内容包括一个弹幕内容项1101,弹幕内容为“哈哈哈”。当视频观看者点击该弹幕标识1110时,触发发送弹幕内容为“哈哈哈”的弹幕,相应地,在视频播放画面中展示弹幕内容为“哈哈哈”的弹幕,如图11B中标号1111所表示的弹幕。
本公开实施例中,通过在弹幕标识上展示弹幕内容,弹幕内容包括一个弹幕内容项,当接收到对视频播放画面上展示的弹幕标识的触发操作时,响应于该触发操作,在视频播放画面上展示与弹幕内容相同的弹幕,由此,方便了视频观看者获知该弹幕标识对应的弹幕内容,以确定该弹幕内容能否满足自身需求,进而方便视频观看者决定是否要通过该弹幕标识来发布弹幕,发送的弹幕也更加符合用户预期。
在一种可能的实施方式中,弹幕内容包括多个弹幕内容项,则所述响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕,包括:
响应于对所述多个弹幕内容项中的至少一个弹幕内容项的选中操作,在所述视频播放画面上展示所述至少一个弹幕内容对应的弹幕。
本公开实施例中,弹幕内容可以包括多个弹幕内容项,每个弹幕内容项对应一个弹幕内容,当视频观看者点击其中至少一个弹幕内容项时,响应于该点击操作,在视频播放画面上展示至少一个弹幕内容项对应的弹幕。当然,并不仅限于此,也可以是所述弹幕标识上还展示有发送控件,用户选中多个弹幕内容项中的至少一个弹幕内容项,并触发弹幕标识上的发送控件,在视频播放画面上展示至少一个弹幕内容项对应的弹幕。
示例性地,示例性地,图12A为视频播放画面中显示展示有多个弹幕内容项的弹幕标识的示例图,如图12A所示,在视频播放至04:08秒时开始显示弹幕标识1210,该弹幕标识的弹幕标题为“来个弹幕吧”,该弹幕标识上展示有弹幕内容,该弹幕内容包括四个弹幕内容项,四个弹幕内容项的弹幕内容分别为“厉害了”、“666”、“哈哈哈”和“我服了”,如图12A中标号1201所表示的弹幕内容项。视频观看者可以根据自身需求从四个弹幕内容项中选择想要发布的弹幕内容,当视频观看者点击四个弹幕内容项中的至少一个时,在视频播放画面中展示所点击的至少一个弹幕内容项所对应的弹幕。假设视频观看者先点击了弹幕内容为“哈哈哈”的弹幕内容项,如图12A中食指所指的位置为弹幕内容“哈哈哈”所在的位置,假设视频观看者随后又点击了“我服了”的弹幕内容项,如图12C所示,图12C中,食指所指的位置为弹幕内容“我服了”所在的位置,则在视频播放画面中展示内容为“哈哈哈”的弹幕,及内容为“我服了”的弹幕,如图12D中标号1211及1212所表示的弹幕。此外,也可以是在视频观看者点击“哈哈哈”的弹幕内容项,在视频播放画面中展示内容为“哈哈哈”的弹幕,如图12B中标号1211所表示的弹幕,视频观看者再点击“我服了”的弹幕内容项,在视频播放画面中继续展示内容为“我服了”的弹幕,如图12D中标号1212所表示的弹幕。
本公开实施例中,通过在弹幕标识上展示弹幕内容,弹幕内容包括多个弹幕内容项,响应于对多个弹幕内容项中的至少一个弹幕内容项的选中操作,在视频播放画面上展示至少一个弹幕内容项对应的弹幕,由此,方便了视频观看者获知视频播放画面中显示的弹幕标识所支持发布的多个弹幕内容,通过设置弹幕标识对应多个弹幕内容项,为视频观看者提供了多种可选择的弹幕内容,灵活性强,进一步为视频观看者发布弹幕提供了便捷性, 由此在符合用户预期的同时能够给用户提供更大的弹幕选择空间,丰富了用户发送弹幕的交互方式,提升了用户体验。
本公开实施例中,所述多个弹幕内容项可以为视频发布者在视频发布时配置的多个弹幕内容项,所述多个弹幕内容项可以包括根据弹幕添加位置所对应的视频片段(视频片段类型、视频片段内容、视频片段画面等)确定的弹幕内容项,例如弹幕添加位置为视频中的第10-12分钟的视频片段所对应的位置,若第10-12分钟的视频片段为讲笑话类型视频片段,则确定的对应的弹幕内容项可以为“哈哈哈”的文字或者表情。所述多个弹幕内容项也可以包括根据对应视频在一历史时间段内所接收到的历史弹幕确定的弹幕内容项。
在一种可能的实施方式中,当接收到对弹幕标识的触发操作时,还可以确定所述触发操作是否满足预设条件,并在所述触发操作满足预设条件的情况下,在所述视频播放画面上展示弹幕关联信息。
其中,弹幕关联信息可以包括但不限于动画、特效、音频中的至少一种。
本公开实施例中,预设条件可以由视频创作者在制作视频时预先设定,也可以是视频应用配置的预设条件,弹幕关联信息触发条件比如可以是预设时长内对弹幕标识的触发操作次数达到预设次数值、连续发布弹幕的数量达到预设值、长按弹幕标识的时长达到预设时长等,本公开对此不作限制。当对于弹幕标识的触发操作满足预设的弹幕关联信息触发条件时,在视频播放画面上展示弹幕关联信息,比如展示动画、彩蛋、特效、播放预设的音频等,以丰富弹幕样式。
作为一种示例,所述确定所述触发操作是否满足预设的弹幕关联信息触发条件,包括:
确定所述触发操作的频率是否达到预设门限值;
若达到所述预设门限值,则满足所述预设条件。
其中,触发操作的频率可以是连续触发所述弹幕标识的次数,对应地,预设门限值可以为点击次数阈值,点击次数阈值可以预先设定为10次、30次、66次等;触发操作的频率还可以是长按所述弹幕标识的时长,对应地,预设门限值可以为时长阈值,时长阈值可以预先设定为8秒、10秒、15秒等。
本公开实施例中,当确定触发操作的频率达到预设门限值时,则确定该触发操作满足预设条件,进而在视频播放画面上展示弹幕关联信息。
示例性地,以图11A所示的视频播放画面为例,假设预设门限值为10次,预设的弹幕关联信息为飞机从视频播放画面的右侧飞入画面中的动画,则当视频观看者连续点击弹幕标识1110的次数达到10次时,确定对该弹幕标识1110的触发操作满足预设条件,则视频播放画面上展示飞机从右侧飞入视频播放画面的动画,如图13所示,图13中的多帧图像示出了飞机从右侧飞入视频播放画面的过程。
示例性地,仍以图11A所示的视频播放画面为例,假设预设门限值为10次,预设的弹幕关联信息为在视频播放画面中燃放烟花的特效,则当视频观看者连续点击弹幕标识1110的次数达到10次时,确定对该弹幕标识1110的触发操作满足预设条件,则在视频播放画面上展示烟花,如图14所示,图14中标号1400所表示的即为视频播放画面中展示的烟花特效。实际展示时,烟花特效可以动态显示,比如在视频播放画面中绽放烟花直至烟花逐渐坠落。
示例性地,弹幕关联信息还可以是预设的音频,当对弹幕标识的触发操作满足预设条件时,播放预设的音频,预设的音频比如可以是“太棒了”、“666”等语音消息,也可以是预设的音乐,或者,还可以是与视频观看者选中的弹幕内容对应的音频消息,比如用户选中的弹幕内容为“厉害了”,则当满足预设条件时,语音播放“厉害了”。
本公开实施例中,通过确定触发操作是否满足预设条件,并在满足预设条件的情况下,在视频播放画面上展示弹幕关联信息,由此,丰富了弹幕样式,提升了视频观看者的视觉体验。
本公开实施例中,所述弹幕标识可以为引导视频观看者发送弹幕的标识,所述弹幕标识可包括弹幕标题、发送控件及所述弹幕内容。
所述弹幕标题可以为引导观看者发送弹幕的标题,例如“来个弹幕吧”。所述发送控件用于接收用户的所述触发操作以发送弹幕,所述发送控件具有动态展示样式,在接收触发操作之前具有第一展示样式、在接收触发操作之后预设时间内具有第二展示样式。此外,所述弹幕关联信息为动画时,所述发送控件具有与所述动画对应的展示样式,例如所述动画为目标对象的动画,所述发送控件上可展示有目标对象的图案,在接收触发操作时,所述发送控件上的目标对象的图案由所述发送控件向视频播放画面的预设位置移动,从而生成所述目标对象的动画,所述目标对象例如为飞机。
图15为本公开一实施例所提供的一种视频处理装置的结构示意图,该装置可由软件和/或硬件实现,一般可集成在电子设备中。如图15所示,该视频处理装置80可以包括:
触发操作接收模块801,用于接收对待发布视频所关联的弹幕控件的触发操作;
添加模块802,用于响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示所述弹幕标识。
可选地,添加模块802可以包括:
设置页面显示单元,用于响应于所述触发操作,显示所述弹幕标识的设置页面;
弹幕标识添加单元,用于接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识。
可选地,弹幕标识添加单元,具体用于:
接收通过所述设置页面输入的至少一个弹幕内容,在所述待发布视频中添加的所述弹幕标识包含所述至少一个弹幕内容,以在视频播放过程中显示包含所述至少一个弹幕内容的所述弹幕标识,进而响应于所述弹幕标识的触发操作,在视频播放画面上展示与所述至少一个弹幕内容对应的弹幕。
进一步地,弹幕标识添加单元,具体还用于:
在所述设置页面显示预设的候选弹幕内容,接收从所述候选弹幕内容中确定的目标弹幕内容作为所述至少一个弹幕内容;和/或,
接收用户通过所述设置页面输入的自定义弹幕内容作为所述至少一个弹幕内容。
可选地,弹幕标识添加单元,具体还用于:
接收通过所述设置页面输入的弹幕标识显示时间,以按照所述显示时间在所述视频播放过程中显示所述弹幕标识。
可选地,弹幕标识添加单元,具体还用于:
接收通过所述设置页面输入的开始时间和结束时间,以在所述视频播放过程中从所述开始时间到所述结束时间之间的播放时段显示所述弹幕标识;或者,
接收通过所述设置页面输入的开始时间和持续时长,以在所述视频播放过程中从所述开始时间时显示所述弹幕标识,并在与所述持续时长对应的时段内保持显示;或者,
接收通过所述设置页面输入的开始时间,并根据所述开始时间和视频结束时间确定持续时长,以在所述视频播放过程中从所述开始时间时显示所述弹幕标识,并在与所述持续时长对应的时段内保持显示。
可选地,在所述设置页面显示开始时间、结束时间、持续时长中的至少一种时间编辑框,弹幕标识添加单元,具体还用于:接收通过所述时间编辑框输入的所述开始时间、所述结束时间、所述持续时长中的一种或者多种时间信息组合;
或者,
在所述设置页面显示所述待发布视频的预览窗口,弹幕标识添加单元,具体还用于:接收作用在所述预览窗口的播放进度条上的拖拽操作,以根据所述进度条的拖拽起始位置设置所述开始时间,及根据所述进度条的拖拽结束位置设置所述结束时间。
可选地,弹幕标识添加单元,具体还用于:
接收通过所述设置页面设置的弹幕展示样式,其中,所述弹幕展示样式包括:在视频画面上展示弹幕的字体样式,和/或,弹幕动画样式。
可选地,所述视频处理装置80还包括:
预览窗口显示模块,用于在所述设置页面显示所述待发布视频的预览窗口,
标识预览模块,用于响应于在所述预览窗口播放所述待发布视频的预览操作,在与所述显示时间对应的播放时段内显示包含所述弹幕内容的所述弹幕标识;
弹幕预览模块,用于响应于对所述弹幕标识的触发操作,在当前播放的视频画面上根据所述字体样式,和/或,弹幕动画样式显示所述弹幕内容。
可选地,弹幕标识添加单元,具体用于:
接收通过所述设置页面输入的弹幕标题,在所述待发布视频中添加的所述弹幕标识包含所述弹幕标题,以在视频播放过程中显示包含所述弹幕标题的所述弹幕标识。
可选地,弹幕标识添加单元,具体用于:
接收通过所述设置页面输入的弹幕标识显示模板和/或显示位置,以在视频播放过程中根据所述显示模板和/或显示位置显示所述弹幕标识。
进一步地,弹幕标识添加单元,具体还用于:
在所述设置页面显示所述待发布视频的预览窗口,其中,所述预览窗口的视频播放画面上显示所述弹幕标识;
接收作用在所述弹幕标识上的拖拽操作,根据所述拖拽操作的结束位置确定所述弹幕标识的显示位置。
可选地,所述视频处理装置80还包括:
弹幕发送操作接收模块,用于接收作用于已发布视频播放画面上的弹幕标识的弹幕发送触发操作;
弹幕展示模块,用于响应于所述弹幕发送触发操作,在所述视频播放画面上展示与所述弹幕发送触发操作和/或所述弹幕标识对应的弹幕内容及弹幕动画。
本公开实施例所提供的视频处理装置可执行本公开任意实施例所提供的视频处理方法,具备执行方法相应的功能模块和有益效果。
图16为本公开一实施例所提供的另一种视频处理装置的结构示意图,该装置可由软件和/或硬件实现,一般可集成在电子设备中。如图16所示,该视频处理装置800可以包括:
接收模块810,用于接收针对视频播放画面上的弹幕标识的触发操作,所述弹幕标识上展示有弹幕内容;
展示模块820,用于响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕。
可选地,所述视频处理装置800还包括:
类型确定模块,用于确定所述触发操作的类型;
弹幕数量确定模块,用于根据所述触发操作的类型确定在所述视频播放画面上展示的弹幕数量;
弹幕展示模块,用于在所述视频播放画面上展示与所述弹幕数量对应的弹幕。
可选地,弹幕内容包括一个弹幕内容项,所述展示模块820具体用于:
响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容相同的弹幕。
可选地,弹幕内容包括多个弹幕内容项,所述展示模块820具体用于:
响应于对所述多个弹幕内容项中的至少一个弹幕内容项的选中操作,在所述视频播放画面上展示所述至少一个弹幕内容项对应的弹幕。
可选地,视频处理装置800还包括:
检测模块,用于确定所述触发操作是否满足预设条件;
关联信息展示模块,用于在所述触发操作满足所述预设条件的情况下,在所述视频播放画面上展示弹幕关联信息。
可选地,所述检测模块具体用于:
确定所述触发操作的频率是否达到预设门限值;
若达到所述预设门限值,则满足所述预设条件。
本公开实施例所提供的视频处理装置可执行本公开任意实施例所提供的视频处理方法,具备执行方法相应的功能模块和有益效果。
为了实现上述实施例,本公开还提出一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现上述实施例中的视频处理方法。
图17为本公开一实施例所提供的一种电子设备的结构示意图。
下面具体参考图17,其示出了适于用来实现本公开实施例中的电子设备900的结构示意图。本公开实施例中的电子设备900可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图17示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图17所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储装置908加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的各种程序和数据。处理装置901、ROM902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图17示出了具有各种装置的电子设备900,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的视频处理方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配 入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:接收对待发布视频所关联的弹幕控件的触发操作;响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示所述弹幕标识。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,本公开提供了一种视频处理方法,包括:
接收对待发布视频所关联的弹幕控件的触发操作;
响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示 所述弹幕标识。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示所述弹幕标识,包括:
响应于所述触发操作,显示所述弹幕标识的设置页面;
接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识,包括:
接收通过所述设置页面输入的至少一个弹幕内容,在所述待发布视频中添加的所述弹幕标识包含所述至少一个弹幕内容,以在视频播放过程中显示包含所述至少一个弹幕内容的所述弹幕标识,进而响应于所述弹幕标识的触发操作,在视频播放画面上展示与所述至少一个弹幕内容对应的弹幕。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述接收通过所述设置页面输入的至少一个弹幕内容,包括:
在所述设置页面显示预设的候选弹幕内容,接收从所述候选弹幕内容中确定的目标弹幕内容作为所述至少一个弹幕内容;和/或,
接收用户通过所述设置页面输入的自定义弹幕内容作为所述至少一个弹幕内容。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识,还包括:
接收通过所述设置页面输入的弹幕标识显示时间,以按照所述显示时间在所述视频播放过程中显示所述弹幕标识。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述接收通过所述设置页面输入的弹幕标识显示时间,以按照所述显示时间在所述视频播放过程中显示所述弹幕标识,包括:
接收通过所述设置页面输入的开始时间和结束时间,以在所述视频播放过程中从所述开始时间到所述结束时间之间的播放时段显示所述弹幕标识;或者,
接收通过所述设置页面输入的开始时间和持续时长,以在所述视频播放过程中从所述开始时间时显示所述弹幕标识,并在与所述持续时长对应的时段内保持显示;或者,
接收通过所述设置页面输入的开始时间,并根据所述开始时间和视频结束时间确定持续时长,以在所述视频播放过程中从所述开始时间时显示所述弹幕标识,并在与所述持续时长对应的时段内保持显示。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述方法还包括:
在所述设置页面显示开始时间、结束时间、持续时长中的至少一种时间编辑框,接收通过所述时间编辑框输入的所述开始时间、所述结束时间、所述持续时长中的一种或者多 种时间信息组合;
或者,
在所述设置页面显示所述待发布视频的预览窗口,接收作用在所述预览窗口的播放进度条上的拖拽操作,以根据所述进度条的拖拽起始位置设置所述开始时间,及根据所述进度条的拖拽结束位置设置所述结束时间。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识,包括:
接收通过所述设置页面输入的弹幕标题,在所述待发布视频中添加的所述弹幕标识包含所述弹幕标题,以在视频播放过程中显示包含所述弹幕标题的所述弹幕标识。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识,包括:
接收通过所述设置页面输入的弹幕标识显示模板和/或显示位置,以在视频播放过程中根据所述显示模板和/或显示位置显示所述弹幕标识。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述接收通过所述设置页面输入的所述弹幕标识的显示位置,包括:
在所述设置页面显示所述待发布视频的预览窗口,其中,所述预览窗口的视频播放画面上显示所述弹幕标识;
接收作用在所述弹幕标识上的拖拽操作,根据所述拖拽操作的结束位置确定所述弹幕标识的显示位置。
根据本公开的一个或多个实施例,本公开提供了一种视频处理方法,包括:
接收针对视频播放画面上的弹幕标识的触发操作,所述弹幕标识上展示有弹幕内容;
响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述弹幕内容包括一个弹幕内容项;所述响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕,包括:
响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容相同的弹幕。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述弹幕内容包括多个弹幕内容项,所述响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕,包括:
响应于对所述多个弹幕内容项中的至少一个弹幕内容项的选中操作,在所述视频播放画面上展示所述至少一个弹幕内容项对应的弹幕。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,还包括:
确定所述触发操作的类型;
根据所述触发操作的类型确定在所述视频播放画面上展示的弹幕数量;
在所述视频播放画面上展示与所述弹幕数量对应的弹幕。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,还包括:
确定所述触发操作是否满足预设条件;
在所述触发操作满足所述预设条件的情况下,在所述视频播放画面上展示弹幕关联信息。
根据本公开的一个或多个实施例,本公开提供的视频处理方法中,所述确定所述触发操作是否满足预设条件,包括:
确定所述触发操作的频率是否达到预设门限值;
若达到所述预设门限值,则满足所述预设条件。
根据本公开的一个或多个实施例,本公开提供了一种视频处理装置,包括:
触发操作接收模块,用于接收对待发布视频所关联的弹幕控件的触发操作;
添加模块,用于响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示所述弹幕标识。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,添加模块可以包括:
设置页面显示单元,用于响应于所述触发操作,显示所述弹幕标识的设置页面;
弹幕标识添加单元,用于接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,弹幕标识添加单元,具体用于:
接收通过所述设置页面输入的至少一个弹幕内容,在所述待发布视频中添加的所述弹幕标识包含所述至少一个弹幕内容,以在视频播放过程中显示包含所述至少一个弹幕内容的所述弹幕标识,进而响应于所述弹幕标识的触发操作,在视频播放画面上展示与所述至少一个弹幕内容对应的弹幕。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,弹幕标识添加单元,具体还用于:
在所述设置页面显示预设的候选弹幕内容,接收从所述候选弹幕内容中确定的目标弹幕内容作为所述至少一个弹幕内容;和/或,
接收用户通过所述设置页面输入的自定义弹幕内容作为所述至少一个弹幕内容。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,弹幕标识添加单元,具体还用于:
接收通过所述设置页面输入的弹幕标识显示时间,以按照所述显示时间在所述视频播放过程中显示所述弹幕标识。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,弹幕标识添加单元,具体还用于:
接收通过所述设置页面输入的开始时间和结束时间,以在所述视频播放过程中从所述开始时间到所述结束时间之间的播放时段显示所述弹幕标识;或者,
接收通过所述设置页面输入的开始时间和持续时长,以在所述视频播放过程中从所述开始时间时显示所述弹幕标识,并在与所述持续时长对应的时段内保持显示;或者,
接收通过所述设置页面输入的开始时间,并根据所述开始时间和视频结束时间确定持续时长,以在所述视频播放过程中从所述开始时间时显示所述弹幕标识,并在与所述持续时长对应的时段内保持显示。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,在所述设置页面显示开始时间、结束时间、持续时长中的至少一种时间编辑框,弹幕标识添加单元,具体还用于:接收通过所述时间编辑框输入的所述开始时间、所述结束时间、所述持续时长中的一种或者多种时间信息组合;
或者,
在所述设置页面显示所述待发布视频的预览窗口,弹幕标识添加单元,具体还用于:接收作用在所述预览窗口的播放进度条上的拖拽操作,以根据所述进度条的拖拽起始位置设置所述开始时间,及根据所述进度条的拖拽结束位置设置所述结束时间。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,弹幕标识添加单元,具体用于:
接收通过所述设置页面输入的弹幕标题,在所述待发布视频中添加的所述弹幕标识包含所述弹幕标题,以在视频播放过程中显示包含所述弹幕标题的所述弹幕标识。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,弹幕标识添加单元,具体用于:
接收通过所述设置页面输入的弹幕标识显示模板和/或显示位置,以在视频播放过程中根据所述显示模板和/或显示位置显示所述弹幕标识。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,弹幕标识添加单元,具体还用于:
在所述设置页面显示所述待发布视频的预览窗口,其中,所述预览窗口的视频播放画面上显示所述弹幕标识;
接收作用在所述弹幕标识上的拖拽操作,根据所述拖拽操作的结束位置确定所述弹幕标识的显示位置。
根据本公开的一个或多个实施例,本公开提供了一种视频处理装置,包括:
接收模块,用于接收针对视频播放画面上的弹幕标识的触发操作,所述弹幕标识上展示有弹幕内容;
展示模块,用于响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,所述弹幕内容包括一个弹幕内容项;所述展示模块具体用于:
响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容相同的弹幕。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,所述弹幕内容包括多个弹幕内容项,所述展示模块具体用于:
响应于对所述多个弹幕内容项中的至少一个弹幕内容项的选中操作,在所述视频播放画面上展示所述至少一个弹幕内容项对应的弹幕。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,所述视频处理装置 还包括:
类型确定模块,用于确定所述触发操作的类型;
弹幕数量确定模块,用于根据所述触发操作的类型确定在所述视频播放画面上展示的弹幕数量;
弹幕展示模块,用于在所述视频播放画面上展示与所述弹幕数量对应的弹幕。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,所述视频处理装置还包括:
检测模块,用于确定所述触发操作是否满足预设条件;
关联信息展示模块,用于在所述触发操作满足所述预设条件的情况下,在所述视频播放画面上展示弹幕关联信息。
根据本公开的一个或多个实施例,本公开提供的视频处理装置中,所述检测模块具体用于:
确定所述触发操作的频率是否达到预设门限值;
若达到所述预设门限值,则满足所述预设条件。
根据本公开的一个或多个实施例,本公开提供了一种电子设备,包括:
处理器;
用于存储所述处理器可执行指令的存储器;
所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现如本公开提供的任一所述的视频处理方法。
根据本公开的一个或多个实施例,本公开提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行如本公开提供的任一所述的视频处理方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (20)

  1. 一种视频处理方法,包括:
    接收对待发布视频所关联的弹幕控件的触发操作;
    响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示所述弹幕标识。
  2. 根据权利要求1所述的方法,其中,所述响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示所述弹幕标识,包括:
    响应于所述触发操作,显示所述弹幕标识的设置页面;
    接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识。
  3. 根据权利要求2所述的方法,其中,所述接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识,包括:
    接收通过所述设置页面输入的至少一个弹幕内容,在所述待发布视频中添加的所述弹幕标识包含所述至少一个弹幕内容,以在视频播放过程中显示包含所述至少一个弹幕内容的所述弹幕标识,进而响应于所述弹幕标识的触发操作,在视频播放画面上展示与所述至少一个弹幕内容对应的弹幕。
  4. 根据权利要求3所述的方法,其中,所述接收通过所述设置页面输入的至少一个弹幕内容,包括:
    在所述设置页面显示预设的候选弹幕内容,接收从所述候选弹幕内容中确定的目标弹幕内容作为所述至少一个弹幕内容;和/或,
    接收用户通过所述设置页面输入的自定义弹幕内容作为所述至少一个弹幕内容。
  5. 根据权利要求2所述的方法,其中,所述接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识,包括:
    接收通过所述设置页面输入的弹幕标题,在所述待发布视频中添加的所述弹幕标识包含所述弹幕标题,以在视频播放过程中显示包含所述弹幕标题的所述弹幕标识。
  6. 根据权利要求3所述的方法,其中,所述接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识,包括:
    接收通过所述设置页面输入的弹幕标识显示时间,以按照所述显示时间在所述视频播放过程中显示所述弹幕标识。
  7. 根据权利要求6所述的方法,其中,所述接收通过所述设置页面输入的弹幕标识显示时间,以按照所述显示时间在所述视频播放过程中显示所述弹幕标识,包括:
    接收通过所述设置页面输入的开始时间和结束时间,以在所述视频播放过程中从所述开始时间到所述结束时间之间的播放时段显示所述弹幕标识;或者,
    接收通过所述设置页面输入的开始时间和持续时长,以在所述视频播放过程中从所述 开始时间时显示所述弹幕标识,并在与所述持续时长对应的时段内保持显示;或者,
    接收通过所述设置页面输入的开始时间,并根据所述开始时间和视频结束时间确定持续时长,以在所述视频播放过程中从所述开始时间时显示所述弹幕标识,并在与所述持续时长对应的时段内保持显示。
  8. 根据权利要求7所述的方法,其中,在所述设置页面显示开始时间、结束时间、持续时长中的至少一种时间编辑框,接收通过所述时间编辑框输入的所述开始时间、所述结束时间、所述持续时长中的一种或者多种时间信息组合;
    或者,
    在所述设置页面显示所述待发布视频的预览窗口,接收作用在所述预览窗口的播放进度条上的拖拽操作,以根据所述进度条的拖拽起始位置设置所述开始时间,及根据所述进度条的拖拽结束位置设置所述结束时间。
  9. 根据权利要求2所述的方法,其中,所述接收通过所述设置页面输入的至少一个设置信息,根据所述至少一个设置信息在所述待发布视频中添加弹幕标识,以在视频播放过程中按照所述至少一个设置信息显示所述弹幕标识,包括:
    接收通过所述设置页面输入的弹幕标识显示模板和/或显示位置,以在视频播放过程中根据所述显示模板和/或显示位置显示所述弹幕标识。
  10. 根据权利要求9所述的方法,其中,所述接收通过所述设置页面输入的所述弹幕标识的显示位置,包括:
    在所述设置页面显示所述待发布视频的预览窗口,其中,所述预览窗口的视频播放画面上显示所述弹幕标识;
    接收作用在所述弹幕标识上的拖拽操作,根据所述拖拽操作的结束位置确定所述弹幕标识的显示位置。
  11. 一种视频处理方法,包括:
    接收针对视频播放画面上的弹幕标识的触发操作,所述弹幕标识上展示有弹幕内容;
    响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕。
  12. 根据权利要求11所述的方法,其中,所述弹幕内容包括一个弹幕内容项;
    所述响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕,包括:
    响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容相同的弹幕。
  13. 根据权利要求11所述的方法,其中,所述弹幕内容包括多个弹幕内容项,
    所述响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕,包括:
    响应于对所述多个弹幕内容项中的至少一个弹幕内容项的选中操作,在所述视频播放画面上展示所述至少一个弹幕内容项对应的弹幕。
  14. 根据权利要求11所述的方法,其中,还包括:
    确定所述触发操作的类型;
    根据所述触发操作的类型确定在所述视频播放画面上展示的弹幕数量;
    在所述视频播放画面上展示与所述弹幕数量对应的弹幕。
  15. 根据权利要求11所述的方法,其中,还包括:
    确定所述触发操作是否满足预设条件;
    在所述触发操作满足所述预设条件的情况下,在所述视频播放画面上展示弹幕关联信息。
  16. 根据权利要求15所述的方法,其中,所述确定所述触发操作是否满足预设条件,包括:
    确定所述触发操作的频率是否达到预设门限值;
    若达到所述预设门限值,则满足所述预设条件。
  17. 一种视频处理装置,包括:
    触发操作接收模块,用于接收对待发布视频所关联的弹幕控件的触发操作;
    添加模块,用于响应于所述触发操作,在所述待发布视频中添加弹幕标识,以在视频播放过程中显示所述弹幕标识。
  18. 一种视频处理装置,包括:
    接收模块,用于接收针对视频播放画面上的弹幕标识的触发操作,所述弹幕标识上展示有弹幕内容;
    展示模块,用于响应于所述触发操作,在所述视频播放画面上展示与所述弹幕内容对应的弹幕。
  19. 一种电子设备,所述电子设备包括:
    处理器;
    用于存储所述处理器可执行指令的存储器;
    所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现上述权利要求1-10中任一所述的视频处理方法,或者,实现上述权利要求11-16中任一所述的视频处理方法。
  20. 一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行上述权利要求1-10中任一所述的视频处理方法,或者,实现上述权利要求11-16中任一所述的视频处理方法。
PCT/CN2022/104106 2021-07-20 2022-07-06 视频处理方法、装置、电子设备及存储介质 WO2023000980A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22845145.6A EP4344222A1 (en) 2021-07-20 2022-07-06 Video processing method and apparatus, electronic device, and storage medium
US18/392,432 US20240129591A1 (en) 2021-07-20 2023-12-21 Video processing method and apparatus, electronic device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110821355.7A CN113542854B (zh) 2021-07-20 2021-07-20 视频处理方法、装置、电子设备及存储介质
CN202110821355.7 2021-07-20

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/392,432 Continuation US20240129591A1 (en) 2021-07-20 2023-12-21 Video processing method and apparatus, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
WO2023000980A1 true WO2023000980A1 (zh) 2023-01-26

Family

ID=78100549

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/104106 WO2023000980A1 (zh) 2021-07-20 2022-07-06 视频处理方法、装置、电子设备及存储介质

Country Status (4)

Country Link
US (1) US20240129591A1 (zh)
EP (1) EP4344222A1 (zh)
CN (1) CN113542854B (zh)
WO (1) WO2023000980A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542854B (zh) * 2021-07-20 2023-01-10 北京字跳网络技术有限公司 视频处理方法、装置、电子设备及存储介质
US20230101262A1 (en) * 2021-09-29 2023-03-30 At&T Intellectual Property I, L.P. Application-level network slicing for high quality of experience
CN114422844B (zh) * 2021-12-22 2023-08-18 北京百度网讯科技有限公司 弹幕素材生成方法、推荐方法、装置、设备、介质及产品
CN114519154A (zh) * 2022-02-21 2022-05-20 北京字节跳动网络技术有限公司 页面内容的显示方法和装置
CN114422843B (zh) * 2022-03-10 2024-03-26 北京达佳互联信息技术有限公司 视频彩蛋的播放方法、装置、电子设备及介质
CN114679628B (zh) * 2022-03-21 2024-04-16 北京字跳网络技术有限公司 一种弹幕添加方法、装置、电子设备和存储介质
CN115134650A (zh) * 2022-06-27 2022-09-30 上海哔哩哔哩科技有限公司 视频笔记展示方法及装置
CN115243093B (zh) * 2022-07-04 2023-08-22 网易(杭州)网络有限公司 视频弹幕的处理方法、装置、存储介质和电子装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379614A (zh) * 2018-12-27 2019-02-22 广州华多网络科技有限公司 弹幕发送方法、移动终端以及计算机存储介质
CN112866787A (zh) * 2021-04-12 2021-05-28 上海哔哩哔哩科技有限公司 弹幕设置方法、装置及系统
CN113038239A (zh) * 2021-04-12 2021-06-25 上海哔哩哔哩科技有限公司 弹幕设置方法、装置及系统
CN113542854A (zh) * 2021-07-20 2021-10-22 北京字跳网络技术有限公司 视频处理方法、装置、电子设备及存储介质

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869468A (zh) * 2015-04-22 2015-08-26 腾讯科技(北京)有限公司 一种显示弹幕信息的方法和装置
CN104881237B (zh) * 2015-06-15 2019-08-06 广州华多网络科技有限公司 一种网络互动方法及客户端
CN106998492A (zh) * 2017-03-02 2017-08-01 合网络技术(北京)有限公司 弹幕的显示控制方法及装置
CN106998505A (zh) * 2017-03-31 2017-08-01 武汉斗鱼网络科技有限公司 一种在直播中实现弹幕快捷键投票的系统及方法
CN108055569B (zh) * 2017-12-19 2020-03-10 广州虎牙信息科技有限公司 直播间弹幕发送方法、装置及相应的终端
CN109831674A (zh) * 2019-01-08 2019-05-31 北京潘达互娱科技有限公司 一种弹幕设置及呈现方法、装置、计算设备及存储介质
CN111901658B (zh) * 2019-05-06 2022-07-22 腾讯科技(深圳)有限公司 评论信息显示方法、装置、终端及存储介质
CN110784759B (zh) * 2019-08-12 2022-08-12 腾讯科技(深圳)有限公司 弹幕信息处理方法、装置、电子设备及存储介质
CN112672219B (zh) * 2020-12-17 2023-06-20 北京达佳互联信息技术有限公司 评论信息的交互方法和装置、电子设备
CN113038236A (zh) * 2021-03-17 2021-06-25 北京字跳网络技术有限公司 一种视频处理方法、装置、电子设备及存储介质
CN113010710A (zh) * 2021-03-30 2021-06-22 上海哔哩哔哩科技有限公司 弹幕展示方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379614A (zh) * 2018-12-27 2019-02-22 广州华多网络科技有限公司 弹幕发送方法、移动终端以及计算机存储介质
CN112866787A (zh) * 2021-04-12 2021-05-28 上海哔哩哔哩科技有限公司 弹幕设置方法、装置及系统
CN113038239A (zh) * 2021-04-12 2021-06-25 上海哔哩哔哩科技有限公司 弹幕设置方法、装置及系统
CN113542854A (zh) * 2021-07-20 2021-10-22 北京字跳网络技术有限公司 视频处理方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN113542854B (zh) 2023-01-10
US20240129591A1 (en) 2024-04-18
CN113542854A (zh) 2021-10-22
EP4344222A1 (en) 2024-03-27

Similar Documents

Publication Publication Date Title
WO2023000980A1 (zh) 视频处理方法、装置、电子设备及存储介质
US11899907B2 (en) Method, apparatus and device for displaying followed user information, and storage medium
WO2022218096A1 (zh) 基于视频的交互方法、装置、存储介质及电子设备
CN113365134B (zh) 音频分享方法、装置、设备及介质
CN113050857B (zh) 一种音乐分享方法、装置、电子设备及存储介质
CN113783997B (zh) 一种视频发布方法、装置、电子设备及存储介质
US20240121468A1 (en) Display method, apparatus, device and storage medium
CN111970571B (zh) 视频制作方法、装置、设备及存储介质
WO2023072296A1 (zh) 多媒体信息处理方法、装置、电子设备和存储介质
WO2023020325A1 (zh) 视频的页面显示方法、装置、电子设备和存储介质
WO2022193867A1 (zh) 一种视频处理方法、装置、电子设备及存储介质
WO2023103956A1 (zh) 数据交互方法、装置、电子设备、存储介质和程序产品
WO2023134419A1 (zh) 信息交互方法、装置、设备及存储介质
CN113190314A (zh) 互动内容生成方法、装置、存储介质及电子设备
WO2023061230A1 (zh) 内容展示方法、装置、设备及存储介质
CN113727170A (zh) 视频交互方法、装置、设备及介质
JP2023539815A (ja) 議事録のインタラクション方法、装置、機器及び媒体
US11029801B2 (en) Methods, systems, and media for presenting messages
CN113253885A (zh) 目标内容的显示方法、装置、设备、可读存储介质及产品
CN111930459A (zh) 内容展示方法、装置、电子设备及计算机可读介质
EP4202615A1 (en) Video distribution system and method, computing device, and user equipment
CN110855557A (zh) 视频分享方法、装置和存储介质
CN115269886A (zh) 媒体内容处理方法、装置、设备及存储介质
CN115412759A (zh) 信息显示方法、装置、设备、计算机可读存储介质及产品
CN115379136A (zh) 特效道具处理方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22845145

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022845145

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022845145

Country of ref document: EP

Effective date: 20231222

NENP Non-entry into the national phase

Ref country code: DE