CN118138839A - Video play adjusting method and device, electronic equipment and readable storage medium - Google Patents

Video play adjusting method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN118138839A
CN118138839A CN202410140889.7A CN202410140889A CN118138839A CN 118138839 A CN118138839 A CN 118138839A CN 202410140889 A CN202410140889 A CN 202410140889A CN 118138839 A CN118138839 A CN 118138839A
Authority
CN
China
Prior art keywords
information
operation information
user
adjustment
play
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.)
Pending
Application number
CN202410140889.7A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
MIGU Digital Media Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Digital Media Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Digital Media Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202410140889.7A priority Critical patent/CN118138839A/en
Publication of CN118138839A publication Critical patent/CN118138839A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a video play adjusting method and device, electronic equipment and a readable storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring playing information of a target video, wherein the playing information comprises first operation information, and the first operation information is used for indicating a playing adjustment behavior performed by a user when the target video is played for the first time; determining second operation information according to the operation type of the first operation information, wherein the operation type comprises optional operation and necessary operation, and the second operation information is first operation information corresponding to the necessary operation in the play information; and adjusting the current playing mode of the target video based on the second operation information. In the method, the second operation information with the operation type being the necessary operation is determined from the first operation information, and the playing mode when the target video is repeatedly played is adjusted according to the playing adjustment behavior corresponding to the second operation information, so that the accuracy of the playing mode is improved.

Description

