CN108924633B - Video playing rate control method, device, system and storage medium - Google Patents

Video playing rate control method, device, system and storage medium Download PDF

Info

Publication number
CN108924633B
CN108924633B CN201810780028.XA CN201810780028A CN108924633B CN 108924633 B CN108924633 B CN 108924633B CN 201810780028 A CN201810780028 A CN 201810780028A CN 108924633 B CN108924633 B CN 108924633B
Authority
CN
China
Prior art keywords
preset
rate control
video
speed
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810780028.XA
Other languages
Chinese (zh)
Other versions
CN108924633A (en
Inventor
邵和明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810780028.XA priority Critical patent/CN108924633B/en
Publication of CN108924633A publication Critical patent/CN108924633A/en
Application granted granted Critical
Publication of CN108924633B publication Critical patent/CN108924633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations

Abstract

The invention provides a video playing rate control method, a device, a system and a storage medium, wherein the method comprises the steps of detecting a gesture instruction of a user in the video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; and adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction. The invention can make the rate control more simple and convenient, reduce the control cost and improve the sensitivity of the rate control.

Description

Video playing rate control method, device, system and storage medium
Technical Field
The present invention relates to the field of video technologies, and in particular, to a method, an apparatus, a system, and a storage medium for controlling a video playing rate.
Background
With the development of video playing technology, in application products capable of playing videos, especially longer videos usually encounter playing scenes with more draggy dramas, and when users watch such videos, the users have a demand of fast-forwarding the videos.
In the related art, a control interface is generally provided on a video playing interface, and a user triggers the control interface to slide a distance laterally on the video playing interface to trigger fast forward, or sets a rate adjustment option in a video control menu corresponding to the video playing interface.
In the first mode, the user can fast forward a small segment of video content through the control interface, but the skipped content may imply important information and must go backward to replay when necessary, and the rate control effect is not sensitive enough.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present invention is to provide a video playing rate control method, which can make rate control simpler, reduce control cost, and improve the sensitivity of rate control.
Another object of the present invention is to provide a video playback rate control apparatus.
It is another object of the present invention to provide a video playback rate control system.
It is another object of the invention to propose a non-transitory computer-readable storage medium.
It is a further object of the invention to propose a computer program product.
To achieve the above object, a video playback rate control method according to an embodiment of a first aspect of the present invention includes: detecting a gesture instruction of a user in a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a triggering instruction of the user to the preset rate control; and adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction.
In one aspect of the video playing rate control method provided by the embodiment of the invention, a gesture instruction of a user is detected in a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
In order to achieve the above object, another embodiment of the present invention provides a video playback rate control apparatus, including: the detection module is used for detecting a gesture instruction of a user in the video playing process; the display module is used for displaying a preset rate control according to the detected gesture instruction; the receiving module is used for receiving a triggering instruction of the user to the preset rate control; and the adjusting module is used for adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction.
In another aspect of the video playing rate control apparatus provided in the embodiment of the present invention, a gesture instruction of a user is detected during a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
In order to achieve the above object, another embodiment of the present invention provides a video playback rate control system, which includes: a server and a client; the server is used for sending video data to the client; the client is used for playing videos according to the video data; in the video playing process, the video playing rate control method provided by the embodiment of the invention is executed.
In another aspect of the video playing rate control system provided in the embodiment of the present invention, a gesture instruction of a user is detected during a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
To achieve the above object, a non-transitory computer-readable storage medium is provided in another embodiment of the present invention, and when instructions in the storage medium are executed by a processor of a mobile terminal, the instructions enable the mobile terminal to execute a video playback rate control method, the method including: detecting a gesture instruction of a user in a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a triggering instruction of the user to the preset rate control; and adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction.
In another aspect of the present invention, a non-transitory computer-readable storage medium is provided, where a gesture instruction of a user is detected during a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
To achieve the above object, a computer program product according to another embodiment of the present invention is provided, wherein when instructions of the computer program product are executed by a processor, a video playback rate control method is performed, and the method includes: detecting a gesture instruction of a user in a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a triggering instruction of the user to the preset rate control; and adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction.
In another aspect of the computer program product provided in the embodiments of the present invention, a gesture instruction of a user is detected during a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a video playback rate control method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a video control effect according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating another video control effect according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a video playback rate control method according to another embodiment of the present invention;
FIG. 5 is a diagram illustrating another video control effect according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a video playback rate control method according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a video playback rate control apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an apparatus for controlling video playback rate according to another embodiment of the present invention;
fig. 9 is a schematic structural diagram of a video playback rate control system according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a flowchart illustrating a video playback rate control method according to an embodiment of the present invention.
The present embodiment is exemplified in that the video playback rate control method is configured as a video playback rate control apparatus.
In this embodiment, the video playing rate control method may be configured in the video playing rate control device, and the video playing rate control device may be set in the server, or may also be set in the electronic device, which is not limited in this embodiment of the present invention.
The present embodiment takes the case where the video playback rate control method is configured in an electronic device.
The embodiment of the present invention is specifically configured to control the playing rate of a currently played video of a video application in an electronic device, or may also control the playing rate of a currently played video in other applications capable of playing a video, which is not limited herein.
Among them, electronic devices such as smart phones, tablet computers, personal digital assistants, electronic books, and other hardware devices having various operating systems.
It should be noted that, the execution main body of the embodiment of the present invention may be, for example, a Central Processing Unit (CPU) in a server or an electronic device in terms of hardware, and may be, for example, a model training service in the server or the electronic device in terms of software, which is not limited to this.
With the development of video playing technology, in application products capable of playing videos, especially longer videos usually encounter playing scenes with more draggy dramas, and when users watch such videos, the users have a demand of fast-forwarding the videos.
In the related art, a control interface is generally provided on a video playing interface, and a user triggers the control interface to slide a distance laterally on the video playing interface to trigger fast forward, or sets a rate adjustment option in a video control menu corresponding to the video playing interface.
In the first mode, the user can fast forward a small segment of video content through the control interface, but the skipped content may imply important information and must go backward to replay when necessary, and the rate control effect is not sensitive enough.
In order to solve the above technical problem, an embodiment of the present invention provides a video playing rate control method, which detects a gesture instruction of a user in a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
Referring to fig. 1, the method includes:
s101: in the video playing process, a gesture instruction of a user is detected.
In the specific implementation process of the embodiment of the invention, in order to effectively improve the simplicity of the rate control, a gesture instruction of a user can be directly detected in a video playing interface, and the gesture instruction can be, for example, a gesture that the user slides for a certain distance in the playing interface according to a preset first direction.
Compared with the prior art, the method and the device have the advantages that the option for adjusting the speed is set in the video control menu corresponding to the video playing interface, a user can trigger the adjustment of the video speed only by searching the video control menu at first and then searching the option for adjusting the speed in the video control menu.
Referring to fig. 2, fig. 2 is a schematic diagram of a video control effect according to an embodiment of the present invention, which includes: the video playing interface 21, the preset first direction 22, and the position 23, the position 24, the position 23, and the position 24 indicate that the gesture instruction of the user corresponds to a start-stop position on the playing interface, where specific data of the position 23 and the position 24 may not be limited, the position 23 and the position 24 may be any two positions in the video playing interface 21, and only one gesture instruction effect is shown in fig. 2.
In fig. 2, if the gesture command of the user slides from the position 23 to the position 24 in the preset first direction 22, the step of displaying the preset rate control according to the detected gesture command in S102 may be directly triggered and executed.
S102: and displaying a preset rate control according to the detected gesture instruction.
Referring to fig. 3, fig. 3 is a schematic diagram of another video control effect according to an embodiment of the present invention, which includes: a video playing interface 31 and a preset speed control 32.
When the user triggers the preset rate control, the preset rate control configured in the embodiment of the present invention may directly trigger the adjustment of the playing rate of the currently played video at a rate corresponding to the preset rate control.
As an example, the preset rate control controls configured in the embodiment of the present invention have corresponding preset rates, the number of the preset rate control controls is at least two, and different preset rate control controls correspond to different preset rates, so that when the preset rate control controls are displayed, the preset rate corresponding to each preset rate control can be displayed at the same time, so that a user can more intuitively confirm the preset rates corresponding to the different preset rate control controls, so that the control effect is more accurate, and the personalized rate control requirement of the user is more easily met.
In the specific implementation process, in order to improve the use experience of the user from another dimension and give the user a better viewing experience, the embodiment of the invention can also hide the displayed preset rate control if the trigger instruction is not received within the preset time threshold.
Specifically, the method includes the steps of displaying a preset rate control, triggering to time to obtain timing time, comparing the timing time with a preset time threshold in real time, hiding the displayed preset rate control if a trigger instruction is not received within the preset time threshold, and triggering to execute the following S103 and subsequent steps if the trigger instruction is received within the preset time threshold.
The preset time threshold may be set by a user according to a requirement of the user, or may be preset by a factory program of the electronic device, which is not limited to this.
The preset time threshold may be, for example, 10 s.
In the specific implementation process of the embodiment of the present invention, in order to effectively improve the simplicity of rate control, referring to fig. 4, the step of displaying the preset rate control in S102 may further include:
s401: and acquiring icons corresponding to the preset rates, wherein the preset rates are displayed in the icons.
Referring to fig. 3, a circle graph may be used to represent each preset rate control, and the preset rate corresponding to each preset rate control is displayed in a graph, for example, fig. 3 includes three preset rate control controls, where in an icon of a first preset rate control, the corresponding preset rate 1 × speed is displayed, in an icon of a second preset rate control, the corresponding preset rate 2 × speed is displayed, and in an icon of a third preset rate control, the corresponding preset rate 3 × speed is displayed, which is not limited herein.
In the specific implementation process of the embodiment of the present invention, the corresponding preset rate may be configured to be an adjustment rate in other forms according to the actual use requirement, for example, the corresponding preset rate may be configured to increase the speed by 1.5 × or decrease the speed by 1.5 × and the like, which is not limited in this respect.
S402: and marking the icons corresponding to the currently adopted preset rate in the icons corresponding to the preset rates, and determining that the icons corresponding to the currently non-adopted preset rates do not need to be marked.
The currently adopted preset rate is the playing rate of the currently played video.
In the specific implementation process of the embodiment of the present invention, the icon corresponding to the currently adopted preset rate may be marked, and specifically, the icon may be marked in a highlight manner.
Referring to fig. 3, assuming that the currently adopted preset rate is 1 × speed, in the step of displaying the preset rate control according to the embodiment of the present invention, the preset rate displayed in the icon of the first preset rate control may be highlighted.
The icons corresponding to the currently adopted preset rate are marked in the icons corresponding to the preset rates, and the icons corresponding to the currently non-adopted preset rates are determined not to need to be marked, so that a user can more intuitively know the specific rate value of the playing rate of the currently played video, and the user can more accurately adjust the playing rate.
Optionally, if the playing rate is a rate value between the two adjacent preset rates, in the embodiment of the present invention, while the preset rate control is displayed, another display interface may be provided in the video playing interface 31, and the playing rate of the currently played video is displayed through the display interface, so that the display effect is more humanized, and the user experience is improved.
S403: and displaying the preset rate control according to the marked icon and the icon which does not need to be marked.
In the specific implementation process of the embodiment of the invention, in the step of displaying the preset rate control, icons corresponding to the currently-unused preset rate are not marked, so that a user can well distinguish the currently-used preset rate from the preset rate to which the video playing rate can be adjusted.
S103: and receiving a triggering instruction of a user to the preset rate control.
Referring to fig. 3, the triggering instruction of the user for the preset rate control may be a triggering instruction of the user for any one of the preset rate control elements in fig. 3, and the triggering instruction may specifically be, for example, a click instruction, which is not limited thereto.
In a specific implementation process of the embodiment of the present invention, in order to improve convenience of video playing rate control from another dimension, the receiving, in step S103, a trigger instruction of a user for a preset rate control may further include: and receiving a trigger instruction of a user for the preset rate control, and triggering and hiding the preset rate control according to the trigger instruction.
Referring to fig. 5, fig. 5 is a schematic diagram of another video control effect according to an embodiment of the present invention, which includes: fig. 5 shows an effect diagram of a video playing interface 51 after receiving a trigger instruction of a user for a preset rate control and triggering to hide the preset rate control according to the trigger instruction in the embodiment of the present invention.
In the specific execution process, the embodiment of the invention receives the trigger instruction of the user to the preset rate control, namely triggers and executes the target rate corresponding to the trigger instruction in the step S104, and meanwhile, the preset rate control can be hidden, so that the use experience of the user can be effectively improved, and the user can have better watching experience.
S104: and adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction.
On the aspect of technical implementation, when a trigger instruction of a user for a preset rate control is received, a trigger request and the trigger instruction correspond to a preset rate and serve as a target rate.
In the specific execution process of the embodiment of the invention, a preset rate control triggered by a trigger instruction can be determined and used as a target preset rate control, a target identifier of a target rate corresponding to the target preset rate control is determined, a request message is generated according to the target identifier and is sent to a background server, when the background server receives the request message, the request message can be analyzed to obtain the target identifier, and a preset rate corresponding to the target identifier is read from a background database and used as a target rate, wherein the background database can pre-store the corresponding relation between the identifier of the target rate corresponding to each preset rate control and the preset rate, and the server reads the preset rate corresponding to the target identifier from the background database and uses the preset rate as the target rate.
Or, the preset rate control triggered by the trigger instruction may be determined first and used as the target preset rate control, and then the preset rate corresponding to the target identifier is determined as the target rate from the local cache of the electronic device, so that the request efficiency of the target rate can be effectively improved.
In the specific implementation process of the embodiment of the present invention, in an application scenario where the corresponding preset rate is configured to be increased by 1.5 × speed or decreased by 1.5 × speed in advance, based on the target rate corresponding to the trigger instruction, the play rate may be gradually increased or decreased by using 1.5 × speed as a control step length on the basis of the play rate of the currently played video.
For example, if the user triggers the preset rate control once, the speed is increased or decreased by 1.5 × based on the playing rate of the currently played video, and when the user triggers the next video playing rate control, the speed is increased or decreased by 1.5 × based on the increased playing rate again, which is not limited.
In the embodiment, a gesture instruction of a user is detected in the video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
Fig. 6 is a flowchart illustrating a video playback rate control method according to another embodiment of the present invention.
Referring to fig. 6, the method includes:
s601: in the video playing process, a gesture instruction of a user is detected.
In the specific implementation process of the embodiment of the invention, in order to effectively improve the simplicity of the rate control, a gesture instruction of a user can be directly detected in a video playing interface, and the gesture instruction can be, for example, a gesture that the user slides for a certain distance in the playing interface according to a preset first direction.
Compared with the prior art, the method and the device have the advantages that the option for adjusting the speed is set in the video control menu corresponding to the video playing interface, a user can trigger the adjustment of the video speed only by searching the video control menu at first and then searching the option for adjusting the speed in the video control menu.
Referring to fig. 2, fig. 2 is a schematic diagram of a video control effect according to an embodiment of the present invention, which includes: the video playing interface 21, the preset first direction 22, and the position 23, the position 24, the position 23, and the position 24 indicate that the gesture instruction of the user corresponds to a start-stop position on the playing interface, where specific data of the position 23 and the position 24 may not be limited, the position 23 and the position 24 may be any two positions in the video playing interface 21, and only one gesture instruction effect is shown in fig. 2.
In fig. 2, if the gesture command of the user slides from the position 23 to the position 24 in the preset first direction 22, the step of displaying the preset rate control according to the detected gesture command in S102 may be directly triggered and executed.
S602: and displaying a preset rate control according to the detected gesture instruction.
Referring to fig. 3, fig. 3 is a schematic diagram of another video control effect according to an embodiment of the present invention, which includes: a video playing interface 31 and a preset speed control 32.
When the user triggers the preset rate control, the preset rate control configured in the embodiment of the present invention may directly trigger the adjustment of the playing rate of the currently played video at a rate corresponding to the preset rate control.
As an example, the preset rate control controls configured in the embodiment of the present invention have corresponding preset rates, for example, at least two preset rate control controls are provided, and different preset rate control controls correspond to different preset rates, so that when the preset rate control controls are displayed, the preset rate corresponding to each preset rate control can be simultaneously displayed, and a user can determine the preset rates corresponding to the different preset rate control controls more intuitively, so that the control effect is more accurate, and the personalized rate control requirement of the user is more easily met.
In the specific execution process of the embodiment of the present invention, if the gesture instruction of the user slides from the position 24 to the position 23 in the direction opposite to the preset first direction 22, the step of displaying the preset rate control according to the detected gesture instruction in S102 may also be directly triggered and executed, at this time, the displayed preset rate control may also be used to trigger the control of the reverse-narrative playing rate of the currently played video, for example, the preset rate corresponding to the displayed preset rate control may be-2 × speed, -3 × speed, and the like, which is not limited to this.
In the specific implementation process of the embodiment of the present invention, only one preset rate control may be displayed in the process of displaying the preset rate control, and a plurality of corresponding options of the preset rate are displayed in the preset rate control, and are selected by the user, which is not limited thereto.
S603: and receiving a triggering instruction of a user to the preset rate control.
Referring to fig. 3, the triggering instruction of the user for the preset rate control may be a triggering instruction of the user for any one of the preset rate control elements in fig. 3, and the triggering instruction may specifically be, for example, a click instruction, which is not limited thereto.
S604: and adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction.
On the aspect of technical implementation, when a trigger instruction of a user for a preset rate control is received, a trigger request and the trigger instruction correspond to a preset rate and serve as a target rate.
In the specific execution process of the embodiment of the invention, a preset rate control triggered by a trigger instruction can be determined and used as a target preset rate control, a target identifier of a target rate corresponding to the target preset rate control is determined, a request message is generated according to the target identifier and is sent to a background server, when the background server receives the request message, the request message can be analyzed to obtain the target identifier, and a preset rate corresponding to the target identifier is read from a background database and used as a target rate, wherein the background database can pre-store the corresponding relation between the identifier of the target rate corresponding to each preset rate control and the preset rate, and the server reads the preset rate corresponding to the target identifier from the background database and uses the preset rate as the target rate.
Or, the preset rate control triggered by the trigger instruction may be determined first and used as the target preset rate control, and then the preset rate corresponding to the target identifier is determined as the target rate from the local cache of the electronic device, so that the request efficiency of the target rate can be effectively improved.
S605: and providing a first speed control on the video playing interface after the playing speed is adjusted, wherein the first speed control is used for controlling the playing speed of the video to be switched from the target speed to the playing speed before the adjustment.
Referring also to fig. 5, fig. 5 further includes: a first rate control 52, the first rate control 52 being configured to control the playback rate of the video to be switched from the target rate to the playback rate before adjustment.
As an example, in the specific implementation process in the embodiment of the present invention, a word of a "normal speed" mark may also be displayed on the first rate control 52, and when the user triggers the first rate control 52, the playback rate of the video may be triggered to be switched from the target rate to the normal playback rate.
By providing the first speed control on the video playing interface after the playing speed is adjusted, and the first speed control is used for controlling the video playing speed to be switched from the target speed to the playing speed before the adjustment, the control method of the video speed can be more comprehensive, and the use requirements of users in various aspects can be met.
In the embodiment, a gesture instruction of a user is detected in the video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved. By providing the first speed control on the video playing interface after the playing speed is adjusted, and the first speed control is used for controlling the video playing speed to be switched from the target speed to the playing speed before the adjustment, the control method of the video speed can be more comprehensive, and the use requirements of users in various aspects can be met.
Fig. 7 is a schematic structural diagram of a video playback rate control apparatus according to an embodiment of the present invention.
Referring to fig. 7, the apparatus 700 includes: a detection module 701, a display module 702, a receiving module 703, and an adjustment module 704, wherein,
the detecting module 701 is configured to detect a gesture instruction of a user in a video playing process.
The display module 702 is configured to display a preset rate control according to the detected gesture instruction.
The receiving module 703 is configured to receive a trigger instruction of a user for a preset rate control.
The adjusting module 704 is configured to adjust the playing rate of the currently played video to a target rate based on a target rate corresponding to the preset rate control triggered by the trigger instruction.
Optionally, in some embodiments, referring to fig. 8, the apparatus 700 further comprises:
a providing module 705, configured to provide a first rate control on the video playing interface after the playing rate is adjusted, where the first rate control is used to control the playing rate of the video to be switched from the target rate to the playing rate before the adjustment.
Optionally, in some embodiments, the receiving module 703 is specifically configured to:
and receiving a trigger instruction of a user for the preset rate control, and triggering and hiding the preset rate control according to the trigger instruction.
Optionally, in some embodiments, the preset rate control controls correspond to different preset rates, referring to fig. 8, the apparatus 700 further includes:
the determining module 706 is configured to determine a target identifier of a target rate corresponding to the preset rate control triggered by the trigger instruction, and request the server for the corresponding target rate based on the target identifier.
Optionally, in some embodiments, the display module 702 is specifically configured to:
acquiring icons corresponding to all preset rates, wherein the preset rates are displayed in the icons;
marking icons corresponding to the currently adopted preset rate in the icons corresponding to the preset rates, and determining that the icons corresponding to the currently not adopted preset rates do not need to be marked;
and displaying the preset rate control according to the marked icon and the icon which does not need to be marked.
Optionally, in some embodiments, referring to fig. 8, the apparatus 700 further comprises:
the hiding module 707 is configured to hide the displayed preset rate control if the trigger instruction is not received within the preset time threshold.
It should be noted that the foregoing explanations of the embodiments of the video playback rate control method in fig. 1 to fig. 6 are also applicable to the video playback rate control apparatus 700 of this embodiment, and the implementation principles thereof are similar and will not be described herein again.
The division of the modules in the video playback rate control apparatus 700 is for illustration only, and in other embodiments, the video playback rate control apparatus 700 may be divided into different modules as needed to complete all or part of the functions of the video playback rate control apparatus 700.
In the embodiment, a gesture instruction of a user is detected in the video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
Fig. 9 is a schematic structural diagram of a video playback rate control system according to an embodiment of the present invention.
Referring to fig. 9, the system 900 includes:
a server 901 and a client 902;
the server 901 is configured to send video data to the client 902;
the client 902 is used for playing videos according to the video data;
in the video playing process, the video playing rate control method in the foregoing embodiments of fig. 1 to 6 is performed.
It should be noted that the foregoing explanations of the embodiments of the video playback rate control method in fig. 1 to fig. 6 are also applicable to the video playback rate control system 900 of the embodiment, and the implementation principles thereof are similar and will not be described herein again.
In the embodiment, a gesture instruction of a user is detected in the video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
To achieve the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium, which when instructions in the storage medium are executed by a processor of a terminal, enables the terminal to perform a video playback rate control method, the method comprising:
detecting a gesture instruction of a user in a video playing process;
displaying a preset rate control according to the detected gesture instruction;
receiving a trigger instruction of a user to a preset rate control;
and adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction.
The non-transitory computer readable storage medium in this embodiment detects a gesture instruction of a user during a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
To achieve the above embodiments, the present invention further provides a computer program product, wherein when instructions in the computer program product are executed by a processor, the computer program product executes a video playback rate control method, and the method includes:
detecting a gesture instruction of a user in a video playing process;
displaying a preset rate control according to the detected gesture instruction;
receiving a trigger instruction of a user to a preset rate control;
and adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction.
In the computer program product in this embodiment, a gesture instruction of a user is detected in a video playing process; displaying a preset rate control according to the detected gesture instruction; receiving a trigger instruction of a user to a preset rate control; based on the target speed corresponding to the preset speed control triggered by the trigger instruction, the playing speed of the currently played video is adjusted to the target speed, so that the speed control is simpler, the control cost is reduced, and the sensitivity of the speed control is improved.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (14)

1. A method for controlling video playback rate, comprising the steps of:
in the video playing process, detecting a gesture instruction of a user in a video playing interface;
displaying preset rate control controls according to the detected gesture instruction, wherein the preset rate control controls have corresponding preset rates, the number of the preset rate control controls is at least two, and different preset rate control controls correspond to different preset rates;
receiving a triggering instruction of the user to the preset rate control, wherein the triggering instruction is a clicking instruction;
and adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction.
2. The video playback rate control method of claim 1, wherein after said adjusting the playback rate of the currently playing video to the target rate, further comprising:
and providing a first speed control on the video playing interface after the playing speed is adjusted, wherein the first speed control is used for controlling the video playing speed to be switched from the target speed to the playing speed before the adjustment.
3. The video playback rate control method of claim 1, wherein said receiving the user's trigger instruction for the preset rate control comprises:
and receiving a trigger instruction of the user to the preset rate control, and triggering and hiding the preset rate control according to the trigger instruction.
4. The method for controlling video playing rate according to claim 1, wherein the preset rate control controls correspond to different preset rates, and after receiving the triggering instruction of the user to the preset rate control controls, the method further comprises:
and determining a target identifier of a target rate corresponding to a preset rate control triggered by the trigger instruction, and requesting the corresponding target rate from a server based on the target identifier.
5. The video playback rate control method of claim 1, wherein said displaying the preset rate control comprises:
acquiring icons corresponding to all preset rates, wherein the preset rates are displayed in the icons;
marking icons corresponding to the currently adopted preset rate in the icons corresponding to the preset rates, and determining that the icons corresponding to the currently not adopted preset rates do not need to be marked;
and displaying the preset rate control according to the marked icon and the icon which does not need to be marked.
6. The video playback rate control method of claim 1, further comprising, after said displaying the preset rate control:
and if the trigger instruction is not received within a preset time threshold, hiding the displayed preset rate control.
7. A video playback rate control apparatus, comprising:
the detection module is used for detecting a gesture instruction of a user in a video playing interface in the video playing process;
the display module is used for displaying preset rate control controls according to the detected gesture instruction, the preset rate control controls have corresponding preset rates, the number of the preset rate control controls is at least two, and different preset rate control controls correspond to different preset rates;
the receiving module is used for receiving a triggering instruction of the user to the preset rate control, wherein the triggering instruction is a clicking instruction;
and the adjusting module is used for adjusting the playing speed of the currently played video to the target speed based on the target speed corresponding to the preset speed control triggered by the trigger instruction.
8. The video playback rate control device of claim 7, further comprising:
and the providing module is used for providing a first speed control on the video playing interface after the playing speed is adjusted, and the first speed control is used for controlling the video playing speed to be switched from the target speed to the playing speed before the adjustment.
9. The video playback rate control device of claim 7, wherein the receiving module is specifically configured to:
and receiving a trigger instruction of the user to the preset rate control, and triggering and hiding the preset rate control according to the trigger instruction.
10. The video playback rate control apparatus of claim 7, wherein the preset rate control controls correspond to different preset rates, further comprising:
and the determining module is used for determining a target identifier of a target rate corresponding to the preset rate control triggered by the trigger instruction, and requesting the corresponding target rate from the server based on the target identifier.
11. The video playback rate control device of claim 7, wherein the display module is specifically configured to:
acquiring icons corresponding to all preset rates, wherein the preset rates are displayed in the icons;
marking icons corresponding to the currently adopted preset rate in the icons corresponding to the preset rates, and determining that the icons corresponding to the currently not adopted preset rates do not need to be marked;
and displaying the preset rate control according to the marked icon and the icon which does not need to be marked.
12. The video playback rate control device of claim 7, further comprising:
and the hiding module is used for hiding the displayed preset rate control if the triggering instruction is not received within a preset time threshold.
13. A video playing rate control system is characterized by comprising a server and a client;
the server is used for sending video data to the client;
the client is used for playing videos according to the video data;
the video playback rate control method according to any one of claims 1-6 is performed during video playback.
14. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the program when executed by a processor implements the video playback rate control method of any of claims 1-6.
CN201810780028.XA 2018-07-16 2018-07-16 Video playing rate control method, device, system and storage medium Active CN108924633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810780028.XA CN108924633B (en) 2018-07-16 2018-07-16 Video playing rate control method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810780028.XA CN108924633B (en) 2018-07-16 2018-07-16 Video playing rate control method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN108924633A CN108924633A (en) 2018-11-30
CN108924633B true CN108924633B (en) 2021-04-27

Family

ID=64413962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810780028.XA Active CN108924633B (en) 2018-07-16 2018-07-16 Video playing rate control method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN108924633B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338537B (en) * 2020-02-11 2021-06-25 北京字节跳动网络技术有限公司 Method, apparatus, electronic device, and medium for displaying video
CN114385297A (en) * 2022-01-11 2022-04-22 北京字跳网络技术有限公司 Page display method and device, electronic equipment, storage medium and program product
CN115119040B (en) * 2022-07-19 2024-01-30 北京字跳网络技术有限公司 Video processing method, device, electronic equipment and storage medium
CN115426532B (en) * 2022-08-30 2024-01-30 北京字跳网络技术有限公司 Video playing progress control method, device, equipment and storage medium
CN116668790A (en) * 2023-05-22 2023-08-29 北京达佳互联信息技术有限公司 Video playing method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611374A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Video playing control method and device
CN106293410A (en) * 2016-08-22 2017-01-04 维沃移动通信有限公司 A kind of video progress control method and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102350770B1 (en) * 2014-12-16 2022-01-14 엘지전자 주식회사 Mobile terminal and operating method thereof
CN105760071A (en) * 2016-01-29 2016-07-13 深圳天珑无线科技有限公司 Method and system for rapidly adjusting video play progress through pressure touch technology
CN105739998A (en) * 2016-03-29 2016-07-06 努比亚技术有限公司 Animation debug method and mobile terminal
CN106681603B (en) * 2016-11-29 2018-06-26 维沃移动通信有限公司 A kind of method and mobile terminal for adjusting video playing progress
CN108174243A (en) * 2017-12-28 2018-06-15 广东欧珀移动通信有限公司 A kind of adjusting method, device, storage medium and the terminal of video playing rate

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611374A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Video playing control method and device
CN106293410A (en) * 2016-08-22 2017-01-04 维沃移动通信有限公司 A kind of video progress control method and mobile terminal

Also Published As

Publication number Publication date
CN108924633A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108924633B (en) Video playing rate control method, device, system and storage medium
US11190856B2 (en) Synchronizing content and metadata
US11150792B2 (en) Method and device for executing object on display
US9207902B2 (en) Method and apparatus for implementing multi-vision system by using multiple portable terminals
US8862118B2 (en) Methods, apparatuses and computer program products for automating testing of devices
US10303357B2 (en) Flick to send or display content
AU2014200949B2 (en) An apparatus for providing a cursor in electronic devices and a method thereof
US20230333719A1 (en) Customizing a user interface based on user capabilities
US20180364901A1 (en) User interface of media player application for controlling media content display
CN107153546B (en) Video playing method and mobile device
US9395871B2 (en) Detection and control of multimedia applications
WO2023061230A1 (en) Content display method and apparatus, device, and storage medium
WO2016112791A1 (en) Method and device for displaying interface of application program on mobile terminal
EP3087494B1 (en) Method for using magnetometer together with gesture to send content to wireless display
CN112333518A (en) Function configuration method and device for video and electronic equipment
US20120278758A1 (en) Image browsing system and method for zooming images and method for switching among images
US11321357B2 (en) Generating preferred metadata for content items
CN116048334A (en) Page switching method, page switching device, electronic device and readable storage medium
CN116048335A (en) Interaction method, interaction device, electronic apparatus, and computer-readable storage medium

Legal Events

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