CN111918112B - Video optimization method, device, storage medium and terminal - Google Patents

Video optimization method, device, storage medium and terminal Download PDF

Info

Publication number
CN111918112B
CN111918112B CN202010604107.2A CN202010604107A CN111918112B CN 111918112 B CN111918112 B CN 111918112B CN 202010604107 A CN202010604107 A CN 202010604107A CN 111918112 B CN111918112 B CN 111918112B
Authority
CN
China
Prior art keywords
video
current
user
playing
optimized
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
CN202010604107.2A
Other languages
Chinese (zh)
Other versions
CN111918112A (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.)
Peking University
Original Assignee
Peking University
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 Peking University filed Critical Peking University
Priority to CN202010604107.2A priority Critical patent/CN111918112B/en
Publication of CN111918112A publication Critical patent/CN111918112A/en
Application granted granted Critical
Publication of CN111918112B publication Critical patent/CN111918112B/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
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4532Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4667Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
    • 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/4781Games
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method, a device, a storage medium and a terminal for video optimization, wherein the method comprises the following steps: calculating the attention value of the current user to the current video according to the user data associated with the playing of the current video; determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value; optimizing a video to be optimized according to video key elements in preset conditions to obtain an optimized video; therefore, by adopting the embodiment of the application, the video to be optimized is optimized according to the video key elements in the preset conditions, so that the optimized video is obtained, and the following effects can be achieved: the video concerned by the user is optimized, and the video is accurately optimized, so that the obtained optimized video better conforms to the preference of the user, and the user experience is improved.

Description