Video play adjusting method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of computers, and particularly relates to a video play adjusting method and device, electronic equipment and a readable storage medium.
Background
When the same video is repeatedly played, a segment which needs to be focused or a segment which needs to be skipped is encountered, and the playing mode of the video needs to be adjusted, for example, the playing speed of the video, the playing volume of the video, and the like are adjusted.
Generally, the video may be automatically adjusted according to a preset command or manually adjusted by a user, but the manual adjustment process is troublesome for the user, and the adjustment mode according to the preset command does not necessarily conform to the viewing habit of the user, so in the prior art, the playing mode adopted for repeatedly playing the video is not accurate enough, and the requirement of the user cannot be met.
Disclosure of Invention
The embodiment of the application aims to provide a video playing adjustment method, a video playing adjustment device, electronic equipment and a readable storage medium, which can solve the problem that the existing playing mode adopted for repeatedly playing videos is inaccurate.
In a first aspect, an embodiment of the present application provides a method for adjusting video playing, where the method includes:
Acquiring playing information of a target video, wherein the playing information comprises first operation information, and the first operation information is used for indicating a playing adjustment behavior performed by a user when the target video is played for the first time;
Determining second operation information according to the operation type of the first operation information, wherein the operation type comprises optional operation and necessary operation, and the second operation information is first operation information corresponding to the necessary operation in the play information;
and adjusting the current playing mode of the target video based on the second operation information.
In a second aspect, an embodiment of the present application provides an adjusting apparatus for video playing, where the apparatus includes:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring the play information of a target video, the play information comprises first operation information, and the first operation information is used for indicating play adjustment behaviors performed by a user when the target video is played for the first time;
The first determining module is used for determining second operation information according to the operation type of the first operation information, wherein the operation type comprises optional operation and necessary operation, and the second operation information is first operation information corresponding to the necessary operation in the play information;
And the adjusting module is used for adjusting the current playing mode of the target video based on the second operation information.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory and a program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the method for adjusting video playback as described in the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method for adjusting video playback according to the first aspect.
Fifth method, an embodiment of the present application provides a computer program product comprising computer instructions which, when executed by a processor, implement the steps of the method for adjusting video playback according to the first aspect.
In the embodiment of the application, the playing information of the target video in the process of playing the target video for the first time is acquired, the playing information comprises first operation information for indicating the playing adjustment action performed by the user, the type of the first operation information comprises a necessary operation and a selectable operation, the first operation information corresponding to the necessary operation is determined to be second operation information, and the current playing mode of the target video is adjusted, so that the playing adjustment action corresponding to the second operation information is performed in the current playing process of the target video. In the above manner, since the play adjustment behavior corresponding to the second operation information is a behavior which is necessarily performed in the process of playing the target video by the user, the current play manner of adjusting the target video according to the second operation information can meet the user requirement, and the user experience is improved. In addition, the play adjustment behavior corresponding to the first operation information corresponding to the optional operation is accidental, and the user does not need to execute the play adjustment behavior in the play process after the target video is played for the first time, so that compared with the current play mode of adjusting the target video according to the first operation information, in the video play adjustment method provided by the embodiment of the application, the influence of the first operation information corresponding to the optional operation on the play mode of the target video is eliminated, the accuracy of the play mode of repeatedly playing the target video after the target video is played for the first time is improved, and the user experience is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is a flowchart illustrating a method for adjusting video playback according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an adjusting device for video playing according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The method for adjusting video playing provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The video play adjusting method provided by the embodiment of the application can be applied to a scene of video repeated play. The learning video is mainly aimed at, and compared with other types of video, a user needs to watch the learning video repeatedly for a plurality of times to master the content in the learning video. In learning video, there may be a part of clips that are important contents, and in the process of repeating playing, important attention needs to be paid, for example, slow down by times, for example, pause for careful viewing, if each repeating playing needs to be manually operated by the user at the same place of the video, which is very inconvenient.
As shown in fig. 1, a flow chart of a method for adjusting video playing according to an embodiment of the present application specifically includes the following steps:
Step 101, obtaining playing information of a target video, wherein the playing information comprises first operation information, and the first operation information is used for indicating playing adjustment behaviors performed by a user when the target video is played for the first time.
It should be noted that, the method for adjusting video playing provided by the embodiment of the application can be applied to a process of repeatedly playing the target video after the user plays the target video for the first time.
When a user plays a target video for the first time, the terminal detects play adjustment behaviors of the user in the process of playing the target video, wherein the play adjustment behaviors can be double-speed play, pause, volume adjustment, brightness adjustment, dragging of a progress bar, horizontal and vertical screen switching and the like.
The play information may further include time node information, that is, the terminal records the play adjustment behavior while detecting the play adjustment behavior performed by the user, and the time node corresponding to the play adjustment behavior in the target video when performing the play adjustment behavior. For example, the user switches the vertical screen play to the horizontal screen play at the position of 45 s; the user clicks the double-speed play at the position of 50 s; the user drags the progress bar at the position of 55s to fast forward.
Step 102, determining second operation information according to the operation type of the first operation information, wherein the operation type comprises optional operation and necessary operation, and the second operation information is the first operation information corresponding to the necessary operation in the play information.
The play adjustment behavior corresponding to the optional operation may be understood as a play adjustment behavior performed by the user when playing the target video for the first time, but in the subsequent repeated playing process, the play adjustment behavior is not necessarily repeated. For example, when the user plays the target video for the first time, the user cannot see the screen because the environment brightness is high, and the user performs brightness adjustment when playing the target video for the first time, but in the process of playing the video repeatedly, the environment brightness of the user is proper, so that the brightness adjustment action is not needed.
The play adjustment behavior corresponding to the selection operation can be understood as a play adjustment behavior which is performed by the user when playing the target video for the first time, and is still performed repeatedly in the subsequent repeated playing process. For example, when the user plays the target video for the first time, the user finds that a certain part of content is important and needs to be carefully memorized, so that the user can reduce the playing speed or directly pause to perform watching learning, and then in the subsequent repeated playing process, the user still needs to perform watching learning by reducing the playing speed or pausing for the important content.
In this step, among the first operation information included in the play information, the first operation information whose corresponding operation type is the optional operation is determined as the second operation information.
And step 103, adjusting the current playing mode of the target video based on the second operation information.
The operation type corresponding to the second operation information is a necessary operation, and the play adjustment behavior corresponding to the second operation information is a behavior which is necessarily performed in the process of playing the target video by the user. According to the second operation information, the current playing mode of the target video can be adjusted, so that the playing adjustment behavior corresponding to the second operation information is automatically carried out on a time node corresponding to the second operation information in the current playing process of the target video, and manual operation of a user is not needed.
In the method for adjusting video playing provided by the embodiment of the application, playing information in the process of playing the target video for the first time by a user is obtained, the playing information comprises first operation information for indicating playing adjustment actions performed by the user, the type of the first operation information comprises a necessary operation and a selectable operation, the first operation information corresponding to the necessary operation is determined to be second operation information, and the current playing mode of the target video is adjusted, so that the playing adjustment actions corresponding to the second operation information are performed in the process of playing the target video at the current time. In the above manner, since the play adjustment behavior corresponding to the second operation information is a behavior which is necessarily performed in the process of playing the target video by the user, the current play manner of adjusting the target video according to the second operation information can meet the user requirement, and the user experience is improved. In addition, the play adjustment behavior corresponding to the first operation information corresponding to the optional operation is accidental, and the user does not need to execute the play adjustment behavior in the play process after the target video is played for the first time, so that compared with the current play mode of adjusting the target video according to the first operation information, in the video play adjustment method provided by the embodiment of the application, the influence of the first operation information corresponding to the optional operation on the play mode of the target video is eliminated, the accuracy of the play mode of repeatedly playing the target video after the target video is played for the first time is improved, and the user experience is further improved.
Optionally, before the determining the second operation information according to the operation type of the first operation information, the method further includes:
Determining the operation type of the first operation information according to at least one of user behavior information and play adjustment behavior corresponding to the first operation information;
wherein the user behavior information includes:
in a first preset period after the user performs the play adjustment action corresponding to the first operation information, the distance information between the face of the user detected by the terminal and the terminal screen;
and the user plays the mental state information of the target video for the first time.
In this embodiment, the operation type of the first operation information may be determined by a specific play adjustment behavior corresponding to the first operation information, or may be determined by combining a specific play adjustment behavior corresponding to the first operation information with user behavior information.
It should be noted that, in this embodiment, the user's mind is classified into neutral, happy, angry, sad, surprise, and the like, and in the process of playing the target video for the first time, the terminal may detect and record the user's mind to obtain the mind information. The mental state information can feed back whether the video playing mode after the user performs the playing adjustment action has positive or negative effects on the user. For example, the state of mind of the user before performing a certain play adjustment action is neutral, and after performing a pause, the state of mind of the user changes to a happy state, which indicates that the play adjustment action of the pause is active and effective, and it can be determined as an optional operation.
In this embodiment, the operation type of the first operation information is determined according to at least one of the user behavior information and the play adjustment behavior corresponding to the first operation information, so as to accurately determine the operation type, thereby ensuring that the second operation information determined from the first operation information is accurate, and finally improving the accuracy of the play mode of the repeated play target video after the first play of the target video.
Optionally, the determining, according to at least one of the user behavior information and the play adjustment behavior corresponding to the first operation information, the operation type of the first operation information includes:
under the condition that the play adjustment behavior corresponding to the first operation information belongs to a first behavior, determining the operation type of the first operation information as a necessary operation;
And determining the operation type of the first operation information based on the user behavior information under the condition that the play adjustment behavior corresponding to the first operation information belongs to the second behavior.
In this embodiment, the operation type is determined by specific play adjustment behavior and user behavior information corresponding to the first operation information, which may be that the play adjustment behavior is first classified into a preset class, that is, a first behavior and a second behavior, where the first behavior includes double-speed play, volume adjustment, brightness adjustment, and the like, and the second behavior includes pause, horizontal-vertical screen switching, and the like. It should be noted that, the specific actions included in the first action have an adjustment amount when being executed, and the "adjustment amount" is described in the following examples, for example, in the process of playing the target video for the first time, the volume adjustment is performed, and the volume adjustment has an associated adjustable parameter, that is, the volume size, so that, in the process of repeatedly playing the target video, when the necessary operation of volume adjustment is performed, the specific volume size may be determined in combination with parameters such as environmental information.
The first operation information corresponding to the first behavior is directly determined to be the necessary operation, and because the first behavior is the behavior with the 'adjustment amount', the specific mode of the play adjustment behavior corresponding to the first operation information can be adjusted in the repeated play process, and bad experience can not be brought to the watching process of the user. The second behavior is the behavior without the adjustment amount, so that whether the target video belongs to the necessary operation or not needs to be determined in advance before the target video is repeatedly played, so that bad experience is prevented from being brought to the watching process of the user.
Optionally, in a case where the play adjustment behavior corresponding to the first operation information belongs to a second behavior, the determining, based on the user behavior information, the operation type of the first operation information includes:
Determining the operation type of the first operation information as a necessary operation when the distance between the face of the user and the terminal screen is smaller than a target distance in a first preset period after the user performs the play adjustment action corresponding to the first operation information, wherein the target distance is the distance between the face of the user and the terminal screen in a second preset period before the user performs the play adjustment action corresponding to the first operation information;
And determining the operation type of the first operation information as optional operation under the condition that the distance between the face of the user and the terminal screen is greater than or equal to the target distance in a first preset period after the user performs the play adjustment action corresponding to the first operation information.
In this embodiment, the second action may be a pause or a landscape/portrait screen switch. The method of this embodiment will be described below by taking a play adjustment behavior corresponding to the first operation information as a pause as an example:
The user pauses at a time node of 30s in the process of playing the target video for the first time, the distance between the face of the user and the terminal screen is 35cm in a first preset period (e.g., 10 s) after the pause is performed, i.e., in a period of 30s to 40s, and the target distance between the face of the user and the terminal screen is 50cm in a second preset period (e.g., 5 s) before the pause is performed, i.e., in a period of 25s to 30 s. The distance between the face of the user after the pause and the terminal screen becomes smaller than before the pause, indicating that the user is closer to the screen and wants to see the information in the screen, in which case, indicating that the content currently viewed by the user is the key content belonging to the target video, the pause behavior is confirmed as an optional operation.
In contrast, if after the pause is performed, the distance between the face of the user and the screen of the terminal becomes larger, even the terminal cannot detect the face of the user, which means that the user needs to process other transactions at this time, and in the process of repeatedly playing the target video, the user does not need to process other transactions again at the corresponding time point, so that the pause behavior is confirmed as an optional operation, and bad experience is brought to the watching process of the user due to the fact that the user does not want to pause but automatically pauses is avoided.
In this embodiment, when the play adjustment behavior corresponding to the first operation information belongs to the second behavior, the operation type of the first operation information is determined according to the distance information between the face of the user and the terminal screen, so that whether the second behavior is a necessary operation can be accurately determined, thereby ensuring that the second operation information determined from the first operation information is accurate, and improving the accuracy of the play mode of the repeated play target video after the first play of the target video.
Optionally, in the case that the play adjustment behavior corresponding to the second operation information belongs to the first behavior, before the adjusting the current play mode of the target video based on the second operation information, the method further includes:
Adjusting the second operation information based on the user behavior information;
The adjusting the current playing mode of the target video based on the second operation information includes:
and adjusting the current playing mode of the target video based on the adjusted second operation information.
In this embodiment, the case to be addressed is a case where the play adjustment behavior corresponding to the second operation information belongs to the first behavior. The first behavior can be double-speed playing, volume adjusting or brightness adjusting, the playing adjusting behaviors have adjusting amounts, in the repeated playing process, the playing adjusting behaviors corresponding to the second operation information can be adjusted according to the user behavior information (such as the mental state information), and the playing mode of the target video is adjusted according to the adjusted second operation information, so that the playing mode of the target video meets the requirements of users more, the accuracy of the playing mode is improved, and the watching experience of the users is improved.
Optionally, the adjusting the second operation information based on the user behavior information includes:
Acquiring a first time period before a user performs the first action in the process of playing the target video for the first time, and acquiring a second time period after the user performs the first action;
Determining first magic information corresponding to the first time period from the user behavior information, and determining second magic information corresponding to the second time period;
The second operation information is adjusted based on the first and second mental state information.
In this embodiment, taking the first action as the double-speed playing as an example, the procedure of adjusting the second operation information is described as follows:
In the process of playing the target video for the first time, the user performs a double-speed playing operation at a certain time point, and the double-speed playing operation is denoted as P i,Pi (when the playing adjustment action corresponding to the second operation information is volume adjustment, P i is used for indicating the volume size of volume adjustment, and when the playing adjustment action corresponding to the second operation information is brightness adjustment, P i is used for indicating the brightness size of brightness adjustment), for example, the double-speed playing operation is adjusted to be 1.5 times at the moment of 35 s.
And determining the first and second magic information from the magic information recorded by the terminal during the first playing of the target video by the user. The first and second mental state information are respectively associated with a first and second time period, and the specific duration of the first and second time periods can be adjusted according to actual conditions. For example, the duration of the first period and the second period is 3s, the first period before the double-speed play adjustment action is 32s to 35s, and the second period after the double-speed play adjustment action is 35s to 38s. In this embodiment, the states of the user are divided into five types of states, such as neutrality, happiness, angry, sadness, surprise, each corresponding to a weight coefficient, and the specific value of the weight coefficient can be adjusted according to the actual situation. For example, the weight coefficient of qi is-1, the weight coefficient of sadness is-0.5, the weight coefficient of neutrality is 0, the weight coefficient of happiness is 0.5, and surprise is 1. And recording the states of the user in the first time period and the second time period, acquiring corresponding weight coefficients, recording the weight coefficients corresponding to the states as state information, and recording the first state information in the first time period and the second state information in the second time period as (x 1、x2…xn).
The second operation information P i is adjusted according to the first and second look information (x 1、x2…xn):
wherein, i has a value of 1 to n, a is a preset coefficient, and x i is the mental state information. According to the above formula, the adjusted second operation information P can be obtained.
In this embodiment, since the mental state information has a reference effect on the user experience, the mental state information is used to adjust the second operation information, so that the adjusted second operation information is more in line with the user experience, the accuracy of the subsequent playing mode is improved, and the user watching video experience is improved.
Note that, when the play adjustment action corresponding to the second operation information P i is double-speed play, if the user performs multiple times of double-speed adjustment within a certain period of time, for example, within 5s, the average value of the multiple times of double-speed is recorded as P i. If the user performs the double-speed playing operation only once within 5s, the double-speed value is recorded as P i.
Optionally, in the case that the second behavior is volume adjustment, the adjusting the second operation information based on the first and second mental state information includes:
Acquiring first environmental noise before the volume adjustment action is performed by a user in the process of playing the target video for the first time, and acquiring second environmental noise at the current moment and the current playing volume of the target video;
performing a first adjustment operation on the second operation information based on the first ambient noise, the first play volume, the second ambient noise, and the current play volume;
And performing a second adjustment operation on the second operation information after the first adjustment operation is performed based on the first and second magic information.
In this embodiment, the playing adjustment behavior corresponding to the second operation information P i is volume adjustment, and the adjustment process is described in the following example:
The volume set by the volume adjustment action when the user plays the target video for the first time (denoted by P i) is recorded, and at the same time, the first ambient noise V 1 and the first play volume V 2 of the target video script are detected and recorded. In the subsequent repeated playing process, detecting the second environmental noise V 4 at the current moment and the current playing volume V 5 of the target video, and performing a first adjustment operation on the second operation information P i according to the parameters:
and obtaining second operation information P t after the first adjustment operation is performed.
Acquiring the first state information (x 1、x2…xn) in the first period and the second state information (x 1、x2…xn) in the second period mentioned in the above embodiments, and performing a second adjustment operation on the second operation information P t:
wherein, i has a value of 1 to n, a is a preset coefficient, and x i is the mental state information.
According to the second operation information P after the second adjustment operation is performed, the current playing mode of the target video is adjusted, in this embodiment, due to the accidental connection between the adjustment amount of the volume adjustment and the environmental factor, the first adjustment operation is performed by using the first playing process of the target video, the environmental volume in the current playing process of the target video, and the volume ratio between the original playing volumes of the target video, and then the second adjustment operation is performed according to the mental information, so that the adjusted second operation information is more in accordance with the use experience of the user, the accuracy of the subsequent playing mode is improved, and the viewing video experience of the user is improved.
Optionally, in the case that the second behavior is brightness adjustment, the adjusting the second operation information based on the first and second mental state information includes:
acquiring first ambient brightness before the brightness adjustment action of a user in the process of playing the target video for the first time and first playing brightness of the target video, and acquiring second ambient brightness at the current moment and current playing brightness of the target video;
performing a third adjustment operation on the second operation information based on the first ambient brightness, the first play brightness, the second ambient brightness and the current play brightness;
And performing a fourth adjustment operation on the second operation information after performing the third adjustment operation based on the first and second magic information.
In this embodiment, the play adjustment behavior corresponding to the second operation information P i is brightness adjustment, and the third adjustment operation and the fourth adjustment operation are described by the following examples:
The brightness (denoted by P i) set by the brightness adjustment behavior when the user plays the target video for the first time is recorded, and at the same time, the first ambient brightness B 1 and the first play brightness B 2 of the target video script are detected and recorded. In the subsequent repeated playing process, detecting the second ambient brightness B 4 at the current moment and the current playing brightness B 5 of the target video, and performing a third adjustment operation on the second operation information P i according to the above parameters:
and obtaining second operation information P t after the third adjustment operation is performed.
Acquiring the first state information (x 1、x2…xn) in the first period and the second state information (x 1、x2…xn) in the second period mentioned in the above embodiments, and performing a fourth adjustment operation on the second operation information P t:
wherein, i has a value of 1 to n, a is a preset coefficient, and x i is the mental state information.
The method of the embodiment is similar to the method when the playing adjustment behavior is volume adjustment, and the second operation information is adjusted according to the first playing of the target video, the environmental factors in the current playing process of the target video, and the brightness parameters of the target video, and then the second operation information is adjusted according to the mental information, so that the adjusted second operation information better accords with the use experience of the user.
In an optional embodiment, whether the user is not focused can be further determined according to the mental information of the user, if the user is not focused, a corresponding time point is recorded, and in the process of repeatedly playing the target video, prompt information is displayed at the corresponding time point, so as to remind the user to focus on or rest.
In addition, the method provided by the application can be applied to VR equipment besides conventional playing equipment such as televisions, mobile phones and computers. When the VR device is used for watching the video, a user is required to perform operations such as nodding, waving and the like to control the playing of the video, and the operation is inconvenient. By adopting the method provided by the application, the operation performed by the user and the time node when the operation is performed are recorded in the process of playing the video by using the VR equipment for the first time, for example, when the operation is performed for 30 seconds, the user turns to the right to set the playing mode as the fast forward mode, and when the operation is performed for 30 seconds in the subsequent repeated playing process, the user does not need to turn to enter the fast forward mode automatically.
As shown in fig. 2, the embodiment of the present application further provides a device for adjusting video playing, where the device 200 for adjusting video playing includes:
The obtaining module 201 is configured to obtain playing information of a target video, where the playing information includes first operation information, and the first operation information is used to instruct a user to perform a playing adjustment action when playing the target video for the first time;
A first determining module 202, configured to determine second operation information according to an operation type of the first operation information, where the operation type includes an optional operation and an optional operation, and the second operation information is first operation information corresponding to the optional operation in the play information;
And the adjusting module 203 is configured to adjust a current playing mode of the target video based on the second operation information.
Optionally, the adjusting device 200 for video playing further includes:
The second determining module is used for determining the operation type of the first operation information according to at least one of the user behavior information and the play adjustment behavior corresponding to the first operation information;
wherein the user behavior information includes:
in a first preset period after the user performs the play adjustment action corresponding to the first operation information, the distance information between the face of the user detected by the terminal and the terminal screen;
and the user plays the mental state information of the target video for the first time.
Optionally, the second determining module includes:
The first determining submodule is used for determining that the operation type of the first operation information is a necessary operation under the condition that the play adjustment behavior corresponding to the first operation information belongs to the first behavior;
and the second determining submodule is used for determining the operation type of the first operation information based on the user behavior information under the condition that the play adjustment behavior corresponding to the first operation information belongs to the second behavior.
Optionally, in the case that the play adjustment behavior corresponding to the first operation information belongs to a second behavior, the second determining submodule is further configured to:
Determining the operation type of the first operation information as a necessary operation when the distance between the face of the user and the terminal screen is smaller than a target distance in a first preset period after the user performs the play adjustment action corresponding to the first operation information, wherein the target distance is the distance between the face of the user and the terminal screen in a second preset period before the user performs the play adjustment action corresponding to the first operation information;
And determining the operation type of the first operation information as optional operation under the condition that the distance between the face of the user and the terminal screen is greater than or equal to the target distance in a first preset period after the user performs the play adjustment action corresponding to the first operation information.
Optionally, in the case that the play adjustment behavior corresponding to the second operation information belongs to the first behavior, the adjustment module 203 is further configured to:
Adjusting the second operation information based on the user behavior information;
The adjusting the current playing mode of the target video based on the second operation information includes:
and adjusting the current playing mode of the target video based on the adjusted second operation information.
Optionally, the adjustment module 203 further includes:
The first acquisition sub-module is used for acquiring a first time period before the user performs the first action in the process of playing the target video for the first time and acquiring a second time period after the user performs the first action;
A third determining sub-module for determining first magic information corresponding to the first time period from the user behavior information, and determining second magic information corresponding to the second time period;
the first adjustment sub-module is used for adjusting the second operation information based on the first magic state information and the second magic state information.
Optionally, in the case that the second behavior is volume adjustment, the first adjustment sub-module is further configured to:
Acquiring first environmental noise before the volume adjustment action is performed by a user in the process of playing the target video for the first time, and acquiring second environmental noise at the current moment and the current playing volume of the target video;
performing a first adjustment operation on the second operation information based on the first ambient noise, the first play volume, the second ambient noise, and the current play volume;
And performing a second adjustment operation on the second operation information after the first adjustment operation is performed based on the first and second magic information.
Optionally, in the case that the second behavior is brightness adjustment, the first adjustment sub-module is further configured to:
acquiring first ambient brightness before the brightness adjustment action of a user in the process of playing the target video for the first time and first playing brightness of the target video, and acquiring second ambient brightness at the current moment and current playing brightness of the target video;
performing a third adjustment operation on the second operation information based on the first ambient brightness, the first play brightness, the second ambient brightness and the current play brightness;
And performing a fourth adjustment operation on the second operation information after performing the third adjustment operation based on the first and second magic information.
It should be noted that, the video play adjusting device 200 provided in the embodiment of the present application can implement all technical processes of the video play adjusting method shown in the embodiment of fig. 1, and achieve the same technical effects, and is not described herein again for avoiding repetition.
The embodiment of the application also provides electronic equipment, which comprises: the program is executed by the processor to implement each process of the method embodiment shown in fig. 1 and achieve the same technical effects, and is not repeated here.
Specifically, referring to fig. 3, an embodiment of the present application further provides an electronic device, including a bus 301, a transceiver 302, an antenna 303, a bus interface 304, a processor 305, and a memory 306.
In this embodiment, the electronic device further includes: a computer program stored on the memory 306 and executable on the processor 305. The computer program, when executed by the processor 305, may implement the respective procedures of the video play adjustment method as shown in the embodiment of fig. 1, and achieve the same technical effects, and for avoiding repetition, will not be described herein.
In fig. 3, a bus architecture (represented by bus 301), the bus 301 may comprise any number of interconnected buses and bridges, with the bus 301 linking together various circuits, including one or more processors, represented by processor 305, and memory, represented by memory 306. The bus 301 may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. Bus interface 304 provides an interface between bus 301 and transceiver 302. The transceiver 302 may be one element or may be 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 305 is transmitted over a wireless medium via the antenna 303, and further, the antenna 303 receives the data and transmits the data to the processor 305.
The processor 305 is responsible for managing the bus 301 and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 306 may be used to store data used by processor 305 in performing operations. Alternatively, the processor 305 may be CPU, ASIC, FPGA or a CPLD.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the respective processes of the video playing adjustment method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided herein. Wherein the computer readable storage medium is such as ROM, RAM, magnetic or optical disk.
The embodiment of the present application further provides a computer program product, which includes computer instructions, where the computer instructions, when executed by a processor, implement each process of the embodiment of the method shown in fig. 1 and achieve the same technical effects, and in order to avoid repetition, are not described herein.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application. The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (12)

