video playing method, terminal and storage medium

文档序号:1784939 发布日期:2019-12-06 浏览:9次 中文

阅读说明:本技术 视频播放方法、终端及存储介质 (video playing method, terminal and storage medium ) 是由 吴嘉旭 琚彬 杜欧杰 颜伟婷 李立锋 王科 陈国仕 李鹏 于 2019-08-15 设计创作,主要内容包括:本发明实施例涉及视频播放领域,公开了一种视频播放方法、终端及存储介质。本发明中,获取视频并确定视频的基调;根据确定的视频的基调,在预设的调整方案中选择目标调整方案;根据选择的目标调整方案调整视频的视频播放参数;根据调整后的视频播放参数播放视频,从而实现根据视频基调调整视频播放的效果,使视频播放效果满足视频播放内容的风格,提高用户的观看体验。(The embodiment of the invention relates to the field of video playing and discloses a video playing method, a terminal and a storage medium. In the invention, a video is obtained and the basic tone of the video is determined; selecting a target adjusting scheme from preset adjusting schemes according to the determined basic tone of the video; adjusting video playing parameters of the video according to the selected target adjustment scheme; and playing the video according to the adjusted video playing parameters, thereby realizing the effect of adjusting the video playing according to the video basic tone, enabling the video playing effect to meet the style of the video playing content, and improving the watching experience of the user.)

1. a video playback method, comprising:

acquiring a video and determining the key of the video;

Selecting a target adjusting scheme from preset adjusting schemes according to the determined basic tone of the video;

Adjusting video playing parameters of the video according to the selected target adjustment scheme;

And playing the video according to the adjusted video playing parameters.

2. The video playing method according to claim 1, wherein the key of the video is determined by:

determining the key of the video by identifying the content label carried by the video; wherein the content tag is determined from the content of the video;

Or, determining a key of the video by identifying content of the video.

3. The video playing method according to claim 2, wherein the selecting a target adjustment scheme from preset adjustment schemes according to the key of the video determined by identifying the content tag carried by the video specifically comprises:

Selecting a target theme from preset themes according to the content tag;

And selecting a target adjustment scheme from preset adjustment schemes according to the selected target theme and the corresponding relation between the preset theme and the adjustment schemes.

4. the video playing method according to claim 1, wherein the target adjustment scheme at least comprises: adjusting the light effect; the video playing parameters at least comprise one or the combination of the following parameters: a light brightness parameter, a light color parameter, or a period parameter of light variation.

5. The video playing method according to claim 1, further comprising, after said obtaining the video:

acquiring current environment information;

after the adjusting the video playing parameters of the video according to the selected target adjustment scheme and before the playing the video according to the adjusted video playing parameters, the method further includes:

And adjusting the video playing parameters of the video again according to the current environment information.

6. the video playing method according to claim 5, wherein the environment information is specifically: ambient light information; the video playing parameters further comprise: a screen brightness parameter.

7. The video playing method according to claim 5, wherein the environment information is specifically: time information; the readjusting the video playing parameters of the video according to the current environment information specifically includes:

And if the current time is within a preset time range, adjusting the video playing parameters of the video to preset parameters for shielding the video.

8. The video playing method according to claim 1, further comprising, after said obtaining the video:

Acquiring historical preference information of a user on the video;

Judging whether to shield the video according to the acquired historical preference information;

And if the video is judged not to be shielded, executing the video playing parameters of the video adjusted according to the selected target adjustment scheme.

9. The video playing method according to claim 8, wherein the historical preference information is specifically: user like values corresponding to each video; the determining whether to mask the video according to the acquired historical preference information specifically includes:

And if the user preference value corresponding to the video is smaller than a preset threshold value, shielding the video.

10. the video playing method according to claim 9, wherein the like value of the user corresponding to each video is calculated by:

Acquiring a historical operation record of a user for the video; the operation record specifically includes: the operation times of the first preset type of the video and the operation times of the second preset type of the video are counted;

And calculating the user favorite value corresponding to the video according to the difference value between the first preset type operation times and the second preset type operation times.

11. the video playing method according to claim 9, wherein the like value of the user corresponding to each video is calculated by:

Acquiring a historical operation record of a user for the video; the operation record specifically includes: the operation times of the first preset type of the video and the operation times of the second preset type of the video are counted;

and calculating the preset specific user favorite value corresponding to each video according to the operation records of all the users on the videos and the operation records of the preset specific users on the videos.

12. The video playing method according to claim 2, further comprising, after the obtaining the video:

Acquiring a current video mode; wherein the video mode includes at least: a conference mode, a rescue mode or a driving mode;

Selecting a target adjustment scheme from preset adjustment schemes according to the content tag specifically comprises:

And selecting a target adjustment scheme from a plurality of adjustment schemes corresponding to the current video mode according to the content tag.

13. The video playing method according to claim 1, further comprising, after the acquiring the video and before the adjusting the video playing parameters of the video according to the selected target adjustment scheme, the following steps:

Acquiring current motion state information;

If the acquired current motion state information meets a preset shielding condition, shielding the video;

And if the acquired current motion state information does not meet the preset shielding condition, executing the adjustment of the video playing parameters of the video according to the selected target adjustment scheme.

14. the video playing method according to claim 1, further comprising, after playing the video according to the adjusted video playing parameter:

When a control instruction is received, video playing parameters are adjusted again according to the control instruction;

Wherein the readjusted video playing parameters at least include: and the video playing sound parameter, the video playing brightness parameter or the color ring playing content switching parameter.

15. The video playing method according to any one of claims 1 to 14, wherein the video is specifically a video of a combination of N video contents; the video playing parameters further comprise: and N playing sequence parameters of the video content.

16. A terminal, comprising:

At least one processor; and the number of the first and second groups,

A memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,

The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video playback method of any of claims 1 to 15.

17. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the video playback method of any one of claims 1 to 15.

Technical Field

the embodiment of the invention relates to the field of video playing, in particular to a video playing method, a terminal and a storage medium.

Background

With the rapid development of internet technology and electronic information technology, terminal devices such as smart phones have become one of the essential tools in people's lives. The terminal devices have more and more functions, and users can perform various operations such as social chat, listening to music, watching videos and the like through the terminal devices.

The inventors found that at least the following problems exist in the related art: when a user watches videos with different videos, parameters of videos played by the terminal are the same, and therefore the played video effect cannot be attached to the video playing content.

Disclosure of Invention

The embodiment of the invention aims to provide a video playing method, a terminal and a storage medium, so that the playing effect of the terminal meets the requirement of video playing content.

in order to solve the above technical problem, an embodiment of the present invention provides a video playing method, including: acquiring a video and determining the key of the video; selecting a target adjusting scheme from preset adjusting schemes according to the determined basic tone of the video; adjusting video playing parameters of the video according to the selected target adjustment scheme; and playing the video according to the adjusted video playing parameters.

an embodiment of the present invention further provides a terminal, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the video playing method.

The embodiment of the invention also provides a storage medium, which stores a computer program, and the computer program realizes the video playing method when being executed by a processor.

Compared with the prior art, the method and the device for adjusting the playing parameters of the video played by the terminal have the advantages that the video is identified and the tone of the video is determined after the terminal acquires the video, the adjusting scheme aiming at the video is determined in the preset adjusting scheme based on the determined tone of the video, and the playing parameters of the video played by the terminal are adjusted according to the determined target adjusting scheme, so that the effect of adjusting the video playing according to the content style of the video is realized, the video playing effect meets the content style of the video playing, and the watching experience of a user is improved.

In addition, the key of the video is specifically determined by: determining the key of the video by identifying a content label carried by the video; wherein the content tag is determined according to the content of the video; or, determining a key of the video by identifying content of the video. Two ways of determining the key of the video are provided, and the key of the video can be determined in different ways under different requirements.

