CN113194349B - Video playing method, comment device, equipment and storage medium - Google Patents

Video playing method, comment device, equipment and storage medium Download PDF

Info

Publication number
CN113194349B
CN113194349B CN202110449950.2A CN202110449950A CN113194349B CN 113194349 B CN113194349 B CN 113194349B CN 202110449950 A CN202110449950 A CN 202110449950A CN 113194349 B CN113194349 B CN 113194349B
Authority
CN
China
Prior art keywords
comment information
target
video
playing
target video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110449950.2A
Other languages
Chinese (zh)
Other versions
CN113194349A (en
Inventor
张云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110449950.2A priority Critical patent/CN113194349B/en
Publication of CN113194349A publication Critical patent/CN113194349A/en
Application granted granted Critical
Publication of CN113194349B publication Critical patent/CN113194349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • 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/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Abstract

The application provides a video playing method, a comment device, equipment and a storage medium, and belongs to the field of Internet and computers. The method comprises the following steps: displaying a playing interface of the target video; displaying at least one piece of comment information for the target video in a surrounding area of the play progress bar; receiving a video clip playing instruction aiming at target comment information in at least one comment information; and displaying the segment position marking information of the target video segment in the target video and playing the target video segment in the playing interface. In the embodiment of the application, the operation of a user when viewing the video clips related to comment information is simplified; the method comprises the steps that segment position annotation information of a target video segment is displayed in a playing interface, so that a user can intuitively determine the video segment corresponding to comment information; comment information is displayed in the surrounding area of the playing progress bar, so that a user can intuitively acquire the comment information of the target video in the full-screen playing process of the target video.

Description

Video playing method, comment device, equipment and storage medium
Technical Field
The embodiment of the application relates to the field of Internet and computers, in particular to a video playing method, a comment method, a device, equipment and a storage medium.
Background
At present, users can publish own comment views according to the content of the video when playing the video.
In the related art, when a user views a video clip corresponding to certain comment information, the comment information needs to be carefully read and analyzed to determine the video clip corresponding to the comment information, so as to manually adjust the playing progress icon of the video.
However, in the above-described related art, the user has a troublesome operation when viewing the video clip corresponding to the comment information.
Disclosure of Invention
The embodiment of the application provides a video playing method, a comment device, equipment and a storage medium, which can simplify the operation of a user when viewing video clips related to comment information. The technical scheme is as follows:
according to an aspect of the embodiments of the present application, there is provided a video playing method, including:
displaying a playing interface of a target video, wherein the playing interface comprises a playing progress bar of the target video;
displaying at least one piece of comment information for the target video in a surrounding area of the play progress bar;
Receiving a video clip playing instruction aiming at target comment information in the at least one comment information;
displaying segment position marking information of a target video segment in the target video in the playing interface, and playing the target video segment; the target video clip is a video clip corresponding to the target comment information in the target video.
According to an aspect of an embodiment of the present application, there is provided a video comment method, including:
displaying a comment editing interface of the target video;
acquiring comment information input in the comment editing interface;
acquiring video segment indication information corresponding to the evaluation information, wherein the video segment indication information is used for indicating video segments corresponding to the evaluation information in the target video;
and sending a comment submitting request to a server, wherein the comment submitting request comprises the comment information and the video clip indication information corresponding to the comment information.
According to an aspect of the embodiments of the present application, there is provided a video playing device, including:
the interface display module is used for displaying a playing interface of the target video, wherein the playing interface comprises a playing progress bar of the target video;
The comment display module is used for displaying at least one comment information aiming at the target video in the surrounding area of the playing progress bar;
the indication receiving module is used for receiving a video clip playing indication aiming at target comment information in the at least one comment information;
the video playing module is used for displaying the segment position marking information of the target video segment in the target video in the playing interface and playing the target video segment; the target video clip is a video clip corresponding to the target comment information in the target video.
According to an aspect of an embodiment of the present application, there is provided a video comment apparatus, including:
the interface display module is used for displaying a comment editing interface of the target video;
the comment acquisition module is used for acquiring comment information input in the comment editing interface;
the video segment indication information is used for indicating a video segment corresponding to the evaluation information in the target video;
and the request sending module is used for sending a comment submitting request to the server, wherein the comment submitting request comprises the comment information and the video clip indication information corresponding to the comment information.
According to an aspect of the embodiments of the present application, there is provided a terminal, including a processor and a memory, where the memory stores at least one instruction, at least one section of program, a code set, or an instruction set, and the at least one instruction, the at least one section of program, the code set, or the instruction set is loaded and executed by the processor to implement the video playing method or implement the video comment method.
According to an aspect of the embodiments of the present application, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, a code set, or an instruction set, which is loaded and executed by a processor to implement the video playing method or the video commentary method described above.
According to an aspect of embodiments of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the video playing method or implements the video commentary method.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
the video clip playing indication aiming at the target comment information is used for playing the target video clip corresponding to the target video information, and the comment information is related to the video clip, so that a user can directly check the target video clip corresponding to the target comment information through the video clip playing indication aiming at the target comment information, and the operation of the user when checking the video clip related to the comment information is simplified; the method comprises the steps that segment position annotation information of a target video segment is displayed in a playing interface, so that a user can intuitively determine the video segment corresponding to comment information; and comment information is displayed in the surrounding area of the playing progress bar, so that a user can intuitively acquire the comment information aiming at the target video in the full-screen playing process of the target video.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a video playback system according to one embodiment of the present application;
fig. 2 is a flowchart of a video playing method according to an embodiment of the present application;
FIGS. 3 and 4 are schematic diagrams illustrating a playback interface for a target video;
FIG. 5 is a flow chart of a video comment method provided by one embodiment of the present application;
FIG. 6 illustrates a schematic diagram of a comment editing interface;
FIG. 7 is a schematic diagram illustrating a video comment and video playback approach;
FIG. 8 is a block diagram of a video playback device according to one embodiment of the present application;
fig. 9 is a block diagram of a video playing device according to another embodiment of the present application;
FIG. 10 is a block diagram of a video commentary device provided in one embodiment of the present application;
FIG. 11 is a block diagram of a video commentary device provided in another embodiment of the present application;
fig. 12 is a schematic diagram of a terminal structure according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of a video playing system according to an embodiment of the present application is shown. The video playback system may include: a terminal 10 and a server 20.
The terminal 10 may be an electronic device such as a cell phone, tablet computer, game console, electronic book reader, multimedia playing device, wearable device, PC (Personal Computer ) or the like. A client having video play and video comment functions may be included in the terminal 10. Alternatively, the client may be a client that needs to download an installed application, or may be a client of a point-and-use application.
The server 20 is used to provide background services for the terminal 10. The server 20 may be a server, a server cluster comprising a plurality of servers, or a cloud computing service center. Alternatively, the server 20 may be a backend server of the client described above. The server 20 is for storing and recording comment information of each video, for example. Optionally, in the embodiment of the present application, the comment information corresponds to a video clip, where the video clip is a clip in a certain video, and the server stores the comment information and simultaneously stores a correspondence between the comment information and the video clip.
Alternatively, the terminal 10 and the server 20 communicate with each other via a network 30. The following description of the technical solution of the present application is presented in conjunction with several embodiments.
Referring to fig. 2, a flowchart of a video playing method according to an embodiment of the present application is shown. The method can be applied to the video playing system shown in fig. 1, and the execution subject of each step can be the terminal 10 (hereinafter referred to as "client"), and the method can include the following steps (201 to 204):
step 201, displaying a playing interface of the target video.
The target video refers to a playable video composed of a plurality of consecutive image frames. The playing interface of the target video is an interface for pointing to a user to display the target video, and in the interface, the user can control playing, pausing and playing a certain target video fragment in the target video according to actual conditions.
In the embodiment of the application, when the client detects the playing indication of the target video, the client displays a playing interface of the target video. Optionally, before displaying the playing interface of the target video, the client displays a video display interface, where the video display interface includes a plurality of display icons of the video. Wherein the plurality of videos includes a target video. Optionally, when detecting a triggering operation of a user on a display icon of a target video, the client generates a playing instruction of the target video, and displays a playing interface of the target video. The triggering operation may be a single click operation, a double click operation, a long press operation, a drag operation, a voice operation, a gesture operation, etc., which is not limited in the embodiment of the present application.
It should be noted that, in the embodiment of the present application, the playing interface includes a playing progress bar of the target video, where the playing progress bar is used to indicate a relationship between a current playing time and a total playing period of the target video.
At step 202, at least one piece of comment information for the target video is displayed in the surrounding area of the play progress bar.
The comment information refers to a point of view, a opinion, etc. published by the user for the target video. Optionally, the comment information includes, but is not limited to, at least one of: text information, still picture information, voice information, moving image information, and the like, which are not limited in this embodiment.
In this embodiment of the present application, when the client displays the playing interface of the target video, at least one piece of comment information for the target video is displayed in a surrounding area of the playing progress bar. Optionally, the comment information is displayed in the form of bubbles in a surrounding area of the playing progress bar. The surrounding area of the playing progress bar is the surrounding area of the playing progress bar, as shown in fig. 3, the playing interface 30 of the target video includes a video display area 31 and a comment display area 32, and the comment display area 32 is the surrounding area of the playing progress bar 33. Of course, in actual application, the determination mode of the surrounding area of the playing progress bar may be flexibly set and adjusted according to actual situations, which is not limited in this embodiment of the present application. The playing progress bar is a rectangular bar, and the surrounding area of the playing progress bar is an area formed by a point set with a vertical distance smaller than a certain value from the playing progress bar; the playing progress bar is a circular bar, and the surrounding area of the playing progress bar is an area formed by a point set with a linear distance smaller than a certain data from the center point of the playing progress bar.
Alternatively, the comment information may be directly displayed in the user interface, or may be displayed in a hidden manner in the user interface, or may be displayed in a semi-hidden manner in the user interface, which is not limited in the embodiment of the present application.
In one possible implementation, the comment information is displayed directly in the user interface. Alternatively, the client determines to display the comment information in the comment display area after detecting that the user posts the comment information for the above-described target video, in which case the client directly displays the comment content of the comment information in the comment display area when displaying the comment information.
In another possible implementation, the comment information is displayed hidden in the user interface. Optionally, after detecting that the user posts comment information for the target video, the client displays comment content of the comment information in the comment display area in a hidden manner, and further, after detecting that the comment display operation generated by the user trigger, the client displays the comment content of the comment information in the user interface. The comment display operation may be a click operation, a double click operation, a drag operation, a sliding operation, or the like of the comment display icon by the user, which is not limited in the embodiment of the present application. Alternatively, different comment information may correspond to the same comment display icon, or may correspond to different comment display icons, which is not limited in this embodiment of the present application.
In yet another possible implementation, the comment information is semi-hidden from view in the user interface. Optionally, after detecting that the user posts comment information for the target video, the client semi-hidden displays the comment information in the comment display area, and further, after detecting that the comment display operation generated by the user trigger, the client displays comment content of the comment information in the user interface. The client side displays comment display icons corresponding to comment information in the form of bubbles, generates comment display operations for comment information corresponding to bubbles after detecting triggering operations of a user for a certain bubble, and displays comment content of comment information corresponding to the bubble in a comment display area. Of course, in practical application, comment information may be semi-hidden in other forms and displayed in the comment display area, which is not limited in the embodiment of the present application.
Alternatively, in the embodiment of the present application, there may or may not be an overlapping area between the comment display area and the video display area, which is not limited in the embodiment of the present application. In one possible implementation, the comment display area is located in the video display area, and as shown in fig. 3, in the playing interface 30 of the target video, the comment display area 32 is located in the video display area 31. In another possible implementation, the comment display area is located outside the video display area, and as shown in fig. 4, in the playing interface 40 of the target video, the comment display area 41 is located outside the video display area 42. Of course, in practical application, only a partial region may overlap between the comment display region and the video display region, which is not limited in the embodiment of the present application.
In this embodiment of the present application, the client may be in a play state or a pause state when displaying the comment information, which is not limited in this embodiment of the present application.
Step 203, receiving a video clip playing instruction for target comment information in at least one comment information.
The target comment information is any one of the above-mentioned at least one comment information. In this embodiment of the present application, after displaying the comment information, the client detects each comment information and receives a video clip playing instruction for the target comment information in the at least one comment information.
The video clip play instruction refers to an instruction generated according to a trigger operation for the target comment information. Optionally, the triggering operation is generated by a user trigger. The triggering operation may be a single click operation, a double click operation, a drag operation, a sliding operation, or the like, which is not limited in the embodiment of the present application.
In one possible implementation manner, the triggering operation is generated for triggering areas corresponding to comment information. The triggering area is, for example, a display area of the comment information, or the triggering area is a part of the display area of the comment information. Optionally, after displaying the target comment information, the client detects a target display area corresponding to the target comment information, and when detecting a triggering operation of a user in the target display area, determines that a video clip playing instruction for the target comment information is received, so as to play a target video clip corresponding to the target comment information in a user interface.
In another possible implementation manner, the triggering operation is generated by triggering the video playing icon corresponding to the comment information. Wherein, the video playing icons corresponding to different comment information are different. Optionally, the client displays the target video playing icon corresponding to the target comment information while displaying the target comment information, detects the target video playing icon, and determines that a video clip playing instruction for the target comment information is received under the condition that a trigger operation for the target video playing icon is detected, so that a target video clip corresponding to the target comment information is played in the user interface.
In step 204, in the playing interface, the segment position labeling information of the target video segment in the target video is displayed, and the target video segment is played.
The target video clip is a video clip corresponding to the target comment information in the target video. In the embodiment of the application, after receiving the video playing indication for the target comment information, the client displays the fragment position marking information of the target video fragment in the target video in the playing interface of the target video, and plays the target video fragment.
Optionally, the clip position labeling information is used to indicate a correspondence between a playing period of the target video clip and a total playing period of the target video. In the embodiment of the present application, the clip position labeling information may be displayed in a playing progress bar of the target video.
Optionally, when the client displays the segment position labeling information, acquiring a start time and an end time corresponding to the target video segment, taking the start time as a start point of the segment position, taking the end time as an end point of the segment position, and displaying the segment position labeling information in a playing progress bar.
The starting time and the ending time may be obtained by the client through the server. Optionally, each comment information, and a start time and an end time of a video clip corresponding to the comment information are stored in the server.
In one possible implementation manner, in order to reduce data transmission, after receiving the video clip playing instruction, the client sends identification information of the target comment information to the server, and then the server determines a start time and an end time of the target video clip corresponding to the target comment information based on the identification information of the target comment information, and sends the start time and the end time to the client.
In another possible implementation manner, in order to ensure timeliness of the segment position labeling information, when the client displays the at least one piece of comment information, the client obtains a start time and an end time of a video segment corresponding to each piece of comment information from the server, and further after receiving the video segment playing instruction, the client can timely determine the start time and the end time corresponding to the target video segment.
It should be noted that, the playing progress bar of the target video may be always displayed in the playing interface of the target video, or may be displayed in the playing interface of the target video after receiving the instruction for displaying the playing progress bar. The triggering operation of the playing progress bar display instruction includes, but is not limited to, at least one of the following: triggering operation aiming at a display area of a playing progress bar, video playing starting operation, video playing stopping operation, triggering operation corresponding to video clip playing indication and the like.
Optionally, when the client plays the target video clip, the client acquires a start time and an end time of the target video clip, and starts playing the target video clip based on the start time. In one possible embodiment, the start time and the end time are acquired simultaneously; in another possible implementation manner, in order to ensure timeliness of playing the target video segment, the client first obtains a start time of the target video segment, plays the target video segment based on the start time, and further obtains an end time of the target video segment in a playing process of the target video segment, where the segment position labeling information may be displayed after the target video segment starts playing, for example, after obtaining the start time of the target video segment, the client plays the target video segment based on the start time, and displays a start point of the segment position in a playing progress icon, further obtains an end time of the target video segment in a playing process of the target video segment, and displays an end point of the segment position in a playing progress icon, so as to generate the segment position labeling information.
Illustratively, taking the comment display area as an example among the video display areas, as shown in fig. 3, in the playing interface 30 of the target video, the target video is displayed in the video display area 31, pieces of comment information for the target video are displayed in the comment display area 32, and further, after the user clicks on the target comment information 34 in the comment display area 32, clip position mark information 35 of a target video clip is displayed in the playing progress bar 33 of the target video. At this time, the target video clip corresponding to the target comment information 34 is played in the play interface 30.
It should be noted that, when comment information is not displayed in the surrounding area of the playing progress bar, the client may also play the target video clip corresponding to the target comment information when receiving the video clip playing instruction for the target comment information.
Illustratively, taking the example that the comment display area is outside the video display area, as shown in fig. 4, in the playing interface 40 of the target video, the comment display area 41 displays pieces of comment information for the target video, in the video display area 42, further, after the user clicks on the target comment information 43 in the comment display area 41, a playing progress bar 44 of the target video is displayed in the playing interface 40, and clip position labeling information 45 of the target video clip is displayed in the playing progress bar 44. At this time, the target video clip is played in the play interface 40. The target video clips refer to video clips corresponding to the target comment information in the target video.
It should be noted that, in the embodiment of the present application, each step described above may be implemented by comment information including any content, that is, each step described above may be implemented even if the comment information does not include a time link.
In summary, in the technical solution provided in the embodiments of the present application, by playing the video clip corresponding to the target video information through the video clip playing indication for the target comment information, the comment information is related to the video clip, so that the user can directly view the target video clip corresponding to the target comment information through the video clip playing indication for the target comment information, thereby simplifying the operation of the user when viewing the video clip related to the comment information; the method comprises the steps that segment position annotation information of a target video segment is displayed in a playing interface, so that a user can intuitively determine the video segment corresponding to comment information; and comment information is displayed in the surrounding area of the playing progress bar, so that a user can intuitively acquire the comment information aiming at the target video in the full-screen playing process of the target video.
Next, a display mode of comment information will be described.
In an exemplary embodiment, the above step 201 includes the following steps:
1. For the target comment information, determining the segment position of the target video segment in the playing progress bar according to the playing time period of the target video segment in the target video;
2. determining a display position of the target comment information based on the segment position of the target video segment;
3. the target comment information is displayed in a surrounding area of the playing progress bar based on a display position of the target comment information.
In the embodiment of the application, when at least one piece of comment information aiming at a target video is displayed, the client determines the display position of each piece of comment information according to the video segment corresponding to each piece of comment information. Taking the target comment information as an example, when the target comment information is displayed, the client determines the segment position of the target video segment in the playing progress bar of the target video according to the playing time period of the target video segment in the target video, further determines the display position of the target comment information based on the segment position of the target video segment, and displays the target comment information in the surrounding area of the playing progress bar based on the display position of the target comment information.
Alternatively, in the embodiment of the present application, the display position of the target comment information may be located in a surrounding area of the clip position, such as above or below. Illustratively, as shown in FIG. 3, the target comment information 34 is displayed above the segment position (segment position labeling information 35) of the target video segment.
In one possible implementation, the target video clip has and only has one piece of comment information, namely the target comment information. In this case, the client, after determining the display position of the above-described target comment information, directly displays the target comment information in the display position.
In another possible implementation manner, the target video clip has a plurality of pieces of comment information. In this case, the client may switch the display of each piece of comment information based on the display position after determining the display position of the above-described target comment information. Optionally, if the target video clip is the current playing clip, switching and displaying each piece of comment information of the target video clip by taking the first time length as a time interval; and if the target video clip is not the current playing clip, switching and displaying each piece of comment information of the target video clip by taking the second time length as a time interval. Wherein the second time period is longer than the first time period. Alternatively, the comment information may be displayed with the time length information of the comment information in the display process, and as shown in fig. 3, the target time length information 36 is included in the target comment information 34. The time length information may be a displayed time length of the comment information, or may be a non-displayed time length of the comment information, which is not limited in the embodiment of the present application.
It should be noted that, the first duration and the second duration may be any numerical values, and the first duration and the second duration may be flexibly set and adjusted according to actual situations, which is not limited in the embodiment of the present application.
Next, a description is given of a manner of obtaining comment information. Optionally, in order to ensure that the displayed comment information is high-quality comment information, the client may screen the comment information of each video clip to obtain final comment information to be displayed. The method comprises the following specific steps:
1. at least one piece of candidate comment information of a first video clip in the target video is obtained.
The first video clip refers to any video clip in the target video. In this embodiment of the present application, before displaying the at least one piece of comment information, the client obtains at least one piece of candidate comment information of the first video segment in the target video by using the first video segment as a unit, and screens the candidate comment information to obtain comment information to be displayed of the first video segment.
2. And screening at least one piece of candidate comment information based on the quality evaluation index of each piece of candidate comment information to obtain at least one piece of comment information to be displayed of the first video segment.
The quality evaluation index is used for evaluating the quality of comment information. Optionally, the quality evaluation index includes, but is not limited to, at least one of the following: praise number of comment information, number of elements contained in the comment information, and number of reply information corresponding to the comment information. In the comment information, one word is one element, and one image is also one element.
In the embodiment of the application, after obtaining the candidate comment information, the client obtains a quality evaluation index of each candidate comment information, further determines quality information of each candidate comment information based on the quality evaluation index of each candidate comment information, and screens the at least one candidate comment information based on the quality information to obtain at least one comment information to be displayed of the first video segment.
Alternatively, the quality information is used for a quality score of the comment information, and the quality score is proportional to the quality of the comment information.
In a possible implementation manner, after the client acquires the quality information, the client ranks the candidate comment information according to the quality score, and then selects n candidate comment information ranked in front as comment information to be displayed of the first video clip.
In another possible implementation manner, after the client acquires the quality information, candidate comment information with the quality score being greater than a threshold value is selected as comment information to be displayed of the first video segment based on the quality score.
3. And displaying at least one piece of comment information to be displayed of the first video clip.
In the embodiment of the application, after obtaining comment information to be displayed of the first video segment, the client displays the comment information to be displayed.
In one possible implementation manner, the first video clip has a plurality of pieces of comment information to be displayed, in which case, when the client displays the comment information to be displayed, the client switches to display the plurality of pieces of comment information to be displayed one by one with the second duration as a time interval.
In another possible implementation manner, the first video clip has and only has one piece of comment information to be displayed, in which case, the client displays one piece of comment information to be displayed when displaying the comment information to be displayed.
It should be noted that, the above is an exemplary and explanatory description of the screening manner of the comment information by taking the first video clip as an example, and in practical application, the client only screens the comment information of the currently unrevealed video clip. Optionally, after the client acquires the first video segment, judging the first video segment, and if the first video segment is a current playing segment, displaying candidate comment information of the first video segment as comment information to be displayed; and if the first video clip is the current unreflected clip, displaying the comment information obtained after screening as comment information to be displayed. The current unrevealed video clip may be a played video clip and/or an unrevealed video clip.
The method includes the steps that the screening mode of comment information is less in terms of a client, in practical application, comments can be screened by a server, and a priority display identifier is generated for comment information to be displayed, which is obtained after screening, so that the client can determine the comment information to be displayed, which is to be displayed and corresponds to the first video clip, based on the priority display identifier.
Of course, in the embodiment of the present application, the user may control the playing of the video clip in other manners. Optionally, the target comment information includes a tag of the target video segment, where the tag has a correspondence with a video sub-segment included in the target video segment. And the client plays the target video sub-segment corresponding to the target label after receiving the selection operation of the target label aiming at the target video segment. Wherein, a video clip can be corresponding to a plurality of labels, and each label can be the same or different.
In one possible implementation manner, the user generates the selection operation for the target tag through the triggering operation for the target tag; in another possible implementation manner, the user generates the selection operation of the target tag through a triggering operation for the icon corresponding to the target tag. The triggering operation may be a single click operation, a double click operation, a drag operation, a sliding operation, a gesture operation, a voice operation, or the like, which is not limited in the embodiment of the present application.
In addition, in the embodiment of the application, the user can also determine comment information to be displayed according to actual conditions. Optionally, in the playing interface of the target video, the client detects a playing progress bar of the target video, acquires a trigger position of the trigger operation and a playing time corresponding to the trigger position when the trigger operation for the playing progress bar of the target video is detected, further determines that the playing interval includes a designated video segment at the playing time according to the playing interval of each video segment of the target video, and displays comment information corresponding to the designated video segment. The triggering operation may be a single click operation, a double click operation, a drag operation, a sliding operation, a gesture operation, a voice operation, or the like, which is not limited in the embodiment of the present application.
Referring to fig. 5, a flowchart of a video comment method provided in an embodiment of the present application is shown. The method can be applied to the video playing system shown in fig. 1, and the execution subject of each step can be the terminal 10 (hereinafter referred to as "client"), and the method can include the following steps (501 to 504):
step 501, displaying a comment editing interface of a target video.
The comment editing interface is an interface for acquiring comment information input by a user. The input mode of the comment information may be voice input, keyboard (software keyboard or hardware keyboard) input, gesture input, image input, etc., which is not limited in the embodiment of the present application.
In the embodiment of the application, when detecting comment operation for the target video, which is triggered and generated by a user, the client displays a comment editing interface of the target video. The comment operation may be a trigger operation for a comment icon, where the comment icon may be displayed on the playing interface, and the trigger operation may be a single click operation, a double click operation, a drag operation, a sliding operation, a gesture operation, a voice operation, or the like, which is not limited in the embodiment of the present application.
Step 502, comment information input in a comment editing interface is obtained.
In the embodiment of the application, after displaying the comment editing interface, the client acquires comment information input by the user in the comment editing interface.
Step 503, obtaining video clip indication information corresponding to the comment information.
The video clip indication information is used for indicating video clips corresponding to comment information in the target video. In this embodiment of the present application, after displaying the comment editing interface, the client obtains video clip indication information corresponding to the comment information. Illustratively, as shown in fig. 6, a comment edit area 61 and a video edit area 62 are included in the comment edit interface. Wherein the comment editing area 61 is for acquiring comment information input by a user, and the video editing area 62 is for acquiring video clip indication information generated according to a user selection.
Optionally, in the embodiment of the present application, when the client acquires the video clip indication information, a time axis corresponding to the target video is displayed. Wherein the time axis is used to indicate the total playing period of the target video. Further, upon detecting a selection operation for the start-stop time of a video clip, a start-stop identifier is displayed on a time axis, and video clip indication information corresponding to comment information is determined based on the start-stop time.
In one possible embodiment, the above-described selection operation is a sliding operation for the time axis. Optionally, after displaying the time axis, the client detects the time axis, and after detecting a sliding operation for the time axis, determines a start playing time and an end playing time of the video clip corresponding to the comment information based on a start position and an end position of the sliding operation, so as to generate the video clip indication information. The video clip indication information comprises a start playing time and an end playing time of the video clip corresponding to the comment information.
In another possible embodiment, the selection operation is a click operation for a time axis. Optionally, after displaying the time axis, the client detects the time axis, determines, based on the two clicking operations after detecting the two clicking operations on the time axis, a time corresponding to a front clicking operation on the time axis as a start playing time of a video clip corresponding to comment information, and determines a time corresponding to a rear clicking operation on the time axis as an end playing time of the video clip corresponding to comment information, thereby generating the video clip indication information. The video clip indication information comprises a start playing time and an end playing time of the video clip corresponding to the comment information.
Of course, in still another possible embodiment, the selecting operation is an operation for the start-stop identifier. Optionally, when the client displays the time axis, the start-stop marker is displayed on the time axis at the same time, further, the user intercepts a section of area on the time axis by moving the start-stop marker, and the client determines the intercepted area of the start-stop marker as the time area of the video clip corresponding to the comment information, so as to generate the video indication information.
Step 504, a comment submitting request is sent to a server.
In the embodiment of the application, after obtaining the video clip indication information, the client sends a comment submitting request to the server. The comment submitting request comprises comment information and corresponding video clip indicating information. Correspondingly, after the server acquires the comment submitting request, comment information and video clip indication information in the comment submitting request are stored in a correlated mode.
In summary, in the technical solution provided in the embodiments of the present application, comment information is associated with a video clip, so that a subsequent user can intuitively view the video clip corresponding to the comment information.
The video clips corresponding to the comment information are determined through manual operation of a user. Of course, in actual application, the client may also automatically divide the target video segments, so as to automatically obtain the video segments corresponding to the comment information.
In a possible implementation manner, in the process of playing the target video, the client acquires an image frame set corresponding to the current playing time of the target video under the condition that comment operation for the target video is detected. The image frame set comprises a first image frame which is currently played and surrounding image frames, wherein the time interval between the surrounding image frames and the first image frame is smaller than a threshold value. Further, the client performs image detection processing on each image frame in the image frame set, and determines scene similarity between each image frame and the first image frame. And then, the client determines the video clips formed by the continuous image frames with the scene similarity larger than the target value as the video clips corresponding to the comment information by taking the first image frame as a reference.
Optionally, when performing image detection processing on each image frame, the client may perform pixel traversal on each image frame and the first image frame, so as to determine a scene similarity between each image frame and the first image frame based on a pixel difference between each image frame and the first image frame. Wherein the pixel difference is inversely proportional to the scene similarity.
In another possible implementation manner, in the process of playing the target video, the client acquires an image frame set corresponding to the current playing time of the target video when detecting comment operation for the target video. The image frame set comprises a first image frame which is currently played and surrounding image frames, wherein the time interval between the surrounding image frames and the first image frame is smaller than a threshold value. Further, the client side respectively carries out event detection processing on each image frame in the image frame set, and determines the event to which each image frame respectively belongs. And then, taking the first image frame as a reference, and determining the video clips formed by the continuous image frames which are in the same event as the first image frame as the video clips corresponding to comment information.
Optionally, when the client performs event detection processing on each image frame, the client may detect and acquire key information respectively included in each image frame and the first image frame, and further determine, based on the key information, an event to which each image frame and the first image frame respectively belong.
Of course, in other possible embodiments, the client may divide the target video at equal or unequal time intervals to obtain a plurality of video segments corresponding to the target video.
It should be noted that, in the embodiment of the present application, the comment information includes one or more tags corresponding to the video clips. Wherein different labels correspond to the same or different video sub-segments, the video sub-segments are contained in the video segments, and the duration of the video sub-segments is less than or equal to the duration of the video segments.
Optionally, when determining the tag corresponding to the comment information, the client acquires each image frame included in the video clip corresponding to the comment information, and further performs target detection processing on each image frame, determines a target object included in the image frame, determines the tag of the video clip based on the tag corresponding to the target object, and further adds the tag of the video clip to the comment information. Of course, the tag of the video clip may also be displayed directly in the comment editing interface, such as tag 63 in fig. 6.
In addition, referring to fig. 7, a video editing method and a video playing method in the present application will be described. In the process of playing the target video, after detecting comment operation for the target video, the client displays a comment editing interface, a comment editing area in the comment editing interface determines comment information input by a user, and a video editing area in the comment editing interface determines a video clip corresponding to the comment information selected by the user, so that the comment information is associated with a start playing time and an end playing time of the video clip, and a video clip with the comment information is generated. Meanwhile, after determining the video clips corresponding to the comment information, the client identifies and acquires the target objects contained in the video clips, and further determines the labels corresponding to the target objects as the labels corresponding to the video clips. And after detecting click operation of the user on comment information, the client plays the video clip corresponding to the comment information in a playing interface of the target video.
The following are device embodiments of the present application, which may be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
Referring to fig. 8, a block diagram of a video playing device according to an embodiment of the present application is shown. The device has the function of realizing the video playing method, and the function can be realized by hardware or by executing corresponding software by the hardware. The device can be a terminal or can be arranged in the terminal. The apparatus 800 may include: an interface display module 801, a comment display module 802, an instruction receiving module 803 and a video playing module 804.
The interface display module 801 is configured to display a playing interface of a target video, where the playing interface includes a playing progress bar of the target video;
and a comment display module 802, configured to display at least one comment information for the target video in a surrounding area of the playing progress bar.
An indication receiving module 803 is configured to receive a video clip playing indication for the target comment information in the at least one comment information.
The video playing module 804 is configured to display, in the playing interface, clip position annotation information of a target video clip in the target video, and play the target video clip; the target video clip is a video clip corresponding to the target comment information in the target video.
In an exemplary embodiment, the comment display module 802 includes: a clip determining unit, a position determining unit, and a comment displaying unit.
And the segment determining unit is used for determining the segment position of the target video segment in the playing progress bar according to the playing period of the target video segment in the target video for the target comment information.
And the position determining unit is used for determining the display position of the target comment information based on the segment position of the target video segment.
And a comment display unit configured to display the target comment information in a surrounding area of the playing progress bar based on a display position of the target comment information.
In an exemplary embodiment, the target video clip has a plurality of pieces of comment information; the comment display unit is further configured to switch and display each comment information of the target video segment with a first time interval if the target video segment is a current playing segment; if the target video clip is not the current playing clip, switching and displaying each piece of comment information of the target video clip by taking the second duration as a time interval; wherein the second time period is longer than the first time period.
In an exemplary embodiment, the video playing module 803 is configured to obtain a start time and an end time corresponding to the target video clip; and taking the starting time as a starting point of the segment position, taking the ending time as an ending point of the segment position, and displaying the segment position marking information in the playing progress bar.
In an exemplary embodiment, as shown in fig. 9, the apparatus 800 further includes: a candidate acquisition module 805 and a comment screening module 806.
A candidate obtaining module 805, configured to obtain at least one piece of candidate comment information of a first video clip in the target video.
And a comment screening module 806, configured to screen the at least one piece of candidate comment information based on the quality evaluation index of each piece of candidate comment information, to obtain at least one piece of comment information to be displayed of the first video segment.
The comment display module 802 is further configured to, when the first video clip has a plurality of pieces of comment information to be displayed, switch and display the plurality of pieces of comment information to be displayed one by one with a second duration as a time interval; and displaying the comment information to be displayed under the condition that the first video clip has and only has one comment information to be displayed.
In an exemplary embodiment, the target comment information includes a tag of the target video clip, where the tag has a correspondence with a video sub-clip included in the target video clip; the video playing module 804 is further configured to respond to a selection operation of a target tag for the target video segment, and play a target video sub-segment corresponding to the target tag.
In an exemplary embodiment, as shown in fig. 9, the apparatus 800 further includes: an operation acquisition module 807, a time acquisition module 808, and a segment determination module 809.
An operation obtaining module 807, configured to obtain a trigger position of a trigger operation in response to the trigger operation for the playing progress bar of the target video.
And the time acquisition module 808 is configured to acquire a playing time corresponding to the trigger position.
The segment determining module 809 is configured to determine, according to a playing interval of each video segment of the target video, that the playing interval includes the specified video segment at the playing time.
The comment display module 802 is further configured to display comment information corresponding to the specified video clip.
In summary, according to the technical scheme provided by the embodiment of the application, the video clip corresponding to the target video information is played through the video clip playing indication aiming at the target comment information, and the comment information is related to the video clip, so that a user can directly check the target video clip corresponding to the target comment information through the video clip playing indication aiming at the target comment information, and the operation of the user when checking the video clip related to the comment information is simplified; the method comprises the steps that segment position annotation information of a target video segment is displayed in a playing interface, so that a user can intuitively determine the video segment corresponding to comment information; and comment information is displayed in the surrounding area of the playing progress bar, so that a user can intuitively acquire the comment information aiming at the target video in the full-screen playing process of the target video.
Referring to fig. 10, a block diagram of a video comment device according to an embodiment of the present application is shown. The device has the function of realizing the video comment method, and the function can be realized by hardware or by executing corresponding software by the hardware. The device can be a terminal or can be arranged in the terminal. The apparatus 1000 may include: an interface display module 1010, a comment acquisition module 1020, a clip acquisition module 1030, and a request transmission module 1040.
The interface display module 1010 is configured to display a comment editing interface of the target video.
And the comment acquisition module 1020 is used for acquiring comment information input in the comment editing interface.
The segment obtaining module 1030 is configured to obtain video segment indication information corresponding to the comment information, where the video segment indication information is used to indicate a video segment corresponding to the comment information in the target video.
The request sending module 1040 is configured to send a comment submitting request to a server, where the comment submitting request includes the comment information and the video clip indication information corresponding to the comment information.
In an exemplary embodiment, the segment obtaining module 1030 is configured to display a time axis corresponding to the target video; displaying a start-stop identifier on the time axis in response to a selection operation for a start-stop time of the video clip; and determining video clip indication information corresponding to the evaluation information based on the start-stop time.
In an exemplary embodiment, the segment obtaining module 1030 is further configured to, in a process of playing the target video, obtain, in response to a comment operation for the target video, an image frame set corresponding to a current playing time, where the image frame set includes a first image frame that is currently played and surrounding image frames that have a time interval with the first image frame that is less than a threshold value; respectively carrying out image detection processing on each image frame in the image frame set, and determining scene similarity between each image frame and the first image frame; and taking the first image frame as a reference, and determining the video segment formed by the continuous image frames with the scene similarity larger than the target value as the video segment corresponding to the evaluation information.
In an exemplary embodiment, the segment obtaining module 1030 is further configured to, in a process of playing the target video, obtain, in response to a comment operation for the target video, an image frame set corresponding to a current playing time, where the image frame set includes a first image frame that is currently played and surrounding image frames that have a time interval with the first image frame that is less than a threshold value; respectively carrying out event detection processing on each image frame in the image frame set, and determining events to which each image frame respectively belongs; and taking the first image frame as a reference, and determining a video segment formed by continuous image frames which are in the same event as the first image frame as a video segment corresponding to the evaluation information.
In an exemplary embodiment, as shown in fig. 11, the apparatus 1000 further includes: an image acquisition module 1050, an image processing module 1060, a tag determination module 1070, and a tag display module 1080.
The image acquisition module 1050 is configured to acquire each image frame included in the video clip corresponding to the comment information.
And an image processing module 1060, configured to perform object detection processing on each image frame, and determine an object included in the image frame.
The tag determining module 1070 is configured to determine a tag of the video clip based on a tag corresponding to the target object.
A tag display module 1080 for adding a tag of the video clip to the comment information.
In summary, according to the technical scheme provided by the embodiment of the application, comment information is associated with a video clip, so that a subsequent user can intuitively view the video clip corresponding to the comment information.
Referring to fig. 12, a block diagram of a terminal 1200 according to an embodiment of the present application is shown. The terminal 1200 may be an electronic device such as a cell phone, tablet computer, game console, electronic book reader, multimedia playing device, wearable device, PC, etc. The terminal is used for implementing the control method of the virtual object provided in the embodiment. The terminal may be the terminal 10 in the game execution environment shown in fig. 1. Specifically, the present invention relates to a method for manufacturing a semiconductor device.
In general, the terminal 1200 includes: a processor 1201 and a memory 1202.
Processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1201 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1201 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1201 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and rendering of content required to be displayed by the display screen. In some embodiments, the processor 1201 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 1202 may include one or more computer-readable storage media, which may be non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer-readable storage medium in memory 1202 is used to store at least one instruction, at least one program, set of codes, or set of instructions configured to be executed by one or more processors to implement the video comment methods described above.
In some embodiments, the terminal 1200 may further optionally include: a peripheral interface 1203, and at least one peripheral. The processor 1201, the memory 1202, and the peripheral interface 1203 may be connected by a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 1203 via buses, signal lines, or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1204, a display 1205, a camera assembly 1206, audio circuitry 1207, a positioning assembly 1208, and a power supply 1209.
It will be appreciated by those skilled in the art that the structure shown in fig. 12 is not limiting and that more or fewer components than shown may be included or certain components may be combined or a different arrangement of components may be employed.
In an exemplary embodiment, there is also provided a computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes or a set of instructions, which when executed by a processor of a terminal, implement the above-mentioned video playing method or the above-mentioned video commentary method.
Alternatively, the computer-readable storage medium may include: ROM (Read Only Memory), RAM (Random Access Memory ), SSD (Solid State Drives, solid state disk), or optical disk, or the like. The random access memory may include ReRAM (Resistance Random Access Memory, resistive random access memory) and DRAM (Dynamic Random Access Memory ), among others.
In an exemplary embodiment, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the server reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the terminal executes the video playing method or the video commentary method.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. In addition, the step numbers described herein are merely exemplary of one possible execution sequence among steps, and in some other embodiments, the steps may be executed out of the order of numbers, such as two differently numbered steps being executed simultaneously, or two differently numbered steps being executed in an order opposite to that shown, which is not limiting.
The foregoing description of the exemplary embodiments of the present application is not intended to limit the invention to the particular embodiments disclosed, but on the contrary, the intention is to cover all modifications, equivalents, alternatives, and alternatives falling within the spirit and scope of the invention.

Claims (9)

1. A video playing method, the method comprising:
displaying a playing interface of a target video, wherein the playing interface comprises a playing progress bar of the target video;
in the process of playing the target video, responding to comment operation on the target video, acquiring an image frame set corresponding to the current playing time, wherein the image frame set comprises a first image frame which is currently played and surrounding image frames, the time interval between the surrounding image frames and the first image frame is smaller than a threshold value, and the comment operation is used for inputting comment information in a comment editing interface;
respectively carrying out image detection processing on each image frame in the image frame set, and determining scene similarity between each image frame and the first image frame;
taking the first image frame as a reference, determining a video segment formed by continuous image frames with the scene similarity larger than a target value as a video segment corresponding to the evaluation information;
For target comment information, determining a fragment position of a target video fragment in the playing progress bar according to a playing time period of the target video fragment in the target video, wherein the target comment information is any comment information in at least one comment information, and the target video fragment is a video fragment corresponding to the target comment information in the target video;
determining the display position of the target comment information based on the segment position of the target video segment;
responding to the target video segment with a plurality of pieces of comment information, and acquiring at least one piece of candidate comment information of the target video segment;
screening the at least one piece of candidate comment information based on the quality evaluation index of each piece of candidate comment information to obtain at least one piece of comment information to be displayed of the target video segment;
when the target video clip has a plurality of pieces of comment information to be displayed, based on the display position of the target comment information, switching and displaying the plurality of pieces of comment information to be displayed in a surrounding area of the playing progress bar by taking a second duration as a time interval;
receiving a video clip playing instruction aiming at target comment information in the at least one comment information;
And displaying segment position marking information of the target video segment in the target video in the playing interface, wherein the segment position marking information is information determined by acquiring the starting time and the ending time corresponding to the target video segment.
2. The method of claim 1, wherein displaying segment position annotation information for the target video segment in the target video comprises:
acquiring a starting time and an ending time corresponding to the target video segment;
and taking the starting time as a starting point of the segment position, taking the ending time as an ending point of the segment position, and displaying the segment position marking information in the playing progress bar.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and displaying the comment information to be displayed under the condition that the target video clip has and only has one comment information to be displayed.
4. The method according to claim 1 or 2, wherein the target comment information includes a tag of the target video clip, and the tag has a correspondence with a video sub-clip included in the target video clip;
The method further comprises the steps of:
and responding to the selection operation of the target label of the target video segment, and playing the target video sub-segment corresponding to the target label.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
responding to a trigger operation of a playing progress bar of the target video, and acquiring a trigger position of the trigger operation;
acquiring a playing time corresponding to the triggering position;
determining that the playing interval comprises the designated video clips at the playing time according to the playing interval of each video clip of the target video;
and displaying comment information corresponding to the specified video clip.
6. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring each image frame contained in the video clip corresponding to the evaluation information;
performing target detection processing on each image frame respectively, and determining a target object contained in the image frame;
determining the label of the video clip based on the label corresponding to the target object;
and adding the label of the video clip in the comment information.
7. A video playback device, the device comprising:
The interface display module is used for displaying a playing interface of the target video, wherein the playing interface comprises a playing progress bar of the target video; in the process of playing the target video, responding to comment operation on the target video, acquiring an image frame set corresponding to the current playing time, wherein the image frame set comprises a first image frame which is currently played and surrounding image frames, the time interval between the surrounding image frames and the first image frame is smaller than a threshold value, and the comment operation is used for inputting comment information in a comment editing interface; respectively carrying out image detection processing on each image frame in the image frame set, and determining scene similarity between each image frame and the first image frame; taking the first image frame as a reference, determining a video segment formed by continuous image frames with the scene similarity larger than a target value as a video segment corresponding to the evaluation information;
the comment display module is used for determining the fragment position of a target video fragment in the playing progress bar according to the playing time period of the target video fragment in the target video for target comment information, wherein the target comment information is any comment information in at least one comment information, and the target video fragment is a video fragment corresponding to the target comment information in the target video; determining the display position of the target comment information based on the segment position of the target video segment; responding to the target video segment with a plurality of pieces of comment information, and acquiring at least one piece of candidate comment information of the target video segment; screening the at least one piece of candidate comment information based on the quality evaluation index of each piece of candidate comment information to obtain at least one piece of comment information to be displayed of the target video segment; when the target video clip has a plurality of pieces of comment information to be displayed, based on the display position of the target comment information, switching and displaying the plurality of pieces of comment information to be displayed in a surrounding area of the playing progress bar by taking a second duration as a time interval;
The indication receiving module is used for receiving a video clip playing indication aiming at target comment information in the at least one comment information;
the video playing module is used for displaying segment position marking information of the target video segment in the target video in the playing interface and playing the target video segment, wherein the segment position marking information is determined by acquiring the starting time and the ending time corresponding to the target video segment.
8. A terminal comprising a processor and a memory, wherein the memory stores at least one program, and wherein the at least one program is loaded and executed by the processor to implement the video playing method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein at least one program is stored in the computer-readable storage medium, and the at least one program is loaded and executed by a processor to implement the video playback method of any one of claims 1 to 6.
CN202110449950.2A 2021-04-25 2021-04-25 Video playing method, comment device, equipment and storage medium Active CN113194349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110449950.2A CN113194349B (en) 2021-04-25 2021-04-25 Video playing method, comment device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110449950.2A CN113194349B (en) 2021-04-25 2021-04-25 Video playing method, comment device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113194349A CN113194349A (en) 2021-07-30
CN113194349B true CN113194349B (en) 2023-06-13

Family

ID=76978730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110449950.2A Active CN113194349B (en) 2021-04-25 2021-04-25 Video playing method, comment device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113194349B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113905125B (en) * 2021-09-08 2023-02-21 维沃移动通信有限公司 Video display method and device, electronic equipment and storage medium
CN115119039A (en) * 2022-06-29 2022-09-27 北京奇艺世纪科技有限公司 Video playing system, method and device, electronic equipment and storage medium
CN115379284A (en) * 2022-07-15 2022-11-22 广州力天文化创意产业集团有限公司 Film playing method and device
CN115238125A (en) * 2022-07-22 2022-10-25 腾讯科技(深圳)有限公司 Data processing method and device, computer equipment and readable storage medium
CN115314747B (en) * 2022-08-02 2024-03-08 北京字跳网络技术有限公司 Method and device for controlling media content, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914464A (en) * 2012-12-31 2014-07-09 上海证大喜马拉雅网络科技有限公司 Streaming media based interactive display method and system of accompanied comments
CN107241622A (en) * 2016-03-29 2017-10-10 北京三星通信技术研究有限公司 video location processing method, terminal device and cloud server
CN108566518A (en) * 2018-03-29 2018-09-21 上海掌门科技有限公司 A kind of video editing, playback method, equipment and computer-readable medium
CN111901658A (en) * 2019-05-06 2020-11-06 腾讯科技(深圳)有限公司 Comment information display method and device, terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948732B (en) * 2017-12-04 2020-12-01 京东方科技集团股份有限公司 Video playing method, video playing device and video playing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914464A (en) * 2012-12-31 2014-07-09 上海证大喜马拉雅网络科技有限公司 Streaming media based interactive display method and system of accompanied comments
CN107241622A (en) * 2016-03-29 2017-10-10 北京三星通信技术研究有限公司 video location processing method, terminal device and cloud server
CN108566518A (en) * 2018-03-29 2018-09-21 上海掌门科技有限公司 A kind of video editing, playback method, equipment and computer-readable medium
CN111901658A (en) * 2019-05-06 2020-11-06 腾讯科技(深圳)有限公司 Comment information display method and device, terminal and storage medium

Also Published As

Publication number Publication date
CN113194349A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN113194349B (en) Video playing method, comment device, equipment and storage medium
US10271104B2 (en) Video play-based information processing method and system, client terminal and server
CN109005283B (en) Method, device, terminal and storage medium for displaying notification message
US11924485B2 (en) Method and system of displaying a video
CN109218750B (en) Video content retrieval method, device, storage medium and terminal equipment
CN108427589B (en) Data processing method and electronic equipment
JP5694890B2 (en) Gaze area data generation apparatus and operation method thereof
CN111726608A (en) Video stuck-in test method and device, electronic equipment and storage medium
CN111988670A (en) Video playing method and device, electronic equipment and computer readable storage medium
CN114756778A (en) Method, device, equipment and storage medium for page interaction
CN113556568B (en) Cloud application running method, system, device and storage medium
US20180032223A1 (en) Methods, systems, and media for presenting messages
CN111866403B (en) Video graphic content processing method, device, equipment and medium
CN109857907B (en) Video positioning method and device
CN113934481A (en) Notification information pushing method, intelligent terminal and storage medium
CN111859869A (en) Questionnaire editing method and device, electronic equipment and storage medium
CN113419798B (en) Content display method, device, equipment and storage medium
CN113515336B (en) Live room joining method, creation method, device, equipment and storage medium
CN113709565B (en) Method and device for recording facial expression of watching video
CN113535018B (en) Human-computer interaction method and device for evaluating cognitive speed
CN110764676B (en) Information resource display method and device, electronic equipment and storage medium
CN114357202A (en) Tutorial data display method and device, computer equipment and storage medium
CN113965795A (en) Anchor interaction display method and device
CN112988005A (en) Method for automatically loading captions
US20220362668A1 (en) Information display method and apparatus, terminal, storage medium, and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40047476

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant