WO2022206037A1 - Video playback speed adjustment method and electronic device - Google Patents

Video playback speed adjustment method and electronic device Download PDF

Info

Publication number
WO2022206037A1
WO2022206037A1 PCT/CN2021/138763 CN2021138763W WO2022206037A1 WO 2022206037 A1 WO2022206037 A1 WO 2022206037A1 CN 2021138763 W CN2021138763 W CN 2021138763W WO 2022206037 A1 WO2022206037 A1 WO 2022206037A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
control
shift
response
shift point
Prior art date
Application number
PCT/CN2021/138763
Other languages
French (fr)
Chinese (zh)
Inventor
王星
Original Assignee
北京达佳互联信息技术有限公司
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 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Publication of WO2022206037A1 publication Critical patent/WO2022206037A1/en

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
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Definitions

  • the embodiments of the present application relate to the field of computer technologies, and in particular, to a video playback speed adjustment method, apparatus, electronic device, computer storage medium, and computer program product.
  • Video speed change is a common function in video playback scenarios. By selecting the speed change value, the user can fast-play or slow-play the video according to the ratio corresponding to the speed change value.
  • the user usually directly performs a global speed change on the entire video. If the user needs to speed up a segment in the video, he needs to first obtain the segment in the video through video segmentation software, and select the corresponding segment for the extracted segment.
  • the variable speed value is used to perform the global speed change of the segment to realize the speed change of the segment.
  • an embodiment of the present application provides a method for adjusting a video playback speed, the method comprising:
  • a free speed change adjustment interface In response to the free speed change triggering operation on the target video, a free speed change adjustment interface is displayed, and the free speed change adjustment interface includes a video track control and a speed change wheel control;
  • the shifting points being used to divide the target video into a plurality of video segments
  • a variable speed adjustment is performed on the target video segment in response to the adjustment operation on the variable speed wheel control.
  • a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
  • the managing the shift point in response to an operation on the shift point management includes:
  • the selected intermediate shifting points are deleted; the intermediate shifting points are: among the shifting points except the shifting point at the starting position of the target video, the shifting point at the end position of the target video; A shift point other than the shift point.
  • a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
  • the managing of the shift point in response to the management operation on the shift point includes:
  • a new shift point is generated at the position of the video track control that overlaps the central axis.
  • the video playback speed adjustment method further includes:
  • the selected intermediate shift point is enlarged in the display form.
  • the video playback speed adjustment method further includes:
  • the selected intermediate shifting point is enlarged and displayed at a position overlapping the central axis.
  • the video playback speed adjustment method further includes:
  • the at least one shift point In response to at least one of the shift point at the start position and the shift point at the end position of the target video being displayed in the display area, the at least one shift point is different from other shift points in the display area , and set the at least one shift point to be unprocessable.
  • a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
  • the video playback speed adjustment method further includes:
  • the interval time between the shift point at the start position of the target video or the shift point at the end position of the target video at the corresponding moment in the video track control less than or equal to the second time threshold, setting the shift point management control to an inoperable state
  • a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
  • the video playback speed adjustment method further includes:
  • the shift point management control is set to an inoperable state; the intermediate shift points are: among the shift points, the shift points other than the shift point at the start position and the shift point at the end position of the target video are shifted.
  • the center of the display area corresponding to the video track control is provided with a central axis; in the video track control, the interval area formed between adjacent shifting points is used to reflect a video segment;
  • the determining a target video segment from the plurality of video segments in response to the control operation on the video track control includes:
  • the video segment corresponding to the interval area overlapping with the central axis is determined as the target video segment.
  • the video playback speed adjustment method further includes:
  • the spaced regions overlapping the central axis are highlighted in a preset manner.
  • the performing variable speed adjustment on the target video segment in response to an adjustment operation on the variable speed wheel control includes:
  • the playback speed of the target video clip is adjusted.
  • the video playback speed adjustment method further includes: in response to a speed change trigger operation on the target video, displaying a speed change adjustment interface, where the speed change adjustment interface includes a global speed change control and a free speed change control;
  • the global shift adjustment interface including the video track control and the shift wheel control
  • the free shift adjustment interface In response to a triggering operation of the free shift control, the free shift adjustment interface is displayed, and the free shift adjustment interface includes the video track control, the shift wheel control, and the shift point management control.
  • an embodiment of the present application provides a video playback speed adjustment device, the device comprising:
  • variable speed trigger module configured to display a free variable speed adjustment interface in response to a free variable speed trigger operation on the target video, the free variable speed adjustment interface including a video track control and a variable speed wheel control;
  • a shift point module configured to manage the shift point in response to a management operation of the shift point in the video track control, the shift point being used to divide the target video into a plurality of video segments;
  • a selection module configured to determine a target video segment from the plurality of video segments in response to a control operation on the video track control
  • An adjustment module configured to perform a variable speed adjustment on the target video segment in response to an adjustment operation on the variable speed wheel control.
  • a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
  • the shift point module includes:
  • the deletion submodule is configured to respond to the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of an intermediate shift point in the video track control, which is less than or equal to the first a time threshold to determine that the intermediate shift point is selected by the central axis; in response to a triggering operation on the shift point management control, delete the selected intermediate shift point; the intermediate shift point is: Except for the shift point at the start position and the shift point at the end position of the target video, its shift points.
  • a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
  • the shift point module includes:
  • a submodule is added, configured to respond to the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of a shifting point in the video track control, greater than or equal to the second time
  • a threshold value is used to determine the position of the central axis; in response to a triggering operation on the shift point management control, a new shift point is generated at the overlapping position of the central axis in the video track control.
  • the deletion sub-module is configured to correspond to the corresponding moment of the middle axis in the video track control with the corresponding moment of the intermediate shift point in the video track control
  • the time interval between is less than or equal to the first time threshold, and the selected intermediate shifting point is displayed in an enlarged scale.
  • the deletion sub-module is configured to, in response to the distance interval between the central axis and the existing intermediate shift point being less than or equal to a preset distance threshold, to select the selected The center shift point of , is enlarged and displayed at the position overlapping the center axis.
  • the deletion sub-module is configured to, in response to the corresponding moment of the central axis in the video track control, match the selected intermediate shift point in the video track control The time interval between corresponding moments is less than or equal to the first time threshold, and the shift point management control is displayed as a delete shift point control.
  • the adding sub-module is configured to be in response to the corresponding moment of the central axis in the video track control, and the corresponding moment of the shifting point in the video track control.
  • the time interval between is greater than or equal to the second time threshold, and the shift point management control is displayed as an add shift point control.
  • the device further includes:
  • the graying module is configured to display the at least one shifting point in the display area in response to at least one shifting point among the shifting point at the start position and the shifting point at the end position of the target video, displaying the at least one shifting point in a different manner from the all shifting points.
  • the color display of other shift points in the display area is displayed, and the at least one shift point is set as unprocessable.
  • a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
  • the device also includes:
  • the first state change module is configured to respond to the corresponding moment of the central axis in the video track control, and the speed change point of the start position of the target video or the speed change point of the end position in the video track control.
  • the interval time between the corresponding moments in is less than or equal to the second time threshold, and the shift point management control is set to an inoperable state;
  • a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is provided in the center of the displayed area of the video track control;
  • the device also includes:
  • the second state change module is configured to, in response to the corresponding moment of the central axis in the video track control, the interval time between the corresponding moment of an intermediate shifting point in the video track control is greater than the first
  • the time threshold is smaller than the second time threshold, and the shift point management control is set to an inoperable state; the intermediate shift points are: among the shift points except for the shift point at the start position of the target video, the shift point at the end position. A shift point other than the shift point.
  • the first time threshold is 0.6 seconds.
  • the second time threshold is 1.2 seconds.
  • the center of the display area corresponding to the video track control is provided with a central axis; in the video track control, the interval area formed between adjacent shifting points is used to reflect a video segment;
  • the selection module also includes:
  • the selection sub-module is configured to, in response to a sliding operation of the video track control in the length direction, determine the video segment corresponding to the interval area overlapping with the central axis as the target video segment.
  • the device further includes:
  • the protruding sub-module is configured to highlight the interval area overlapping with the central axis in a preset manner.
  • the adjustment module further includes:
  • a determination submodule configured to determine a target speed change value in response to an adjustment operation on the speed change roller control
  • the adjustment sub-module is configured to adjust the playback speed of the target video clip according to the target speed change value.
  • variable speed trigger module is further configured to, in response to a variable speed trigger operation on the target video, display a variable speed adjustment interface, where the variable speed adjustment interface includes a global variable speed control and a free variable speed control;
  • the global shift adjustment interface including the video track control and the shift wheel control
  • the free shift adjustment interface In response to a triggering operation of the free shift control, the free shift adjustment interface is displayed, and the free shift adjustment interface includes the video track control, the shift wheel control, and the shift point management control.
  • an embodiment of the present application further provides an electronic device, including a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the first aspect.
  • the embodiments of the present application further provide a non-volatile computer storage medium, when the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device can execute the information in the first aspect.
  • an embodiment of the present application further provides a computer program product, including a computer program, which implements the video playback speed adjustment method described in the first aspect when the computer program is executed by a processor.
  • the present application can provide the user with a free variable speed adjustment interface after responding to the free variable speed trigger operation on the target video, so that the user can conveniently adjust the scale wheel in the
  • the target speed change value can be selected quickly and intuitively in one interface, and the target speed change value can be selected by adjusting the scale wheel, which realizes a new interaction method, which is more convenient and intuitive than the segment speed change method in the related art.
  • FIG. 1 is a flowchart of steps of a method for adjusting video playback speed provided by an embodiment of the present application
  • Fig. 2 is a kind of video playback speed adjustment interface diagram provided by the embodiment of the present application.
  • Fig. 3 is another video playback speed adjustment interface diagram provided by the embodiment of the present application.
  • Fig. 4 is another video playback speed adjustment interface diagram provided by the embodiment of the present application.
  • FIG. 5 is a flowchart of steps of another video playback speed adjustment method provided by an embodiment of the present application.
  • Fig. 6 is another video playback speed adjustment interface diagram provided by the embodiment of the present application.
  • Fig. 7 is another video playback speed adjustment interface diagram provided by the embodiment of the present application.
  • Fig. 8 is another video playback speed adjustment interface diagram provided by an embodiment of the present application.
  • Fig. 9 is another video playback speed adjustment interface diagram provided by the embodiment of the present application.
  • FIG. 10 is another interface diagram of video playback speed adjustment provided by an embodiment of the present application.
  • FIG. 11 is another interface diagram of video playback speed adjustment provided by an embodiment of the present application.
  • FIG. 12 is a block diagram of an apparatus for adjusting a video playback speed provided by an embodiment of the present application.
  • FIG. 13 is a logical block diagram of an electronic device according to an embodiment of the present application.
  • FIG. 14 is a logical block diagram of an electronic device according to another embodiment of the present application.
  • FIG. 1 is a flowchart of steps of a method for adjusting a video playback speed provided by an embodiment of the present application. The method is applied to an electronic device. As shown in FIG. 1 , the method may include:
  • Step 101 in response to the free speed change triggering operation on the target video, display a free speed change adjustment interface, where the free speed change adjustment interface includes a video track control and a speed change wheel control.
  • Step 102 in response to the management operation on the shifting point in the video track control, manage the shifting point, where the shifting point is used to divide the target video into multiple video segments.
  • Step 103 in response to the control operation on the video track control, determining a target video segment from the plurality of video segments.
  • Step 104 in response to the adjustment operation on the variable speed wheel control, perform variable speed adjustment on the target video segment.
  • FIG. 2 shows a video playback speed adjustment interface diagram provided by an embodiment of the present application. Specifically, FIG. 2 shows an interface entered after selecting and editing a target video, including: a video preview area 10, a video track control 20, Primary navigation area 30 .
  • the video preview area 10 can preview and play the target video.
  • the primary navigation area 30 contains buttons for common editing functions of the target video, such as: “variable speed” button; “special effect” button; “watermark” button; “canvas” button and so on.
  • the electronic device may respond to the user's variable speed triggering operation on the target video, thereby entering the variable speed adjustment interface.
  • the user when the user has the requirement to adjust the playback speed of the target video, the user can trigger the “speed change” button in the primary navigation area 30 to enter the speed change adjustment interface shown in FIG. 3 .
  • the variable speed adjustment interface may include a video preview area 10, a video track control 20, and a variable speed wheel control 40.
  • the variable speed wheel control 40 is used to select a corresponding speed change value in response to a user's adjustment operation.
  • FIG. 3 also includes a global shift control 51 and a free shift control 52, and the user can enter a corresponding shift mode by triggering the corresponding controls.
  • step 101 after the user triggers the free-speed control 52, the electronic device may enter the free-speed adjustment interface as shown in FIG. 4 in response to the free-speed trigger operation on the target video.
  • Free variable speed means that the user can select any video clip in the target video, and select the target variable speed value corresponding to the video clip, and different video clips can have different variable speed values.
  • the video track control 20 includes multi-frame video frames 21 of the target video, that is, the video track control 20 can display the target video in the form of a frame sequence stream according to the playback timing of the target video.
  • the two video frames 21 connected in the track control 20 may be two adjacent video frames in the target video, or may be two video frames in the target video separated by a certain period of time.
  • the user can slide the video track control 20 left and right, so as to conveniently view and select the content in different positions of the target video.
  • the variable speed wheel control 40 includes a scale wheel that can be slid left and right, and the scale wheel has a plurality of variable speed values set at intervals, for example, a variable speed value of 2x indicates that the video is fast-forwarded at 2 times the speed, and a variable speed value of 1/2x indicates that the video is played at 1 speed. /2x for slow playback.
  • a control refers to the encapsulation of data and methods, and a control can have its own attributes and methods, wherein the attributes are simple visitors to the control data, and the methods are some simple and visible functions of the control.
  • Both the video track controls and the variable speed wheel controls in the video track are graphic controls, which can implement corresponding functions based on user operations.
  • step 102 the user can add a speed change point in the video track control 20 except for the start position and the end position of the target video, and the user can also delete the video track control 20 except the target video according to actual needs.
  • the starting moments of the divided video clips can be used to automatically establish shifting points 23 corresponding to these moments in the length direction of the video track control 20 .
  • the user can slide the video track control to the left and right, so as to conveniently view and select the content in different positions of the target video. Therefore, in step 103, the electronic device may determine the target video segment from the target video in response to the user's control operation on the video track control.
  • the user determines the video segment corresponding to the interval area between the second and third shifting points from the left as the target video segment by sliding the video track control 20 left and right.
  • the user can slide the scale wheel in the variable speed wheel control 40 to select a target variable speed value for controlling the playback speed of the target video clip, wherein the variable speed
  • the center line 41 of the scale wheel is set at the center of the width direction of the area where the wheel control 40 is located.
  • the speed change value corresponding to the scale overlapping the center line 41 is the target speed change value.
  • 4x is selected as the target speed change value.
  • the target video clip can be fast-forwarded 4x based on the 4x fast-forward variable speed value.
  • the electronic device may provide the user with a free speed change adjustment interface after responding to the free speed change trigger operation on the target video, so that the user can conveniently adjust the scale wheel in the speed change wheel control, so that in a In the interface, the target speed change value is selected quickly and intuitively, and the target speed change value is selected by adjusting the scale wheel, which realizes a new interactive method, which is more convenient and intuitive than the segment speed change method in the related art.
  • the present application can provide the user with a free variable speed adjustment interface after responding to the free variable speed trigger operation on the target video, so that the user can conveniently
  • the scale wheel in the variable speed wheel control is adjusted, so that the target speed change value can be selected quickly and intuitively in one interface, and the target speed change value can be selected by adjusting the scale wheel, which realizes a new interactive method.
  • it is more convenient and intuitive.
  • FIG. 5 is a flowchart of steps of another video playback speed adjustment method provided by an embodiment of the present application. The method is applied to an electronic device. As shown in FIG. 5 , the method may include:
  • Step 201 in response to a free speed change trigger operation on the target video, display a free speed change adjustment interface, where the free speed change adjustment interface includes a video track control and a speed change wheel control.
  • Step 202 in response to the management operation of the shifting point in the video track control, manage the shifting point, where the shifting point is used to divide the target video into a plurality of video segments.
  • Step 202 further includes:
  • determining the middle A shift point is selected by the central axis; in response to a triggering operation of the shift point management control, the selected intermediate shift point is deleted.
  • a shift point management control 53 is also displayed in the free shifting adjustment interface, and a center axis 22 is provided in the center of the displayed area of the video track control 20 , and step 202 further includes:
  • Step 203 in response to the sliding operation of the video track control in the length direction, determine the video segment corresponding to the interval area overlapping the central axis as the target video segment.
  • Step 204 highlighting and displaying the interval area overlapping the central axis in a preset manner.
  • Step 205 in response to the adjustment operation on the shift roller control, determine a target shift value.
  • Step 206 Adjust the playback speed of the target video clip according to the target variable speed value.
  • the gear shift wheel control is displayed in a preset pop-up window
  • the pop-up window is triggered by the gear shift trigger operation
  • the pop-up window also displays a global gear shift control and a free gear shift control .
  • the speed change adjustment interface includes: the global speed change adjustment interface in FIG. 3 and the free speed change adjustment interface in FIG. 4 .
  • the pop-up window 50 can be triggered to pop up and display, and the variable speed wheel control 40 is displayed in the pop-up window 50.
  • the variable speed wheel control 40 and the video track control 20 can be displayed. Displayed separately, with a clear interface hierarchy, and optimized the layout of the variable speed adjustment interface.
  • variable speed adjustment modes for the target video include a global variable speed mode and a free variable speed mode.
  • the embodiment of the present application provides two speed change modes: global speed change and free speed change, wherein the global speed change refers to selecting a target speed change value to perform speed change for the entire target video. Therefore, in this embodiment of the present application, the global shift control 51 and the free shift control 52 may be displayed in the pop-up window 50, and the user can enter the corresponding shift mode by triggering the corresponding controls.
  • the global variable speed mode is entered by default, and the user can switch to the free variable speed mode by selecting the free variable speed control.
  • the user can directly enter the global speed change mode when entering the speed change adjustment interface next time; after exiting the free speed change mode, the user can directly enter the free speed change mode when entering the speed change adjustment interface next time.
  • the intermediate shift points include: among the shift points, the shift points other than the shift point at the start position and the shift point at the end position of the target video are shifted.
  • the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of the intermediate shift point in the video track control is less than or equal to a first time threshold
  • the intermediate shift point is in an enlarged display form.
  • the first time threshold is 0.6 seconds.
  • a video clip can have a minimum time limit, so as to avoid the occurrence of worthless video clips with too short duration, and in the video track control, different positions correspond to different frame playback moments.
  • the interval area between the points constitutes a video clip. Therefore, the time interval between the moment corresponding to one speed change point and the moment corresponding to another speed change point must be greater than the minimum time length that the video clip can have.
  • the video clip can be Has a minimum time length of 1.2 seconds.
  • the intermediate shifting point selected by the central axis 22 can be determined as the shifting point to be deleted. Specifically, how to determine that the middle shift point is selected on the central axis 22.
  • the corresponding moment of the central axis in the video track control can be compared with a middle shift point. When the time interval between the corresponding moments in the video track control is less than or equal to the first time threshold of 0.6 seconds, it is determined that the intermediate shift point is selected for the central axis 22 .
  • the intermediate shift point may be in the video track control at the corresponding moment.
  • the selected intermediate shifting point is displayed in an enlarged scale to improve the user's perception of the selected intermediate shifting point. That is, when the central axis is within the range of 0.6 seconds before and after a shifting point, it is considered that the shifting point is selected by the central axis, and the shifting point is enlarged and highlighted.
  • the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of the intermediate shift point in the video track control is less than or equal to a first time threshold
  • the electronic device displays the shift point management control as a delete shift point control.
  • the shifting point management control 53 may also be displayed in the pop-up window 50 , and the video track control 20 in the central axis 22
  • the time interval between the corresponding moment of the video track control 20 and the corresponding moment of an intermediate shifting point in the video track control 20 is less than or equal to the first time threshold, it is considered that the intermediate shifting point is selected by the central axis 22.
  • the text in the shift point management control 53 can be changed to “delete shift point”, and the electronic device can delete the intermediate shift point in the video track control 20 in response to a user triggering the shift point management control 53 .
  • the electronic device in response to the distance between the central axis and the selected intermediate shifting point, is less than or equal to a preset distance threshold, and displays the selected intermediate shifting point in an enlarged manner between the selected intermediate shifting point and the selected intermediate shifting point. where the central axis overlaps.
  • the selected intermediate shifting point may be automatically changed when the central axis is extremely close to the selected intermediate shifting point.
  • the relative positional relationship with the central axis, the selected intermediate shifting point is adsorbed to overlap with the central axis, and the selected intermediate shifting point is enlarged and displayed to improve the user's perception of the selected intermediate shifting point.
  • the preset distance threshold can be a distance of 30 pixels, that is, when the central axis is within a range of 30 pixels before and after a shifting point, the shifting point is adsorbed to overlap with the central axis, and the shifting point is displayed in a magnified and highlighted manner.
  • the second time threshold is 1.2 seconds.
  • a function of adding a speed change point is provided.
  • the center axis in the video track control can be set.
  • the time interval between the corresponding moment and the corresponding moment of a shifting point in the video track control is greater than or equal to the second time threshold of 1.2 seconds, it is determined that the central axis 22 is at the position where the shifting point can be added.
  • a shifting point can be added to the position of the central axis to ensure that the minimum time length of the video clip will not be less than 1.2 seconds.
  • the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of the shifting point in the video track control is greater than or equal to a second time threshold
  • the electronic device displays the shift point management control as an add shift point control.
  • a shifting point management control 53 may also be displayed in the pop-up window 50 , and the video track control 20 in the central axis 22
  • the time interval between the corresponding moment of , and the corresponding moment of the shifting point in the video track control 20 is greater than or equal to the second time threshold, it is determined that the central axis 22 is at the position where the shifting point can be added.
  • the text in the shift point management control 53 can be changed to “Add shift point”, and the electronic device can add a new shift point at the position of the central axis 22 in response to the user triggering the shift point management control 53 .
  • only one shift point management control can be used, and the management function of adding/deleting shift points can be implemented in a fast interactive manner, thereby reducing the complexity of the shift adjustment interface and operation logic.
  • the user can also perform drag operations on other shift points except the shift point at the start position and the shift point at the end of the video track control, thereby changing the position of the drag shift point in the video track control. position, so as to achieve the purpose of changing the division of video clips.
  • a central axis is set in the center of the display area corresponding to the video track control; in the video track control, the interval area formed between adjacent shifting points is used to reflect a video segment.
  • the video track control 20 can be used to realize the selection of the target video segment, and the user can slide the video track control 20 left and right along the length direction, thereby changing the relative relationship between the video segment and the central axis 22
  • the positional relationship when the central axis 22 overlaps with an interval area, the electronic device determines the video segment corresponding to the interval area as the target video segment.
  • the video segment corresponding to the interval area can be used as the target video segment.
  • the embodiment of the present application may highlight the interval area corresponding to the target video clip in a preset manner. For example, in FIG. 4 , with the middle The spaced area where the axes overlap corresponds to the target video segment, and the spaced area can be enlarged and displayed to improve the user's perception.
  • the user can slide the scale wheel in the variable speed wheel control 40 to select the target variable speed value for controlling the playback speed of the target video clip, such as In FIG. 4 , the speed change value 4x is selected for the video segment corresponding to the interval area between the second and third speed changing points from the left. With a variable speed value of 4x selected, the video clip can be fast-played at 4x speed.
  • the video playback speed adjustment method applied to the electronic device may further include:
  • the at least one shift point In response to at least one of the shift point at the start position and the shift point at the end position of the target video being displayed in the display area, the at least one shift point is different from other shift points in the display area , and set the at least one shift point to be unprocessable.
  • the shift point at the start position and/or the shift point at the end position of the target video when the shift point at the start position and/or the shift point at the end position of the target video has been displayed in the display area of the video track control 20, it can be displayed in a color different from other shift points, such as It can be the black shift point in the figure. Since the shift point at the start position and the shift point at the end position are considered inoperable, that is, cannot be deleted and dragged, the shift point or end position between the central axis 22 and the start position is considered inoperable. In the case of overlapping shift points, the shift point management control 53 can be set to an inoperable state.
  • the shift point management control 53 is grayed out to inform the user that the shift point management control 53 is in an inoperable state at this time, and the shift point at the start position and the shift point at the end position cannot be processed.
  • the free speed change adjustment interface also displays a speed change point management control, and the center of the display area corresponding to the video track control is provided with a central axis; the video playback applied to the electronic device
  • the speed adjustment method may also include:
  • the interval time between the shift point at the start position of the target video or the shift point at the end position of the target video at the corresponding moment in the video track control less than or equal to the second time threshold, setting the shift point management control to an inoperable state.
  • the shift point management control is set to an inoperable state; the intermediate shift points are: among the shift points, the shift points other than the shift point at the start position and the shift point at the end position of the target video are shifted.
  • the first time threshold may be 0.6 seconds and the second time threshold may be 1.2 seconds.
  • the shift point management controls can be made inoperable and grayed out.
  • the center axis selects the middle shift point.
  • the shifting point can be further deleted through the shifting point management control, and when the central axis is outside the range of 0.6 seconds before and after the intermediate shifting point, and within 1.2 seconds, in order to avoid the division of the intermediate shifting point, the minimum video clip can be obtained. If the time length is less than 1.2 seconds, the shift point management control should be set to inoperable state and grayed out to avoid shifting outside the range of 0.6 seconds before and within 1.2 seconds of the intermediate shift point Add operation of point.
  • the embodiments of the present application provide another video playback speed adjustment method, and the method is applied to an electronic device, including:
  • a global speed change adjustment interface In response to a global speed change triggering operation on the target video, a global speed change adjustment interface is displayed, and the global speed change adjustment interface includes a video track control and a speed change wheel control;
  • variable speed wheel control in response to an adjustment operation on the variable speed wheel control, performing variable speed adjustment on the target video
  • the length of the video track control is adjusted based on the target speed change value.
  • adjusting the length of the video track control based on the target speed change value further comprises:
  • the length of the video track control is shortened by the shortening multiple of the target speed change value and displayed.
  • the length of the video track control is displayed after being stretched by taking the inverse of the target speed speed value as the stretch multiple.
  • variable speed adjustment interface may include: the global variable speed adjustment interface of FIG. 3 , after entering the global variable speed adjustment interface of FIG. 3 in response to the global variable speed trigger operation on the target video, a global variable speed operation can be performed,
  • Speed change refers to selecting a target speed change value through the speed change wheel control to change the speed of the entire target video. As shown in Figure 3, a 2x speed change value can be selected to perform 2x fast playback on the target video.
  • the length of the video track control reflects the length of the target video playback duration
  • performing variable speed adjustment on the target video will change the playback duration of the target video.
  • the playback duration of the target video is shortened by 1/2; the playback duration of the target video can be increased by 2 times by performing a 1/2x speed change and slow playback of the target video.
  • the embodiment of the present application may adjust the length of the video track control correspondingly according to the target variable speed value. For example, referring to FIG. 3 , when the target variable speed value is 2x In this case, the length of the video track control can be changed to 1/2 of the length of the video track control when the variable speed value is 1x (normal playback speed), so that the user can intuitively perceive the 2x speed through the change of the length of the video track control.
  • the embodiment of the present application in the process of performing the global speed change, when the target speed change value is greater than 1, it can be considered that the fast playback operation of the target video will shorten the playback time of the target video, so that the user can intuitively feel As far as the impact of the fast-play operation on the playback duration of the target video, the embodiment of the present application can shorten the length of the video track control with the target variable speed value as a shortening multiple. Shorten the duration by 1/2, you can reduce the length of the video track control by 1/2.
  • the length of the video track control can be extended by taking the reciprocal of the target speed change value as the elongation multiple. For example, the target video is extended by 1/ 2x slow down the speed, so that the playback time of the target video is increased by 2 times, and the length of the video track control can be extended by 2 times.
  • the embodiments of the present application provide another video playback speed adjustment method, and the method is applied to an electronic device, including:
  • Step 201 in response to a free speed change triggering operation on the target video, display a free speed change adjustment interface, where the free speed change adjustment interface includes a video track control and a speed change wheel control.
  • Step 202 in response to the management operation of the shifting point in the video track control, manage the shifting point, where the shifting point is used to divide the target video into a plurality of video segments.
  • Step 203 in response to the sliding operation of the video track control in the length direction, determine the video segment corresponding to the interval area overlapping the central axis as the target video segment.
  • Step 204 highlighting and displaying the interval area overlapping the central axis in a preset manner.
  • Step 205 in response to the adjustment operation on the shift roller control, determine a target shift value.
  • Step 206 Adjust the playback speed of the target video clip according to the target variable speed value.
  • step 206 in response to the target speed change value being greater than 1, the length of the region corresponding to the target video clip in the video track control is shortened and displayed by the shortening multiple of the target speed change value.
  • step 206 in response to the target speed change value being greater than 0 and less than 1, the length of the region corresponding to the target video clip in the video track control is extended by taking the reciprocal of the target speed change value as the elongation multiple. Displayed after a long time.
  • the embodiment of the present application in the process of performing the free speed change, when the target speed change value is greater than 1, it can be considered that performing the fast playback operation on the target video clip will shorten the playback duration of the target video clip, and the embodiment of the present application may
  • the length of the area corresponding to the target video clip in the video track control is shortened by the shortening multiple of the target speed change value.
  • the target video clip (the video clip corresponding to the interval area overlapping the central axis) is subjected to 4x speed change
  • Fast playback can shorten the playing time of the target video clip by 1/4, then the length of the area corresponding to the target video clip in the video track control 20 can be shortened to 1/4.
  • the target video clip (the video clip corresponding to the interval area overlapping with the central axis) is further adjusted from 4 ⁇ variable speed fast playback to 2 ⁇ variable speed fast playback, then the corresponding area of the target video clip in the video track control 20 is adjusted.
  • the length is adjusted to 2 times the length of the corresponding area of the target video clip in the video track control 20 during 4x variable speed fast playback. The user can intuitively feel the influence of the variable speed operation on the playback duration of the target video clip.
  • the length of the area corresponding to the target video clip in the video track control can be extended by taking the reciprocal of the target speed change value as the elongation multiple. long.
  • step 205 further includes:
  • the speed change value in the scale wheel that overlaps with the center line of the display area of the speed change wheel control is determined as the target speed change value; the overlap with the center line is determined as the target speed change value;
  • the variable speed value has a highlighted background of preset size and color;
  • the target speed change value is displayed at a preset position of the display area corresponding to the video track control.
  • the speed change value overlapping the center line 41 of the display area of the speed change wheel control 40 in the scale wheel can be determined as the target speed change value.
  • the embodiment of the present application can set a highlight background 42 with a preset size and color for the target speed change value, and can also display the target speed change at the preset position of the display area corresponding to the video track control.
  • the value, as shown in Figure 10 can be fixed in the lower left corner of the display area corresponding to the video track control to display the target speed change value. In this way, the key information: the display of the target shifting value is clearer and more stable.
  • step 205 further includes:
  • the target shift value is displayed on one side of the center axis.
  • the speed change value in the scale wheel that overlaps with the center line 41 of the display area of the speed change wheel control 40 can be determined as the target speed change value.
  • the embodiment of the present application may display the target speed change value on the fixed side of the central axis 22 , for example, in FIG. In this way, the key information: the display of the target speed change value can be more visually focused and the distraction of attention can be reduced.
  • the present application can provide the user with a free variable speed adjustment interface after responding to the free variable speed trigger operation on the target video, so that the user can conveniently
  • the scale wheel in the variable speed wheel control is adjusted, so that the target speed change value can be selected quickly and intuitively in one interface, and the target speed change value can be selected by adjusting the scale wheel, which realizes a new interactive method.
  • it is more convenient and intuitive.
  • FIG. 12 is a block diagram of a video playback speed adjustment device provided by an embodiment of the present application, as shown in FIG.
  • the variable speed trigger module 301 is configured to display a free variable speed adjustment interface in response to a free variable speed trigger operation on the target video, and the free variable speed adjustment interface includes a video track control and a variable speed wheel control;
  • a shift point module 302 configured to manage the shift point in response to a management operation on the shift point in the video track control, where the shift point is used to divide the target video into a plurality of video segments;
  • a selection module 303 configured to determine a target video segment from the plurality of video segments in response to a control operation on the video track control;
  • the adjustment module 304 is configured to perform variable speed adjustment on the target video segment in response to the adjustment operation on the variable speed wheel control.
  • a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is provided in the center of the display area corresponding to the video track control;
  • the shift point module 302 includes:
  • the deletion submodule is configured to respond to the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of an intermediate shift point in the video track control, which is less than or equal to the first In the case of the time threshold, it is determined that the intermediate shifting point is selected by the central axis; in response to the triggering operation of the shifting point management control, the selected intermediate shifting point is deleted; the intermediate shifting point is: the Among the shifting points, the shifting points are other than the shifting point at the start position and the shifting point at the end position of the target video.
  • a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is provided in the center of the display area corresponding to the video track control;
  • the shift point module 302 includes:
  • a submodule is added, configured to respond to the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of a shifting point in the video track control, greater than or equal to the second time
  • a threshold value is used to determine the position of the central axis; in response to a triggering operation on the shift point management control, a new shift point is generated at the overlapping position of the central axis in the video track control.
  • the delete sub-module is configured to respond to a difference between a corresponding moment of the central axis in the video track control and a corresponding moment of the intermediate shift point in the video track control
  • the time interval is less than or equal to the first time threshold, and the selected intermediate shifting point is displayed in a magnified manner.
  • the deletion sub-module is configured to, in response to the distance interval between the central axis and the existing intermediate shift point being less than or equal to a preset distance threshold, to delete the selected intermediate shift
  • the point magnification is displayed at the position overlapping the central axis.
  • the deletion sub-module is configured to be responsive to a corresponding moment of the central axis in the video track control, and a corresponding moment of the selected intermediate shift point in the video track control The time interval between is less than or equal to the first time threshold, and the shift point management control is displayed as a delete shift point control.
  • the adding submodule is configured to respond to a time between a corresponding moment of the center axis in the video track control and a corresponding moment of the shift point in the video track control
  • the interval greater than or equal to the second time threshold, exposes the shift point management control as an add shift point control.
  • the apparatus further includes:
  • the graying module is configured to display the at least one shifting point in the display area in response to at least one shifting point among the shifting point at the start position and the shifting point at the end position of the target video, displaying the at least one shifting point in a different manner from the all shifting points.
  • the color display of other shift points in the display area is displayed, and the at least one shift point is set as unprocessable.
  • a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is provided in the center of the display area corresponding to the video track control;
  • the device also includes:
  • the first state change module is configured to respond to the corresponding moment of the central axis in the video track control, and the speed change point of the start position of the target video or the speed change point of the end position in the video track control.
  • the interval time between the corresponding moments in is less than or equal to the second time threshold, and the shift point management control is set to an inoperable state;
  • the second state change module is configured to, in response to the corresponding moment of the central axis in the video track control, the interval time between the corresponding moment of an intermediate shifting point in the video track control is greater than the first
  • the time threshold is smaller than the second time threshold, and the shift point management control is set to an inoperable state; the intermediate shift points are: among the shift points except for the shift point at the start position of the target video, the shift point at the end position. A shift point other than the shift point.
  • the first time threshold is 0.6 seconds.
  • the second time threshold is 1.2 seconds.
  • the center of the display area corresponding to the video track control is provided with a central axis; in the video track control, the interval area formed between adjacent shifting points is used to reflect a video segment;
  • the selection module 303 also includes:
  • the selection sub-module is configured to, in response to a sliding operation of the video track control in the length direction, determine the video segment corresponding to the interval area overlapping with the central axis as the target video segment.
  • the apparatus further includes:
  • the protruding sub-module is configured to highlight the interval area overlapping with the central axis in a preset manner.
  • the adjustment module 304 further includes:
  • a determination submodule configured to determine a target speed change value in response to an adjustment operation on the speed change roller control
  • the adjustment sub-module is configured to adjust the playback speed of the target video clip according to the target speed change value.
  • variable speed trigger module 301 is further configured to, in response to a variable speed trigger operation on the target video, display a variable speed adjustment interface, where the variable speed adjustment interface includes a global variable speed control and a free variable speed control;
  • the global shift adjustment interface including the video track control and the shift wheel control
  • the free shift adjustment interface In response to a triggering operation of the free shift control, the free shift adjustment interface is displayed, and the free shift adjustment interface includes the video track control, the shift wheel control, and the shift point management control.
  • the video playback speed adjustment device provided by the embodiment of the present application can provide the user with a free variable speed adjustment interface after responding to the free variable speed trigger operation on the target video, so that the user can conveniently
  • the scale wheel in the variable speed wheel control is adjusted, so that the target speed change value can be selected quickly and intuitively in one interface, and the target speed change value can be selected by adjusting the scale wheel, which realizes a new interactive method.
  • it is more convenient and intuitive.
  • FIG. 13 is a block diagram of an electronic device 600 according to an exemplary embodiment.
  • electronic device 600 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.
  • electronic device 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614 , and the communication component 616 .
  • the processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 602 may include one or more processors 620 to execute instructions to perform all or some of the steps of the methods described above. Additionally, processing component 602 may include one or more modules that facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
  • Memory 604 is used to store various types of data to support operation at electronic device 600 . Examples of such data include instructions for any application or method operating on electronic device 600, contact data, phonebook data, messages, pictures, multimedia, and the like. Memory 604 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Magnetic or Optical Disk Magnetic Disk
  • Power supply assembly 606 provides power to various components of electronic device 600 .
  • Power supply components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 600 .
  • Multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
  • the touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the demarcation of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action.
  • the multimedia component 608 includes a front-facing camera and/or a rear-facing camera. When the electronic device 600 is in an operation mode, such as a shooting mode or a multimedia mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
  • Audio component 610 is used to output and/or input audio signals.
  • the audio component 610 includes a microphone (MIC) for receiving external audio signals when the electronic device 600 is in operating modes, such as calling mode, recording mode, and voice recognition mode.
  • the received audio signal may be further stored in memory 604 or transmitted via communication component 616 .
  • audio component 610 also includes a speaker for outputting audio signals.
  • the I/O interface 612 provides an interface between the processing component 602 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
  • Sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of electronic device 600 .
  • the sensor assembly 614 can detect the open/closed state of the electronic device 600, the relative positioning of the components, such as the display and the keypad of the electronic device 600, and the sensor assembly 614 can also detect the electronic device 600 or one of the electronic devices 600. Changes in the positions of components, presence or absence of user contact with the electronic device 600 , orientation or acceleration/deceleration of the electronic device 600 and changes in the temperature of the electronic device 600 .
  • Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
  • Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 616 is used to facilitate wired or wireless communication between electronic device 600 and other devices.
  • Electronic device 600 may access wireless networks based on communication standards, such as WiFi, carrier networks (such as 2G, 3G, 4G, or 5G), or a combination thereof.
  • the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • electronic device 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable It is implemented by a programming gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, and is used to implement the video playback speed adjustment method provided by the embodiment of the present application.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA programming gate array
  • controller a controller
  • microcontroller a microcontroller
  • microprocessor microprocessor or other electronic components
  • non-transitory computer storage medium including instructions, such as a memory 604 including instructions, executable by the processor 620 of the electronic device 600 to perform the method described above.
  • the non-transitory storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
  • FIG. 14 is a block diagram of an electronic device 700 according to an exemplary embodiment.
  • the electronic device 700 may be provided as a server.
  • electronic device 700 includes processing component 722, which further includes one or more processors, and a memory resource represented by memory 732 for storing instructions executable by processing component 722, such as applications.
  • An application program stored in memory 732 may include one or more modules, each corresponding to a set of instructions.
  • the processing component 722 is configured to execute an instruction to execute a video playback speed adjustment method provided by this embodiment of the present application.
  • the electronic device 700 may also include a power supply assembly 726 configured to perform power management of the electronic device 700, a wired or wireless network interface 750 configured to connect the electronic device 700 to a network, and an input output (I/O) interface 758 .
  • Electronic device 700 may operate based on an operating system stored in memory 732, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • Embodiments of the present application further provide a computer program product, including a computer program, which implements the video playback speed adjustment method when the computer program is executed by a processor.