in addition, according to the key of the video determined by identifying the content tag carried by the video, selecting a target adjustment scheme from preset adjustment schemes specifically includes: selecting a target theme from preset themes according to the content tag; and selecting a target adjustment scheme from the preset adjustment schemes according to the selected target theme and the corresponding relation between the preset theme and the adjustment schemes. This can reduce the number of preset adjustment schemes, thereby improving the efficiency of determining the target adjustment scheme.

In addition, the target adjustment scheme includes at least: adjusting the light effect; the video playing parameters at least comprise one or the combination of the following parameters: a light brightness parameter, a light color parameter, or a period parameter of light variation. By the method, the light effect during video playing can be adjusted according to the content of the video, so that the light effect during video playing is closer to the content of the video.

in addition, after the video is acquired, the method further comprises the following steps: acquiring current environment information; after adjusting the video playing parameters of the video according to the selected target adjustment scheme, and before playing the video according to the adjusted video playing parameters, the method further includes: and adjusting the video playing parameters of the video again according to the current environment information. On the basis of content adjustment, the content is adjusted again according to the environment, so that the playing effect not only meets the video content, but also meets the environment requirement, and the watching experience of the user is improved.

in addition, the environment information is specifically: ambient light information; the video playing parameters further include: a screen brightness parameter. By the method, the brightness parameter of the screen during video playing can be adjusted according to the ambient light, the screen brightness parameter is improved due to the fact that the ambient light brightness is high, and the screen brightness parameter is reduced due to the fact that the ambient light brightness is low, so that the screen brightness can be automatically adjusted according to the ambient light when a user watches videos, and the user watching experience is improved.

In addition, the environment information is specifically: time information; adjusting the video playing parameters of the video again according to the current environment information specifically includes: and if the current time is within the preset time range, adjusting the video playing parameters of the video to preset parameters. Therefore, the video can be played within the time range set by the user according to the preset parameters, and the requirements of the user on video playing within different time ranges are met.

in addition, after the video is acquired, the method further comprises the following steps: acquiring historical preference information of a user on a video; judging whether to shield the video according to the acquired historical preference information; and if the video is not judged to be shielded, adjusting the video playing parameters of the video according to the selected target adjustment scheme. By doing so, video content which is not interested by the user can be shielded according to the preference of the user, so that the played video content meets the preference of the user.

in addition, after the video is acquired, the method further comprises the following steps: acquiring a current video mode; wherein the video mode at least comprises: a conference mode, a rescue mode or a driving mode; selecting a target adjustment scheme from preset adjustment schemes according to the content tag, specifically comprising: and selecting a target adjustment scheme from a plurality of adjustment schemes corresponding to the current video mode according to the content tag. In this way, the user can preset different modes according to different actual conditions, and the different modes correspond to different target adjustment schemes, so that the selected target adjustment scheme meets the actual conditions of the user.

In addition, after the video is acquired, before the video playing parameters of the video are adjusted according to the selected target adjustment scheme, the method further includes: acquiring current motion state information; if the acquired current motion state information meets the preset shielding condition, shielding the video; and if the acquired current motion state information does not meet the preset shielding condition, executing video playing parameters of the video according to the selected target adjustment scheme. By doing so, the video can be shielded when the user is in a running state, a driving state, a riding state or other motion states which are not beneficial to watching the video, the waste of resources is avoided, and meanwhile, the current activity of the user is prevented from being influenced.

In addition, after playing the video according to the adjusted video playing parameter, the method further includes: when the control instruction is received, video playing parameters are adjusted again according to the control instruction; wherein, the playing parameters of the video adjusted again at least comprise: and the video playing sound parameter, the video playing brightness parameter or the color ring playing content switching parameter. Therefore, the video playing parameters can be adjusted in the video playing process, and the watching experience of the user is improved.

