CN111131901B - Method, apparatus, computer device and storage medium for processing long video data - Google Patents

Method, apparatus, computer device and storage medium for processing long video data Download PDF

Info

Publication number
CN111131901B
CN111131901B CN201911236721.1A CN201911236721A CN111131901B CN 111131901 B CN111131901 B CN 111131901B CN 201911236721 A CN201911236721 A CN 201911236721A CN 111131901 B CN111131901 B CN 111131901B
Authority
CN
China
Prior art keywords
current
video
point location
mode
information
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
CN201911236721.1A
Other languages
Chinese (zh)
Other versions
CN111131901A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201911236721.1A priority Critical patent/CN111131901B/en
Publication of CN111131901A publication Critical patent/CN111131901A/en
Application granted granted Critical
Publication of CN111131901B publication Critical patent/CN111131901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The present application relates to a method, apparatus, computer device and storage medium for processing long video data. The method comprises the following steps: acquiring a playing point position of a video; when the playing point location of the video is located at the current preset point location, obtaining current label information of a current segment corresponding to the current preset point location, wherein the current label information is determined according to evaluation information obtained by evaluating the current segment by a user; and acquiring the play mode of the current segment according to the current label information to obtain the target play mode of the current segment. The video label determined by the marking information of the video by other users is real, namely the corresponding plot in the video clip can be reflected really, and the user selects the corresponding playing mode to play the video clip according to the real plot, so that the watching experience of the user is improved.

Description