1. A method for adjusting video playback, the method comprising:
Acquiring playing information of a target video, wherein the playing information comprises first operation information, and the first operation information is used for indicating a playing adjustment behavior performed by a user when the target video is played for the first time;
Determining second operation information according to the operation type of the first operation information, wherein the operation type comprises optional operation and necessary operation, and the second operation information is first operation information corresponding to the necessary operation in the play information;
and adjusting the current playing mode of the target video based on the second operation information.
2. The method of claim 1, wherein prior to the determining second operation information according to the operation type of the first operation information, the method further comprises:
Determining the operation type of the first operation information according to at least one of user behavior information and play adjustment behavior corresponding to the first operation information;
wherein the user behavior information includes:
in a first preset period after the user performs the play adjustment action corresponding to the first operation information, the distance information between the face of the user detected by the terminal and the terminal screen;
and the user plays the mental state information of the target video for the first time.
3. The method of claim 2, wherein determining the operation type of the first operation information according to at least one of user behavior information and play adjustment behavior corresponding to the first operation information comprises:
under the condition that the play adjustment behavior corresponding to the first operation information belongs to a first behavior, determining the operation type of the first operation information as a necessary operation;
And determining the operation type of the first operation information based on the user behavior information under the condition that the play adjustment behavior corresponding to the first operation information belongs to the second behavior.
4. The method of claim 3, wherein, in a case where the play adjustment behavior corresponding to the first operation information belongs to a second behavior, the determining the operation type of the first operation information based on the user behavior information comprises:
Determining the operation type of the first operation information as a necessary operation when the distance between the face of the user and the terminal screen is smaller than a target distance in a first preset period after the user performs the play adjustment action corresponding to the first operation information, wherein the target distance is the distance between the face of the user and the terminal screen in a second preset period before the user performs the play adjustment action corresponding to the first operation information;
And determining the operation type of the first operation information as optional operation under the condition that the distance between the face of the user and the terminal screen is greater than or equal to the target distance in a first preset period after the user performs the play adjustment action corresponding to the first operation information.
5. The method according to claim 3, wherein in a case where the play adjustment behavior corresponding to the second operation information belongs to a first behavior, before the adjusting the current play mode of the target video based on the second operation information, the method further comprises:
Adjusting the second operation information based on the user behavior information;
The adjusting the current playing mode of the target video based on the second operation information includes:
and adjusting the current playing mode of the target video based on the adjusted second operation information.
6. The method of claim 5, wherein the adjusting the second operation information based on the user behavior information comprises:
Acquiring a first time period before a user performs the first action in the process of playing the target video for the first time, and acquiring a second time period after the user performs the first action;
Determining first magic information corresponding to the first time period from the user behavior information, and determining second magic information corresponding to the second time period;
The second operation information is adjusted based on the first and second mental state information.
7. The method of claim 6, wherein, in the case where the second behavior is volume adjustment, the adjusting the second operational information based on the first and second look information comprises:
Acquiring first environmental noise before the volume adjustment action is performed by a user in the process of playing the target video for the first time, and acquiring second environmental noise at the current moment and the current playing volume of the target video;
performing a first adjustment operation on the second operation information based on the first ambient noise, the first play volume, the second ambient noise, and the current play volume;
And performing a second adjustment operation on the second operation information after the first adjustment operation is performed based on the first and second magic information.
8. The method of claim 6, wherein, in the case where the second behavior is brightness adjustment, the adjusting the second operation information based on the first and second mental state information comprises:
acquiring first ambient brightness before the brightness adjustment action of a user in the process of playing the target video for the first time and first playing brightness of the target video, and acquiring second ambient brightness at the current moment and current playing brightness of the target video;
performing a third adjustment operation on the second operation information based on the first ambient brightness, the first play brightness, the second ambient brightness and the current play brightness;
And performing a fourth adjustment operation on the second operation information after performing the third adjustment operation based on the first and second magic information.
9. An adjustment device for video playback, the device comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring the play information of a target video, the play information comprises first operation information, and the first operation information is used for indicating play adjustment behaviors performed by a user when the target video is played for the first time;
The first determining module is used for determining second operation information according to the operation type of the first operation information, wherein the operation type comprises optional operation and necessary operation, and the second operation information is first operation information corresponding to the necessary operation in the play information;
And the adjusting module is used for adjusting the current playing mode of the target video based on the second operation information.
10. An electronic device, the electronic device comprising: a processor, a memory and a program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the method for adjusting video playback according to any one of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the method for adjusting video playback according to any one of claims 1 to 8.
12. A computer program product comprising computer instructions which, when executed by a processor, implement the steps of the method of adjusting video playback as claimed in any one of claims 1 to 8.
CN202410140889.7A 2024-02-01 2024-02-01 Video play adjusting method and device, electronic equipment and readable storage medium Pending CN118138839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410140889.7A CN118138839A (en) 2024-02-01 2024-02-01 Video play adjusting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410140889.7A CN118138839A (en) 2024-02-01 2024-02-01 Video play adjusting method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN118138839A true CN118138839A (en) 2024-06-04