In addition, the video is specifically a video formed by combining N pieces of video content; the video playing parameters further include: and N playing sequence parameters of the video content. In this way, when a plurality of videos are played, the playing sequence of the videos can be adjusted, so that the user can watch the interested video content preferentially.

drawings

One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.

Fig. 1 is a flowchart of a video playing method according to a first embodiment of the present invention;

Fig. 2 is a flowchart of a video playing method according to a second embodiment of the present invention;

Fig. 3 is a flowchart of a video playing method according to a third embodiment of the present invention;

fig. 4 is a flowchart of a video playing method according to a fourth embodiment of the present invention;

fig. 5 is a schematic configuration diagram of a terminal according to a fifth embodiment of the present invention.

Detailed Description

in order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.

The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.

The first embodiment of the invention relates to a video playing method, in the embodiment, a video is obtained and the key of the video is determined; selecting a target adjusting scheme from preset adjusting schemes according to the determined basic tone of the video; adjusting video playing parameters of the video according to the selected target adjustment scheme; and playing the video according to the adjusted video playing parameters. The following describes implementation details of the video playing method of the present embodiment in detail, and the following is only provided for easy understanding and is not necessary to implement the present embodiment. The specific flow is shown in figure 1.

step 101, acquiring a video and determining a key of the video. Specifically, the terminal may obtain the video from a server or other devices, or obtain the video in a local storage space. After acquiring the video, the video player of the terminal may determine the key of the video by recognizing the content of the video, for example, the video player of the terminal may recognize whether the video contains a preset keyword or a specific audio stream. The mood of the video may also be determined by identifying content tags of the video, the content tags being used to reflect the content of the video content. The content label of the video can be configured by identifying the video content by the terminal, or can be configured after identifying the video content by the server, if the content label of the video is configured by the server, the content label can be directly acquired when the terminal acquires the video, the terminal can determine the key of the video by identifying the content label, and the efficiency of confirming the key of the video is improved.

And 102, selecting a target adjusting scheme from preset adjusting schemes according to the determined basic key of the video. Specifically, the mood of the video may be a cheerful, calm, or dull mood. After the basic key of the video is determined, a target adjusting scheme meeting the content of the video is selected from a plurality of preset adjusting schemes according to the adjusting schemes corresponding to the basic keys stored in advance. Taking the above-mentioned example of determining the mood of the video according to the content tag as an example, specifically explaining the selection of the target adjustment scheme according to the determined mood of the video, the content of the tag may include a positive energy tag of joy, sport, youth, etc., a slow rhythm tag of deep, sad, lyric, etc., or a neutral tag between the positive energy and the negative energy. After the terminal acquires the content tags, counting the number of the content tags of each specific key, taking the specific key with the largest number as the key of the video, and selecting a target adjustment scheme from a plurality of adjustment schemes according to the key with the largest number of the content tags.

in practical applications, after the terminal acquires the content tag, the theme meeting the video can be determined according to the key of the tag, for example, if the content tag of the video is a cheerful tag, a sports tag and a neutral tag, the theme of the video is determined according to the key of most tags, that is, the forward theme. If the video content labels are mostly low, sad and other slow-rhythm labels, determining the theme of the video as a negative theme; if most of the video content labels are content labels without definite key, the theme of the video is determined to be a neutral theme. After the theme of the video is determined, according to the determined theme, in the preset adjustment schemes corresponding to the theme of the video, the adjustment scheme corresponding to the determined theme is selected as a target adjustment scheme. Supposing that the preset adjustment scheme corresponding to the forward theme is flash of light every 1 second; the adjusting scheme corresponding to the negative theme is a breathing lamp with a period of 3 seconds, namely, the light changes from the brightest to the darkest every 3 seconds; and if the determined video theme is the forward theme, the adjusting scheme corresponding to the forward theme flashes the light every 1 second to serve as the target adjusting scheme.