Video optimization method, device, storage medium and terminal
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a method, an apparatus, a storage medium, and a terminal for video optimization.
Background
With the development of multimedia technology, short video technology is becoming more and more popular. The user shoots interesting things happening in daily life into a short video and uploads the short video to the platform, for example, a tremble or watermelon video. Due to the fact that the accurate recommendation algorithm is adopted for recommending the videos, different short videos can be recommended to users who may be interested in the current videos according to the recommendation algorithm adopted by the platform.
After the captured video is obtained, the video may have some common problems, such as video jitter due to hand jitter during the process of capturing the video by the user. Video jitter refers to the displacement between video frames, which affects the viewing effect of video and often deletes video segments with jitter. For example, when a user takes a video, the taken video is too dark due to dark indoor light, and the obtained video with a dark screen can be subjected to a brightening process to obtain a video after the brightening process.
According to the video optimization method, no user participates in the video optimization process, and the following steps cannot be achieved: accurate location to the video that the user is interested in, can't accomplish more: video optimization is performed on the positioned video, so that the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a video optimization method, a video optimization device, a storage medium and a terminal. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
In a first aspect, an embodiment of the present application provides a method for video optimization, where the method includes:
searching at least one video meeting a preset condition in a preset video library in response to a first instruction of a user;
sequentially sequencing and displaying the video identification of at least one video meeting the preset condition on a display screen of the current terminal equipment, wherein the video identification carries video content introduction information corresponding to the current video;
responding to a second instruction of a user to play at least one video meeting the preset condition in a playing area of the display screen;
calculating the attention value of the current user to the current video according to the user data associated with the playing of the current video;
determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value;
and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video.
In a second aspect, an embodiment of the present application provides an apparatus for video optimization, where the apparatus includes:
the searching module is used for responding to a first instruction of a user to search at least one video meeting a preset condition in a preset video library;
the display module is used for sequentially sequencing and displaying the video identification of at least one video meeting the preset condition on a display screen of the current terminal equipment, wherein the video identification carries video content introduction information corresponding to the current video;
the playing module is used for responding to a second instruction of a user to play at least one video meeting the preset condition in a playing area of the display screen;
the calculation module is used for calculating the attention value of the current user to the current video according to the user data associated with the playing of the current video;
the determining module is used for determining the current video as the video to be optimized under the condition that the attention value of the current video calculated by the calculating module is greater than or equal to a preset video attention threshold value;
and the optimization module is used for optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides a terminal, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the application, the attention value of the current user to the current video is calculated according to the user data associated with the playing of the current video; determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value; and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video. According to the method and the device, the attention value of the current user to the current video is calculated according to the user data associated with the playing of the current video; determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value; and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video, wherein the optimization can be achieved by: the video concerned by the user is optimized, and the video is accurately optimized, so that the obtained optimized video better conforms to the preference of the user, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
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.
Fig. 1 is a schematic flowchart of a method for video optimization according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an apparatus for video optimization according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
It should be understood that the described embodiments are only some embodiments of the invention, and 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 invention.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the existing video optimization method, no matter the video jitter caused by the hand jitter of a photographer is aimed at, video clips with the video jitter are deleted; or based on the fact that the shot picture is too dark due to dark light in the shooting room, brightening the shot video; according to the video optimization method, no user participates in the video optimization process, and the following steps cannot be achieved: accurate location to the video that the user is interested in, can't accomplish more: video optimization is performed on the positioned video, so that the user experience is poor. Therefore, the present application provides a method, an apparatus, a storage medium, and a terminal for video optimization to solve the above-mentioned problems in the related art. According to the technical scheme, the attention value of the current user to the current video is calculated according to the user data associated with the playing of the current video; determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value; and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video. According to the method and the device, the attention value of the current user to the current video is calculated according to the user data associated with the playing of the current video; determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value; and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video, wherein the optimization can be achieved by: the video concerned by the user is optimized, and the video is accurately optimized, so that the obtained optimized video better conforms to the preference of the user, the user experience is improved, and the following description is given in detail by adopting an exemplary embodiment.
The method for video optimization provided by the embodiment of the present application will be described in detail below with reference to fig. 1. The method for video optimization can be realized by relying on a computer program, and can run on a video optimization device. The computer program may be integrated into the application or may run as a separate tool-like application. The video optimization apparatus in the embodiment of the present application may be a user terminal, including but not limited to: personal computers, tablet computers, handheld devices, in-vehicle devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and the like. The user terminals may be called different names in different networks, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, Personal Digital Assistant (PDA), terminal equipment in a 5G network or future evolution network, and the like.
Referring to fig. 1, a flow chart of a method for video optimization is provided according to an embodiment of the present application. As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, at least one video meeting preset conditions is searched in a preset video library in response to a first instruction of a user.
In this step, the first instruction is used for automatically searching at least one video meeting the preset condition in a preset video library.
The preset condition includes at least one of:
the video key elements comprise video topics corresponding to the preference degrees of the current users, video keywords corresponding to the preference degrees of the current users and video key elements corresponding to the preference degrees of the current users.
Further, the video key elements include at least one of: the subject character element of the current video, the subject article element of the current video, the subject pet element of the current video, and the subject plant element of the current video. The preset conditions are only lists, and may also be preset conditions including other contents, which are not described in detail herein.
In practical application, when the first command is: the video topics searched in the preset video library are as follows: and recording by the tomb stealing pen, so that all TV plays and movies related to the tomb stealing notes are searched in a preset video library according to the video theme.
In this step, the preset video library is often various video platforms, such as love art, Tencent video, Youku, potato web, etc., and there is no limitation on the type and number of videos in the preset video library. The more the types and the number of the videos in the preset video library are, the more videos meeting the preset conditions can be searched.
In a possible implementation manner, before searching for at least one video meeting a preset condition in a preset video library in response to a first instruction of a user, the method further includes the following steps:
reading preset conditions, wherein the preset conditions at least comprise one of the following items:
video topics corresponding to the preference degrees of the current users, video keywords corresponding to the preference degrees of the current users and video key elements corresponding to the preference degrees of the current users;
the video key elements include at least one of: the subject character element of the current video, the subject article element of the current video, the subject pet element of the current video, and the subject plant element of the current video. The preset conditions are only lists, and may also be preset conditions including other contents, which are not described in detail herein.
In practical application, when the video theme corresponding to the user preference is: when the movie is sunounded, at least one video meeting preset conditions is searched in a preset video library in response to a first instruction of a user, wherein the at least one video meets the preset conditions: a movie from a director of a planet, or a movie from a lead actor of a planet.
S102, sequentially sequencing and displaying the video identification of at least one video meeting the preset condition on a display screen of the current terminal equipment, wherein the video identification carries video content introduction information corresponding to the current video.
In this step, in order to facilitate a user to quickly and accurately know the content of the current video through the video identifier corresponding to the video, the video identifier carries the video content introduction information corresponding to the current video. The introduction information at least includes: the first introduction information corresponding to the story line of the current video, the second introduction information corresponding to each pivot character in the current video, the third introduction information corresponding to each pivot character in the current video, and the like, wherein the above description lists only the common video content introduction information, and may also have other video content introduction information, and the description is omitted here.
In this step, the current terminal device may be a mobile phone of the user, or a tablet computer of the user, or a notebook computer of the user, or a desktop computer of the user, etc.
S103, responding to a second instruction of the user, and playing at least one video meeting the preset condition in the playing area of the display screen.
In this step, the second instruction is used for playing at least one video meeting the preset condition in the playing area of the display screen.
The preset condition includes at least one of:
the video key elements comprise video topics corresponding to the preference degrees of the current users, video keywords corresponding to the preference degrees of the current users and video key elements corresponding to the preference degrees of the current users.
Further, the video key elements include at least one of: the subject character element of the current video, the subject article element of the current video, the subject pet element of the current video, and the subject plant element of the current video. The preset conditions are only lists, and may also be preset conditions including other contents, which are not described in detail herein.
The display screen also comprises a game area, the game area is arranged in the central area of the display screen, the play area is arranged around the central area, the play area comprises a first play area arranged on the upper part of the central area, a second play area arranged on the lower part of the central area, a third play area arranged on the left side of the central area and a fourth play area arranged on the right side of the central area, and the step of playing at least one video meeting the preset conditions in the play area of the display screen in response to a second instruction of a user comprises the following steps:
and when the number of at least one video meeting the preset condition is two or more, randomly selecting a playing area matched with the number of the videos in the playing area and playing the videos.
In practical application, the screen of the current terminal device is divided into the game area and each playing area, so that the user can conveniently play games while watching videos, and the user experience is improved.
In this step, the video played in the playing area may not only be a video on a video platform such as an arcade game, but also be a game attack video associated with a game currently played by the user, especially a game attack video of a senior game, so that the user can watch the game attack video while watching the game, the game attack video is smoothly passed through, and the user experience is improved.
And S104, calculating the attention value of the current user to the current video according to the user data associated with the playing of the current video.
In this step, the user data includes at least one of:
the method comprises the following steps of obtaining time length data of a current video, comment data of the current video, recommendation data of a current video, frequency data of the current video played by the current user, integrity data of the current video played by the current user and playing speed data of the current video played by the current user. The above lists only common user data, and other user data may also be introduced according to the requirements of different application scenarios, which is not described herein again.
In one possible implementation, calculating the attention value of the current user to the current video according to the user data associated with playing the current video includes the following steps:
and calculating the attention value of the current user to the current video according to the duration data of the current video in which the eyeballs of the current user stay and the total duration data of the current video.
In practical application, when the total duration of the current video is 50 minutes and the detected duration data that the eyes of the current user stay in the current video are displayed: under the condition that the time length of the eyeball of the current user staying in the current video is 40 minutes, calculating the attention value of the current user to the current video as follows: (40 min/50 min). 100% -, 80%. The above only lists a common method for calculating the attention value of the current user to the current video, and the calculation method may also be modified to introduce other conventional parameters, which are not described herein again.
In one possible implementation manner, calculating the attention value of the current user to the current video according to the user data associated with playing the current video further includes the following steps:
and calculating the attention value of the current user to the current video according to the frequency data of the current user playing the current video, the integrity data of the current user playing the current video and the playing speed data of the current user playing the current video.
In practical application, the data of the number of times that the current video is played by the current user is displayed as follows: the frequency of playing the current video by the current user is at least two times or more than two times; the integrity data of the current video played by the current user is displayed as follows: the current user completely plays the current video, and user operation of skipping some video segments is not performed midway; the playing speed data of the current video played by the current user is displayed as follows: the playing speed of the current video played by the current user is as follows: when the current video is played at the playing speed of one time, the attention value of the current user to the current video is calculated to be higher.
When the current users finish playing the current video and all adopt a one-time playing speed to play the current video, if the current users play the current video twice, calculating the attention value of the current users to the current video to be 50%; and each time the complete playing is increased, the corresponding attention value of the current video is increased by 10% until the attention value of the current video is increased to 100%. The above method for calculating the attention value of the current user to the current video is merely listed, and other parameters may be introduced according to the requirements of different application scenes to calculate the attention value of the current user to the current video, which is not described herein any more.
In one possible implementation, before calculating a video dwell time period for the user to dwell on the current video according to the user data associated with playing the current video, the method further includes the following steps:
the user data is read out and,
wherein the user data comprises at least one of:
the method comprises the following steps of obtaining time length data of a current video, comment data of the current video, recommendation data of a current video, frequency data of the current video played by the current user, integrity data of the current video played by the current user and playing speed data of the current video played by the current user. The above lists only common user data, and other user data may also be introduced according to the requirements of different application scenarios, which is not described herein again.
And S105, determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value.
In this step, under the condition that the preset video attention threshold is set to be 50%, when the attention value of the current user to the current video is calculated to be 80% according to the duration data (40 minutes) that the eyes of the current user stay in the current video and the total duration data (40 minutes) of the current video, the current video is determined to be the video to be optimized because the attention value (80%) of the current video is greater than the preset video attention threshold (50%).
In addition, under the condition that the preset video attention threshold is set to be 50%, when the attention value of the current user to the current video is calculated to be 50% according to the data of the number of times that the current user plays the current video (the current video is played completely twice), the data of the integrity that the current user plays the current video (the current video is played completely all the time), and the data of the playing speed of the current user playing the current video (the current video is played at the playing speed of one speed all the time), the current video is determined to be the video to be optimized because the attention value (50%) of the current video is equal to the preset video attention threshold (50%).
And S106, optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video.
In this step, optimizing the video to be optimized according to the video key elements in the preset condition to obtain the optimized video includes the following steps:
cutting a video to be optimized into first video segments according to main character elements of a current video in the video key elements;
selecting each first video segment of a main character comprising the current video to obtain each second video segment;
responding to a third instruction of the user, selecting a corresponding beauty template from the template library, and performing beauty treatment on the main character in each second video clip to obtain each third video clip subjected to the beauty treatment;
and splicing the third video clips to obtain spliced videos, and taking the spliced videos as optimized videos.
In practical application, if the video played by the current user is the first set of the display sentiment, the main character elements of the current video according with the preference of the current user are as follows: infinite, then cut the video to be optimized, cutting and classifying the video as: each first video segment including widenin elements, each first video segment not including widenin. Further, each first video segment comprising the widian element is selected, resulting in each second video segment. Further, in response to a third instruction of the user, selecting a beauty template that matches the preference of the current user from the template library, for example, the beauty template that matches the preference of the current user is: and amplifying the two eyes of the Wei infinity in each second video segment by using a beautifying template for amplifying the two eyes of the Wei infinity to obtain each third video segment subjected to the beautifying processing. And further, splicing the third video clips to obtain a spliced video. The spliced video is a video with Wei infinity as a main figure element, and the spliced video is taken as an optimized video. In this way, the optimized video is output, and the optimized video is played in the playing area of the display screen of the terminal equipment of the current user. Therefore, the optimized video better conforms to the preference of the user, and the user experience is improved.
In the embodiment of the application, under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value, the current video is determined as the video to be optimized; and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video. According to the method and the device, the attention value of the current user to the current video is calculated according to the user data associated with the playing of the current video; determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value; and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video, wherein the optimization can be achieved by: the video concerned by the user is optimized, and the video is accurately optimized, so that the obtained optimized video better conforms to the preference of the user, and the user experience is improved.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Referring to fig. 2, a schematic structural diagram of a video optimization apparatus according to an exemplary embodiment of the present invention is shown. The video optimization apparatus can be implemented as all or a part of the terminal by software, hardware or a combination of both. The video optimization apparatus includes a search module 10, a display module 20, a play module 30, a calculation module 40, a determination module 50, and an optimization module 60.
Specifically, the searching module 10 is configured to search, in response to a first instruction of a user, at least one video meeting a preset condition in a preset video library;
the display module 20 is configured to sequentially display, on a display screen of the current terminal device, video identifiers of at least one video that meets a preset condition in an ordered manner, where the video identifiers carry video content introduction information corresponding to the current video;
the playing module 30 is configured to play at least one video meeting a preset condition in a playing area of the display screen in response to a second instruction of the user;
the calculation module 40 is configured to calculate a value of interest of a current user to a current video according to user data associated with playing of the current video;
a determining module 50, configured to determine the current video as a video to be optimized when the attention value of the current video calculated by the calculating module 40 is greater than or equal to a preset video attention threshold;
and the optimization module 60 is configured to optimize the video to be optimized according to the video key elements in the preset condition, so as to obtain an optimized video.
Optionally, the display screen further includes a game area, the game area is disposed in a central area of the display screen, the playing area is disposed around the central area, the playing area includes a first playing area disposed on an upper portion of the central area, a second playing area disposed on a lower portion of the central area, a third playing area disposed on a left side of the central area, and a fourth playing area disposed on a right side of the central area, and the playing module 30 is specifically configured to:
and when the number of at least one video meeting the preset condition is two or more, randomly selecting a playing area matched with the number of the videos in the playing area and playing the videos.
Optionally, the apparatus further comprises:
a reading module (not shown in fig. 2) for reading the user data before the calculating module 40 calculates the video dwell time of the user on the current video according to the user data associated with the playing of the current video,
the user data read by the reading module at least comprises one of the following items:
the method comprises the following steps of obtaining time length data of a current video, comment data of the current video, recommendation data of a current video, frequency data of the current video played by the current user, integrity data of the current video played by the current user and playing speed data of the current video played by the current user.
Optionally, the calculating module 40 is specifically configured to: and calculating the attention value of the current user to the current video according to the duration data of the current video in which the eyeballs of the current user stay and the total duration data of the current video.
Optionally, the calculating module 40 is further specifically configured to:
and calculating the attention value of the current user to the current video according to the frequency data of the current user playing the current video, the integrity data of the current user playing the current video and the playing speed data of the current user playing the current video.
The reading module is further configured to: reading the preset condition before the searching module 10 searches for at least one video meeting the preset condition in the preset video library in response to a first instruction of a user, wherein the preset condition read by the reading module at least comprises one of the following items: video topics corresponding to the preference degrees of the current users, video keywords corresponding to the preference degrees of the current users and video key elements corresponding to the preference degrees of the current users; the video key elements include at least one of: the subject character element of the current video, the subject article element of the current video, the subject pet element of the current video, and the subject plant element of the current video.
Optionally, the optimization module 60 is specifically configured to:
cutting a video to be optimized into first video segments according to main character elements of a current video in the video key elements;
selecting each first video segment of a main character comprising the current video to obtain each second video segment;
responding to a third instruction of the user, selecting a corresponding beauty template from the template library, and performing beauty treatment on the main character in each second video clip to obtain each third video clip subjected to the beauty treatment;
and splicing the third video clips to obtain spliced videos, and taking the spliced videos as optimized videos.
It should be noted that, when the video optimization apparatus provided in the foregoing embodiment performs the video optimization method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the video optimization apparatus and the video optimization method provided by the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
In the embodiment of the application, a calculation module calculates the attention value of the current user to the current video according to the user data associated with the playing of the current video; the method comprises the steps that under the condition that the attention value of a current video is larger than or equal to a preset video attention threshold value, a determining module determines the current video as a video to be optimized; and the optimization module optimizes the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video. According to the method, under the condition that the attention value of the current video is larger than or equal to the preset video attention threshold value, the determining module determines the current video as the video to be optimized; and the optimization module optimizes the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video, and can achieve the following steps: the video concerned by the user is optimized, and the video is accurately optimized, so that the obtained optimized video better conforms to the preference of the user, and the user experience is improved.
The present invention also provides a computer readable medium having stored thereon program instructions which, when executed by a processor, implement the method of video optimization provided by the various method embodiments described above.
The present invention also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method for video optimization as described in the various method embodiments above.
Please refer to fig. 3, which provides a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 3, the terminal 1000 can include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 interfaces various components throughout the electronic device 1000 using various interfaces and lines to perform various functions of the electronic device 1000 and to process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005 and invoking data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 3, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a video optimization application program.
In the terminal 1000 shown in fig. 3, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to invoke the video optimization application stored in the memory 1005 and specifically perform the following operations:
searching at least one video meeting a preset condition in a preset video library in response to a first instruction of a user;
sequentially sequencing and displaying a video identifier of at least one video meeting a preset condition on a display screen of the current terminal equipment, wherein the video identifier carries video content introduction information corresponding to the current video;
responding to a second instruction of the user to play at least one video meeting the preset condition in a playing area of the display screen;
calculating the attention value of the current user to the current video according to the user data associated with the playing of the current video;
determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value;
and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video.
In one embodiment, the display screen further includes a game area, the game area is disposed in a central area of the display screen, the playing areas are disposed around the central area, the playing areas include a first playing area disposed on an upper portion of the central area, a second playing area disposed on a lower portion of the central area, a third playing area disposed on a left side of the central area, and a fourth playing area disposed on a right side of the central area, and the processor 1001, when executing the second instruction in response to the user, plays at least one video meeting a preset condition in the playing area of the display screen, specifically executes the following operations:
and when the number of at least one video meeting the preset condition is two or more, randomly selecting a playing area matched with the number of the videos in the playing area and playing the videos.
In one embodiment, the processor 1001 further performs the following operations before performing the video dwell time period of the user staying at the current video is calculated according to the user data associated with the playing of the current video:
the user data is read out and,
wherein the user data comprises at least one of:
the method comprises the following steps of obtaining time length data of a current video, comment data of the current video, recommendation data of a current video, frequency data of the current video played by the current user, integrity data of the current video played by the current user and playing speed data of the current video played by the current user.
In an embodiment, when the processor 1001 calculates the attention value of the current user to the current video according to the user data associated with playing the current video, the following operations are specifically performed:
and calculating the attention value of the current user to the current video according to the duration data of the current video in which the eyeballs of the current user stay and the total duration data of the current video.
In an embodiment, when the processor 1001 calculates the attention value of the current user to the current video according to the user data associated with playing the current video, the following operations are specifically further performed:
and calculating the attention value of the current user to the current video according to the frequency data of the current user playing the current video, the integrity data of the current user playing the current video and the playing speed data of the current user playing the current video.
In one embodiment, before the processor 1001 searches the preset video library for at least one video meeting the preset condition in response to the first instruction of the user, the following operations are further performed:
reading preset conditions, wherein the preset conditions at least comprise one of the following items:
video topics corresponding to the preference degrees of the current users, video keywords corresponding to the preference degrees of the current users and video key elements corresponding to the preference degrees of the current users;
the video key elements include at least one of: the subject character element of the current video, the subject article element of the current video, the subject pet element of the current video, and the subject plant element of the current video.
In an embodiment, when the processor 1001 performs the optimization of the video to be optimized according to the video key elements in the preset condition to obtain the optimized video, the following operations are specifically performed:
cutting a video to be optimized into first video segments according to main character elements of a current video in the video key elements;
selecting each first video segment of a main character comprising the current video to obtain each second video segment;
responding to a third instruction of the user, selecting a corresponding beauty template from the template library, and performing beauty treatment on the main character in each second video clip to obtain each third video clip subjected to the beauty treatment;
and splicing the third video clips to obtain spliced videos, and taking the spliced videos as optimized videos.
In the embodiment of the application, under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value, the current video is determined as the video to be optimized; and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video. According to the method and the device, the attention value of the current user to the current video is calculated according to the user data associated with the playing of the current video; determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value; and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video, wherein the optimization can be achieved by: the video concerned by the user is optimized, and the video is accurately optimized, so that the obtained optimized video better conforms to the preference of the user, and the user experience is improved.
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 can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A method for video optimization, the method comprising:
searching at least one video meeting a preset condition in a preset video library in response to a first instruction of a user;
sequentially sequencing and displaying the video identification of at least one video meeting the preset condition on a display screen of the current terminal equipment, wherein the video identification carries video content introduction information corresponding to the current video;
responding to a second instruction of a user to play at least one video meeting the preset condition in a playing area of the display screen;
calculating the attention value of the current user to the current video according to the user data associated with the playing of the current video;
determining the current video as the video to be optimized under the condition that the attention value of the current video is greater than or equal to a preset video attention threshold value;
and optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video.
2. The method of claim 1, wherein the display screen further comprises a game area, the game area is disposed in a central area of the display screen, the playing area is disposed around the central area, the playing area comprises a first playing area disposed at an upper portion of the central area, a second playing area disposed at a lower portion of the central area, a third playing area disposed at a left side of the central area, and a fourth playing area disposed at a right side of the central area, and the playing at least one video meeting the preset condition in the playing area of the display screen in response to a second instruction from the user comprises:
and when the number of at least one video meeting the preset condition is two or more, randomly selecting a playing area matched with the number of the videos from the playing area and playing the videos.
3. The method of claim 1, further comprising:
reading the user data, wherein the user data comprises at least one of:
the method comprises the following steps of obtaining time length data of a current video, comment data of the current video, recommendation data of a current video, frequency data of the current video played by the current user, integrity data of the current video played by the current user and playing speed data of the current video played by the current user.
4. The method of claim 3, wherein calculating the current user's attention value to the current video based on user data associated with playing the current video comprises:
and calculating the attention value of the current user to the current video according to the duration data of the current video in which the eyeballs of the current user stay and the total duration data of the current video.
5. The method of claim 3, wherein calculating the current user's attention value to the current video based on user data associated with playing the current video further comprises:
and calculating the attention value of the current user to the current video according to the frequency data of the current user playing the current video, the integrity data of the current user playing the current video and the playing speed data of the current user playing the current video.
6. The method according to claim 1, wherein before the searching for at least one video meeting a preset condition in a preset video library in response to the first instruction of the user, the method further comprises:
reading the preset condition, wherein the preset condition at least comprises one of the following items:
video topics corresponding to the preference degrees of the current users, video keywords corresponding to the preference degrees of the current users, and the video key elements corresponding to the preference degrees of the current users;
the video key elements include at least one of: the subject character element of the current video, the subject article element of the current video, the subject pet element of the current video, and the subject plant element of the current video.
7. The method according to claim 6, wherein the optimizing the video to be optimized according to the video key elements in the preset condition to obtain the optimized video comprises:
cutting the video to be optimized into first video segments according to the main character elements of the current video in the video key elements;
selecting each first video segment of a main character comprising the current video to obtain each second video segment;
responding to a third instruction of the user, selecting a corresponding beauty template from the template library, and performing beauty treatment on the main character in each second video clip to obtain each third video clip after the beauty treatment;
and splicing the third video clips to obtain spliced videos, and taking the spliced videos as optimized videos.
8. An apparatus for video optimization, the apparatus comprising:
the searching module is used for responding to a first instruction of a user to search at least one video meeting a preset condition in a preset video library;
the display module is used for sequentially sequencing and displaying the video identification of at least one video meeting the preset condition on a display screen of the current terminal equipment, wherein the video identification carries video content introduction information corresponding to the current video;
the playing module is used for responding to a second instruction of a user to play at least one video meeting the preset condition in a playing area of the display screen;
the calculation module is used for calculating the attention value of the current user to the current video according to the user data associated with the playing of the current video;
the determining module is used for determining the current video as the video to be optimized under the condition that the attention value of the current video calculated by the calculating module is greater than or equal to a preset video attention threshold value;
and the optimization module is used for optimizing the video to be optimized according to the video key elements in the preset conditions to obtain the optimized video.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. A terminal, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
CN202010604107.2A 2020-06-29 2020-06-29 Video optimization method, device, storage medium and terminal Active CN111918112B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010604107.2A CN111918112B (en) 2020-06-29 2020-06-29 Video optimization method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010604107.2A CN111918112B (en) 2020-06-29 2020-06-29 Video optimization method, device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN111918112A CN111918112A (en) 2020-11-10
CN111918112B true CN111918112B (en) 2021-07-20

Family

ID=73226671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010604107.2A Active CN111918112B (en) 2020-06-29 2020-06-29 Video optimization method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111918112B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259724B (en) * 2021-06-25 2021-10-12 大学长(北京)网络教育科技有限公司 Method and system for detecting web course content

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5218388B2 (en) * 2009-12-25 2013-06-26 カシオ計算機株式会社 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
US9253229B1 (en) * 2013-01-07 2016-02-02 Cox Communications, Inc. Correlating video quality with video playback view
EP3144883A1 (en) * 2015-09-16 2017-03-22 Thomson Licensing Method and apparatus for sharpening a video image using an indication of blurring
CN105282618A (en) * 2015-10-28 2016-01-27 天脉聚源(北京)科技有限公司 Audience interest statistical method and device for interactive television system
JP6948128B2 (en) * 2017-01-13 2021-10-13 キヤノン株式会社 Video monitoring device and its control method and system
CN107846624B (en) * 2017-10-30 2020-01-14 Oppo广东移动通信有限公司 Video image quality adjusting method and device, terminal equipment and storage medium
CN110769279B (en) * 2018-07-27 2023-04-07 北京京东尚科信息技术有限公司 Video processing method and device
CN109361955B (en) * 2018-11-15 2021-02-02 湖南快乐阳光互动娱乐传媒有限公司 Interest point-based double-speed video playing method and system
CN110248254A (en) * 2019-06-11 2019-09-17 Oppo广东移动通信有限公司 Display control method and Related product
CN110809188B (en) * 2019-12-03 2020-12-25 珠海格力电器股份有限公司 Video content identification method and device, storage medium and electronic equipment
CN111147915B (en) * 2019-12-30 2022-10-04 咪咕视讯科技有限公司 Video processing method, server, and computer-readable storage medium