Method, apparatus, computer device and storage medium for processing long video data
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing long video data, a computer device, and a storage medium.
Background
When users watch videos such as cartoons, TV shows, movies and the like, the users can have favorite plots and unpleasant plot plots, and different users have different feelings on the same plots. Each user can adopt different playing modes according to different plot plots, for example, for an unpleasant plot the user can directly skip or play at a faster speed, and for a plot that the user likes, the user can play at a normal playing speed or a slower speed, and so on. To adjust the play mode according to the requirement, the scenario needs to be known in advance, and the scenario is known in advance at present: two ways of seeing episode brief introduction and barrage reminding in advance. The episode introduction is to summarize the whole video, and the specific scenarios corresponding to each video segment in the whole video cannot be known by adopting the episode introduction mode; the plot of each video segment in the whole video cannot be mastered in advance, so that the conversion time of the playing mode is influenced, and the watching experience of a user is influenced.
Disclosure of Invention
In order to solve the above technical problem, the present application provides a method, an apparatus, a computer device, and a storage medium for processing long video data.
In a first aspect, the present application provides a method for processing long video data, comprising:
acquiring a playing point position of a video;
when the playing point location of the video is located at the current preset point location, obtaining current label information of a current segment corresponding to the current preset point location, wherein the current label information is determined according to evaluation information obtained by evaluating the current segment by a user;
acquiring a play mode of a current segment according to the current label information to obtain a target play mode of the current segment;
acquiring a current play mode to obtain a first play mode;
when the first playing mode is different from the target playing mode, generating a first switching instruction for switching the first playing mode to the target playing mode;
and when the playing point location is located at the starting point location of the video clip, executing a first switching instruction to enable the current playing mode to be the target playing mode.
In a second aspect, the present application provides an apparatus for processing long video data, comprising:
the point location acquisition module is used for acquiring the playing point location of the video;
the system comprises a tag information acquisition module, a video processing module and a video processing module, wherein the tag information acquisition module is used for acquiring current tag information of a current segment corresponding to a current preset point location when the play point location of the video is located at the current preset point location, and the current tag information is determined according to evaluation information obtained by evaluating the current segment by a user;
the target playing mode obtaining module is used for obtaining the playing mode of the current segment according to the current label information to obtain the target playing mode of the current segment;
the current playing mode obtaining module is used for obtaining a current playing mode to obtain a first playing mode;
the command generation module is used for generating a first switching command for switching the first play mode to the target play mode when the first play mode is different from the target play mode;
and the mode switching module is used for executing a first switching instruction when the playing point location is located at the starting point location of the video clip, so that the current playing mode is the target playing mode.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring a playing point position of a video;
when the playing point location of the video is located at the current preset point location, obtaining current label information of a current segment corresponding to the current preset point location, wherein the current label information is determined according to evaluation information obtained by evaluating the current segment by a user;
acquiring a play mode of a current segment according to the current label information to obtain a target play mode of the current segment;
acquiring a current play mode to obtain a first play mode;
when the first playing mode is different from the target playing mode, generating a first switching instruction for switching the first playing mode to the target playing mode;
and when the playing point location is located at the starting point location of the video clip, executing a first switching instruction to enable the current playing mode to be the target playing mode.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a playing point position of a video;
when the playing point location of the video is located at the current preset point location, obtaining current label information of a current segment corresponding to the current preset point location, wherein the current label information is determined according to evaluation information obtained by evaluating the current segment by a user;
acquiring a play mode of a current segment according to the current label information to obtain a target play mode of the current segment;
acquiring a current play mode to obtain a first play mode;
when the first playing mode is different from the target playing mode, generating a first switching instruction for switching the first playing mode to the target playing mode;
and when the playing point location is located at the starting point location of the video clip, executing a first switching instruction to enable the current playing mode to be the target playing mode.
The method, the device, the computer equipment and the storage medium for processing the long video data comprise the following steps: acquiring a playing point position of a video; when the playing point location of the video is located at the current preset point location, obtaining current label information of a current segment corresponding to the current preset point location, wherein the current label information is determined according to evaluation information obtained by evaluating the current segment by a user; acquiring a play mode of a current segment according to the current label information to obtain a target play mode of the current segment; acquiring a current play mode to obtain a first play mode; when the first playing mode is different from the target playing mode, generating a first switching instruction for switching the first playing mode to the target playing mode; and when the playing point location is located at the starting point location of the video clip, executing a first switching instruction to enable the current playing mode to be the target playing mode. The video label determined by the marking information of the video by other users is real, namely the corresponding plot in the video clip can be reflected really, and the user selects the corresponding playing mode to play the video clip according to the real plot, so that the watching experience of the user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a diagram of an application environment for a method of processing long video data according to one embodiment;
FIG. 2 is a flow diagram that illustrates a method for processing long video data, according to one embodiment;
FIG. 3 is a block diagram of an apparatus for processing long video data according to one embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a diagram of an application environment of a method for processing long video data according to an embodiment. Referring to fig. 1, the method of processing long video data is applied to a system for processing long video data. The system for processing long video data includes a terminal 110 and a server 120. The terminal 110 and the server 120 are connected through a network. The method includes the steps that a server 120 issues a video, a terminal 110 obtains a playing point location of the video, when the playing point location of the video is located at a current preset point location, current label information of a current segment corresponding to the current preset point location is obtained, the current label information is determined according to evaluation information obtained by a user evaluating the current segment, a playing mode of the current segment is obtained according to the current label information, a target playing mode of the current segment is obtained, the current playing mode is obtained, a first playing mode is obtained, when the first playing mode is different from the target playing mode, a first switching instruction used for switching the first playing mode to the target playing mode is generated, and when the playing point location is located at an initial point location of the video segment, the first switching instruction is executed to enable the current playing mode to be the target playing mode.
The terminal 110 may be a desktop terminal or a mobile terminal, and the mobile terminal may be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a method of processing long video data is provided. The embodiment is mainly illustrated by applying the method to the terminal 110 in fig. 1. Referring to fig. 2, the method for processing long video data specifically includes the following steps:
step S201, acquiring a play point location of the video.
Step S202, when the playing point location of the video is located at the current preset point location, obtaining the current label information of the current segment corresponding to the current preset point location.
In this embodiment, the current tag information is determined according to evaluation information obtained by evaluating the current segment by the user.
Specifically, the play point location refers to the progress information of the video being played. The current preset point position refers to the preset progress information in the video, and the progress information is the video progress information determined by counting the evaluation information of the video watched by the user. One long video data may contain one or more preset points. The current segment refers to a video segment corresponding to the current preset point location. The current tag information is tag information for identifying a current section, wherein the current tag information is tag information for the current section determined by counting rating information of the video viewed by the user. The evaluation information refers to information obtained by evaluating videos when users watch the videos, wherein the evaluation information can be obtained by selecting a video start point and an end point corresponding to an evaluated video segment and selecting or writing an evaluation tag for each video segment.
Step S203, obtaining the play mode of the current segment according to the current tag information, and obtaining the target play mode of the current segment.
Step S204, a current playing mode is obtained, and a first playing mode is obtained.
Specifically, the play mode refers to a play mode of playing the video, including but not limited to skip, double speed play, normal play mode, and the like. The skipping mode is to skip the video segment directly, the double-speed playing mode comprises slow playing and fast playing, the slow playing is a playing mode with a speed lower than a normal playing speed, and the fast playing is a playing mode with a speed higher than the normal playing speed. Different video tags can correspond different play modes, and each user can set the play mode corresponding to each video tag in a user-defined manner. If the video label is a video clip of advertisement, bloody smell and horror, skipping or double-speed playing can be set. The playing mode of the current clip refers to a preset playing mode for playing the current clip, or a playing mode selected by the user according to the current tag information for playing the current clip, so as to obtain a target playing mode. The current play mode refers to a play mode in which a video is being played, i.e., a first play mode.
In step S205, when the first playing mode is different from the target playing mode, a first switching instruction for switching the first playing mode to the target playing mode is generated.
In step S206, when the play point is located at the start point of the video segment, a first switch instruction is executed to make the current play mode be the target play mode.
Specifically, whether the first playing mode is the same as the target playing mode or not is judged, if not, the playing mode needs to be switched, and a first switching instruction for switching the first playing mode to the target playing mode is generated. The generation time of the first switching instruction is that the playing point is located before the real point. And when the playing point location is at the start point location of the video clip, executing a first switching instruction, and realizing the conversion of the playing mode through the first switching instruction, namely, playing the video clip by adopting a target playing mode between the start point location of the video clip and the corresponding stop point location of the video clip. Otherwise, the first playing mode is the same as the target playing mode, and the video is continuously played in the first playing mode.
The method for processing the long video data comprises the following steps: acquiring a playing point position of a video; when the playing point location of the video is located at the current preset point location, obtaining current label information of a current segment corresponding to the current preset point location, wherein the current label information is determined according to evaluation information obtained by evaluating the current segment by a user; and acquiring the play mode of the current segment according to the current label information to obtain the target play mode of the current segment. The video label determined by the marking information of the video by other users is real, namely the corresponding plot in the video clip can be reflected really, and the user selects the corresponding playing mode to play the video clip according to the real plot, so that the watching experience of the user is improved.
In one embodiment, a second switching instruction for switching the target play mode to the first play mode is generated; and executing a second switching instruction when the playing point location is located at the end point location of the video clip.
Specifically, when the video playing progress reaches the ending point of the video segment, the video segment corresponding to the target playing mode is already ended, and the video needs to be switched back to the original playing mode, that is, the video is switched from the target playing mode to the first playing mode, that is, the switching is realized by adopting the second switching instruction. The generation time of the second switching instruction may be a point where the play point is located before the end point, such as 1 second or 2 seconds before the end point. And executing the second switching instruction at the time point that the play point is positioned at the end point. Therefore, the instruction is generated firstly, and the switching is executed at the appointed time, namely, the switching is executed at the cut-off point position, so that the switching can be quickly realized.
In one embodiment, when the user manually changes the video progress, according to the play mode corresponding to each video clip, it is determined whether the play mode of the point location corresponding to the progress before the change is consistent with the play mode of the point location corresponding to the progress after the change, and if not, a corresponding switching instruction is generated to switch the play modes. If the video point A and the video point B are respectively corresponding to the mode A1 and the mode B1, a switching instruction for switching the playing mode from A1 to B1 is generated, and the switching instruction is executed to realize mode switching.
In one embodiment, candidate options corresponding to a plurality of play modes are displayed, a target option selected by a user from the candidate options according to the clip tag information is received, and the play mode corresponding to the target option is used as a target play mode of a video clip; or acquiring the playing mode corresponding to the fragment tag information according to the preset corresponding relation between the fragment tag information and the playing mode to obtain the target playing mode of the video fragment.
Specifically, when determining the target play mode, the user may select in real time, or may set in advance a play mode corresponding to each clip tag information. When the user adopts a real-time selection mode, receiving a plurality of options for playing the current playing mode, namely the options are candidate options, selecting one option from the candidate options as a target option by the user, and taking the playing mode corresponding to the target option as the target playing mode of the video clip. The user may refer to other users or evaluation information of the video by himself when selecting the candidate option, for example, when the other users consider the video segment to be an advertisement segment or a horror segment, and the user does not want to watch the video segment of this type, the user may select to skip or fast play the video segment as a target play mode, and if the user prefers the video segment of this type, the user may select a slow play mode or the like as the target play mode. When a user adopts a pre-configuration mode, namely a play mode corresponding to each piece of clip tag information is configured in advance, when the piece of clip tag information corresponding to each video is obtained, the corresponding relation between each piece of clip tag information and the play mode is directly configured in advance, the play mode corresponding to the piece of clip tag information is searched, and a target play mode is obtained.
In an embodiment, at least one preset point location obtained by analyzing a plurality of watching logs of watching videos and segment label information of a video segment corresponding to each preset point location are received, wherein the watching logs include user evaluation information and corresponding video progress information, the user evaluation information and the corresponding video progress information are counted to obtain label information of each video segment, and each preset point location is calculated according to the segment label information and preset point location setting rules.
In one implementation, after obtaining the current tag information of the current segment corresponding to the current preset point location, the method further includes: displaying progress bar mark information corresponding to the current segment, and displaying segment label information of the current segment when receiving preset operation of a user; or displaying progress bar mark information and segment label information corresponding to the current segment.
Specifically, the progress marking information is used for marking progress, such as marking progress positions on the presentation page with red or yellow. The preset operation is an operation for triggering the segment tag information corresponding to the display mark information, wherein the preset operation is a common interactive operation, such as a click operation, a slide operation, a circle drawing operation, and the like, and can be specifically set according to a requirement. And when detecting that the user performs the prediction operation in the preset area, displaying the fragment tag information of the current fragment. Or directly displaying the current tag information of the current segment corresponding to the current preset point, namely displaying the progress bar mark information and the segment tag information corresponding to the current segment.
In a particular embodiment, a method of processing long video data includes:
and step S301, reporting the label.
And collecting video watching behavior data of the user through the client log, and collecting a video segment sample which the user may feel disliked (such as collecting a video segment which is skipped by a user sliding a progress bar). The reason why the segments are possibly skipped or played repeatedly is summarized by analyzing the segment samples offline, such as 'draw the plot', 'advertisement', 'embarrassment', 'soft pornography', 'burn the brain', 'urine point', and the like.
Client online video tags and corresponding progress prompt and active marking functions-when the client detects that the user slides the progress bar backwards, the client is reminded whether to mark the segment as a plurality of tags counted in the above.
Step S302, the segment mark reminds and displays.
Reminding in the process of watching, when a user who does not watch a video watches the video, when a progress point a is watched, and a segment marked as a certain mark by a plurality of users exists from a progress point b to a progress point c which are 10 seconds (enough time for the user to react) after the progress point a, a progress bar emerges at the point a, points b and c are identified in the progress bar, and the user is reminded by a tips text box which does not influence the watching of the user to a small extent, such as 'the segment is marked as advertisement placement by xx-position users'.
Showing the progress bar when the progress bar is not hidden, namely when a user just enters a certain video cross-screen playing page or clicks a screen in the cross-screen playing process, the progress bar shows that a certain segment once marked by a plurality of users is in other colors in the progress bar, and when the user clicks the segment, the user is reminded through tips text boxes, for example, "the segment is marked as advertisement implantation by xx users".
Step S303, skipping of the mark segment:
active skip-when a user views a segment marked by other users, when the client detects that the user actively slides the progress backwards in the segment, the client assists the user to automatically lock the progress to the end position of the marked segment.
Automatic skipping-the user can preset at the client, turn on the "automatic skipping mark segment" switch, and select the label to be skipped automatically, such as selecting the "soft pornography" and "advertisement placement" labels. And then, when the user views the two labels marked by more people, the skipping is automatically carried out without manual operation. And alerts the user after skipping that the segment marked as soft pornography by the xx user has been skipped.
By marking of the user, more accurate dimension data which can be referred to is obtained. A large number of users can obtain more complete and sufficient algorithms and machine learning materials for the marking data of the video. The user can automatically set the video data to be skipped, and the user experience is improved.
Fig. 2 is a flow diagram illustrating a method for processing long video data according to one embodiment. It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 3, there is provided an apparatus 200 for processing long video data, comprising:
a point location obtaining module 201, configured to obtain a playing point location of the video.
The tag information obtaining module 202 is configured to, when the playing point location of the video is located at the current preset point location, obtain current tag information of a current segment corresponding to the current preset point location, where the current tag information is determined according to evaluation information obtained by evaluating the current segment by a user.
And the target play mode obtaining module 203 is configured to obtain the play mode of the current segment according to the current tag information, and obtain the target play mode of the current segment.
The current playing mode obtaining module 204 is configured to obtain a current playing mode to obtain a first playing mode.
The instruction generating module 205 is configured to generate a first switching instruction for switching the first play mode to the target play mode when the first play mode is different from the target play mode.
The mode switching module 206 is configured to execute a first switching instruction when the playback point location is located at the start point location of the video segment, so that the current playback mode is the target playback mode.
In one embodiment, the instruction generating module 205 is further configured to generate a second switching instruction for switching the target play mode to the first play mode.
The mode switching module 206 is further configured to execute a second switching instruction when the playback point location is located at the end point location of the video segment.
In an embodiment, the target play mode obtaining module 202 is specifically configured to show candidate options corresponding to multiple play modes, receive a target option selected by a user from the candidate options according to the clip tag information, and use a play mode corresponding to the target option as a target play mode of the video clip.
The target playing mode obtaining module 202 is further configured to obtain, according to the preset corresponding relationship between the clip tag information and the playing mode, a playing mode corresponding to the clip tag information, so as to obtain a target playing mode of the video clip.
In an embodiment, the apparatus 200 for processing long video data further includes:
the data receiving module is used for receiving at least one preset point location obtained by analyzing a plurality of watching logs of watching videos and fragment label information of a video fragment corresponding to each preset point location, wherein the watching logs comprise user evaluation information and corresponding video progress information, the user evaluation information and the corresponding video progress information are counted to obtain the label information of each video fragment, and each preset point location is obtained by calculation according to the fragment label information and preset point location setting rules.
In an embodiment, the apparatus 200 for processing long video data further includes:
and the tag information display module is used for displaying the progress bar mark information corresponding to the current segment, and displaying the segment tag information of the current segment when receiving the preset operation of the user.
The tag information display module is further used for displaying progress bar marking information and segment tag information corresponding to the current segment.
FIG. 4 is a diagram that illustrates an internal structure of the computer device in one embodiment. The computer device may specifically be the terminal 110 in fig. 1. As shown in fig. 4, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected via a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program which, when executed by the processor, causes the processor to implement a method of processing long video data. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a method of processing long video data. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the apparatus for processing long video data provided herein may be implemented in the form of a computer program that is executable on a computer device such as that shown in fig. 4. The memory of the computer device may store various program modules constituting the apparatus for processing long video data, such as the point location obtaining module 201, the tag information obtaining module 202, the target playing mode obtaining module 203, the current playing mode obtaining module 204, the instruction generating module 205, and the mode switching module 206 shown in fig. 3. The computer program constituted by the respective program modules causes the processor to execute the steps in the method of processing long video data of the embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 4 may execute the acquisition of the play point location of the video by the point location acquisition module 201 in the apparatus for processing long video data shown in fig. 3. The computer device may execute, by using the tag information obtaining module 202, obtaining current tag information of a current segment corresponding to a current preset point location when the play point location of the video is located at the current preset point location, where the current tag information is determined according to evaluation information obtained by evaluating the current segment by a user. The computer device can execute the playing mode of the current segment according to the current tag information through the target playing mode obtaining module 203, so as to obtain the target playing mode of the current segment. The computer device may execute, by the current play mode obtaining module 204, obtaining the current play mode to obtain the first play mode. The computer device may execute, by the instruction generating module 205, when the first play mode is different from the target play mode, generating a first switching instruction for switching the first play mode to the target play mode. The computer device may execute, through the mode switching module 206, the first switching instruction when the play point location is at the start point location of the video segment, so that the current play mode is the target play mode.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring a playing point position of a video; when the playing point location of the video is located at the current preset point location, obtaining current label information of a current segment corresponding to the current preset point location, wherein the current label information is determined according to evaluation information obtained by evaluating the current segment by a user; acquiring a play mode of a current segment according to the current label information to obtain a target play mode of the current segment; acquiring a current play mode to obtain a first play mode; when the first playing mode is different from the target playing mode, generating a first switching instruction for switching the first playing mode to the target playing mode; and when the playing point location is located at the starting point location of the video clip, executing a first switching instruction to enable the current playing mode to be the target playing mode.
In one embodiment, the processor, when executing the computer program, further performs the steps of: generating a second switching instruction for switching the target play mode to the first play mode; and executing a second switching instruction when the playing point location is located at the end point location of the video clip.
In one embodiment, obtaining a play mode of a video clip according to the clip tag information to obtain a target play mode of the video clip includes: displaying candidate options corresponding to the plurality of playing modes, receiving a target option selected by a user from the candidate options according to the fragment tag information, and taking the playing mode corresponding to the target option as a target playing mode of the video fragment; or acquiring the playing mode corresponding to the fragment label information according to the preset corresponding relation between the fragment label information and the playing mode to obtain the target playing mode of the video fragment.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving at least one preset point location sent by a server according to a plurality of watching logs of watching videos and fragment label information of video fragments corresponding to each preset point location, wherein the watching log information comprises user evaluation information and corresponding video progress information, counting the user evaluation information and the corresponding video progress information to obtain the label information of each video fragment, and calculating to obtain each preset point location according to the fragment label information and preset point location setting rules.
In one embodiment, after obtaining the current tag information of the current segment corresponding to the current preset point location, the processor further implements the following steps when executing the computer program: displaying progress bar mark information corresponding to the current segment, and displaying segment label information of the current segment when receiving preset operation of a user; or displaying progress bar mark information and segment label information corresponding to the current segment.
In one embodiment, the target playback mode is a mode that includes skip or multiple playback.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a playing point position of a video; when the playing point location of the video is located at the current preset point location, obtaining current label information of a current segment corresponding to the current preset point location, wherein the current label information is determined according to evaluation information obtained by evaluating the current segment by a user; acquiring a play mode of a current segment according to the current label information to obtain a target play mode of the current segment; acquiring a current play mode to obtain a first play mode; when the first playing mode is different from the target playing mode, generating a first switching instruction for switching the first playing mode to the target playing mode; and when the playing point location is located at the starting point location of the video clip, executing a first switching instruction to enable the current playing mode to be the target playing mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: generating a second switching instruction for switching the target play mode to the first play mode; and executing a second switching instruction when the playing point location is located at the end point location of the video clip.
In one embodiment, obtaining a play mode of a video clip according to the clip tag information to obtain a target play mode of the video clip includes: displaying candidate options corresponding to the plurality of playing modes, receiving a target option selected by a user from the candidate options according to the fragment tag information, and taking the playing mode corresponding to the target option as a target playing mode of the video fragment; or acquiring the playing mode corresponding to the fragment tag information according to the preset corresponding relation between the fragment tag information and the playing mode to obtain the target playing mode of the video fragment.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving at least one preset point location which is sent by a server and obtained according to analysis of a plurality of watching logs of watching videos and segment label information of video segments corresponding to the preset point locations, wherein the watching log information comprises user evaluation information and corresponding video progress information, counting the user evaluation information and the corresponding video progress information to obtain the label information of each video segment, and calculating to obtain each preset point location according to the segment label information and preset point location setting rules.
In one embodiment, after obtaining the current tag information of the current segment corresponding to the current preset point location, the computer program when executed by the processor further implements the following steps: displaying progress bar mark information corresponding to the current segment, and displaying segment label information of the current segment when receiving preset operation of a user; or displaying progress bar mark information and segment label information corresponding to the current segment.
In one embodiment, the target playback mode is a mode that includes skip or multiple playback.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely illustrative of particular embodiments of the invention that enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of processing long video data, the method comprising:
acquiring a playing point position of a video;
when the playing point location of the video is located at a current preset point location, obtaining current label information of a current segment corresponding to the current preset point location, wherein the current label information is determined according to evaluation information obtained by evaluating the current segment by a user;
acquiring the playing mode of the current segment according to the current label information to obtain a target playing mode of the current segment;
acquiring a current play mode to obtain a first play mode;
when the first playing mode is different from the target playing mode, generating a first switching instruction for switching the first playing mode to the target playing mode;
when the playing point location is located at the starting point location of the video clip, executing the first switching instruction to enable the current playing mode to be the target playing mode;
after executing the first switching instruction, the method further comprises: when the operation of the user for sliding the progress bar backwards is detected, generating and displaying reminding information, wherein the reminding information is used for reminding the user of marking a video label on a video segment skipped by the operation of the user for sliding the progress bar backwards;
and when detecting that the user actively slides the progress bar backwards in the video clip, automatically locking the progress bar to the end position of the video label marked by the video clip.
2. The method of claim 1, further comprising:
generating a second switching instruction for switching the target play mode to the first play mode;
and when the playing point location is located at the end point location of the video clip, executing the second switching instruction.
3. The method according to claim 1, wherein the obtaining the playback mode of the video clip according to the clip tag information to obtain the target playback mode of the video clip comprises:
displaying candidate options corresponding to a plurality of playing modes, receiving a target option selected by a user from the candidate options according to the clip tag information, and taking the playing mode corresponding to the target option as a target playing mode of the video clip; or
And acquiring the playing mode corresponding to the fragment label information according to the preset corresponding relation between the fragment label information and the playing mode to obtain the target playing mode of the video fragment.
4. The method according to any one of claims 1 to 3, further comprising:
receiving at least one preset point location and segment label information of a video segment corresponding to each preset point location, wherein the preset point location is obtained by analyzing a plurality of watching logs watching the video and the watching logs are sent by a server, the watching log information comprises user evaluation information and corresponding video progress information, the user evaluation information and the corresponding video progress information are counted to obtain each video segment label information, and each preset point location is obtained by calculation according to the segment label information and preset point location setting rules.
5. The method according to claim 4, wherein after obtaining the current tag information of the current segment corresponding to the current preset point location, the method further comprises:
displaying progress bar mark information corresponding to the current segment, and displaying segment label information of the current segment when receiving preset operation of a user; or
And displaying the progress bar mark information and the fragment label information corresponding to the current fragment.
6. The method of claim 2, wherein the target playback mode is skip or multiple playback.
7. An apparatus for processing long video data, the apparatus comprising:
the point location acquisition module is used for acquiring the playing point location of the video;
the tag information acquisition module is used for acquiring current tag information of a current segment corresponding to a current preset point location when the play point location of the video is located at the current preset point location, wherein the current tag information is determined according to evaluation information obtained by evaluating the current segment by a user;
a target playing mode obtaining module, configured to obtain a playing mode of the current segment according to the current tag information, and obtain a target playing mode of the current segment;
the current playing mode obtaining module is used for obtaining a current playing mode to obtain a first playing mode;
an instruction generating module, configured to generate a first switching instruction for switching the first play mode to the target play mode when the first play mode is different from the target play mode;
the mode switching module is used for executing the first switching instruction when the playing point location is located at the starting point location of the video clip, so that the current playing mode is the target playing mode;
after executing the first switching instruction, the instruction generating module is further configured to: when the operation of the user for sliding the progress bar backwards is detected, generating and displaying reminding information, wherein the reminding information is used for reminding the user of marking a video label on a video segment skipped by the operation of the user for sliding the progress bar backwards;
and when detecting that the user actively slides the progress bar backwards in the video clip, automatically locking the progress bar to the end position of the video label marked by the video clip.
8. The apparatus of claim 7, wherein the apparatus comprises:
the data receiving module is configured to receive at least one preset point location obtained by analyzing a plurality of watching logs watching the video and segment tag information of a video segment corresponding to each preset point location, where the watching log information includes user evaluation information and corresponding video progress information, the user evaluation information and the corresponding video progress information are counted to obtain each piece of video segment tag information, and each preset point location is obtained by calculation according to the segment tag information and preset point location setting rules.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201911236721.1A 2019-12-05 2019-12-05 Method, apparatus, computer device and storage medium for processing long video data Active CN111131901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911236721.1A CN111131901B (en) 2019-12-05 2019-12-05 Method, apparatus, computer device and storage medium for processing long video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911236721.1A CN111131901B (en) 2019-12-05 2019-12-05 Method, apparatus, computer device and storage medium for processing long video data