And 103, adjusting video playing parameters of the video according to the selected target adjustment scheme. Specifically, the terminal adjusts the video playing parameters according to the selected target adjustment scheme. The adjustment scheme can be the adjustment of the light effect, the adjustment of the screen brightness, and the adjustment of other aspects of video playing. When the light effect is adjusted, the video playing parameter may be a light brightness parameter, a light color parameter, or a period parameter of light change. Taking the determined theme as a forward theme as an example, the target adjustment scheme may be flashing once every 1 second, and at this time, the corresponding video playing parameter may be that the lighting brightness parameter is increased, the lighting color parameter is adjusted to be white, and the period parameter of the lighting change is adjusted to be 1 second.

And 104, playing the video according to the adjusted video playing parameters. Specifically, after the terminal adjusts the video playing parameters according to the target adjustment scheme, the terminal can play the video content close to the playing strategy when playing the video. For example, when the video content of the forward theme is played, the light flashes every 1 second, so that the effect of setting off the cheerful atmosphere can be achieved; when the video content with the negative theme is played, the light effect is gradually lightened or extinguished in the form of a breathing lamp, so that the sunken atmosphere can be supported.

Compared with the prior art, the method and the device for adjusting the playing parameters of the video played by the terminal determine the tone of the acquired video after the terminal acquires the video, determine the adjusting scheme aiming at the video in the preset adjusting scheme based on the determined tone of the video, and adjust the playing parameters of the video played by the terminal according to the determined target adjusting scheme, so that the effect of adjusting the video playing according to the style of the video content is realized, the video playing effect meets the style of the video playing content, and the watching experience of a user is improved.

A second embodiment of the present invention relates to a video playback method. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in the second embodiment of the present invention, after the video playing parameters are adjusted based on the content of the video, the video playing parameters are also adjusted again according to the current environment information. The specific flow chart is shown in fig. 2.

Step 201, acquiring a video and determining a key of the video. The process is the same as step 101 in the first embodiment, and is not described herein again.

Step 202, obtaining current environment information. Specifically, the current environment information may be the current ambient light or the current time. The terminal may be detectable by the light sensor when detecting ambient light. It should be noted that, the acquiring of the current environment information in step 202 may occur at any time after the acquiring of the video in step 201 and before the video playing parameters of the video are adjusted again according to the current environment information in step 205, where the time of acquiring the current environment information is not limited.

and step 203, selecting a target adjusting scheme from preset adjusting schemes according to the determined basic key of the video.

And 204, adjusting video playing parameters of the video according to the selected target adjustment scheme.

Steps 203 and 204 are identical to steps 102 and 103 in the first embodiment, respectively, and are not described herein again.

and step 205, adjusting the video playing parameters of the video again according to the current environment information. Specifically, the current time and the ambient light are acquired. And determining video playing parameters according to the time period of the current time. For example, 24 hours of a day are divided into different time periods in advance, 6: 00-12: 00 is the morning hours; 12: 00-14: 00 is the midday rest period; 14: 00-18: 00 is the afternoon time period; 18: 00-22: 00 is the evening time period; 22: 00-6: 00 is the rest period at night. If the current time is 13: 15, being in the midday rest period, then cancel light scintillation effect to close the audio, avoid influencing user's rest. If the current time is 17: 00, in the afternoon period, the video parameters do not need to be adjusted at this time, and the video is played according to the adjustment strategy determined by the video content. When the acquired environment information is the environment light, the screen brightness parameter is adjusted according to the acquired environment light, if the acquired current environment light is strong, the screen brightness parameter is appropriately increased, and similarly, if the acquired current environment light is weak, the screen brightness parameter is appropriately decreased.

And step 206, playing the video according to the adjusted video playing parameters. Specifically, after the terminal adjusts the video playing parameters according to the target adjustment strategy determined according to the basic tone of the video, the terminal adjusts the video playing parameters again according to the environment information, and finally completes the adjustment of the video playing parameters, so that the video playing effect meets the content of the video and the environment requirement, and the watching experience of the user is improved.

A third embodiment of the present invention relates to a video playback method. The third embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in the third embodiment of the present invention, on the basis of adjusting the video playing parameters based on the key of the video, the video playing parameters are also adjusted according to the preference of the user. The specific flow chart is shown in fig. 3.

Step 301, acquiring a video and determining a key of the video.

Step 302, obtaining the historical preference information of the user for the video. Specifically, the user may complete the evaluation of the viewed video by evoking the floating window and selecting the like/uninteresting option in the floating window while viewing the video. For example, the user may indicate a like to watch a video by clicking on a like option and a dislike to watch the video by clicking on a disinterest option. When the terminal plays the video again, the historical evaluation of the user on the video can be called, so that the historical preference information of the user on the video is obtained. For example, if the number of times the user clicks the favorite option is 10 times and the number of times the user clicks the uninteresting item is 2 times in the evaluation of a certain video a, the favorite value of the user for the video a is 8, which is the difference between the number of times the user clicks the favorite option and the number of times the user clicks the uninteresting item.

In addition, the like value of the user to the video can be calculated according to the evaluation of the user of the terminal to the video, and the evaluation of all users on the platform to the video can be comprehensively considered, specifically, as follows, the like rate k1 of the user to the video A is assumed to be the ratio of the number of times that the user clicks the like to the number of times that the user effectively watches the video on the same day; the uninteresting rate k2 of the user to the video A is the ratio of the number of times of clicking uninteresting by the user on the current day to the number of videos effectively watched by the user on the current day; the oscillation factor omega is the ratio of the times that the platform users enjoy the total clicks to the times that the platform users do not interest the total clicks, and is used for reflecting the influence coefficient of all the users of the platform on the favorite value. The evaluation formula of the like ratio α is specifically:

α { (k1+1) × Σ single daily number of favorite operations/[ (k2+1) × Σ single daily number of disliked operations ] }.

In addition, the record of the favorite and uninteresting operation clicked by the user can be deleted or cleared by the user, and the calculated favorite value is recalculated according to the action of deleting or clearing the history.

Step 303, judging whether to mask the video according to the acquired historical preference information, and if so, entering step 304; if the determination result is negative, the process proceeds to step 305. Specifically, if the like value corresponding to the video calculated by the terminal is greater than the first preset threshold, it indicates that the user likes to watch the video, and the video is played preferentially, and then the process goes to step 304; if the like value corresponding to the video is smaller than a second preset threshold, which indicates that the user is not interested in the video, the video is masked, and the step 305 is performed; and if the favorite value corresponding to the video is between the first preset threshold and the second preset threshold, normally playing the video.

if the number of the videos acquired by the terminal is multiple, the playing of the multiple videos can be sequenced according to the like value calculated by each video, the videos with higher like values are played preferentially, the videos with like values lower than a second preset threshold value are shielded and prohibited from being played, and therefore the videos can be played according to the preference of the user.

Step 304, the video is masked.

And 305, selecting a target adjusting scheme from preset adjusting schemes according to the determined basic key of the video.

And step 306, adjusting video playing parameters of the video according to the selected target adjustment scheme.

And 307, playing the video according to the adjusted video playing parameter.

The steps 305-307 are the same as the steps 102-104 in the first embodiment, and will not be described herein again.

In addition, in practical application, after the video playing parameters are adjusted according to the style of the content of the video, the video playing strategy can be adjusted by combining the scene where the user is located through a preset mode, and the specific adjustment mode is as follows:

The user can select the current video mode from the recourse mode, the conference mode, the driving mode or other prestored mode types through the terminal to complete the setting of the video mode. After a terminal acquires a video, acquiring a video mode set by a user, wherein each video mode corresponds to a plurality of different adjustment schemes, and the terminal selects a target adjustment scheme from the plurality of different adjustment schemes corresponding to the video mode according to the acquired video content. For example, when the video mode set by the user is the recourse mode, the terminal sets the screen color parameter to white and changes the light color when the terminal gyroscope detects that the user shakes the terminal. When the video mode set by the user is the conference mode, the screen brightness parameter is reduced by 50%, and the screen is automatically turned off when the gyroscope detects that the terminal screen is in a downward state. And when the video mode set by the user is the driving mode, detecting whether the Bluetooth is in an open state, and if the Bluetooth is not open, opening the hands-free mode.