Also Published As

Publication number Publication date
CN111918112A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
JP2020504475A (en) Providing related objects during video data playback
EP2728859B1 (en) Method of providing information-of-users' interest when video call is made, and electronic apparatus thereof
CN113038287B (en) Method and device for realizing multi-user video live broadcast service and computer equipment
CN107888982B (en) Video information recommendation method and device
CN112004117B (en) Video playing method and device
CN111757175A (en) Video processing method and device
JP7231638B2 (en) Image-based information acquisition method and apparatus
CN109754316A (en) Products Show method, Products Show system and storage medium
CN105763420A (en) Automatic information reply method and device
CN111723237A (en) Media content access control method
CN114630057B (en) Method and device for determining special effect video, electronic equipment and storage medium
CN112422844A (en) Method, device and equipment for adding special effect in video and readable storage medium
CN111918112B (en) Video optimization method, device, storage medium and terminal
US20170161871A1 (en) Method and electronic device for previewing picture on intelligent terminal
CN108958592B (en) Video processing method and related product
CN106776990B (en) Information processing method and device and electronic equipment
CN112929728A (en) Video rendering method, device and system, electronic equipment and storage medium
US20170139933A1 (en) Electronic Device, And Computer-Readable Storage Medium For Quickly Searching Video Segments
CN111586329A (en) Information display method and device and electronic equipment
CN114398514B (en) Video display method and device and electronic equipment
CN109977303A (en) Exchange method, device and the storage medium of multimedia messages
CN114666643A (en) Information display method and device, electronic equipment and storage medium
CN105262676A (en) Method and apparatus for transmitting message in instant messaging
CN111698563A (en) Content sending method and device based on AI virtual anchor and storage medium
CN112764553B (en) Chat expression collection method and device and electronic equipment

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