Wonderful video acquisition method, terminal and computer readable storage medium
阅读说明:本技术 一种精彩视频获取方法、终端及计算机可读存储介质 (Wonderful video acquisition method, terminal and computer readable storage medium ) 是由 李红钰 于 2019-08-21 设计创作,主要内容包括:本发明公开了一种精彩视频获取方法、终端及计算机可读存储介质,该精彩视频获取方法通过在显示画面存在动画效果的过程中,监测各预设时间段内终端接收到的触发操作,进一步地,获取各预设时间段内终端接收到的触发操作的次数,进一步地,根据各预设时间段内触发操作的次数从各预设时间段中确定出目标时间段,进一步地,采集目标时间段内的视频,将视频作为精彩视频;解决了现有技术中按照时间长短获取的精彩视频,该获取方式较为单一,用户体验度差的问题。本发明还公开了一种终端及计算机可读存储介质,通过实施上述方案,使得获取精彩视频方式更加多样化,在极大程度上提升了用户的体验满意度。(The invention discloses a method, a terminal and a computer readable storage medium for acquiring a highlight video, wherein the highlight video acquisition method monitors trigger operation received by the terminal in each preset time period in the process of displaying an animation effect on a picture, further acquires the number of times of the trigger operation received by the terminal in each preset time period, further determines a target time period from each preset time period according to the number of times of the trigger operation in each preset time period, further acquires the video in the target time period, and takes the video as the highlight video; the method and the device solve the problems that in the prior art, the wonderful video is acquired according to time, the acquisition mode is single, and the user experience degree is poor. The invention also discloses a terminal and a computer readable storage medium, by implementing the scheme, the mode of acquiring the wonderful video is more diversified, and the experience satisfaction degree of the user is improved to the great extent.)
1. A highlight video acquisition method, comprising:
monitoring trigger operation received by a terminal in each preset time period in the process of displaying the animation effect on the picture;
acquiring the number of times of trigger operation received by a terminal in each preset time period;
determining a target time period from each preset time period according to the number of times of triggering operation in each preset time period;
and collecting the video in the target time period, and taking the video as a wonderful video.
2. The highlight video capture method according to claim 1, wherein said trigger operation is issued by at least one of touch, hover, and voice.
3. The highlight video acquisition method according to claim 1, wherein the determining a target time period from the preset time periods according to the number of times of the trigger operation in the preset time periods comprises:
and comparing the times of the trigger operation in each preset time period, and taking the preset time period with the maximum number of the trigger operation as a target time period.
4. The highlight video acquisition method according to claim 1, wherein the determining a target time period from the preset time periods according to the number of times of the trigger operation in the preset time periods comprises:
comparing the times of the trigger operations in each preset time period, sequencing the corresponding preset time periods according to the sequence of the times of the trigger operations from more to less, and taking the preset time periods with the previous preset number as target time periods respectively;
the collecting the video in the target time period as a highlight video comprises:
and collecting videos in each target time period, and taking the videos in each target time period as wonderful videos.
5. The highlight video capture method according to any of claims 1-4, wherein before monitoring the trigger received by the terminal within each predetermined time period, further comprising:
judging whether a monitoring instruction is received or not;
and if so, monitoring the trigger operation received by the terminal in each preset time period.
6. The highlight video capture method according to any of claims 1-4, wherein said capturing a video within said target time period, before said video is taken as a highlight video, further comprises:
judging whether the scene type in the video within the target time period is in a preset scene table or not;
if so, acquiring the video in the target time period, and taking the video as a highlight video;
and if not, re-determining the target time period from the preset time periods according to the number of times of triggering operation in the preset time periods.
7. The highlight video obtaining method according to claim 6, wherein before monitoring the trigger operation received by the terminal in each preset time period during the process of displaying the animation effect, further comprising:
receiving a scene setting instruction, wherein the scene setting instruction comprises a scene identifier which needs to be added into the preset scene table;
and setting the preset scene table according to the scene setting instruction.
8. The highlight video capture method according to any of claims 1-4, wherein said capturing video within said target time period as highlight video further comprises:
and storing the wonderful video, and playing the wonderful video when no animation effect exists in a display picture.
9. A terminal, characterized in that the terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the highlight video acquisition method according to any one of claims 1-8.
10. A computer-readable storage medium, storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the highlight video acquisition method according to any one of claims 1-8.
Technical Field
The present invention relates to the field of video recording technologies, and in particular, to a method, a terminal, and a computer-readable storage medium for acquiring a highlight video.
Background
With the deep development of the internet, more and more industries are added to the internet wave, resulting in countless internet-based applications providing entertainment based on text, pictures, video, games, big data services, and the like.
Currently, the acquisition of the highlight videos is usually stored according to the time length of the acquired videos, for example, for an online game, after the game is ended, a highlight video collection is played back, and the played highlight video collection includes at most 3 moments, wherein each highlight video in the highlight video collection is cut off according to time, and other highlight videos are automatically deleted.
Therefore, in the prior art, the mode of acquiring the highlight video according to the time length is single, and the experience satisfaction of the user is greatly reduced.
Disclosure of Invention
The invention aims to solve the technical problems that in the prior art, the mode of acquiring the highlight video according to the time length is single, and the user experience degree is poor. In view of the technical problem, a method, a terminal and a computer-readable storage medium for acquiring a highlight video are provided.
In order to solve the technical problem, the invention provides a highlight video acquisition method, which comprises the following steps:
monitoring trigger operation received by a terminal in each preset time period in the process of displaying the animation effect on the picture;
acquiring the number of times of trigger operation received by a terminal in each preset time period;
determining a target time period from each preset time period according to the number of times of triggering operation in each preset time period;
and collecting the video in the target time period, and taking the video as a wonderful video.
Optionally, the triggering operation is issued by at least one of touch, suspension, and voice.
Optionally, the determining a target time period from the preset time periods according to the number of times of the trigger operation in each preset time period includes:
and comparing the times of the trigger operation in each preset time period, and taking the preset time period with the maximum number of the trigger operation as a target time period.
Optionally, the determining a target time period from the preset time periods according to the number of times of the trigger operation in each preset time period includes:
comparing the times of the trigger operations in each preset time period, sequencing the corresponding preset time periods according to the sequence of the times of the trigger operations from more to less, and taking the preset time periods with the previous preset number as target time periods respectively;
the collecting the video in the target time period as a highlight video comprises:
and collecting videos in each target time period, and taking the videos in each target time period as wonderful videos.
Optionally, before monitoring the trigger operation received by the terminal in each preset time period, the method further includes:
judging whether a monitoring instruction is received or not;
and if so, monitoring the trigger operation received by the terminal in each preset time period.
Optionally, before the capturing the video in the target time period and taking the video as a highlight video, the method further includes:
judging whether the scene type in the video within the target time period is in a preset scene table or not;
if so, acquiring the video in the target time period, and taking the video as a highlight video;
and if not, re-determining the target time period from the preset time periods according to the number of times of triggering operation in the preset time periods.
Optionally, before monitoring the trigger operation received by the terminal in each preset time period in the process of displaying the animation effect on the picture, the method further includes:
receiving a scene setting instruction, wherein the scene setting instruction comprises a scene identifier which needs to be added into the preset scene table;
and setting the preset scene table according to the scene setting instruction.
Optionally, after the video within the target time period is collected and used as a highlight video, the method further includes:
and storing the wonderful video, and playing the wonderful video when no animation effect exists in a display picture.
Furthermore, the invention also provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the highlight video acquisition method according to any of the above.
Further, the present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the highlight video acquisition method as described above.
Advantageous effects
The method for acquiring the highlight video comprises the steps of monitoring trigger operation received by a terminal in each preset time period in the process of displaying an animation effect on a picture, further acquiring the number of times of the trigger operation received by the terminal in each preset time period, further determining a target time period from each preset time period according to the number of times of the trigger operation in each preset time period, further acquiring the video in the target time period, and taking the video as the highlight video; the method and the device for acquiring the highlight video solve the problems that in the prior art, the mode of acquiring the highlight video according to the time length is single, and the user experience degree is poor. In the invention, a novel mode for acquiring the highlight video is provided, so that the mode for acquiring the highlight video is more diversified, the comprehensiveness of the mode for acquiring the highlight video is improved, and the experience satisfaction of the user is improved to the greatest extent.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a schematic basic flowchart of a highlight video obtaining method according to a first embodiment of the present invention;
fig. 4 is a schematic basic flowchart before monitoring a trigger operation received by a terminal in each preset time period according to a first embodiment of the present invention;
fig. 5 is a schematic basic flowchart of the method for capturing a video in a target time period before the video is used as a highlight video according to the first embodiment of the present invention;
fig. 6 is a schematic diagram of a basic flow chart before monitoring a trigger operation received by a terminal in each preset time period in a process of displaying an animation effect on a screen according to a first embodiment of the present invention;
fig. 7 is a schematic basic flowchart of a specific highlight video obtaining method according to a second embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the
The
The a/
The
The
The
Further, the
The
The
The
The
Although not shown in fig. 1, the
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032,
The
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present invention are proposed.
First embodiment
The method and the device for obtaining the highlight video aim at solving the problems that in the prior art, the obtaining mode is single and the user experience degree is poor according to the highlight video obtained according to the time length. The embodiment provides a highlight video acquisition method, which includes monitoring trigger operations received by a terminal in each preset time period in the process of displaying an animation effect on a picture, further acquiring the number of the trigger operations received by the terminal in each preset time period, further determining a target time period from each preset time period according to the number of the trigger operations in each preset time period, further acquiring a video in the target time period, and taking the video as a highlight video. Specifically referring to fig. 3, fig. 3 is a basic flowchart of the highlight video obtaining method provided in this embodiment:
s301: and monitoring the trigger operation received by the terminal in each preset time period in the process of displaying the animation effect on the picture.
Optionally, the triggering operation in this embodiment is issued by at least one of touch, suspension, and voice; the touch control includes clicking, sliding, pressing and the like, the clicking includes double clicking, clicking and the like, and the touch control can be virtual key touch control or physical key touch control. It should be noted that, the examples are only a few common trigger operation issuing modes, and the present invention is not limited to these modes, and in practical applications, the present invention can be flexibly adjusted according to specific application scenarios.
It should be understood that the process of displaying the animation effect includes, but is not limited to, a video playing process and a game process, and in practical applications, the process can be flexibly adjusted according to a specific application scene.
Optionally, before monitoring the trigger operation received by the terminal in each preset time period in this embodiment, the method further includes at least the following steps, specifically referring to fig. 4:
s401: judging whether a monitoring instruction is received or not;
if so, go to step S402, otherwise, go to step S401.
It can be understood that, in the embodiment, whether a monitoring instruction is received or not may be determined in the process of displaying an animation effect on a picture, and if the monitoring instruction is received, it means that a user has a need to monitor a trigger operation received by a terminal in each preset time period, and at this time, the trigger operation received by the terminal in each preset time period needs to be monitored; if the monitoring instruction is not received, it means that the user does not monitor the requirement of the trigger operation received by the terminal in each preset time period, and at this time, the trigger operation received by the terminal in each preset time period does not need to be monitored. Therefore, the interactivity between the user and the terminal is improved, and the experience satisfaction of the user is improved to a certain extent.
S402: and monitoring the triggering operation received by the terminal in each preset time period.
In some examples, the trigger operation received by the terminal in each preset time period may also be monitored as soon as the animation effect exists on the display screen, for example, when a game is started, the trigger operation received by the terminal in each preset time period may be monitored.
S302: and acquiring the number of times of trigger operation received by the terminal in each preset time period.
It should be understood that, in this embodiment, the trigger operation received by the terminal in each preset time period is monitored, and then the number of times of the trigger operation received by the terminal in each preset time period needs to be acquired. For better understanding, this is illustrated here with an example:
for example, if the preset time period is 1 minute and the total duration of the game play is 10 minutes, at the beginning of the game, monitoring the trigger operation received by the terminal within 1 minute, wherein the number of the trigger operation received within 0-1 minute is 5, the number of trigger operations received within 1-2 minutes is 10, the number of trigger operations received within 2-3 minutes is 2, the number of trigger operations received within 3-4 minutes is 8, the number of trigger operations received within 4-5 minutes is 15, the number of trigger operations received within 5-6 minutes is 20, the number of trigger operations received within 6-7 minutes is 6, the number of trigger operations received within 7-8 minutes is 9, the number of trigger operations received within 8-9 minutes is 4, and the number of trigger operations received within 9-10 minutes is 3.
It should be noted that in practical applications, the preset time period is flexibly set by a developer according to experiments or experiences, and may be set by a user in a self-defined manner.
S303: and determining the target time period from each preset time period according to the number of times of triggering operation in each preset time period.
Optionally, in this embodiment, determining the target time period from each preset time period according to the number of times of the trigger operation in each preset time period includes at least the following two ways:
the first method is as follows: and comparing the times of the trigger operation in each preset time period, and taking the preset time period with the maximum number of the trigger operation as a target time period.
In addition, the number of times of trigger operations in each preset time period is compared, and at this time, the game corresponding to 20 with the maximum number of times of trigger operations is set to be 5-6 minutes as the target time period.
Further, a video with the time period of 5-6 minutes is collected, and the video is used as a highlight video.
The second method comprises the following steps: and comparing the times of the trigger operation in each preset time period, sequencing the corresponding preset time periods according to the sequence of the times of the trigger operation from more to less, and taking the preset time periods with the previous preset number as target time periods respectively.
To support the above description, further, the number of times of the trigger operation in each preset time period is compared, and the corresponding preset time periods are sorted according to the sequence of the number of times of the trigger operation from large to small as follows: 5-6 minutes, 4-5 minutes, 1-2 minutes, 7-8 minutes, 3-4 minutes, 6-7 minutes, 0-1 minute, 8-9 minutes, 9-10 minutes, 2-3 minutes, wherein the first three preset time periods of 5-6 minutes, 4-5 minutes, 1-2 minutes can be respectively taken as target time periods; it should be noted that, in practical applications, the preset number may be set by a developer or a user.
Further, videos in 5-6 minutes, 4-5 minutes and 1-2 minutes of time period are collected, and all the videos are used as wonderful videos; optionally, each highlight video is aggregated into one video.
S304: and acquiring videos in a target time period, and taking the videos as wonderful videos.
Optionally, in this embodiment, before capturing a video in a target time period and taking the video as a highlight video, the method further includes at least the following steps, specifically referring to fig. 5:
s501: judging whether the scene type in the video within the target time period is in a preset scene table or not;
if so, go to step S502, otherwise, go to step S503.
It can be understood that after the target time period is determined, whether the scene type in the video in the target time period is in the preset scene table can be further determined, if yes, the video in the target time period is collected, the video is used as a highlight video, and if not, the target time period is determined again from each preset time period according to the number of times of triggering operation in each preset time period.
S502: and acquiring videos in a target time period, and taking the videos as wonderful videos.
Still bearing the above example, it is assumed that a scene in a video with a target time period of 5 to 6 minutes is in a preset scene table, and at this time, a video with a target time period of 5 to 6 minutes is collected and used as a highlight video.
S503: and re-determining the target time period from each preset time period according to the number of times of triggering operation in each preset time period.
Here, the description is still carried out by taking the above example as a reference, the scenes in the video with the target time period of 5 to 6 minutes are not in the preset scene table, at this time, the target time period of 4 to 5 minutes is determined again from each preset time period according to the number of times of the trigger operation within each preset time, and then the S501 is repeatedly executed, the process is similar, and details are not repeated here.
Optionally, in this embodiment, in the process of displaying an animation effect on the screen, before monitoring the trigger operation received by the terminal in each preset time period, at least the following steps are further included, specifically referring to fig. 6:
s601: receiving a scene setting instruction, wherein the scene setting instruction comprises a scene identifier which needs to be added into a preset scene table.
It should be understood that a user may issue a scene setting instruction to set the preset scene table, where the scene setting instruction includes a scene identifier that needs to be added to the preset scene table, for example, a killing identifier corresponding to a killing scene, a success identifier corresponding to a success scene, a failure identifier corresponding to a failure scene, and the like, where the killing type may also correspond to different identifiers according to different skills, and in practical applications, the flexible adjustment may be made according to a specific application scene.
S602: and setting a preset scene table according to the scene setting instruction.
Optionally, in this embodiment, after capturing a video in a target time period and taking the video as a highlight video, the method further includes: and storing the wonderful video, and playing the wonderful video when the display picture has no animation effect.
It should be understood that the highlight video is stored after being collected, and when the display picture has no animation effect, the highlight video is automatically played or played when a playing instruction is received; it should also be understood that, because the collection of the highlight videos may be long, the highlight videos may also be automatically set to be played quickly or played when a fast play instruction is received, and certainly, the highlight videos may also be played at a slow speed so as to be carefully viewed by a user, and in actual applications, the highlight videos may be flexibly adjusted according to specific application scenarios.
In the method for acquiring a highlight video, in the process of displaying an animation effect on a picture, the triggering operation received by the terminal in each preset time period is monitored, the number of times of the triggering operation received by the terminal in each preset time period is further acquired, further, a target time period is determined from each preset time period according to the number of times of the triggering operation in each preset time period, further, a video in the target time period is acquired, and the video is used as the highlight video; the method and the device for acquiring the highlight video solve the problems that in the prior art, the mode of acquiring the highlight video according to the time length is single, and the user experience degree is poor. That is, in the embodiment, a new manner for acquiring the highlight video is provided, so that the manner for acquiring the highlight video is more diversified, the comprehensiveness of the manner for acquiring the highlight video is improved, and the experience satisfaction of the user is improved to the greatest extent; meanwhile, in the embodiment, the time period with the largest number of trigger operations is used as the target time period, so that the accuracy of obtaining the highlight video is improved to a certain extent, and the experience satisfaction of the user is further improved.
Second embodiment
This embodiment is further illustrated by taking a specific highlight video acquisition method as an example on the basis of the first embodiment, and specifically referring to fig. 7:
s701: judging whether a monitoring instruction is received or not in the process of displaying the animation effect on the picture;
if so, go to S702, otherwise, go to S701.
Assuming that the user clicks the game start button and receives the monitoring command after 20 th minute from the start of the game, S702 is executed.
S702: and monitoring the triggering operation received by the terminal in each preset time period.
In the above example, if the game is finished in the 25 th minute and the preset time period is 1 minute, the trigger operations received in 20 to 21 minutes, 21 to 22 minutes, 22 to 23 minutes, 23 to 24 minutes and 24 to 25 minutes are monitored.
S703: and acquiring the number of times of trigger operation received by the terminal in each preset time period.
In the above example, the number of times of trigger operations within 20 to 21 minutes, 21 to 22 minutes, 22 to 23 minutes, 23 to 24 minutes, and 24 to 25 minutes is 20, 15, 5, 4, and 10, respectively.
S704: and determining the target time period from each preset time period according to the number of times of triggering operation in each preset time period.
In the above example, the number of times of the trigger operation in each preset time period is further compared, the corresponding preset time periods are sorted into 20 to 21 minutes, 21 to 22 minutes, 24 to 25 minutes, 22 to 23 minutes and 23 to 24 minutes according to the sequence of the number of times of the trigger operation from large to small, and the first 2 preset time periods of 20 to 21 minutes and 21 to 22 minutes are taken as the target time periods respectively.
S705: judging whether the scene type in the video within the target time period is in a preset scene table or not;
if so, go to step S706, otherwise, go to step S704.
As mentioned above, further, it is assumed that the scene types in the video within 20 to 21 minutes and 21 to 22 minutes are all in the preset scene table, and then S706 is executed.
It can be understood that when the scene type in the video within the target time period is not in the preset scene table, the target time period needs to be redetermined from the preset time periods according to the number of times of triggering operation within each preset time period, each preset time period at this time is inevitably free of the previously determined preset time period, and if the scene type in the video within 20-21 minutes and 21-22 minutes is not in the preset scene table, the target time period is redetermined from 24-25 minutes, 22-23 minutes and 23-24 minutes.
S706: and acquiring videos in a target time period, and taking the videos as wonderful videos.
In the above example, videos within 20-21 minutes and within 21-22 minutes are respectively collected, and the collected videos are used as highlight videos.
S707: and storing the wonderful video, and playing the wonderful video when the display picture has no animation effect.
In the above example, the 2 videos are further saved as a highlight video collection, and are automatically played when the game is finished.
In the method for acquiring a highlight video, in the process of displaying an animation effect on a picture, the triggering operation received by the terminal in each preset time period is monitored, the number of times of the triggering operation received by the terminal in each preset time period is further acquired, further, a target time period is determined from each preset time period according to the number of times of the triggering operation in each preset time period, further, a video in the target time period is acquired, and the video is used as the highlight video; the method and the device for acquiring the highlight video solve the problems that in the prior art, the mode of acquiring the highlight video according to the time length is single, and the user experience degree is poor. That is, the highlight video obtaining method in this embodiment combines the number of trigger operations and each scene type in the video to obtain the highlight video together, so that the highlight video is more diversified, the accuracy of the obtained highlight video is higher, and the experience satisfaction of the user is greatly improved.
Third embodiment
Referring to fig. 8, the terminal provided in this embodiment includes a
In this embodiment, the
monitoring trigger operation received by a terminal in each preset time period in the process of displaying the animation effect on the picture;
acquiring the number of times of trigger operation received by a terminal in each preset time period;
determining a target time period from each preset time period according to the number of times of triggering operation in each preset time period;
and acquiring videos in a target time period, and taking the videos as wonderful videos.
Optionally, the triggering operation in this embodiment is issued by at least one of touch, suspension, and voice.
Optionally, in this embodiment, the determining, by the
the first method is as follows: comparing the times of trigger operation in each preset time period, and taking the preset time period with the maximum number of trigger operation times as a target time period;
further, videos in the target time period are collected and serve as wonderful videos.
The second method comprises the following steps: comparing the times of trigger operation in each preset time period, sequencing the corresponding preset time periods according to the sequence of the times of the trigger operation from more to less, and respectively taking the preset time periods with the previous preset number as target time periods;
further, videos in each target time period are collected, and the videos in each target time period are used as wonderful videos.
Optionally, in this embodiment, before the
judging whether a monitoring instruction is received or not;
and if so, monitoring the trigger operation received by the terminal in each preset time period.
Optionally, in this embodiment, before the
judging whether the scene type in the video within the target time period is in a preset scene table or not;
if so, acquiring a video in the target time period, and taking the video as a wonderful video;
and if not, re-determining the target time period from each preset time period according to the number of times of triggering operation in each preset time period.
Optionally, in this embodiment, before the
receiving a scene setting instruction, wherein the scene setting instruction comprises a scene identifier which needs to be added into a preset scene table;
and setting a preset scene table according to the scene setting instruction.
Optionally, in this embodiment, after the
and storing the wonderful video, and playing the wonderful video when the display picture has no animation effect.
It should be noted that, in order to avoid redundant description, all the examples in the first and second embodiments are not fully described in this embodiment, and it should be clear that all the examples in the first and second embodiments are applicable to this embodiment.
The present embodiment also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the highlight video acquisition method as described above.
The terminal and the computer-readable storage medium provided by this embodiment monitor the trigger operation received by the terminal in each preset time period by monitoring the trigger operation received by the terminal in the process of displaying the animation effect on the picture, further obtain the number of times of the trigger operation received by the terminal in each preset time period, further determine a target time period from each preset time period according to the number of times of the trigger operation in each preset time period, further collect a video in the target time period, and use the video as a highlight video; the method and the device for acquiring the highlight video solve the problems that in the prior art, the mode of acquiring the highlight video according to the time length is single, and the user experience degree is poor. Compared with the prior art, the terminal and the computer-readable storage medium provided by the embodiment provide a new manner for acquiring the highlight video, so that the manner for acquiring the highlight video is more diversified, the comprehensiveness of the manner for acquiring the highlight video is improved, and the experience satisfaction of a user is improved to the greatest extent; meanwhile, in the embodiment, the time period with the largest number of trigger operations is used as the target time period, so that the accuracy of obtaining the highlight video is improved to a certain extent, and the experience satisfaction of the user is further improved.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:视频启动方法、装置、电子设备及存储介质