Family

ID=91235320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410140889.7A Pending CN118138839A (en) 2024-02-01 2024-02-01 Video play adjusting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN118138839A (en)

Similar Documents

Publication Publication Date Title
US11200278B2 (en) Method and apparatus for determining background music of a video, terminal device and storage medium
JP7195426B2 (en) Display page interaction control method and apparatus
CN110324717B (en) Video playing method and device and computer readable storage medium
DE202016005219U1 (en) User interface for navigating and playing content
US20200228727A1 (en) Photographing apparatus control method, photographing apparatus and storage medium
CN112954199B (en) Video recording method and device
US9602857B2 (en) Information processing apparatus, information processing method and program
CN111078011A (en) Gesture control method and device, computer readable storage medium and electronic equipment
CN112738397A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN110868638A (en) Automatic playing method of video watching point, terminal and server
CN112565868A (en) Video playing method and device and electronic equipment
CN113852756B (en) Image acquisition method, device, equipment and storage medium
CN113852757B (en) Video processing method, device, equipment and storage medium
CN112565909B (en) Video playing method and device, electronic equipment and readable storage medium
EP3367223A1 (en) Method and apparatus for controlling media presentation, and terminal
CN111757177B (en) Video clipping method and device
CN118138839A (en) Video play adjusting method and device, electronic equipment and readable storage medium
CN110996159A (en) Volume adjusting method and system, display terminal and readable storage medium
CN116233554A (en) Video playing method, device, electronic equipment and storage medium
CN111918139B (en) Video playing method, device, equipment and storage medium
CN115543137A (en) Video playing method and device
US11736798B2 (en) Method for obtaining image of the moon, electronic device and storage medium
CN115278047A (en) Shooting method, shooting device, electronic equipment and storage medium
KR20230120668A (en) Video call method and device
CN113923392A (en) Video recording method, video recording device and electronic equipment

Legal Events

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