in addition, besides the adjustment mode of the video playing parameters, the video playing parameters can be adjusted by combining the current motion state of the user. And if the user is in the motion state of riding, driving or running and the like, shielding the video. And a blacklist can be preset by combining with a user to shield a specific video.

in practical application, the video acquired by the terminal can be video color ring for the user to watch in the call waiting process. After the terminal obtains the video polyphonic ringtone, the playing parameters of the video polyphonic ringtone can be adjusted according to the modes for adjusting the video playing parameters, and a blacklist can be preset by a user and comprises a shielded friend list or a shielded time period. When a friend in the blacklist calls the user, shielding the video color ring; or the user receives the call request in the preset shielding time period and also shields the video color ring.

In addition, after the terminal shields the video color ring for some reason, the reason for shielding the color ring can be displayed on a display interface, and an option for manually opening the video color ring is provided. For example, if the video polyphonic ringtone is masked due to the preset masking time period, the video polyphonic ringtone is displayed on the display interface, that is, "the video polyphonic ringtone is masked due to the non-disturbance time period", and a manual opening option is provided after the text description, so that the user can open the video polyphonic ringtone in a click-and-select manner.

A fourth embodiment of the present invention relates to a video playback method. The fourth embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in the fourth embodiment of the present invention, during the process of playing the video, the video playing parameters can be adjusted through the received control instruction. The specific flow chart is shown in fig. 4.

step 401, acquiring a video and determining a key of the video.

And 402, selecting a target adjusting scheme from preset adjusting schemes according to the determined basic key of the video.

And 403, adjusting video playing parameters of the video according to the selected target adjustment scheme.

And step 404, playing the video according to the adjusted video playing parameter.

the steps 401 and 404 are respectively the same as the steps 101 and 104 in the first embodiment, and are not described herein again.

step 405, when the control instruction is received, the video playing parameters are adjusted again according to the control instruction. Specifically, in the video playing process, if the terminal receives a control instruction input by the user, the video playing parameters are adjusted according to the control instruction input by the user, so that the video playing effect meets the requirements of the user, and the watching experience of the user is improved. The process of adjusting video playing parameters is as follows: the user can input a corresponding control instruction by clicking options displayed on the screen; the corresponding control instruction can also be input through a specific gesture. For example, when the user makes a gesture pointing up, it indicates that the user needs to increase the brightness of the video playing, and after the terminal recognizes the gesture, the terminal increases the screen brightness parameter. Similarly, the terminal can also adjust the volume of the played video through the identification control instruction, and if the number of the videos received by the terminal is more than one, the videos can be switched through the identification control instruction.

In practical applications, the user may not adjust the video playing parameters due to unrecognizable gestures or other reasons. For example, when gesture recognition fails or touch reading fails, a display interface of the terminal prompts that "the current instruction is not recognized" in a form of a message box, so that a user is prompted to detect the terminal device. For another example, when there is no switchable video currently, if the user performs the operation of switching the video, the terminal may prompt in the form of a message box that "no more video is available", thereby avoiding the user performing an invalid operation.

The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.

A fifth embodiment of the present invention is directed to a terminal, as shown in fig. 5, including at least one processor 501; and a memory 502 communicatively coupled to the at least one processor 501; the memory 502 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501, so that the at least one processor 501 can execute the video playing method.

the memory 502 and the processor 501 are coupled by a bus, which may include any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 501 and the memory 502 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over the wireless medium via the antenna, which further receives the data and transmits the data to the processor 501.

The processor 501 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 502 may be used to store data used by processor 501 in performing operations.

A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.

that is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

it will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于网页的媒体文件的播放方法、装置及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类