Publications (2)

Publication Number Publication Date
CN111131901A CN111131901A (en) 2020-05-08
CN111131901B true CN111131901B (en) 2022-07-12

Family

ID=70497621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911236721.1A Active CN111131901B (en) 2019-12-05 2019-12-05 Method, apparatus, computer device and storage medium for processing long video data

Country Status (1)

Country Link
CN (1) CN111131901B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112153478B (en) * 2020-09-11 2022-03-08 腾讯科技(深圳)有限公司 Video processing method and video playing method
CN112995743B (en) * 2021-02-03 2023-01-24 上海哔哩哔哩科技有限公司 Video playing method and device
CN114979743B (en) * 2021-02-25 2024-01-16 腾讯科技(深圳)有限公司 Method, device, equipment and medium for displaying audiovisual works
CN117221625A (en) * 2021-03-16 2023-12-12 花瓣云科技有限公司 Video playing method, video client, video playing system and storage medium
CN113422998A (en) * 2021-05-21 2021-09-21 北京奇艺世纪科技有限公司 Method, device, equipment and storage medium for generating short video and note content
CN113949933B (en) * 2021-09-30 2023-08-22 卓尔智联(武汉)研究院有限公司 Playing data analysis method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8775163B1 (en) * 2013-03-15 2014-07-08 Rallee Selectable silent mode for real-time audio communication system
CN104618794A (en) * 2014-04-29 2015-05-13 腾讯科技(北京)有限公司 Method and device for playing video
CN104967908A (en) * 2014-09-05 2015-10-07 腾讯科技(深圳)有限公司 Video hot spot marking method and apparatus
CN107277593A (en) * 2017-05-05 2017-10-20 中广热点云科技有限公司 With screen video broadcasting method and device
CN107995523A (en) * 2017-12-21 2018-05-04 广东欧珀移动通信有限公司 Video broadcasting method, device, terminal and storage medium
CN110381364A (en) * 2019-06-13 2019-10-25 北京奇艺世纪科技有限公司 Video data handling procedure, device, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8718449B2 (en) * 2008-06-09 2014-05-06 Verizon Patent And Licensing Inc. Digital video recorder content filtering
US20120262484A1 (en) * 2011-04-12 2012-10-18 Kinesiocapture, Llc Motion Capture and Analysis at a Portable Computing Device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8775163B1 (en) * 2013-03-15 2014-07-08 Rallee Selectable silent mode for real-time audio communication system
CN104618794A (en) * 2014-04-29 2015-05-13 腾讯科技(北京)有限公司 Method and device for playing video
CN104967908A (en) * 2014-09-05 2015-10-07 腾讯科技(深圳)有限公司 Video hot spot marking method and apparatus
CN107277593A (en) * 2017-05-05 2017-10-20 中广热点云科技有限公司 With screen video broadcasting method and device
CN107995523A (en) * 2017-12-21 2018-05-04 广东欧珀移动通信有限公司 Video broadcasting method, device, terminal and storage medium
CN110381364A (en) * 2019-06-13 2019-10-25 北京奇艺世纪科技有限公司 Video data handling procedure, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于HTML5的视频传输技术研究";黄雄;《广东师范学院学报》;20141115;第20-25页 *

Also Published As

Publication number Publication date
CN111131901A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111131901B (en) Method, apparatus, computer device and storage medium for processing long video data
CN111010619A (en) Method, apparatus, computer device and storage medium for processing short video data
CN106649316B (en) Video pushing method and device
US10775968B2 (en) Systems and methods for analyzing visual content items
CN110740339B (en) Live content preview method and device
CN112969097B (en) Content playing method and device, and content commenting method and device
CN109660854B (en) Video recommendation method, device, equipment and storage medium
CN114095741B (en) Page display method and device, electronic equipment and storage medium
CN110889076B (en) Comment information publishing method, device, client, server, system and medium
US8954868B2 (en) Guided profile editing system
CN112445970B (en) Information recommendation method and device, electronic equipment and storage medium
CN112822560B (en) Virtual gift giving method, system, computer device and storage medium
CN114595016B (en) Comment information display method, comment information generation method, comment information display device, comment information generation device and electronic equipment
CN112784141B (en) Search result quality determination method, apparatus, storage medium and computer device
CN109120996B (en) Video information identification method, storage medium and computer equipment
US8903817B1 (en) Determining search relevance from user feedback
CN113194336A (en) Comment display method and device
CN110209944B (en) Stock analyst recommendation method and device, computer equipment and storage medium
CN115225921B (en) Live broadcast interactive control method, device, equipment and storage medium based on big data
Muise et al. Selectively localized: Temporal and visual structure of smartphone screen activity across media environments
US20160283075A1 (en) Information processing method, apparatus, and system
WO2021051744A1 (en) Dish recommendation method and apparatus, recommended content uploading method and apparatus, and electronic device
JP6194435B1 (en) Information processing system, information processing method, and information processing program
CN112073738A (en) Information processing method and device
CN113127684B (en) Short video generation method based on user interest and interactive behavior

Legal Events

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