Abstract

The present application provides a video playback speed adjustment method and an electronic device. The method comprises: in response to a free speed change trigger operation for a target video, displaying a free speed change adjustment interface, the free speed change adjustment interface comprising a video track control and a speed change sliding control; in response to a management operation on a speed change point in the video track control, managing the speed change point, wherein the speed change point is used for dividing the target video into a plurality of video segments; in response to a control operation on the video track control, determining a target video segment from the plurality of video segments; and in response to an adjustment operation on the speed change sliding control, performing speed change adjustment on the target video segment.

Description

视频播放速度调节方法及电子设备Video playback speed adjustment method and electronic device
相关申请交叉引用Cross-reference to related applications
本申请基于申请号为202110336967.7、申请日为2021年3月29日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202110336967.7 and the filing date of March 29, 2021, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请实施例涉及计算机技术领域,尤其涉及一种视频播放速度调节方法、装置、电子设备、计算机存储介质及计算机程序产品。The embodiments of the present application relate to the field of computer technologies, and in particular, to a video playback speed adjustment method, apparatus, electronic device, computer storage medium, and computer program product.
背景技术Background technique
视频变速是视频播放场景中的常见功能,用户可以通过选取变速值,将视频按照变速值对应的倍率快放或慢放。Video speed change is a common function in video playback scenarios. By selecting the speed change value, the user can fast-play or slow-play the video according to the ratio corresponding to the speed change value.
相关技术中,用户通常是直接对整个视频进行全局变速,若用户需要对视频其中的一个片段变速,则需要先通过视频分割软件,分割得到视频中的该片段,并对提取的该片段选取相应变速值,进行片段的全局变速,实现对该片段的变速。In the related art, the user usually directly performs a global speed change on the entire video. If the user needs to speed up a segment in the video, he needs to first obtain the segment in the video through video segmentation software, and select the corresponding segment for the extracted segment. The variable speed value is used to perform the global speed change of the segment to realize the speed change of the segment.
发明内容SUMMARY OF THE INVENTION
第一方面,本申请实施例提供了一种视频播放速度调节方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for adjusting a video playback speed, the method comprising:
响应于对目标视频的自由变速触发操作,显示自由变速调节界面,所述自由变速调节界面包括视频轨道控件和变速滚轮控件;In response to the free speed change triggering operation on the target video, a free speed change adjustment interface is displayed, and the free speed change adjustment interface includes a video track control and a speed change wheel control;
响应于对所述视频轨道控件中的变速点的管理操作,管理所述变速点,所述变速点用于将所述目标视频分割为多个视频片段;managing the shifting points in response to the managing operation of the shifting points in the video track control, the shifting points being used to divide the target video into a plurality of video segments;
响应于对所述视频轨道控件的控制操作,从所述多个视频片段中确定目 标视频片段;determining a target video segment from the plurality of video segments in response to a control operation on the video track control;
响应于对所述变速滚轮控件的调节操作,对所述目标视频片段进行变速调节。A variable speed adjustment is performed on the target video segment in response to the adjustment operation on the variable speed wheel control.
在一种可选实施方式中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;In an optional implementation manner, a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
所述响应于对所述变速点管理操作,管理所述变速点,包括:The managing the shift point in response to an operation on the shift point management includes:
响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值,确定所述中间变速点被所述中轴线选中;In response to a time interval between a corresponding moment of the central axis in the video track control and a corresponding moment of an intermediate shift point in the video track control, being less than or equal to a first time threshold, determining the middle The shifting point is selected by the central axis;
响应于对所述变速点管理控件的触发操作,删除所述选中的中间变速点;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。In response to the triggering operation on the shifting point management control, the selected intermediate shifting points are deleted; the intermediate shifting points are: among the shifting points except the shifting point at the starting position of the target video, the shifting point at the end position of the target video; A shift point other than the shift point.
在一种可选实施方式中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;In an optional implementation manner, a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
所述响应于对所述变速点的管理操作,管理所述变速点,包括:The managing of the shift point in response to the management operation on the shift point includes:
响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个变速点在所述视频轨道控件中的对应时刻之间的时间间隔,大于或等于第二时间阈值,确定所述中轴线的位置;determining the central axis in response to a time interval between a corresponding moment of the central axis in the video track control and a corresponding moment of a shift point in the video track control being greater than or equal to a second time threshold s position;
响应于对所述变速点管理控件的触发操作,在所述视频轨道控件中与所述中轴线的位置重叠处,生成新的变速点。In response to a triggering operation of the shift point management control, a new shift point is generated at the position of the video track control that overlaps the central axis.
在一种可选实施方式中,所述视频播放速度调节方法还包括:In an optional implementation manner, the video playback speed adjustment method further includes:
将所述选中的中间变速点放大展示形式。The selected intermediate shift point is enlarged in the display form.
在一种可选实施方式中,所述视频播放速度调节方法还包括:In an optional implementation manner, the video playback speed adjustment method further includes:
响应于所述中轴线与所述选择的中间变速点之间的距离间隔,小于或等于预设距离阈值,将所述选中的中间变速点放大显示在与中轴线重叠的位置。In response to the distance interval between the central axis and the selected intermediate shifting point being less than or equal to a preset distance threshold, the selected intermediate shifting point is enlarged and displayed at a position overlapping the central axis.
在一种可选实施方式中,所述视频播放速度调节方法还包括:In an optional implementation manner, the video playback speed adjustment method further includes:
响应于所述目标视频的起始位置的变速点和末尾位置的变速点中的至少一个变速点展示在所述展示区域,将所述至少一个变速点以不同于所述展 示区域的其他变速点的颜色显示,且将所述至少一个变速点设置为不可被处理。In response to at least one of the shift point at the start position and the shift point at the end position of the target video being displayed in the display area, the at least one shift point is different from other shift points in the display area , and set the at least one shift point to be unprocessable.
在一种可选实施方式中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;In an optional implementation manner, a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
所述视频播放速度调节方法还包括:The video playback speed adjustment method further includes:
响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述目标视频的起始位置的变速点或末尾位置的变速点在所述视频轨道控件中的对应时刻之间的间隔时间,小于或等于第二时间阈值,将所述变速点管理控件设置为不可操作状态;In response to the corresponding moment of the central axis in the video track control, the interval time between the shift point at the start position of the target video or the shift point at the end position of the target video at the corresponding moment in the video track control , less than or equal to the second time threshold, setting the shift point management control to an inoperable state;
在一种可选实施方式中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;In an optional implementation manner, a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
所述视频播放速度调节方法还包括:The video playback speed adjustment method further includes:
响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的间隔时间,大于第一时间阈值且小于第二时间阈值,将所述变速点管理控件设置为不可操作状态;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。In response to the interval time between the corresponding moment of the central axis in the video track control and the corresponding moment of an intermediate shifting point in the video track control, greater than a first time threshold and less than a second time threshold, The shift point management control is set to an inoperable state; the intermediate shift points are: among the shift points, the shift points other than the shift point at the start position and the shift point at the end position of the target video are shifted.
在一种可选实施方式中,所述视频轨道控件对应的展示区域的中央设置有中轴线;在所述视频轨道控件中,相邻变速点之间构成的间隔区域用于反映一个视频片段;In an optional implementation manner, the center of the display area corresponding to the video track control is provided with a central axis; in the video track control, the interval area formed between adjacent shifting points is used to reflect a video segment;
所述响应于对所述视频轨道控件的控制操作,从所述多个视频片段中确定目标视频片段,包括:The determining a target video segment from the plurality of video segments in response to the control operation on the video track control includes:
响应于对所述视频轨道控件的长度方向的滑动操作,将与所述中轴线重叠的间隔区域对应的视频片段,确定为所述目标视频片段。In response to the sliding operation of the video track control in the length direction, the video segment corresponding to the interval area overlapping with the central axis is determined as the target video segment.
在一种可选实施方式中,所述视频播放速度调节方法还包括:In an optional implementation manner, the video playback speed adjustment method further includes:
将与所述中轴线重叠的间隔区域按照预设方式突出展示。The spaced regions overlapping the central axis are highlighted in a preset manner.
在一种可选实施方式中,所述响应于对所述变速滚轮控件的调节操作, 对所述目标视频片段进行变速调节,包括:In an optional implementation manner, the performing variable speed adjustment on the target video segment in response to an adjustment operation on the variable speed wheel control includes:
响应于对所述变速滚轮控件的调节操作,确定目标变速值;determining a target shift value in response to an adjustment operation to the shift roller control;
根据所述目标变速值,对所述目标视频片段的播放速度进行调节。According to the target variable speed value, the playback speed of the target video clip is adjusted.
在一种可选实施方式中,所述视频播放速度调节方法还包括:响应于对所述目标视频的变速触发操作,显示变速调节界面,所述变速调节界面包括全局变速控件和自由变速控件;In an optional implementation manner, the video playback speed adjustment method further includes: in response to a speed change trigger operation on the target video, displaying a speed change adjustment interface, where the speed change adjustment interface includes a global speed change control and a free speed change control;
响应于对所述全局变速控件的触发操作,显示全局变速调节界面,所述全局变速调整界面包括所述视频轨道控件和所述变速滚轮控件;In response to a triggering operation on the global shift control, displaying a global shift adjustment interface, the global shift adjustment interface including the video track control and the shift wheel control;
响应于对所述自由变速控件的触发操作,显示所述自由变速调节界面,所述自由变速调整界面包括所述视频轨道控件、所述变速滚轮控件以及变速点管理控件。In response to a triggering operation of the free shift control, the free shift adjustment interface is displayed, and the free shift adjustment interface includes the video track control, the shift wheel control, and the shift point management control.
第二方面,本申请实施例提供了一种视频播放速度调节装置,该装置包括:In a second aspect, an embodiment of the present application provides a video playback speed adjustment device, the device comprising:
变速触发模块,被配置为响应于对目标视频的自由变速触发操作,显示自由变速调节界面,所述自由变速调节界面包括视频轨道控件和变速滚轮控件;a variable speed trigger module, configured to display a free variable speed adjustment interface in response to a free variable speed trigger operation on the target video, the free variable speed adjustment interface including a video track control and a variable speed wheel control;
变速点模块,被配置为响应于对所述视频轨道控件中的变速点的管理操作,管理所述变速点,所述变速点用于将所述目标视频分割为多个视频片段;a shift point module configured to manage the shift point in response to a management operation of the shift point in the video track control, the shift point being used to divide the target video into a plurality of video segments;
选取模块,被配置为响应于对所述视频轨道控件的控制操作,从所述多个视频片段中确定目标视频片段;a selection module configured to determine a target video segment from the plurality of video segments in response to a control operation on the video track control;
调节模块,被配置为响应于对所述变速滚轮控件的调节操作,对所述目标视频片段进行变速调节。An adjustment module configured to perform a variable speed adjustment on the target video segment in response to an adjustment operation on the variable speed wheel control.
在一种可选实施方式中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;In an optional implementation manner, a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
所述变速点模块包括:The shift point module includes:
删除子模块,被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值,确定所述中间变速点被所述中轴线选中;响应于 对所述变速点管理控件的触发操作,删除所述选中的中间变速点;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的其变速点。The deletion submodule is configured to respond to the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of an intermediate shift point in the video track control, which is less than or equal to the first a time threshold to determine that the intermediate shift point is selected by the central axis; in response to a triggering operation on the shift point management control, delete the selected intermediate shift point; the intermediate shift point is: Except for the shift point at the start position and the shift point at the end position of the target video, its shift points.
在一种可选实施方式中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;In an optional implementation manner, a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
所述变速点模块包括:The shift point module includes:
添加子模块,被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个变速点在所述视频轨道控件中的对应时刻之间的时间间隔,大于或等于第二时间阈值,确定所述中轴线的位置;响应于对所述变速点管理控件的触发操作,在所述视频轨道控件中与所述中轴线的位置重叠处,生成新的变速点。A submodule is added, configured to respond to the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of a shifting point in the video track control, greater than or equal to the second time A threshold value is used to determine the position of the central axis; in response to a triggering operation on the shift point management control, a new shift point is generated at the overlapping position of the central axis in the video track control.
在一种可选实施方式中,所述删除子模块被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值,将所述选中的中间变速点放大展示。In an optional implementation manner, the deletion sub-module is configured to correspond to the corresponding moment of the middle axis in the video track control with the corresponding moment of the intermediate shift point in the video track control The time interval between is less than or equal to the first time threshold, and the selected intermediate shifting point is displayed in an enlarged scale.
在一种可选实施方式中,所述删除子模块被配置为响应于所述中轴线与所述已有的中间变速点之间的距离间隔,小于或等于预设距离阈值,将所述选中的中间变速点放大显示在与所述中轴线重叠的位置。In an optional implementation manner, the deletion sub-module is configured to, in response to the distance interval between the central axis and the existing intermediate shift point being less than or equal to a preset distance threshold, to select the selected The center shift point of , is enlarged and displayed at the position overlapping the center axis.
在一种可选实施方式中,所述删除子模块被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述选中的中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值,将所述变速点管理控件展示为删除变速点控件。In an optional implementation manner, the deletion sub-module is configured to, in response to the corresponding moment of the central axis in the video track control, match the selected intermediate shift point in the video track control The time interval between corresponding moments is less than or equal to the first time threshold, and the shift point management control is displayed as a delete shift point control.
在一种可选实施方式中,所述添加子模块被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述变速点在所述视频轨道控件中的对应时刻之间的时间间隔,大于或等于第二时间阈值,将所述变速点管理控件展示为添加变速点控件。In an optional embodiment, the adding sub-module is configured to be in response to the corresponding moment of the central axis in the video track control, and the corresponding moment of the shifting point in the video track control. The time interval between is greater than or equal to the second time threshold, and the shift point management control is displayed as an add shift point control.
在一种可选实施方式中,所述装置还包括:In an optional embodiment, the device further includes:
置灰模块,被配置为响应于所述目标视频的起始位置的变速点和末尾位 置的变速点中的至少一个变速点展示在所述展示区域,将所述至少一个变速点以不同于所述展示区域的其他变速点的颜色显示,且将所述至少一个变速点设置为不可被处理。The graying module is configured to display the at least one shifting point in the display area in response to at least one shifting point among the shifting point at the start position and the shifting point at the end position of the target video, displaying the at least one shifting point in a different manner from the all shifting points. The color display of other shift points in the display area is displayed, and the at least one shift point is set as unprocessable.
在一种可选实施方式中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;In an optional implementation manner, a shift point management control is also displayed in the free speed change adjustment interface, and a central axis is provided in the center of the display area corresponding to the video track control;
所述装置还包括:The device also includes:
第一状态变更模块,被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述目标视频的起始位置的变速点或末尾位置的变速点在所述视频轨道控件中的对应时刻之间的间隔时间,小于或等于第二时间阈值,将所述变速点管理控件设置为不可操作状态;The first state change module is configured to respond to the corresponding moment of the central axis in the video track control, and the speed change point of the start position of the target video or the speed change point of the end position in the video track control. The interval time between the corresponding moments in , is less than or equal to the second time threshold, and the shift point management control is set to an inoperable state;
在一种可选实施方式中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件的已展示区域的中央设置有中轴线;In an optional implementation manner, a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is provided in the center of the displayed area of the video track control;
所述装置还包括:The device also includes:
第二状态变更模块,被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的间隔时间,大于第一时间阈值且小于第二时间阈值,将所述变速点管理控件设置为不可操作状态;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。The second state change module is configured to, in response to the corresponding moment of the central axis in the video track control, the interval time between the corresponding moment of an intermediate shifting point in the video track control is greater than the first The time threshold is smaller than the second time threshold, and the shift point management control is set to an inoperable state; the intermediate shift points are: among the shift points except for the shift point at the start position of the target video, the shift point at the end position. A shift point other than the shift point.
在一种可选实施方式中,所述第一时间阈值为0.6秒。In an optional implementation manner, the first time threshold is 0.6 seconds.
在一种可选实施方式中,所述第二时间阈值为1.2秒。In an optional implementation manner, the second time threshold is 1.2 seconds.
在一种可选实施方式中,所述视频轨道控件对应的展示区域的中央设置有中轴线;在所述视频轨道控件中,相邻变速点之间构成的间隔区域用于反映一个视频片段;In an optional implementation manner, the center of the display area corresponding to the video track control is provided with a central axis; in the video track control, the interval area formed between adjacent shifting points is used to reflect a video segment;
所述选取模块还包括:The selection module also includes:
选取子模块,被配置为响应于对所述视频轨道控件的长度方向的滑动操作,将与所述中轴线重叠的间隔区域对应的视频片段,确定为所述目标视频片段。The selection sub-module is configured to, in response to a sliding operation of the video track control in the length direction, determine the video segment corresponding to the interval area overlapping with the central axis as the target video segment.
在一种可选实施方式中,所述装置还包括:In an optional embodiment, the device further includes:
突出子模块,被配置为将与所述中轴线重叠的间隔区域按照预设方式突出展示。The protruding sub-module is configured to highlight the interval area overlapping with the central axis in a preset manner.
在一种可选实施方式中,所述调节模块还包括:In an optional embodiment, the adjustment module further includes:
确定子模块,被配置为响应于对所述变速滚轮控件的调节操作,确定目标变速值;a determination submodule configured to determine a target speed change value in response to an adjustment operation on the speed change roller control;
调节子模块,被配置为根据所述目标变速值,对所述目标视频片段的播放速度进行调节。The adjustment sub-module is configured to adjust the playback speed of the target video clip according to the target speed change value.
在一种可选实施方式中,变速触发模块还被配置为,响应于对所述目标视频的变速触发操作,显示变速调节界面,所述变速调节界面包括全局变速控件和自由变速控件;In an optional embodiment, the variable speed trigger module is further configured to, in response to a variable speed trigger operation on the target video, display a variable speed adjustment interface, where the variable speed adjustment interface includes a global variable speed control and a free variable speed control;
响应于对所述全局变速控件的触发操作,显示全局变速调节界面,所述全局变速调整界面包括所述视频轨道控件和所述变速滚轮控件;In response to a triggering operation on the global shift control, displaying a global shift adjustment interface, the global shift adjustment interface including the video track control and the shift wheel control;
响应于对所述自由变速控件的触发操作,显示所述自由变速调节界面,所述自由变速调整界面包括所述视频轨道控件、所述变速滚轮控件以及变速点管理控件。In response to a triggering operation of the free shift control, the free shift adjustment interface is displayed, and the free shift adjustment interface includes the video track control, the shift wheel control, and the shift point management control.
第三方面,本申请实施例还提供了一种电子设备,包括用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现第一方面所述的视频播放速度调节方法。In a third aspect, an embodiment of the present application further provides an electronic device, including a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the first aspect. The video playback speed adjustment method described above.
第四方面,本申请实施例还提供了一种非易失性计算机存储介质,当所述计算机可读存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行第一方面所述的视频播放速度调节方法。In a fourth aspect, the embodiments of the present application further provide a non-volatile computer storage medium, when the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device can execute the information in the first aspect. The video playback speed adjustment method described above.
第五方面,本申请实施例还提供了一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现第一方面所述的视频播放速度调节方法。In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program, which implements the video playback speed adjustment method described in the first aspect when the computer program is executed by a processor.
在本申请实施例中,本申请可以在响应于对目标视频的自由变速触发操作后,提供给用户自由变速调节界面,使得用户可以便捷的通过对变速滚轮控件中标尺滚轮进行调节操作,从而在一个界面中快速、直观的选取目标变速值,且通过调节标尺滚轮进行目标变速值的选取,实现了一种新的交互方 式,这种交互方式相较于相关技术中的片段变速方式更加便捷直观。In the embodiment of the present application, the present application can provide the user with a free variable speed adjustment interface after responding to the free variable speed trigger operation on the target video, so that the user can conveniently adjust the scale wheel in the The target speed change value can be selected quickly and intuitively in one interface, and the target speed change value can be selected by adjusting the scale wheel, which realizes a new interaction method, which is more convenient and intuitive than the segment speed change method in the related art. .
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the description, and in order to make the above-mentioned and other purposes, features and advantages of the present application more obvious and easy to understand , and the specific embodiments of the present application are listed below.
附图说明Description of drawings
图1是本申请实施例提供的一种视频播放速度调节方法的步骤流程图;1 is a flowchart of steps of a method for adjusting video playback speed provided by an embodiment of the present application;
图2是本申请实施例提供的一种视频播放速度调节界面图;Fig. 2 is a kind of video playback speed adjustment interface diagram provided by the embodiment of the present application;
图3是本申请实施例提供的另一种视频播放速度调节界面图;Fig. 3 is another video playback speed adjustment interface diagram provided by the embodiment of the present application;
图4是本申请实施例提供的另一种视频播放速度调节界面图;Fig. 4 is another video playback speed adjustment interface diagram provided by the embodiment of the present application;
图5是本申请实施例提供的另一种视频播放速度调节方法的步骤流程图;5 is a flowchart of steps of another video playback speed adjustment method provided by an embodiment of the present application;
图6是本申请实施例提供的另一种视频播放速度调节界面图;Fig. 6 is another video playback speed adjustment interface diagram provided by the embodiment of the present application;
图7是本申请实施例提供的另一种视频播放速度调节界面图;Fig. 7 is another video playback speed adjustment interface diagram provided by the embodiment of the present application;
图8是本申请实施例提供的另一种视频播放速度调节界面图;Fig. 8 is another video playback speed adjustment interface diagram provided by an embodiment of the present application;
图9是本申请实施例提供的另一种视频播放速度调节界面图;Fig. 9 is another video playback speed adjustment interface diagram provided by the embodiment of the present application;
图10是本申请实施例提供的另一种视频播放速度调节界面图;10 is another interface diagram of video playback speed adjustment provided by an embodiment of the present application;
图11是本申请实施例提供的另一种视频播放速度调节界面图;11 is another interface diagram of video playback speed adjustment provided by an embodiment of the present application;
图12是本申请实施例提供的一种视频播放速度调节装置的框图;12 is a block diagram of an apparatus for adjusting a video playback speed provided by an embodiment of the present application;
图13是本申请一个实施例的电子设备的逻辑框图;13 is a logical block diagram of an electronic device according to an embodiment of the present application;
图14是本申请另一个实施例的电子设备的逻辑框图。FIG. 14 is a logical block diagram of an electronic device according to another embodiment of the present application.
具体实施方式Detailed ways
图1是本申请实施例提供的一种视频播放速度调节方法的步骤流程图,所述方法应用于电子设备,如图1所示,该方法可以包括:FIG. 1 is a flowchart of steps of a method for adjusting a video playback speed provided by an embodiment of the present application. The method is applied to an electronic device. As shown in FIG. 1 , the method may include:
步骤101,响应于对目标视频的自由变速触发操作,显示自由变速调节界面,所述自由变速调节界面包括视频轨道控件和变速滚轮控件。 Step 101 , in response to the free speed change triggering operation on the target video, display a free speed change adjustment interface, where the free speed change adjustment interface includes a video track control and a speed change wheel control.
步骤102,响应于对所述视频轨道控件中的变速点的管理操作,管理所述变速点,所述变速点用于将所述目标视频分割为多个视频片段。 Step 102 , in response to the management operation on the shifting point in the video track control, manage the shifting point, where the shifting point is used to divide the target video into multiple video segments.
步骤103,响应于对所述视频轨道控件的控制操作,从所述多个视频片段中确定目标视频片段。 Step 103, in response to the control operation on the video track control, determining a target video segment from the plurality of video segments.
步骤104,响应于对所述变速滚轮控件的调节操作,对所述目标视频片段进行变速调节。 Step 104, in response to the adjustment operation on the variable speed wheel control, perform variable speed adjustment on the target video segment.
图2示出了本申请实施例提供的一种视频播放速度调节界面图,具体的,图2示出了对目标视频选择编辑后进入的界面,包括:视频预览区域10、视频轨道控件20、一级导航区域30。其中,视频预览区域10可以对目标视频进行预览播放。FIG. 2 shows a video playback speed adjustment interface diagram provided by an embodiment of the present application. Specifically, FIG. 2 shows an interface entered after selecting and editing a target video, including: a video preview area 10, a video track control 20, Primary navigation area 30 . The video preview area 10 can preview and play the target video.
在图2中,一级导航区域30中包含对目标视频的常用编辑功能按钮,如:“变速”按钮;“特效”按钮;“水印”按钮;“画布”按钮等。在本申请实施例中,电子设备可以响应用户对目标视频的变速触发操作,从而进入变速调节界面。In FIG. 2 , the primary navigation area 30 contains buttons for common editing functions of the target video, such as: “variable speed” button; “special effect” button; “watermark” button; “canvas” button and so on. In this embodiment of the present application, the electronic device may respond to the user's variable speed triggering operation on the target video, thereby entering the variable speed adjustment interface.
在一些实施例中,在用户具有对目标视频的播放速度调节需求时,用户可以触发一级导航区域30中的“变速”按钮,进入如图3所示的变速调节界面,图3所示的变速调节界面中可以包括视频预览区域10、视频轨道控件20以及变速滚轮控件40,变速滚轮控件40用于响应于用户的调节操作,选取对应的变速值。In some embodiments, when the user has the requirement to adjust the playback speed of the target video, the user can trigger the “speed change” button in the primary navigation area 30 to enter the speed change adjustment interface shown in FIG. 3 . The variable speed adjustment interface may include a video preview area 10, a video track control 20, and a variable speed wheel control 40. The variable speed wheel control 40 is used to select a corresponding speed change value in response to a user's adjustment operation.
进一步的,图3还包括全局变速控件51和自由变速控件52,用户触发相应的控件可以进入相应的变速模式。Further, FIG. 3 also includes a global shift control 51 and a free shift control 52, and the user can enter a corresponding shift mode by triggering the corresponding controls.
在步骤101中,用户触发自由变速控件52后,电子设备可以响应于对目标视频的自由变速触发操作,进入如图4的自由变速调节界面。自由变速是指用户可以选取目标视频中的任意视频片段,并选取对应该视频片段的目标变速值,不同视频片段可以具有不同的变速值。In step 101, after the user triggers the free-speed control 52, the electronic device may enter the free-speed adjustment interface as shown in FIG. 4 in response to the free-speed trigger operation on the target video. Free variable speed means that the user can select any video clip in the target video, and select the target variable speed value corresponding to the video clip, and different video clips can have different variable speed values.
具体的,在图3、图4中,视频轨道控件20包含目标视频的多帧视频帧21,即视频轨道控件20可以按照目标视频的播放时序,将目标视频以帧序列流的形式展示,视频轨道控件20中相连的两帧视频帧21可以为目标视频中的相邻两帧视频帧,也可以为目标视频中间隔一定时长的两帧视频帧。用户可以对视频轨道控件20进行左右滑动,从而便捷的查看和选取目标视频 不同位置的内容。Specifically, in FIG. 3 and FIG. 4 , the video track control 20 includes multi-frame video frames 21 of the target video, that is, the video track control 20 can display the target video in the form of a frame sequence stream according to the playback timing of the target video. The two video frames 21 connected in the track control 20 may be two adjacent video frames in the target video, or may be two video frames in the target video separated by a certain period of time. The user can slide the video track control 20 left and right, so as to conveniently view and select the content in different positions of the target video.
变速滚轮控件40包括可以被左右滑动的标尺滚轮,标尺滚轮上具有多个间隔设置的变速值,如,变速值2x表示以2倍速对视频进行快放,变速值1/2x表示将视频以1/2倍速进行慢放。The variable speed wheel control 40 includes a scale wheel that can be slid left and right, and the scale wheel has a plurality of variable speed values set at intervals, for example, a variable speed value of 2x indicates that the video is fast-forwarded at 2 times the speed, and a variable speed value of 1/2x indicates that the video is played at 1 speed. /2x for slow playback.
需要说明的是,控件是指对数据和方法的封装,控件可以有自己的属性和方法,其中属性是控件数据的简单访问者,方法则是控件的一些简单而可见的功能,本申请实施例中的视频轨道控件和变速滚轮控件都为图形控件,可以基于用户的操作,实现相应的功能。It should be noted that a control refers to the encapsulation of data and methods, and a control can have its own attributes and methods, wherein the attributes are simple visitors to the control data, and the methods are some simple and visible functions of the control. Both the video track controls and the variable speed wheel controls in the video track are graphic controls, which can implement corresponding functions based on user operations.
在本申请实施例中,视频轨道控件20的长度方向上可以间隔存在有多个变速点23,变速点23用于将目标视频划分为多个视频片段。In this embodiment of the present application, there may be multiple shifting points 23 at intervals along the length direction of the video track control 20, and the shifting points 23 are used to divide the target video into multiple video segments.
在步骤102中,用户可以在视频轨道控件20中除了目标视频的起始位置和末尾位置之外的位置,自行添加变速点,用户也可以根据实际需求,删除视频轨道控件20中除了目标视频起始位置的变速点和末尾位置的变速点之外的中间变速点。另外,若用户已事先将目标视频划分为多个视频片段,则可以利用划分视频片段的起始时刻,自动在视频轨道控件20的长度方向上建立对应这些时刻的变速点23。In step 102, the user can add a speed change point in the video track control 20 except for the start position and the end position of the target video, and the user can also delete the video track control 20 except the target video according to actual needs. The shift point at the start position and the intermediate shift point other than the shift point at the end position. In addition, if the user has divided the target video into multiple video clips in advance, the starting moments of the divided video clips can be used to automatically establish shifting points 23 corresponding to these moments in the length direction of the video track control 20 .
在本申请实施例中,用户可以对视频轨道控件进行左右滑动,从而便捷的查看和选取目标视频不同位置的内容。因此,在步骤103中,电子设备可以响应于用户对视频轨道控件的控制操作,从目标视频中确定目标视频片段。In the embodiment of the present application, the user can slide the video track control to the left and right, so as to conveniently view and select the content in different positions of the target video. Therefore, in step 103, the electronic device may determine the target video segment from the target video in response to the user's control operation on the video track control.
例如,参照图4,用户通过对视频轨道控件20进行左右滑动,将左起第二和第三个变速点之间的间隔区域对应的视频片段确定为目标视频片段。For example, referring to FIG. 4 , the user determines the video segment corresponding to the interval area between the second and third shifting points from the left as the target video segment by sliding the video track control 20 left and right.
在一些实施例中,参照图4,在确定目标视频片段之后,用户可以对变速滚轮控件40中的标尺滚轮进行滑动,从而选取用于控制目标视频片段的播放速度的目标变速值,其中,变速滚轮控件40所处区域的宽度方向的中央位置设置有标尺滚轮的中线41,用户滑动标尺滚轮的过程中,与该中线41重叠的刻度对应的变速值即为目标变速值。如图4中选取了4x作为目标变速值。之后可以基于4x快放变速值,对目标视频片段进行4x快放。In some embodiments, referring to FIG. 4 , after determining the target video clip, the user can slide the scale wheel in the variable speed wheel control 40 to select a target variable speed value for controlling the playback speed of the target video clip, wherein the variable speed The center line 41 of the scale wheel is set at the center of the width direction of the area where the wheel control 40 is located. When the user slides the scale wheel, the speed change value corresponding to the scale overlapping the center line 41 is the target speed change value. As shown in Figure 4, 4x is selected as the target speed change value. Afterwards, the target video clip can be fast-forwarded 4x based on the 4x fast-forward variable speed value.
本申请实施例中,电子设备可以在响应于对目标视频的自由变速触发操 作后,提供给用户自由变速调节界面,使得用户可以便捷的通过对变速滚轮控件中标尺滚轮进行调节操作,从而在一个界面中快速、直观的选取目标变速值,且通过调节标尺滚轮进行目标变速值的选取,实现了一种新的交互方式,这种交互方式相较于相关技术中的片段变速方式更加便捷直观。In the embodiment of the present application, the electronic device may provide the user with a free speed change adjustment interface after responding to the free speed change trigger operation on the target video, so that the user can conveniently adjust the scale wheel in the speed change wheel control, so that in a In the interface, the target speed change value is selected quickly and intuitively, and the target speed change value is selected by adjusting the scale wheel, which realizes a new interactive method, which is more convenient and intuitive than the segment speed change method in the related art.
综上所述,本申请实施例提供的一种视频播放速度调节方法,本申请可以在响应于对目标视频的自由变速触发操作后,提供给用户自由变速调节界面,使得用户可以便捷的通过对变速滚轮控件中标尺滚轮进行调节操作,从而在一个界面中快速、直观的选取目标变速值,且通过调节标尺滚轮进行目标变速值的选取,实现了一种新的交互方式,这种交互方式相较于相关技术中的片段变速方式更加便捷直观。To sum up, with the video playback speed adjustment method provided by the embodiments of the present application, the present application can provide the user with a free variable speed adjustment interface after responding to the free variable speed trigger operation on the target video, so that the user can conveniently The scale wheel in the variable speed wheel control is adjusted, so that the target speed change value can be selected quickly and intuitively in one interface, and the target speed change value can be selected by adjusting the scale wheel, which realizes a new interactive method. Compared with the segment shifting method in the related art, it is more convenient and intuitive.
图5是本申请实施例提供的另一种视频播放速度调节方法的步骤流程图,所述方法应用于电子设备,如图5所示,该方法可以包括:FIG. 5 is a flowchart of steps of another video playback speed adjustment method provided by an embodiment of the present application. The method is applied to an electronic device. As shown in FIG. 5 , the method may include:
步骤201,响应于对目标视频的自由变速触发操作,显示自由变速调节界面,所述自由变速调节界面包括视频轨道控件和变速滚轮控件。 Step 201 , in response to a free speed change trigger operation on the target video, display a free speed change adjustment interface, where the free speed change adjustment interface includes a video track control and a speed change wheel control.
步骤202,响应于对所述视频轨道控件中的变速点的管理操作,管理所述变速点,所述变速点用于将所述目标视频分割为多个视频片段。 Step 202, in response to the management operation of the shifting point in the video track control, manage the shifting point, where the shifting point is used to divide the target video into a plurality of video segments.
在一些实施例中,参照图4,所述自由变速调节界面中还展示有变速点管理控件53,所述视频轨道控件20对应的展示区域的中央设置有中轴线22,步骤202进一步包括:In some embodiments, referring to FIG. 4 , a shift point management control 53 is also displayed in the free shifting adjustment interface, and a central axis 22 is provided in the center of the display area corresponding to the video track control 20. Step 202 further includes:
响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值,确定所述中间变速点被所述中轴线选中;响应于对所述变速点管理控件的触发操作,删除所述选中的中间变速点。In response to a time interval between a corresponding moment of the central axis in the video track control and a corresponding moment of an intermediate shift point in the video track control, being less than or equal to a first time threshold, determining the middle A shift point is selected by the central axis; in response to a triggering operation of the shift point management control, the selected intermediate shift point is deleted.
在一些实施例中,参照图7,所述自由变速调节界面中还展示有变速点管理控件53,所述视频轨道控件20的已展示区域的中央设置有中轴线22,步骤202进一步包括:In some embodiments, referring to FIG. 7 , a shift point management control 53 is also displayed in the free shifting adjustment interface, and a center axis 22 is provided in the center of the displayed area of the video track control 20 , and step 202 further includes:
响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个变速点在 所述视频轨道控件中的对应时刻之间的时间间隔,大于或等于第二时间阈值,确定所述中轴线的位置;响应于对所述变速点管理控件的触发操作,在所述视频轨道控件中与所述中轴线的位置重叠处,生成新的变速点。determining the central axis in response to a time interval between a corresponding moment of the central axis in the video track control and a corresponding moment of a shift point in the video track control being greater than or equal to a second time threshold position; in response to the triggering operation of the shift point management control, a new shift point is generated at the position overlapping the position of the central axis in the video track control.
步骤203,响应于对所述视频轨道控件的长度方向的滑动操作,将与所述中轴线重叠的间隔区域对应的视频片段,确定为所述目标视频片段。 Step 203 , in response to the sliding operation of the video track control in the length direction, determine the video segment corresponding to the interval area overlapping the central axis as the target video segment.
步骤204,将与所述中轴线重叠的间隔区域按照预设方式突出展示。 Step 204, highlighting and displaying the interval area overlapping the central axis in a preset manner.
步骤205,响应于对所述变速滚轮控件的调节操作,确定目标变速值。 Step 205, in response to the adjustment operation on the shift roller control, determine a target shift value.
步骤206,根据所述目标变速值,对所述目标视频片段的播放速度进行调节。Step 206: Adjust the playback speed of the target video clip according to the target variable speed value.
在本申请实施例中,所述变速滚轮控件处于预设的弹窗中进行展示,所述弹窗由所述变速触发操作触发展示,所述弹窗中还展示有全局变速控件和自由变速控件。In the embodiment of the present application, the gear shift wheel control is displayed in a preset pop-up window, the pop-up window is triggered by the gear shift trigger operation, and the pop-up window also displays a global gear shift control and a free gear shift control .
在本申请实施例中,变速调节界面包括:图3的全局变速调节界面和图4的自由变速调节界面。在响应于对目标视频的变速触发操作,进入变速调节界面时,可以触发弹窗50弹出显示,且变速滚轮控件40处于弹窗50中进行展示,这样可以将变速滚轮控件40与视频轨道控件20分开展示,具有较清晰的界面层级关系,优化了变速调节界面布局。In the embodiment of the present application, the speed change adjustment interface includes: the global speed change adjustment interface in FIG. 3 and the free speed change adjustment interface in FIG. 4 . In response to the variable speed triggering operation on the target video, when entering the variable speed adjustment interface, the pop-up window 50 can be triggered to pop up and display, and the variable speed wheel control 40 is displayed in the pop-up window 50. In this way, the variable speed wheel control 40 and the video track control 20 can be displayed. Displayed separately, with a clear interface hierarchy, and optimized the layout of the variable speed adjustment interface.
在一些实施例中,对所述目标视频的变速调节模式包括全局变速模式和自由变速模式。In some embodiments, the variable speed adjustment modes for the target video include a global variable speed mode and a free variable speed mode.
进一步的,本申请实施例提供了两种变速方式:全局变速和自由变速,其中,全局变速是指选取一个目标变速值为整个目标视频进行变速。因此,本申请实施例可以在弹窗50中展示全局变速控件51和自由变速控件52,用户触发相应的控件可以进入相应的变速模式。Further, the embodiment of the present application provides two speed change modes: global speed change and free speed change, wherein the global speed change refers to selecting a target speed change value to perform speed change for the entire target video. Therefore, in this embodiment of the present application, the global shift control 51 and the free shift control 52 may be displayed in the pop-up window 50, and the user can enter the corresponding shift mode by triggering the corresponding controls.
需要说明的是,在首次进入对一个目标视频的变速调节界面时,默认进入全局变速模式,用户可以通过选取自由变速控件来切换到自由变速模式。另外,用户在退出全局变速模式后,下次再进入变速调节界面时,可以直接进入全局变速模式;用户在退出自由变速模式后,下次再进入变速调节界面时,可以直接进入自由变速模式。It should be noted that when entering the variable speed adjustment interface for a target video for the first time, the global variable speed mode is entered by default, and the user can switch to the free variable speed mode by selecting the free variable speed control. In addition, after exiting the global speed change mode, the user can directly enter the global speed change mode when entering the speed change adjustment interface next time; after exiting the free speed change mode, the user can directly enter the free speed change mode when entering the speed change adjustment interface next time.
在本申请实施例中,所述中间变速点包括:变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。In the embodiment of the present application, the intermediate shift points include: among the shift points, the shift points other than the shift point at the start position and the shift point at the end position of the target video are shifted.
在一些实施例中,所述中轴线在所述视频轨道控件中的对应时刻,与所述中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值的情况下,所述中间变速点为放大展示形式。In some embodiments, the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of the intermediate shift point in the video track control is less than or equal to a first time threshold In the case of , the intermediate shift point is in an enlarged display form.
在一些实施例中,所述第一时间阈值为0.6秒。In some embodiments, the first time threshold is 0.6 seconds.
在实际应用中,一个视频片段可以具有最小的时间长度限定,从而避免出现时长过短的无价值视频片段,而视频轨道控件中,不同的位置对应有不同的画面帧播放时刻,由于两个变速点之间的间隔区域构成一个视频片段,因此,一个变速点对应的时刻与另一个变速点对应的时刻之间的时间间隔需大于视频片段可以具有的最小时间长度,优选的,该视频片段可以具有的最小时间长度为1.2秒。In practical applications, a video clip can have a minimum time limit, so as to avoid the occurrence of worthless video clips with too short duration, and in the video track control, different positions correspond to different frame playback moments. The interval area between the points constitutes a video clip. Therefore, the time interval between the moment corresponding to one speed change point and the moment corresponding to another speed change point must be greater than the minimum time length that the video clip can have. Preferably, the video clip can be Has a minimum time length of 1.2 seconds.
在本申请实施例中,提供了对变速点的删除功能,参照图6,可以将中轴线22所选中的中间变速点确定为待删除的变速点。具体如何确定中轴线22选中了中间变速点,本申请实施例可以基于视频片段可以具有的最小时间长度为1.2秒的设定,将中轴线在视频轨道控件中的对应时刻,与一个中间变速点在视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值0.6秒的情况,确定为中轴线22选中了该中间变速点。即中轴线在一个中间变速点前后0.6秒的范围内时,认为中轴线选中了该中间变速点。图6中,在中轴线在视频轨道控件中的对应时刻,与一个中间变速点在视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值0.6秒的情况下,电子设备确定该中间变速点被中轴线22选中。In the embodiment of the present application, a function of deleting the shifting point is provided. Referring to FIG. 6 , the intermediate shifting point selected by the central axis 22 can be determined as the shifting point to be deleted. Specifically, how to determine that the middle shift point is selected on the central axis 22. In this embodiment of the present application, based on the setting that the minimum time length that the video clip can have is 1.2 seconds, the corresponding moment of the central axis in the video track control can be compared with a middle shift point. When the time interval between the corresponding moments in the video track control is less than or equal to the first time threshold of 0.6 seconds, it is determined that the intermediate shift point is selected for the central axis 22 . That is, when the central axis is within the range of 0.6 seconds before and after an intermediate shifting point, it is considered that the central axis has selected the intermediate shifting point. In Figure 6, when the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of an intermediate shifting point in the video track control is less than or equal to the first time threshold of 0.6 seconds, the electronic device It is determined that the intermediate shift point is selected by the center axis 22 .
另外,为了更醒目突出的展示选中的中间变速点,本申请实施例的一种实现方式中,可以在中轴线在所述视频轨道控件中的对应时刻,与所述中间变速点在视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值的情况下,将选中的中间变速点放大展示,提高用户对选中的中间变速点的感知。即中轴线在一个变速点前后0.6秒的范围内时,认为中轴线选中了该变速点,并放大突出展示该变速点。In addition, in order to display the selected intermediate shift point more prominently, in an implementation manner of the embodiment of the present application, at the corresponding moment of the central axis in the video track control, the intermediate shift point may be in the video track control at the corresponding moment. When the time interval between the corresponding moments in , is less than or equal to the first time threshold, the selected intermediate shifting point is displayed in an enlarged scale to improve the user's perception of the selected intermediate shifting point. That is, when the central axis is within the range of 0.6 seconds before and after a shifting point, it is considered that the shifting point is selected by the central axis, and the shifting point is enlarged and highlighted.
在一些实施例中,所述中轴线在所述视频轨道控件中的对应时刻,与所述中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值的情况下,电子设备将所述变速点管理控件展示为删除变速点控件。In some embodiments, the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of the intermediate shift point in the video track control is less than or equal to a first time threshold In the case of , the electronic device displays the shift point management control as a delete shift point control.
在本申请实施例中,为了实现对变速点的管理功能(删除功能),参照图6,弹窗50中还可以展示有变速点管理控件53,在中轴线22在所述视频轨道控件20中的对应时刻,与一个中间变速点在所述视频轨道控件20中的对应时刻之间的时间间隔,小于或等于第一时间阈值的情况下,认为中轴线22选中了该中间变速点,此时变速点管理控件53中的文案可以变为“删除变速点”,电子设备可以响应于用户对变速点管理控件53的触发操作,删除视频轨道控件20中的该中间变速点。In the embodiment of the present application, in order to realize the management function (deletion function) of the shifting point, referring to FIG. 6 , the shifting point management control 53 may also be displayed in the pop-up window 50 , and the video track control 20 in the central axis 22 When the time interval between the corresponding moment of the video track control 20 and the corresponding moment of an intermediate shifting point in the video track control 20 is less than or equal to the first time threshold, it is considered that the intermediate shifting point is selected by the central axis 22. At this time The text in the shift point management control 53 can be changed to “delete shift point”, and the electronic device can delete the intermediate shift point in the video track control 20 in response to a user triggering the shift point management control 53 .
在一些实施例中,电子设备响应于所述中轴线与所述选中的中间变速点之间的距离间隔,小于或等于预设距离阈值,将所述选中的中间变速点放大显示在与所述中轴线重叠的位置处。In some embodiments, the electronic device, in response to the distance between the central axis and the selected intermediate shifting point, is less than or equal to a preset distance threshold, and displays the selected intermediate shifting point in an enlarged manner between the selected intermediate shifting point and the selected intermediate shifting point. where the central axis overlaps.
另外,为了更醒目突出的展示选中的中间变速点,本申请实施例的另一种实现方式中,可以在中轴线与选中的中间变速点极其接近的情况下,自动改变该选中的中间变速点与中轴线之间的相对位置关系,将该选中的中间变速点吸附至与中轴线重叠,并将该选中的中间变速点放大展示,提高用户对选中的中间变速点的感知。In addition, in order to more prominently display the selected intermediate shifting point, in another implementation manner of the embodiment of the present application, the selected intermediate shifting point may be automatically changed when the central axis is extremely close to the selected intermediate shifting point The relative positional relationship with the central axis, the selected intermediate shifting point is adsorbed to overlap with the central axis, and the selected intermediate shifting point is enlarged and displayed to improve the user's perception of the selected intermediate shifting point.
需要说明的是,在中轴线与所述选中的中间变速点之间的距离间隔,小于或等于预设距离阈值的情况下,可以认为中轴线与所述选中的中间变速点极其接近,优选地,该预设距离阈值可以为30像素距离,即中轴线在一个变速点前后30像素距离的范围内时,将该变速点吸附至与中轴线重叠,并放大突出展示该变速点。It should be noted that, when the distance interval between the central axis and the selected intermediate shifting point is less than or equal to a preset distance threshold, it can be considered that the central axis is extremely close to the selected intermediate shifting point, preferably , the preset distance threshold can be a distance of 30 pixels, that is, when the central axis is within a range of 30 pixels before and after a shifting point, the shifting point is adsorbed to overlap with the central axis, and the shifting point is displayed in a magnified and highlighted manner.
在一些实施例中,所述第二时间阈值为1.2秒。In some embodiments, the second time threshold is 1.2 seconds.
在本申请实施例中,提供了对变速点的添加功能,参照图7,本申请实施例可以基于视频片段可以具有的最小时间长度为1.2秒的设定,将中轴线在视频轨道控件中的对应时刻,与一个变速点在视频轨道控件中的对应时刻 之间的时间间隔,大于或等于第二时间阈值1.2秒的情况,确定为中轴线22处于可添加变速点的位置。即中轴线在一个变速点前后1.2秒的范围外时,认为中轴线所处的位置可以添加变速点,以保证视频片段的最小时间长度不会低于1.2秒。In this embodiment of the present application, a function of adding a speed change point is provided. Referring to FIG. 7 , in this embodiment of the present application, based on the setting that the minimum time length that a video clip can have is 1.2 seconds, the center axis in the video track control can be set. When the time interval between the corresponding moment and the corresponding moment of a shifting point in the video track control is greater than or equal to the second time threshold of 1.2 seconds, it is determined that the central axis 22 is at the position where the shifting point can be added. That is, when the central axis is outside the range of 1.2 seconds before and after a shifting point, it is considered that a shifting point can be added to the position of the central axis to ensure that the minimum time length of the video clip will not be less than 1.2 seconds.
在一些实施例中,所述中轴线在所述视频轨道控件中的对应时刻,与所述变速点在所述视频轨道控件中的对应时刻之间的时间间隔,大于或等于第二时间阈值的情况下,电子设备将所述变速点管理控件展示为添加变速点控件。In some embodiments, the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of the shifting point in the video track control is greater than or equal to a second time threshold In this case, the electronic device displays the shift point management control as an add shift point control.
在本申请实施例中,为了实现对变速点的管理功能(添加功能),参照图7,弹窗50中还可以展示有变速点管理控件53,在中轴线22在所述视频轨道控件20中的对应时刻,与所述变速点在所述视频轨道控件20中的对应时刻之间的时间间隔,大于或等于第二时间阈值的情况下,确定为中轴线22处于可添加变速点的位置,此时变速点管理控件53中的文案可以变为“添加变速点”,电子设备可以响应于用户对变速点管理控件53的触发操作,在中轴线22所处的位置添加新的变速点。In the embodiment of the present application, in order to realize the management function (add function) of shifting points, referring to FIG. 7 , a shifting point management control 53 may also be displayed in the pop-up window 50 , and the video track control 20 in the central axis 22 When the time interval between the corresponding moment of , and the corresponding moment of the shifting point in the video track control 20 is greater than or equal to the second time threshold, it is determined that the central axis 22 is at the position where the shifting point can be added, At this time, the text in the shift point management control 53 can be changed to “Add shift point”, and the electronic device can add a new shift point at the position of the central axis 22 in response to the user triggering the shift point management control 53 .
本申请实施例仅通过一个变速点管理控件,可以通过快捷的交互方式,实现变速点的添加/删除管理功能,降低了变速调节界面和操作逻辑的复杂度。In the embodiment of the present application, only one shift point management control can be used, and the management function of adding/deleting shift points can be implemented in a fast interactive manner, thereby reducing the complexity of the shift adjustment interface and operation logic.
需要说明的是,用户还可以对除了视频轨道控件的起始位置的变速点、末尾位置的变速点之外的其他变速点进行拖动操作,从而改变拖动的变速点在视频轨道控件中的位置,从而达到改变视频片段的划分的目的。It should be noted that the user can also perform drag operations on other shift points except the shift point at the start position and the shift point at the end of the video track control, thereby changing the position of the drag shift point in the video track control. position, so as to achieve the purpose of changing the division of video clips.
在步骤203中,所述视频轨道控件对应的展示区域的中央设置有中轴线;在所述视频轨道控件中,相邻变速点之间构成的间隔区域用于反映一个视频片段。In step 203, a central axis is set in the center of the display area corresponding to the video track control; in the video track control, the interval area formed between adjacent shifting points is used to reflect a video segment.
在本申请实施例中,参照图4,可以利用视频轨道控件20来实现目标视频片段的选取,用户可以将视频轨道控件20沿长度方向左右滑动,从而改变视频片段与中轴线22之间的相对位置关系,当中轴线22与一个间隔区域重叠时,电子设备将该间隔区域对应的视频片段确定为目标视频片段,在图4中,中轴线22与左起第二和第三个变速点之间的间隔区域重叠,则该间隔 区域对应的视频片段可以被作为目标视频片段。In the embodiment of the present application, referring to FIG. 4 , the video track control 20 can be used to realize the selection of the target video segment, and the user can slide the video track control 20 left and right along the length direction, thereby changing the relative relationship between the video segment and the central axis 22 The positional relationship, when the central axis 22 overlaps with an interval area, the electronic device determines the video segment corresponding to the interval area as the target video segment. In FIG. 4 , between the central axis 22 and the second and third shifting points from the left If the interval area overlaps, the video segment corresponding to the interval area can be used as the target video segment.
在一些实施例中,参照图4,为了提高用户对选取的目标视频片段的感知,本申请实施例可以将目标视频片段对应的间隔区域按照预设方式突出展示,如,图4中,与中轴线重叠的间隔区域对应目标视频片段,可以将该间隔区域放大显示,以提高用户的感知。In some embodiments, referring to FIG. 4 , in order to improve the user's perception of the selected target video clip, the embodiment of the present application may highlight the interval area corresponding to the target video clip in a preset manner. For example, in FIG. 4 , with the middle The spaced area where the axes overlap corresponds to the target video segment, and the spaced area can be enlarged and displayed to improve the user's perception.
在本申请实施例中,参照图4,选取了目标视频片段的同时,用户可以对变速滚轮控件40中的标尺滚轮进行滑动,从而选取用于控制目标视频片段的播放速度的目标变速值,如图4中,针对左起第二和第三个变速点之间的间隔区域对应的视频片段选取了变速值4x。选择了变速值4x后,该视频片段可以以4x的倍速进行快放。In the embodiment of the present application, referring to FIG. 4 , while the target video clip is selected, the user can slide the scale wheel in the variable speed wheel control 40 to select the target variable speed value for controlling the playback speed of the target video clip, such as In FIG. 4 , the speed change value 4x is selected for the video segment corresponding to the interval area between the second and third speed changing points from the left. With a variable speed value of 4x selected, the video clip can be fast-played at 4x speed.
在一些实施例中,所述应用于电子设备的视频播放速度调节方法还可以包括:In some embodiments, the video playback speed adjustment method applied to the electronic device may further include:
响应于所述目标视频的起始位置的变速点和末尾位置的变速点中的至少一个变速点展示在所述展示区域,将所述至少一个变速点以不同于所述展示区域的其他变速点的颜色显示,且将所述至少一个变速点设置为不可被处理。In response to at least one of the shift point at the start position and the shift point at the end position of the target video being displayed in the display area, the at least one shift point is different from other shift points in the display area , and set the at least one shift point to be unprocessable.
参照图8,目标视频的起始位置的变速点和/或末尾位置的变速点已展示在视频轨道控件20的展示区域的情况下,可以将其以不同于其他变速点的颜色进行显示,如可以为图中的黑色变速点,由于起始位置的变速点、末尾位置的变速点被认为是不可操作,即不能删除和拖动,则在中轴线22与起始位置的变速点或末尾位置的变速点重叠的情况下,可以将变速点管理控件53设置于不可操作状态,另外,在中轴线22选中起始位置的变速点、末尾位置的变速点的情况下,可以将变速点管理控件53置灰显示,以告知用户此时变速点管理控件53处于不可操作状态,无法对起始位置的变速点、末尾位置的变速点进行处理。Referring to FIG. 8 , when the shift point at the start position and/or the shift point at the end position of the target video has been displayed in the display area of the video track control 20, it can be displayed in a color different from other shift points, such as It can be the black shift point in the figure. Since the shift point at the start position and the shift point at the end position are considered inoperable, that is, cannot be deleted and dragged, the shift point or end position between the central axis 22 and the start position is considered inoperable. In the case of overlapping shift points, the shift point management control 53 can be set to an inoperable state. In addition, when the central axis 22 selects the shift point at the start position and the shift point at the end position, the shift point management control 53 is grayed out to inform the user that the shift point management control 53 is in an inoperable state at this time, and the shift point at the start position and the shift point at the end position cannot be processed.
在一些实施例中,参照图8,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;所述应 用于电子设备的视频播放速度调节方法还可以包括:In some embodiments, referring to FIG. 8 , the free speed change adjustment interface also displays a speed change point management control, and the center of the display area corresponding to the video track control is provided with a central axis; the video playback applied to the electronic device The speed adjustment method may also include:
响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述目标视频的起始位置的变速点或末尾位置的变速点在所述视频轨道控件中的对应时刻之间的间隔时间,小于或等于第二时间阈值,将所述变速点管理控件设置为不可操作状态。In response to the corresponding moment of the central axis in the video track control, the interval time between the shift point at the start position of the target video or the shift point at the end position of the target video at the corresponding moment in the video track control , less than or equal to the second time threshold, setting the shift point management control to an inoperable state.
响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的间隔时间,大于第一时间阈值且小于第二时间阈值,将所述变速点管理控件设置为不可操作状态;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。In response to the interval time between the corresponding moment of the central axis in the video track control and the corresponding moment of an intermediate shifting point in the video track control, greater than a first time threshold and less than a second time threshold, The shift point management control is set to an inoperable state; the intermediate shift points are: among the shift points, the shift points other than the shift point at the start position and the shift point at the end position of the target video are shifted.
在一些实施例中,第一时间阈值可以为0.6秒,第二时间阈值可以为1.2秒。In some embodiments, the first time threshold may be 0.6 seconds and the second time threshold may be 1.2 seconds.
本申请实施例中,参照图8,可以基于视频片段可以具有的最小时间长度为1.2秒的设定,在所述中轴线在所述视频轨道控件中的对应时刻,与目标视频起始位置的变速点或末尾位置的变速点在所述视频轨道控件中的对应时刻之间的间隔时间,小于或等于第二时间阈值的情况下,为了避免视频首尾的视频片段的最小时间长度低于1.2秒,则可以将变速点管理控件置为不可操作状态,并将其置灰显示。In the embodiment of the present application, referring to FIG. 8 , based on the setting that the minimum time length that a video clip can have is 1.2 seconds, at the corresponding moment of the central axis in the video track control, the difference between the start position of the target video and the The interval time between the speed change point or the change point at the end position and the corresponding moments in the video track control, if it is less than or equal to the second time threshold, in order to avoid the minimum time length of the video clips at the beginning and end of the video being less than 1.2 seconds , the shift point management controls can be made inoperable and grayed out.
在本申请实施例中,针对目标视频的起始位置的变速点、末尾位置的变速点之外的中间变速点,当中轴线处于该中间变速点前后0.6秒范围内时,认为中轴线选中该中间变速点,可以进一步通过变速点管理控件删除该中间变速点,而在中轴线处于中间变速点前后0.6秒范围之外,1.2秒范围之内时,为了避免该中间变速点划分得到视频片段的最小时间长度低于1.2秒,则应将变速点管理控件置为不可操作状态,并将其置灰显示,以避免在该中间变速点前后0.6秒范围之外,1.2秒范围之内的位置进行变速点的添加操作。In the embodiment of the present application, for the shift point at the start position of the target video and the intermediate shift point other than the shift point at the end position, when the center axis is within the range of 0.6 seconds before and after the intermediate shift point, it is considered that the center axis selects the middle shift point. The shifting point can be further deleted through the shifting point management control, and when the central axis is outside the range of 0.6 seconds before and after the intermediate shifting point, and within 1.2 seconds, in order to avoid the division of the intermediate shifting point, the minimum video clip can be obtained. If the time length is less than 1.2 seconds, the shift point management control should be set to inoperable state and grayed out to avoid shifting outside the range of 0.6 seconds before and within 1.2 seconds of the intermediate shift point Add operation of point.
在一些实施例中,本申请实施例提供了另一种视频播放速度调节方法,该方法应用于电子设备,包括:In some embodiments, the embodiments of the present application provide another video playback speed adjustment method, and the method is applied to an electronic device, including:
响应于对目标视频的全局变速触发操作,显示全局变速调节界面,所述全局变速调节界面包括视频轨道控件和变速滚轮控件;In response to a global speed change triggering operation on the target video, a global speed change adjustment interface is displayed, and the global speed change adjustment interface includes a video track control and a speed change wheel control;
响应于对所述变速滚轮控件的调节操作,对所述目标视频进行变速调节;in response to an adjustment operation on the variable speed wheel control, performing variable speed adjustment on the target video;
根据所述目标变速值,调节所述视频轨道控件的长度。The length of the video track control is adjusted based on the target speed change value.
在一些实施例中,根据所述目标变速值,调节所述视频轨道控件的长度进一步包括:In some embodiments, adjusting the length of the video track control based on the target speed change value further comprises:
响应于所述目标变速值大于1,将所述视频轨道控件的长度以所述目标变速值为缩短倍数进行缩短后显示。In response to the target speed change value being greater than 1, the length of the video track control is shortened by the shortening multiple of the target speed change value and displayed.
响应于所述目标变速值大于0且小于1,将所述视频轨道控件的长度以所述目标变速值的倒数为伸长倍数进行伸长后显示。In response to the target speed change value being greater than 0 and less than 1, the length of the video track control is displayed after being stretched by taking the inverse of the target speed speed value as the stretch multiple.
在本申请实施例中,变速调节界面可以包括:图3的全局变速调节界面,在响应于对目标视频的全局变速触发操作,进入图3的全局变速调节界面之后,可以进行全局变速操作,全局变速是指通过变速滚轮控件选取一个目标变速值为整个目标视频进行变速。如图3中,可以选取2x变速值,对目标视频进行2倍快放。In the embodiment of the present application, the variable speed adjustment interface may include: the global variable speed adjustment interface of FIG. 3 , after entering the global variable speed adjustment interface of FIG. 3 in response to the global variable speed trigger operation on the target video, a global variable speed operation can be performed, Speed change refers to selecting a target speed change value through the speed change wheel control to change the speed of the entire target video. As shown in Figure 3, a 2x speed change value can be selected to perform 2x fast playback on the target video.
在本申请实施例中,由于视频轨道控件的长度反映了目标视频播放时长的长短,而对目标视频进行变速调节,会改变目标视频的播放时长,如,将目标视频进行2x变速快放,可以使得目标视频的播放时长缩短1/2;将目标视频进行1/2x变速慢放,可以使得目标视频的播放时长增加2倍。In the embodiment of the present application, since the length of the video track control reflects the length of the target video playback duration, performing variable speed adjustment on the target video will change the playback duration of the target video. The playback duration of the target video is shortened by 1/2; the playback duration of the target video can be increased by 2 times by performing a 1/2x speed change and slow playback of the target video.
而为了让用户直观的感受到变速操作对目标视频播放时长产生的影响,本申请实施例可以根据目标变速值,对应调节视频轨道控件的长度,例如,参照图3,在目标变速值为2x的情况下,可以将视频轨道控件的长度变更为变速值为1x(正常播放速度)时视频轨道控件的长度的1/2,使得用户可以通过视频轨道控件的长度的变化,直观感知到2倍速快放下目标视频的时长缩短1/2的变化;参照图9,若将目标变速值由2x调节为4x,则可以将视频轨道控件的长度变更为变速值为2x时视频轨道控件的长度的1/2,从而达到了通过目标变速值的取值,动态调整视频轨道控件的长度的目的。In order to let the user intuitively feel the impact of the variable speed operation on the playback duration of the target video, the embodiment of the present application may adjust the length of the video track control correspondingly according to the target variable speed value. For example, referring to FIG. 3 , when the target variable speed value is 2x In this case, the length of the video track control can be changed to 1/2 of the length of the video track control when the variable speed value is 1x (normal playback speed), so that the user can intuitively perceive the 2x speed through the change of the length of the video track control. A change in which the duration of the drop target video is shortened by 1/2; referring to Figure 9, if the target speed change value is adjusted from 2x to 4x, the length of the video track control can be changed to 1/ the length of the video track control when the speed change value is 2x 2, so as to achieve the purpose of dynamically adjusting the length of the video track control through the value of the target variable speed value.
在本申请实施例中,进行全局变速的过程中,在目标变速值大于1的情 况下,可以认为对目标视频进行快放操作,会使得目标视频的播放时长缩短,为了使得用户可以直观的感受到快放操作对目标视频播放时长产生的影响,本申请实施例可以将视频轨道控件的长度以目标变速值为缩短倍数进行缩短,如,将目标视频进行2x变速快放,使得目标视频的播放时长缩短1/2,则可以将视频轨道控件的长度缩短为1/2。In the embodiment of the present application, in the process of performing the global speed change, when the target speed change value is greater than 1, it can be considered that the fast playback operation of the target video will shorten the playback time of the target video, so that the user can intuitively feel As far as the impact of the fast-play operation on the playback duration of the target video, the embodiment of the present application can shorten the length of the video track control with the target variable speed value as a shortening multiple. Shorten the duration by 1/2, you can reduce the length of the video track control by 1/2.
在本申请实施例中,进行全局变速的过程中,在目标变速值大于0且小于1的情况下,可以认为对目标视频进行慢放操作,会使得目标视频的播放时长变长,为了使得用户可以直观的感受到慢放操作对目标视频播放时长产生的影响,本申请实施例可以将视频轨道控件的长度以目标变速值的倒数为伸长倍数进行伸长,如,将目标视频进行1/2x变速慢放,使得目标视频的播放时长增加2倍,则可以将视频轨道控件的长度伸长2倍。In the embodiment of the present application, in the process of performing the global speed change, when the target speed change value is greater than 0 and less than 1, it can be considered that performing the slow playback operation on the target video will make the playback duration of the target video longer. You can intuitively feel the impact of the slow playback operation on the playback duration of the target video. In this embodiment of the present application, the length of the video track control can be extended by taking the reciprocal of the target speed change value as the elongation multiple. For example, the target video is extended by 1/ 2x slow down the speed, so that the playback time of the target video is increased by 2 times, and the length of the video track control can be extended by 2 times.
在一些实施例中,本申请实施例提供了另一种视频播放速度调节方法,该方法应用于电子设备,包括:In some embodiments, the embodiments of the present application provide another video playback speed adjustment method, and the method is applied to an electronic device, including:
步骤201,响应于对目标视频的自由变速触发操作,显示自由变速调节界面,所述自由变速调节界面包括视频轨道控件和变速滚轮控件。 Step 201 , in response to a free speed change triggering operation on the target video, display a free speed change adjustment interface, where the free speed change adjustment interface includes a video track control and a speed change wheel control.
步骤202,响应于对所述视频轨道控件中的变速点的管理操作,管理所述变速点,所述变速点用于将所述目标视频分割为多个视频片段。 Step 202, in response to the management operation of the shifting point in the video track control, manage the shifting point, where the shifting point is used to divide the target video into a plurality of video segments.
步骤203,响应于对所述视频轨道控件的长度方向的滑动操作,将与所述中轴线重叠的间隔区域对应的视频片段,确定为所述目标视频片段。 Step 203 , in response to the sliding operation of the video track control in the length direction, determine the video segment corresponding to the interval area overlapping the central axis as the target video segment.
步骤204,将与所述中轴线重叠的间隔区域按照预设方式突出展示。 Step 204, highlighting and displaying the interval area overlapping the central axis in a preset manner.
步骤205,响应于对所述变速滚轮控件的调节操作,确定目标变速值。 Step 205, in response to the adjustment operation on the shift roller control, determine a target shift value.
步骤206,根据所述目标变速值,对所述目标视频片段的播放速度进行调节。Step 206: Adjust the playback speed of the target video clip according to the target variable speed value.
在步骤206后,响应于所述目标变速值大于1,将所述视频轨道控件中与所述目标视频片段对应区域的长度,以所述目标变速值为缩短倍数进行缩短后显示。After step 206, in response to the target speed change value being greater than 1, the length of the region corresponding to the target video clip in the video track control is shortened and displayed by the shortening multiple of the target speed change value.
在步骤206后,响应于所述目标变速值大于0且小于1,将所述视频轨 道控件中与所述目标视频片段对应区域的长度,以所述目标变速值的倒数为伸长倍数进行伸长后显示。After step 206, in response to the target speed change value being greater than 0 and less than 1, the length of the region corresponding to the target video clip in the video track control is extended by taking the reciprocal of the target speed change value as the elongation multiple. Displayed after a long time.
在本申请实施例中,进行自由变速的过程中,在目标变速值大于1的情况下,可以认为对目标视频片段进行快放操作,会使得目标视频片段的播放时长缩短,本申请实施例可以将视频轨道控件中与目标视频片段对应的区域的长度以目标变速值为缩短倍数进行缩短,如,图4中,将目标视频片段(与中轴线重叠的间隔区域对应的视频片段)进行4x变速快放,使得目标视频片段的播放时长缩短1/4,则可以将视频轨道控件20中目标视频片段对应区域的长度缩短为1/4。In the embodiment of the present application, in the process of performing the free speed change, when the target speed change value is greater than 1, it can be considered that performing the fast playback operation on the target video clip will shorten the playback duration of the target video clip, and the embodiment of the present application may The length of the area corresponding to the target video clip in the video track control is shortened by the shortening multiple of the target speed change value. For example, in Figure 4, the target video clip (the video clip corresponding to the interval area overlapping the central axis) is subjected to 4x speed change Fast playback can shorten the playing time of the target video clip by 1/4, then the length of the area corresponding to the target video clip in the video track control 20 can be shortened to 1/4.
进一步的,参照图7,若进一步将目标视频片段(与中轴线重叠的间隔区域对应的视频片段)由4x变速快放调整为2x变速快放,则视频轨道控件20中目标视频片段对应区域的长度,被调整为4x变速快放时视频轨道控件20中目标视频片段对应区域的长度的2倍。使得用户可以直观的感受到变速操作对目标视频片段播放时长产生的影响。Further, referring to FIG. 7 , if the target video clip (the video clip corresponding to the interval area overlapping with the central axis) is further adjusted from 4× variable speed fast playback to 2× variable speed fast playback, then the corresponding area of the target video clip in the video track control 20 is adjusted. The length is adjusted to 2 times the length of the corresponding area of the target video clip in the video track control 20 during 4x variable speed fast playback. The user can intuitively feel the influence of the variable speed operation on the playback duration of the target video clip.
在本申请实施例中,进行自由变速的过程中,在目标变速值大于0且小于1的情况下,可以认为对目标视频片段进行慢放操作,会使得目标视频片段的播放时长增加,为了使得用户可以直观的感受到慢放操作对目标视频片段播放时长产生的影响,本申请实施例可以将视频轨道控件中与目标视频片段对应的区域的长度以目标变速值的倒数为伸长倍数进行伸长。In the embodiment of the present application, in the process of performing the free speed change, when the target speed change value is greater than 0 and less than 1, it can be considered that performing the slow playback operation on the target video clip will increase the playback duration of the target video clip. The user can intuitively feel the impact of the slow playback operation on the playback duration of the target video clip. In this embodiment of the present application, the length of the area corresponding to the target video clip in the video track control can be extended by taking the reciprocal of the target speed change value as the elongation multiple. long.
在一些实施例中,在一种实现方式中,步骤205进一步包括:In some embodiments, in one implementation, step 205 further includes:
响应于对所述变速滚轮控件中标尺滚轮的调节操作,将所述标尺滚轮中与所述变速滚轮控件的展示区域的中线重叠的变速值,确定为所述目标变速值;所述与中线重叠的变速值具有预设尺寸和颜色的高亮显示背景;In response to the adjustment operation of the scale wheel in the speed change wheel control, the speed change value in the scale wheel that overlaps with the center line of the display area of the speed change wheel control is determined as the target speed change value; the overlap with the center line is determined as the target speed change value; The variable speed value has a highlighted background of preset size and color;
在所述视频轨道控件对应的展示区域的预设位置,展示所述目标变速值。The target speed change value is displayed at a preset position of the display area corresponding to the video track control.
参照图10,在一种实现方式中,在选取目标变速值的过程中,可以将标尺滚轮中与变速滚轮控件40的展示区域的中线41重叠的变速值,确定为目标变速值,为了提高选取的目标变速值的醒目程度,本申请实施例可以为目标变速值设置具有预设尺寸和颜色的高亮显示背景42,另外还可以在视频轨 道控件对应的展示区域的预设位置,展示目标变速值,如图10中,可以固定在视频轨道控件对应的展示区域的左下角展示该目标变速值。这种方式可以使得关键信息:目标变速值的显示更清晰稳定。Referring to FIG. 10, in an implementation manner, in the process of selecting the target speed change value, the speed change value overlapping the center line 41 of the display area of the speed change wheel control 40 in the scale wheel can be determined as the target speed change value. In order to improve the selection The conspicuous degree of the target speed change value, the embodiment of the present application can set a highlight background 42 with a preset size and color for the target speed change value, and can also display the target speed change at the preset position of the display area corresponding to the video track control. The value, as shown in Figure 10, can be fixed in the lower left corner of the display area corresponding to the video track control to display the target speed change value. In this way, the key information: the display of the target shifting value is clearer and more stable.
在一些实施例中,在另一种实现方式中,所述视频轨道控件的已展示区域的中央设置有中轴线;步骤205进一步包括:In some embodiments, in another implementation manner, the center of the displayed area of the video track control is provided with a central axis; step 205 further includes:
响应于对所述变速滚轮控件中标尺滚轮的调节操作,将所述标尺滚轮中与所述变速滚轮控件的展示区域的中线重叠的变速值,确定为所述目标变速值;In response to the adjustment operation on the scale wheel in the speed change wheel control, determining a speed change value in the scale wheel that overlaps with the center line of the display area of the speed change wheel control as the target speed change value;
在所述中轴线的一侧展示所述目标变速值。The target shift value is displayed on one side of the center axis.
参照图11,在另一种实现方式中,在选取目标变速值的过程中,可以将标尺滚轮中与变速滚轮控件40的展示区域的中线41重叠的变速值,确定为目标变速值,为了提高选取的目标变速值的醒目程度,本申请实施例可以在中轴线22的固定一侧展示目标变速值,如,图11中,可以固定在中轴线22的右侧展示目标变速值。这种方式可以使得关键信息:目标变速值的显示在视觉上更加集中,减少了注意力的分散。Referring to FIG. 11 , in another implementation manner, in the process of selecting the target speed change value, the speed change value in the scale wheel that overlaps with the center line 41 of the display area of the speed change wheel control 40 can be determined as the target speed change value. For the conspicuousness of the selected target speed change value, the embodiment of the present application may display the target speed change value on the fixed side of the central axis 22 , for example, in FIG. In this way, the key information: the display of the target speed change value can be more visually focused and the distraction of attention can be reduced.
综上所述,本申请实施例提供的一种视频播放速度调节方法,本申请可以在响应于对目标视频的自由变速触发操作后,提供给用户自由变速调节界面,使得用户可以便捷的通过对变速滚轮控件中标尺滚轮进行调节操作,从而在一个界面中快速、直观的选取目标变速值,且通过调节标尺滚轮进行目标变速值的选取,实现了一种新的交互方式,这种交互方式相较于相关技术中的片段变速方式更加便捷直观。To sum up, with the video playback speed adjustment method provided by the embodiments of the present application, the present application can provide the user with a free variable speed adjustment interface after responding to the free variable speed trigger operation on the target video, so that the user can conveniently The scale wheel in the variable speed wheel control is adjusted, so that the target speed change value can be selected quickly and intuitively in one interface, and the target speed change value can be selected by adjusting the scale wheel, which realizes a new interactive method. Compared with the segment shifting method in the related art, it is more convenient and intuitive.
图12是本申请实施例提供的一种视频播放速度调节装置的框图,如图12所示,包括:变速触发模块301、变速点模块302、选取模块303、调节模块304。FIG. 12 is a block diagram of a video playback speed adjustment device provided by an embodiment of the present application, as shown in FIG.
变速触发模块301,被配置为响应于对目标视频的自由变速触发操作,显示自由变速调节界面,所述自由变速调节界面包括视频轨道控件和变速滚轮控件;The variable speed trigger module 301 is configured to display a free variable speed adjustment interface in response to a free variable speed trigger operation on the target video, and the free variable speed adjustment interface includes a video track control and a variable speed wheel control;
变速点模块302,被配置为响应于对所述视频轨道控件中的变速点的管理操作,管理所述变速点,所述变速点用于将所述目标视频分割为多个视频片段;A shift point module 302, configured to manage the shift point in response to a management operation on the shift point in the video track control, where the shift point is used to divide the target video into a plurality of video segments;
选取模块303,被配置为响应于对所述视频轨道控件的控制操作,从所述多个视频片段中确定目标视频片段;A selection module 303, configured to determine a target video segment from the plurality of video segments in response to a control operation on the video track control;
调节模块304,被配置为响应于对所述变速滚轮控件的调节操作,对所述目标视频片段进行变速调节。The adjustment module 304 is configured to perform variable speed adjustment on the target video segment in response to the adjustment operation on the variable speed wheel control.
在一些实施例中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;In some embodiments, a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is provided in the center of the display area corresponding to the video track control;
所述变速点模块302包括:The shift point module 302 includes:
删除子模块,被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值的情况下,确定所述中间变速点被所述中轴线选中;响应于对所述变速点管理控件的触发操作,删除所述选中的中间变速点;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。The deletion submodule is configured to respond to the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of an intermediate shift point in the video track control, which is less than or equal to the first In the case of the time threshold, it is determined that the intermediate shifting point is selected by the central axis; in response to the triggering operation of the shifting point management control, the selected intermediate shifting point is deleted; the intermediate shifting point is: the Among the shifting points, the shifting points are other than the shifting point at the start position and the shifting point at the end position of the target video.
在一些实施例中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;In some embodiments, a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is provided in the center of the display area corresponding to the video track control;
所述变速点模块302包括:The shift point module 302 includes:
添加子模块,被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个变速点在所述视频轨道控件中的对应时刻之间的时间间隔,大于或等于第二时间阈值,确定所述中轴线的位置;响应于对所述变速点管理控件的触发操作,在所述视频轨道控件中与所述中轴线的位置重叠处,生成新的变速点。A submodule is added, configured to respond to the time interval between the corresponding moment of the central axis in the video track control and the corresponding moment of a shifting point in the video track control, greater than or equal to the second time A threshold value is used to determine the position of the central axis; in response to a triggering operation on the shift point management control, a new shift point is generated at the overlapping position of the central axis in the video track control.
在一些实施例中,所述删除子模块被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值,将所述选中的中间变速点放大展示。In some embodiments, the delete sub-module is configured to respond to a difference between a corresponding moment of the central axis in the video track control and a corresponding moment of the intermediate shift point in the video track control The time interval is less than or equal to the first time threshold, and the selected intermediate shifting point is displayed in a magnified manner.
在一些实施例中,所述删除子模块被配置为响应于所述中轴线与所述已有的中间变速点之间的距离间隔,小于或等于预设距离阈值,将所述选中的中间变速点放大显示在与所述中轴线重叠的位置。In some embodiments, the deletion sub-module is configured to, in response to the distance interval between the central axis and the existing intermediate shift point being less than or equal to a preset distance threshold, to delete the selected intermediate shift The point magnification is displayed at the position overlapping the central axis.
在一些实施例中,所述删除子模块被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述选中的中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值,将所述变速点管理控件展示为删除变速点控件。In some embodiments, the deletion sub-module is configured to be responsive to a corresponding moment of the central axis in the video track control, and a corresponding moment of the selected intermediate shift point in the video track control The time interval between is less than or equal to the first time threshold, and the shift point management control is displayed as a delete shift point control.
在一些实施例中,所述添加子模块被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述变速点在所述视频轨道控件中的对应时刻之间的时间间隔,大于或等于第二时间阈值,将所述变速点管理控件展示为添加变速点控件。In some embodiments, the adding submodule is configured to respond to a time between a corresponding moment of the center axis in the video track control and a corresponding moment of the shift point in the video track control The interval, greater than or equal to the second time threshold, exposes the shift point management control as an add shift point control.
在一些实施例中,所述装置还包括:In some embodiments, the apparatus further includes:
置灰模块,被配置为响应于所述目标视频的起始位置的变速点和末尾位置的变速点中的至少一个变速点展示在所述展示区域,将所述至少一个变速点以不同于所述展示区域的其他变速点的颜色显示,且将所述至少一个变速点设置为不可被处理。The graying module is configured to display the at least one shifting point in the display area in response to at least one shifting point among the shifting point at the start position and the shifting point at the end position of the target video, displaying the at least one shifting point in a different manner from the all shifting points. The color display of other shift points in the display area is displayed, and the at least one shift point is set as unprocessable.
在一些实施例中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;In some embodiments, a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is provided in the center of the display area corresponding to the video track control;
所述装置还包括:The device also includes:
第一状态变更模块,被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述目标视频的起始位置的变速点或末尾位置的变速点在所述视频轨道控件中的对应时刻之间的间隔时间,小于或等于第二时间阈值,将所述变速点管理控件设置为不可操作状态;The first state change module is configured to respond to the corresponding moment of the central axis in the video track control, and the speed change point of the start position of the target video or the speed change point of the end position in the video track control. The interval time between the corresponding moments in , is less than or equal to the second time threshold, and the shift point management control is set to an inoperable state;
第二状态变更模块,被配置为响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的间隔时间,大于第一时间阈值且小于第二时间阈值,将所述变速点管理控件设置为不可操作状态;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。The second state change module is configured to, in response to the corresponding moment of the central axis in the video track control, the interval time between the corresponding moment of an intermediate shifting point in the video track control is greater than the first The time threshold is smaller than the second time threshold, and the shift point management control is set to an inoperable state; the intermediate shift points are: among the shift points except for the shift point at the start position of the target video, the shift point at the end position. A shift point other than the shift point.
在一些实施例中,所述第一时间阈值为0.6秒。In some embodiments, the first time threshold is 0.6 seconds.
在一些实施例中,所述第二时间阈值为1.2秒。In some embodiments, the second time threshold is 1.2 seconds.
在一些实施例中,所述视频轨道控件对应的展示区域的中央设置有中轴线;在所述视频轨道控件中,相邻变速点之间构成的间隔区域用于反映一个视频片段;In some embodiments, the center of the display area corresponding to the video track control is provided with a central axis; in the video track control, the interval area formed between adjacent shifting points is used to reflect a video segment;
所述选取模块303还包括:The selection module 303 also includes:
选取子模块,被配置为响应于对所述视频轨道控件的长度方向的滑动操作,将与所述中轴线重叠的间隔区域对应的视频片段,确定为所述目标视频片段。The selection sub-module is configured to, in response to a sliding operation of the video track control in the length direction, determine the video segment corresponding to the interval area overlapping with the central axis as the target video segment.
在一些实施例中,所述装置还包括:In some embodiments, the apparatus further includes:
突出子模块,被配置为将与所述中轴线重叠的间隔区域按照预设方式突出展示。The protruding sub-module is configured to highlight the interval area overlapping with the central axis in a preset manner.
在一些实施例中,所述调节模块304还包括:In some embodiments, the adjustment module 304 further includes:
确定子模块,被配置为响应于对所述变速滚轮控件的调节操作,确定目标变速值;a determination submodule configured to determine a target speed change value in response to an adjustment operation on the speed change roller control;
调节子模块,被配置为根据所述目标变速值,对所述目标视频片段的播放速度进行调节。The adjustment sub-module is configured to adjust the playback speed of the target video clip according to the target speed change value.
在一些实施例中,变速触发模块301还被配置为,响应于对所述目标视频的变速触发操作,显示变速调节界面,所述变速调节界面包括全局变速控件和自由变速控件;In some embodiments, the variable speed trigger module 301 is further configured to, in response to a variable speed trigger operation on the target video, display a variable speed adjustment interface, where the variable speed adjustment interface includes a global variable speed control and a free variable speed control;
响应于对所述全局变速控件的触发操作,显示全局变速调节界面,所述全局变速调整界面包括所述视频轨道控件和所述变速滚轮控件;In response to a triggering operation on the global shift control, displaying a global shift adjustment interface, the global shift adjustment interface including the video track control and the shift wheel control;
响应于对所述自由变速控件的触发操作,显示所述自由变速调节界面,所述自由变速调整界面包括所述视频轨道控件、所述变速滚轮控件以及变速点管理控件。In response to a triggering operation of the free shift control, the free shift adjustment interface is displayed, and the free shift adjustment interface includes the video track control, the shift wheel control, and the shift point management control.
综上所述,本申请实施例提供的一种视频播放速度调节装置,本申请可以在响应于对目标视频的自由变速触发操作后,提供给用户自由变速调节界面,使得用户可以便捷的通过对变速滚轮控件中标尺滚轮进行调节操作,从 而在一个界面中快速、直观的选取目标变速值,且通过调节标尺滚轮进行目标变速值的选取,实现了一种新的交互方式,这种交互方式相较于相关技术中的片段变速方式更加便捷直观。To sum up, the video playback speed adjustment device provided by the embodiment of the present application can provide the user with a free variable speed adjustment interface after responding to the free variable speed trigger operation on the target video, so that the user can conveniently The scale wheel in the variable speed wheel control is adjusted, so that the target speed change value can be selected quickly and intuitively in one interface, and the target speed change value can be selected by adjusting the scale wheel, which realizes a new interactive method. Compared with the segment shifting method in the related art, it is more convenient and intuitive.
图13是根据一示例性实施例示出的一种电子设备600的框图。例如,电子设备600可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 13 is a block diagram of an electronic device 600 according to an exemplary embodiment. For example, electronic device 600 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.
参照图13,电子设备600可以包括以下一个或多个组件:处理组件602,存储器604,电力组件606,多媒体组件608,音频组件610,输入/输出(I/O)的接口612,传感器组件614,以及通信组件616。13, electronic device 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614 , and the communication component 616 .
处理组件602通常控制电子设备600的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件602可以包括一个或多个处理器620来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件602可以包括一个或多个模块,便于处理组件602和其他组件之间的交互。例如,处理组件602可以包括多媒体模块,以方便多媒体组件608和处理组件602之间的交互。The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or some of the steps of the methods described above. Additionally, processing component 602 may include one or more modules that facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
存储器604用于存储各种类型的数据以支持在电子设备600的操作。这些数据的示例包括用于在电子设备600上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,多媒体等。存储器604可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 604 is used to store various types of data to support operation at electronic device 600 . Examples of such data include instructions for any application or method operating on electronic device 600, contact data, phonebook data, messages, pictures, multimedia, and the like. Memory 604 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件606为电子设备600的各种组件提供电力。电源组件606可以包括电源管理系统,一个或多个电源,及其他与为电子设备600生成、管理和分配电力相关联的组件。 Power supply assembly 606 provides power to various components of electronic device 600 . Power supply components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 600 .
多媒体组件608包括在所述电子设备600和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板 (TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的分界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件608包括一个前置摄像头和/或后置摄像头。当电子设备600处于操作模式,如拍摄模式或多媒体模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the demarcation of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 608 includes a front-facing camera and/or a rear-facing camera. When the electronic device 600 is in an operation mode, such as a shooting mode or a multimedia mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件610用于输出和/或输入音频信号。例如,音频组件610包括一个麦克风(MIC),当电子设备600处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风用于接收外部音频信号。所接收的音频信号可以被进一步存储在存储器604或经由通信组件616发送。在一些实施例中,音频组件610还包括一个扬声器,用于输出音频信号。 Audio component 610 is used to output and/or input audio signals. For example, the audio component 610 includes a microphone (MIC) for receiving external audio signals when the electronic device 600 is in operating modes, such as calling mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 604 or transmitted via communication component 616 . In some embodiments, audio component 610 also includes a speaker for outputting audio signals.
I/O接口612为处理组件602和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 612 provides an interface between the processing component 602 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
传感器组件614包括一个或多个传感器,用于为电子设备600提供各个方面的状态评估。例如,传感器组件614可以检测到电子设备600的打开/关闭状态,组件的相对定位,例如所述组件为电子设备600的显示器和小键盘,传感器组件614还可以检测电子设备600或电子设备600一个组件的位置改变,用户与电子设备600接触的存在或不存在,电子设备600方位或加速/减速和电子设备600的温度变化。传感器组件614可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件614还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件614还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of electronic device 600 . For example, the sensor assembly 614 can detect the open/closed state of the electronic device 600, the relative positioning of the components, such as the display and the keypad of the electronic device 600, and the sensor assembly 614 can also detect the electronic device 600 or one of the electronic devices 600. Changes in the positions of components, presence or absence of user contact with the electronic device 600 , orientation or acceleration/deceleration of the electronic device 600 and changes in the temperature of the electronic device 600 . Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件616用于便于电子设备600和其他设备之间有线或无线方式的通信。电子设备600可以接入基于通信标准的无线网络,如WiFi,运营商网 络(如2G、3G、4G或5G),或它们的组合。在一个示例性实施例中,通信组件616经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件616还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 616 is used to facilitate wired or wireless communication between electronic device 600 and other devices. Electronic device 600 may access wireless networks based on communication standards, such as WiFi, carrier networks (such as 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,电子设备600可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于实现本申请实施例提供的一种视频播放速度调节方法。In an exemplary embodiment, electronic device 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable It is implemented by a programming gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, and is used to implement the video playback speed adjustment method provided by the embodiment of the present application.
在示例性实施例中,还提供了一种包括指令的非临时性计算机存储介质,例如包括指令的存储器604,上述指令可由电子设备600的处理器620执行以完成上述方法。例如,所述非临时性存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer storage medium including instructions, such as a memory 604 including instructions, executable by the processor 620 of the electronic device 600 to perform the method described above. For example, the non-transitory storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
图14是根据一示例性实施例示出的一种电子设备700的框图。例如,电子设备700可以被提供为一服务器。参照图14,电子设备700包括处理组件722,其进一步包括一个或多个处理器,以及由存储器732所代表的存储器资源,用于存储可由处理组件722的执行的指令,例如应用程序。存储器732中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件722被配置为执行指令,以执行本申请实施例提供的一种视频播放速度调节方法。FIG. 14 is a block diagram of an electronic device 700 according to an exemplary embodiment. For example, the electronic device 700 may be provided as a server. 14, electronic device 700 includes processing component 722, which further includes one or more processors, and a memory resource represented by memory 732 for storing instructions executable by processing component 722, such as applications. An application program stored in memory 732 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 722 is configured to execute an instruction to execute a video playback speed adjustment method provided by this embodiment of the present application.
电子设备700还可以包括一个电源组件726被配置为执行电子设备700的电源管理,一个有线或无线网络接口750被配置为将电子设备700连接到网络,和一个输入输出(I/O)接口758。电子设备700可以操作基于存储在存储器732的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。The electronic device 700 may also include a power supply assembly 726 configured to perform power management of the electronic device 700, a wired or wireless network interface 750 configured to connect the electronic device 700 to a network, and an input output (I/O) interface 758 . Electronic device 700 may operate based on an operating system stored in memory 732, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
本申请实施例还提供一种计算机程序产品,包括计算机程序,所述计算 机程序被处理器执行时实现所述的视频播放速度调节方法。Embodiments of the present application further provide a computer program product, including a computer program, which implements the video playback speed adjustment method when the computer program is executed by a processor.
本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or conventional techniques in the art not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the application being indicated by the following claims.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (21)

  1. 一种视频播放速度调节方法,包括:A video playback speed adjustment method, comprising:
    响应于对目标视频的自由变速触发操作,显示自由变速调节界面,所述自由变速调节界面包括视频轨道控件和变速滚轮控件;In response to the free speed change triggering operation on the target video, a free speed change adjustment interface is displayed, and the free speed change adjustment interface includes a video track control and a speed change wheel control;
    响应于对所述视频轨道控件中的变速点的管理操作,管理所述变速点,所述变速点用于将所述目标视频分割为多个视频片段;managing the shifting points in response to the managing operation of the shifting points in the video track control, the shifting points being used to divide the target video into a plurality of video segments;
    响应于对所述视频轨道控件的控制操作,从所述多个视频片段中确定目标视频片段;determining a target video segment from the plurality of video segments in response to a control operation on the video track control;
    响应于对所述变速滚轮控件的调节操作,对所述目标视频片段进行变速调节。A variable speed adjustment is performed on the target video segment in response to the adjustment operation on the variable speed wheel control.
  2. 根据权利要求1所述的方法,其中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;The method according to claim 1, wherein a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is set in the center of the display area corresponding to the video track control;
    所述响应于对所述变速点的管理操作,管理所述变速点,包括:The managing of the shift point in response to the management operation on the shift point includes:
    响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值,确定所述中间变速点被所述中轴线选中;In response to a time interval between a corresponding moment of the central axis in the video track control and a corresponding moment of an intermediate shift point in the video track control, being less than or equal to a first time threshold, determining the middle The shifting point is selected by the central axis;
    响应于对所述变速点管理控件的触发操作,删除所述选中的中间变速点;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。In response to the triggering operation on the shifting point management control, the selected intermediate shifting points are deleted; the intermediate shifting points are: among the shifting points except the shifting point at the starting position of the target video, the shifting point at the end position of the target video; A shift point other than the shift point.
  3. 根据权利要求1所述的方法,其中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;The method according to claim 1, wherein a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is set in the center of the display area corresponding to the video track control;
    所述响应于对所述变速点的管理操作,管理所述变速点,包括:The managing of the shift point in response to the management operation on the shift point includes:
    响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个变速点在所述视频轨道控件中的对应时刻之间的时间间隔,大于或等于第二时间阈值,确定所述中轴线的位置;determining the central axis in response to a time interval between a corresponding moment of the central axis in the video track control and a corresponding moment of a shift point in the video track control being greater than or equal to a second time threshold s position;
    响应于对所述变速点管理控件的触发操作,在所述视频轨道控件中与所述中轴线的位置重叠处,生成新的变速点。In response to a triggering operation of the shift point management control, a new shift point is generated at the position of the video track control that overlaps the central axis.
  4. 根据权利要求2所述的方法,还包括:The method of claim 2, further comprising:
    将所述选中的中间变速点放大展示。The selected intermediate shift point is enlarged and displayed.
  5. 根据权利要求2所述的方法,还包括:The method of claim 2, further comprising:
    响应于所述中轴线与所述选中的中间变速点之间的距离间隔,小于或等于预设距离阈值,将所述选中的中间变速点放大显示在与所述中轴线重叠的位置。In response to the distance interval between the central axis and the selected intermediate shifting point being less than or equal to a preset distance threshold, the selected intermediate shifting point is enlarged and displayed at a position overlapping the central axis.
  6. 根据权利要求1所述的方法,还包括:The method of claim 1, further comprising:
    响应于所述目标视频的起始位置的变速点和末尾位置的变速点中的至少一个变速点展示在所述展示区域,将所述至少一个变速点以不同于所述展示区域的其他变速点的颜色显示,且将所述至少一个变速点设置为不可被处理。In response to at least one of the shift point at the start position and the shift point at the end position of the target video being displayed in the display area, the at least one shift point is different from other shift points in the display area , and set the at least one shift point to be unprocessable.
  7. 根据权利要求1所述的方法,其中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;The method according to claim 1, wherein a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is set in the center of the display area corresponding to the video track control;
    所述方法还包括:The method also includes:
    响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述目标视频的起始位置的变速点或末尾位置的变速点在所述视频轨道控件中的对应时刻之间的间隔时间,小于或等于第二时间阈值,将所述变速点管理控件设置为不可操作状态。In response to the corresponding moment of the central axis in the video track control, the interval time between the shift point at the start position of the target video or the shift point at the end position of the target video at the corresponding moment in the video track control , less than or equal to the second time threshold, setting the shift point management control to an inoperable state.
  8. 根据权利要求1所述的方法,其中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;The method according to claim 1, wherein a shift point management control is also displayed in the free speed change adjustment interface, and a center axis is set in the center of the display area corresponding to the video track control;
    所述方法还包括:The method also includes:
    响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的间隔时间,大于第一时间阈值且小于第二时间阈值,将所述变速点管理控件设置为不可操作状态;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。In response to the interval time between the corresponding moment of the central axis in the video track control and the corresponding moment of an intermediate shifting point in the video track control, greater than a first time threshold and less than a second time threshold, The shift point management control is set to an inoperable state; the intermediate shift points are: among the shift points, the shift points other than the shift point at the start position and the shift point at the end position of the target video are shifted.
  9. 根据权利要求1所述的方法,其中,所述视频轨道控件对应的展示区域的中央设置有中轴线;在所述视频轨道控件中,相邻变速点之间构成的间隔区域用于反映一个视频片段;The method according to claim 1, wherein a center axis is set in the center of the display area corresponding to the video track control; in the video track control, an interval area formed between adjacent shifting points is used to reflect a video fragment;
    所述响应于对所述视频轨道控件的控制操作,从所述多个视频片段中确定目标视频片段,包括:The determining a target video segment from the plurality of video segments in response to the control operation on the video track control includes:
    响应于对所述视频轨道控件的长度方向的滑动操作,将与所述中轴线重叠的间隔区域对应的视频片段,确定为所述目标视频片段。In response to the sliding operation of the video track control in the length direction, the video segment corresponding to the interval area overlapping with the central axis is determined as the target video segment.
  10. 根据权利要求9所述的方法,还包括:The method of claim 9, further comprising:
    将与所述中轴线重叠的间隔区域按照预设方式突出展示。The spaced regions overlapping the central axis are highlighted in a preset manner.
  11. 根据权利要求1所述的方法,所述响应于对所述变速滚轮控件的调节操作,对所述目标视频片段进行变速调节,包括:The method of claim 1, wherein the performing a variable speed adjustment on the target video segment in response to an adjustment operation on the variable speed wheel control, comprising:
    响应于对所述变速滚轮控件的调节操作,确定目标变速值;determining a target shift value in response to an adjustment operation to the shift roller control;
    根据所述目标变速值,对所述目标视频片段的播放速度进行调节。According to the target variable speed value, the playback speed of the target video clip is adjusted.
  12. 根据权利要求1所述的方法,还包括:响应于对所述目标视频的变速触发操作,显示变速调节界面,所述变速调节界面包括全局变速控件和自由变速控件;The method of claim 1, further comprising: in response to a variable speed trigger operation on the target video, displaying a variable speed adjustment interface, the variable speed adjustment interface comprising a global variable speed control and a free variable speed control;
    响应于对所述全局变速控件的触发操作,显示全局变速调节界面,所述全局变速调整界面包括所述视频轨道控件和所述变速滚轮控件;In response to a triggering operation on the global shift control, displaying a global shift adjustment interface, the global shift adjustment interface including the video track control and the shift wheel control;
    响应于对所述自由变速控件的触发操作,显示所述自由变速调节界面,所述自由变速调整界面包括所述视频轨道控件、所述变速滚轮控件以及变速点管理控件。In response to a triggering operation of the free shift control, the free shift adjustment interface is displayed, and the free shift adjustment interface includes the video track control, the shift wheel control, and the shift point management control.
  13. 一种电子设备,其特征在于,包括:处理器;An electronic device, comprising: a processor;
    用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
    其中,所述处理器被配置为执行所述指令,以实现以下步骤:wherein the processor is configured to execute the instructions to implement the following steps:
    响应于对目标视频的自由变速触发操作,显示自由变速调节界面,所述自由变速调节界面包括视频轨道控件和变速滚轮控件;In response to the free speed change triggering operation on the target video, a free speed change adjustment interface is displayed, and the free speed change adjustment interface includes a video track control and a speed change wheel control;
    响应于对所述视频轨道控件中的变速点的管理操作,管理所述变速点,所述变速点用于将所述目标视频分割为多个视频片段;managing the shifting points in response to the managing operation of the shifting points in the video track control, the shifting points being used to divide the target video into a plurality of video segments;
    响应于对所述视频轨道控件的控制操作,从所述多个视频片段中确定目标视频片段;determining a target video segment from the plurality of video segments in response to a control operation on the video track control;
    响应于对所述变速滚轮控件的调节操作,对所述目标视频片段进行变速调节。A variable speed adjustment is performed on the target video segment in response to the adjustment operation on the variable speed wheel control.
  14. 根据权利要求13所述的电子设备,其中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;所述处理器还被配置为:The electronic device according to claim 13, wherein a shift point management control is further displayed in the free speed change adjustment interface, and a center axis is provided in the center of the display area corresponding to the video track control; the processor is further configured for:
    响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的时间间隔,小于或等于第一时间阈值,确定所述中间变速点被所述中轴线选中;In response to a time interval between a corresponding moment of the central axis in the video track control and a corresponding moment of an intermediate shift point in the video track control, being less than or equal to a first time threshold, determining the middle The shifting point is selected by the central axis;
    响应于对所述变速点管理控件的触发操作,删除所述选中的中间变速点;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。In response to the triggering operation on the shifting point management control, the selected intermediate shifting points are deleted; the intermediate shifting points are: among the shifting points except the shifting point at the starting position of the target video, the shifting point at the end position of the target video; A shift point other than the shift point.
  15. 根据权利要求13所述的电子设备,其中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;所述处理器还被配置为:The electronic device according to claim 13, wherein a shift point management control is further displayed in the free speed change adjustment interface, and a center axis is provided in the center of the display area corresponding to the video track control; the processor is further configured for:
    所述响应于对所述变速点的管理操作,管理所述变速点,包括:The managing of the shift point in response to the management operation on the shift point includes:
    响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个变速点在所述视频轨道控件中的对应时刻之间的时间间隔,大于或等于第二时间阈值,确定所述中轴线的位置;determining the central axis in response to a time interval between a corresponding moment of the central axis in the video track control and a corresponding moment of a shift point in the video track control being greater than or equal to a second time threshold s position;
    响应于对所述变速点管理控件的触发操作,在所述视频轨道控件中与所述中轴线的位置重叠处,生成新的变速点。In response to a triggering operation of the shift point management control, a new shift point is generated at the position of the video track control that overlaps the central axis.
  16. 根据权利要求14所述的电子设备,所述处理器还被配置为:The electronic device of claim 14, the processor further configured to:
    将所述选中的中间变速点放大展示。The selected intermediate shift point is enlarged and displayed.
  17. 根据权利要求14所述的电子设备,所述处理器还被配置为:The electronic device of claim 14, the processor further configured to:
    响应于所述中轴线与所述选中的中间变速点之间的距离间隔,小于或等于预设距离阈值,将所述选中的中间变速点放大显示在与所述中轴线重叠的位置。In response to the distance interval between the central axis and the selected intermediate shifting point being less than or equal to a preset distance threshold, the selected intermediate shifting point is enlarged and displayed at a position overlapping the central axis.
  18. 根据权利要求13所述的电子设备,所述处理器还被配置为:The electronic device of claim 13, the processor further configured to:
    响应于所述目标视频的起始位置的变速点和末尾位置的变速点中的至少一个变速点展示在所述展示区域,将所述至少一个变速点以不同于所述展示区域的其他变速点的颜色显示,且将所述至少一个变速点设置为不可被处理。In response to at least one of the shift point at the start position and the shift point at the end position of the target video being displayed in the display area, the at least one shift point is different from other shift points in the display area , and set the at least one shift point to be unprocessable.
  19. 根据权利要求13所述的电子设备,其中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;所述处理器还被配置为:The electronic device according to claim 13, wherein a shift point management control is further displayed in the free speed change adjustment interface, and a center axis is provided in the center of the display area corresponding to the video track control; the processor is further configured for:
    响应于所述中轴线在所述视频轨道控件中的对应时刻,与所述目标视频的起始位置的变速点或末尾位置的变速点在所述视频轨道控件中的对应时刻之间的间隔时间,小于或等于第二时间阈值,将所述变速点管理控件设置为不可操作状态。In response to the corresponding moment of the central axis in the video track control, the interval time between the shift point at the start position of the target video or the shift point at the end position of the target video at the corresponding moment in the video track control , less than or equal to the second time threshold, setting the shift point management control to an inoperable state.
  20. 根据权利要求13所述的电子设备,其中,所述自由变速调节界面中还展示有变速点管理控件,所述视频轨道控件对应的展示区域的中央设置有中轴线;所述处理器还被配置为:The electronic device according to claim 13, wherein a shift point management control is further displayed in the free speed change adjustment interface, and a center axis is provided in the center of the display area corresponding to the video track control; the processor is further configured for:
    响应于所述中轴线在所述视频轨道控件中的对应时刻,与一个中间变速点在所述视频轨道控件中的对应时刻之间的间隔时间,大于第一时间阈值且小于第二时间阈值,将所述变速点管理控件设置为不可操作状态;所述中间变速点为:所述变速点中除了所述目标视频的起始位置的变速点、末尾位置的变速点之外的变速点。In response to the interval time between the corresponding moment of the central axis in the video track control and the corresponding moment of an intermediate shifting point in the video track control, greater than a first time threshold and less than a second time threshold, The shift point management control is set to an inoperable state; the intermediate shift points are: among the shift points, the shift points other than the shift point at the start position and the shift point at the end position of the target video are shifted.
  21. 一种非易失性计算机存储介质,其特征在于,当所述计算机可读存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行以下步骤:A non-volatile computer storage medium, characterized in that, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can perform the following steps:
    响应于对目标视频的自由变速触发操作,显示自由变速调节界面,所述自由变速调节界面包括视频轨道控件和变速滚轮控件;In response to the free speed change triggering operation on the target video, a free speed change adjustment interface is displayed, and the free speed change adjustment interface includes a video track control and a speed change wheel control;
    响应于对所述视频轨道控件中的变速点的管理操作,管理所述变速点,所述变速点用于将所述目标视频分割为多个视频片段;managing the shifting points in response to the managing operation of the shifting points in the video track control, the shifting points being used to divide the target video into a plurality of video segments;
    响应于对所述视频轨道控件的控制操作,从所述多个视频片段中确定目 标视频片段;determining a target video segment from the plurality of video segments in response to a control operation on the video track control;
    响应于对所述变速滚轮控件的调节操作,对所述目标视频片段进行变速调节。A variable speed adjustment is performed on the target video segment in response to the adjustment operation on the variable speed wheel control.
PCT/CN2021/138763 2021-03-29 2021-12-16 Video playback speed adjustment method and electronic device WO2022206037A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110336967.7A CN113207027B (en) 2021-03-29 2021-03-29 Video playing speed adjusting method and device
CN202110336967.7 2021-03-29

Publications (1)

Publication Number Publication Date
WO2022206037A1 true WO2022206037A1 (en) 2022-10-06

Family

ID=77025869

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/138763 WO2022206037A1 (en) 2021-03-29 2021-12-16 Video playback speed adjustment method and electronic device

Country Status (2)

Country Link
CN (1) CN113207027B (en)
WO (1) WO2022206037A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113207027B (en) * 2021-03-29 2023-03-24 北京达佳互联信息技术有限公司 Video playing speed adjusting method and device
CN115474086B (en) * 2022-09-14 2023-07-18 北京字跳网络技术有限公司 Play control method, device, electronic equipment and storage medium
CN116668790A (en) * 2023-05-22 2023-08-29 北京达佳互联信息技术有限公司 Video playing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020039481A1 (en) * 2000-09-30 2002-04-04 Lg Electronics, Inc. Intelligent video system
US20050207733A1 (en) * 2004-03-17 2005-09-22 Ullas Gargi Variable speed video playback
US7725828B1 (en) * 2003-10-15 2010-05-25 Apple Inc. Application of speed effects to a video presentation
CN108401193A (en) * 2018-03-21 2018-08-14 北京奇艺世纪科技有限公司 A kind of video broadcasting method, device and electronic equipment
CN112004117A (en) * 2020-09-02 2020-11-27 维沃移动通信有限公司 Video playing method and device
CN113207027A (en) * 2021-03-29 2021-08-03 北京达佳互联信息技术有限公司 Video playing speed adjusting method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3277713B2 (en) * 1994-08-31 2002-04-22 ソニー株式会社 Digital video signal recording device, recording / reproducing device, and reproducing device
CN102137302A (en) * 2010-12-09 2011-07-27 华为技术有限公司 Method and device for playing video contents of streaming media
US10560734B2 (en) * 2016-08-01 2020-02-11 Microsoft Technology Licensing, Llc Video segmentation and searching by segmentation dimensions
CN109275028B (en) * 2018-09-30 2021-02-26 北京微播视界科技有限公司 Video acquisition method, device, terminal and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020039481A1 (en) * 2000-09-30 2002-04-04 Lg Electronics, Inc. Intelligent video system
US7725828B1 (en) * 2003-10-15 2010-05-25 Apple Inc. Application of speed effects to a video presentation
US20050207733A1 (en) * 2004-03-17 2005-09-22 Ullas Gargi Variable speed video playback
CN108401193A (en) * 2018-03-21 2018-08-14 北京奇艺世纪科技有限公司 A kind of video broadcasting method, device and electronic equipment
CN112004117A (en) * 2020-09-02 2020-11-27 维沃移动通信有限公司 Video playing method and device
CN113207027A (en) * 2021-03-29 2021-08-03 北京达佳互联信息技术有限公司 Video playing speed adjusting method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XZZJ: "Simple Steps to Cut a Section of a Variable Speed Video in Capcut", XIÀZÀI ZHĪ JIĀ [DOWNLOAD HOUSE], CN, 11 July 2020 (2020-07-11), CN, pages 1 - 6, XP009540961 *

Also Published As

Publication number Publication date
CN113207027A (en) 2021-08-03
CN113207027B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
US11010020B2 (en) Method, apparatus and storage medium for displaying shortcut operation panel
CN109600659B (en) Operation method, device and equipment for playing video and storage medium
WO2022206037A1 (en) Video playback speed adjustment method and electronic device
WO2020057327A1 (en) Information list display method and apparatus, and storage medium
CN107526494B (en) Keyboard display method, device, terminal and storage medium
EP3382520A1 (en) Method and apparatus for operating a display of a mobile terminal
CN110662095B (en) Screen projection processing method and device, terminal and storage medium
CN105159640B (en) Display interface rotating method and device and mobile terminal
US11086482B2 (en) Method and device for displaying history pages in application program and computer-readable medium
EP3249509A1 (en) Method and device for playing live videos
JP6314287B2 (en) Imaging parameter setting method, apparatus, program, and recording medium
JP2017524222A (en) Full-screen one-hand operation method, apparatus, program, and recording medium
US20160210726A1 (en) Method and device for adjusting page display
KR102457864B1 (en) Method and device for processing video, terminal communication apparatus and storage medium
US11372516B2 (en) Method, device, and storage medium for controlling display of floating window
WO2022205930A1 (en) Preview method for image effect, and preview apparatus for image effect
EP3015968B1 (en) Method for image deletion and device thereof
CN112463084A (en) Split screen display method and device, terminal equipment and computer readable storage medium
CN109783171B (en) Desktop plug-in switching method and device and storage medium
CN112269525B (en) Small screen window display method and device and storage medium
US11221734B2 (en) Punch-hole screen display method and apparatus
CN113360255A (en) Application management method and device
CN111610899A (en) Interface display method, interface display device and storage medium
US11783525B2 (en) Method, device and storage medium form playing animation of a captured image
US20220308752A1 (en) Interface display method and apparatus of an application

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21934673

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE