Method, device, equipment and medium for adjusting the speed of a multimedia clip

By dividing multimedia clips into sections with control points for independent speed adjustments, the method addresses the limitations of existing speed adjustment methods, achieving precise and efficient speed control in multimedia editing.

JP7562884B2Active Publication Date: 2024-10-07BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023579684
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-06-01
Filing Date
2023-05-31
Publication Date
2024-10-07
Estimated Expiration
2043-05-31

AI Technical Summary

Technical Problem

Existing methods for adjusting the speed of multimedia clips lack accuracy and efficiency, particularly in achieving personalized speed adjustments, as they rely on preset templates that do not allow for fine control over video frame playback speeds within sections.

Method used

The method involves dividing a multimedia clip into multiple sections with first and second control points, allowing independent adjustment of playback speed for each section and variable speed changes based on the position of these control points, enabling precise control over the speed curve.

Benefits of technology

This approach enhances the accuracy and efficiency of speed adjustments by allowing independent control of playback speeds within each section and variable speed changes, improving the overall precision and user experience in multimedia clip editing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007562884000001
    Figure 0007562884000001
  • Figure 0007562884000002
    Figure 0007562884000002
  • Figure 0007562884000003
    Figure 0007562884000003
Patent Text Reader

Abstract

An embodiment of the present disclosure relates to a method, apparatus, device, and medium for adjusting the speed of a multimedia clip, the method including: dividing a multimedia material clip into a plurality of sections in an audio-video editing track; in response to a movement operation on a first control point, adjusting an amount of speed change based on a position of the first control point in the editing track, and controlling the speed of video frames in the target section to change speed according to the adjusted amount of speed change; correspondingly stretching or shortening a display length in the editing track of the target section based on the playback time length after the speed change; and in response to a movement operation on a second control point, adjusting a slope of the speed curve based on the position of the second control point in the target section, and controlling the speed of video frames in the target section to change speed according to the speed curve after the slope adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application is based on and claims priority to an application having Chinese application number 202210622737.1 and filing date June 1, 2022, the disclosure of which is incorporated herein in its entirety.

[0002] The present disclosure relates to the field of video processing technology, and in particular to a method, apparatus, device and medium for adjusting the speed of a multimedia clip. [Background technology]

[0003] As audio-video becomes more widespread and popular, users often adjust the speed of audio-video clips according to their own needs.

[0004] In the related art, the speed change adjustment methods include normal uniform speed change and curved speed change, and the user selects and uses a required template from the speed change templates preset in the application according to needs. Summary of the Invention

[0005] An embodiment of the present disclosure provides a speed adjustment method for a multimedia clip, the method including: dividing a multimedia material clip into a plurality of sections in an audio-video editing track, the plurality of sections including a target section, and providing a first control point and a second control point in the multimedia material clip corresponding to the target section; in response to a movement operation on the first control point, adjusting an amount of speed change based on a position of the first control point in the editing track, and controlling a speed of video frames in the target section to change speed according to the adjusted amount of speed change, and correspondingly adjusting or shortening a display length of the target section in the editing track based on a playback time length after the speed change; and in response to a movement operation on the second control point, adjusting a slope of a speed curve based on a position of the second control point in the target section, and controlling a speed of video frames in the target section to change speed according to the speed curve after the slope adjustment.

[0006] An embodiment of the present disclosure further provides a speed adjustment device for a multimedia clip, the device including: a partition module for dividing a multimedia material clip into a plurality of sections in an audio-video editing track, the plurality of sections including a target section, and a first control point and a second control point corresponding to the target section are provided in the multimedia material clip; a first speed change control module for adjusting a speed change amount based on a position of the first control point in the editing track in response to a moving operation on the first control point, controlling a speed of video frames in the target section to change speed according to the adjusted speed change amount, and correspondingly expanding or contracting a display length of the target section in the editing track based on a playback time length after the speed change; and a second speed change control module for adjusting a slope of a speed curve based on a position of the second control point in the target section in response to a moving operation on the second control point, and controlling a speed of video frames in the target section to change speed according to the speed curve after the slope adjustment.

[0007] An embodiment of the present disclosure further provides an electronic device, the electronic device including a processor and a memory for storing instructions executable by the processor, the processor being used to read the executable instructions from the memory and execute the executable instructions to realize a method for adjusting the speed of a multimedia clip according to an embodiment of the present disclosure.

[0008] An embodiment of the present disclosure further provides a computer-readable storage medium having stored thereon a computer program for performing the method for adjusting speed of a multimedia clip according to an embodiment of the present disclosure.

[0009] An embodiment of the present disclosure further provides a computer program comprising instructions which, when executed by a processor, cause the processor to perform a method for adjusting speed of a multimedia clip according to an embodiment of the present disclosure. [Brief description of the drawings]

[0010] The above and other features, advantages and aspects of each embodiment of the present disclosure will become more apparent with reference to the following specific embodiments in conjunction with the drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are illustrative only, and original components and elements are not necessarily drawn to scale. [Figure 1] 2 is a schematic flow chart of a method for adjusting the speed of a multimedia clip according to an embodiment of the present disclosure; [Diagram 2] FIG. 2 is a schematic diagram of a speed adjustment scenario for audio-video information according to an embodiment of the present disclosure. [Figure 3A] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 3B] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 4A] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 4B] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 5A] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 5B] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 6A] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 6B] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 6C] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 7] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 8A] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 8B] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 9A] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 9B] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 10A] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 10B] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 10C] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 11] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 12A]FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 12B] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 13A] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 13B] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 14] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 15] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 16] FIG. 13 is a schematic diagram of another audio-video information speed adjustment scenario according to an embodiment of the present disclosure. [Figure 17] FIG. 2 is a structural schematic diagram of a speed adjustment device for a multimedia clip according to an embodiment of the present disclosure; [Figure 18] FIG. 1 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The following will describe the embodiments of the present disclosure in more detail with reference to the drawings. Although the drawings show some embodiments of the present disclosure, it should be understood that the present disclosure can be realized in various forms and should not be construed as being limited to the embodiments described herein, but rather these embodiments are provided for better understanding and complete comprehension of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are merely illustrative and are not intended to limit the scope of protection of the present disclosure.

[0012] It should be understood that the steps recited in the method embodiments of the present disclosure may be performed in different orders and / or in parallel, that method embodiments may include additional steps and / or omit the performance of steps as shown, and that the scope of the present disclosure is not limited in this respect.

[0013] As used herein, the term "including" and variations thereof are open-ended "including", i.e., "including, but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment", the term "another embodiment" means "at least one other embodiment", and the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms are provided below in the description.

[0014] It should be noted that concepts such as "first" and "second" referred to in the present disclosure are merely intended to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of functions performed by these devices, modules or units.

[0015] It should be noted that the modifiers "a" and "a plurality" referred to in this disclosure are intended to be illustrative and not limiting, and should be understood as "one or more" unless the context clearly indicates otherwise, as would be understood by one of ordinary skill in the art.

[0016] The names of messages or information exchanged among multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0017] As described above, the method in which a user selects and uses a required template from among pre-set gear shift templates in an application as needed cannot adequately meet the user's personalized gear shift adjustment needs.

[0018] In the adjustment process of the custom speed change method, the speed curve is adjusted by dragging multiple control points on the function panel. However, when one control point is adjusted, the speed curves of the two regions connected to the control point will also change accordingly, making the accuracy of adjusting the speed of the audio / video clip very low and the efficiency very poor.

[0019] To solve the above problem, the embodiment of the present disclosure provides a method for adjusting the speed of a multimedia clip, in which the multimedia material is divided into a number of sections, and the playback speed of the video frames in the sections is adjusted independently and unrelated to each other, and the video frames in each section can achieve an overall adjustment of the playback speed based on a first control point. The playback speed can also be adjusted according to a second control point so that different video frames in the same section have different playback speeds, thereby achieving fine adjustment of the playback speed of the video frames and improving the accuracy and efficiency of the playback speed adjustment of the video frames.

[0020] In order to solve or at least partially solve the above problems, the present disclosure provides a method, device, apparatus and medium for adjusting the speed of a multimedia clip to realize fine adjustment of the playback speed of video frames and improve the accuracy and efficiency of adjusting the playback speed of video frames.

[0021] The method is introduced below with reference to an example.

[0022] 1 is a flow chart schematic diagram of a method for adjusting speed of a multimedia clip according to an embodiment of the present disclosure. The method may be performed by an apparatus for adjusting speed of a multimedia clip, where the apparatus may be realized by adopting software and / or hardware, and may be generally integrated into an electronic device. As shown in FIG. 1, the method includes steps 101-103.

[0023] Step 101: Dividing a multimedia material clip into a plurality of sections in an audio-video editing track, the plurality of sections including a target section, and a first control point and a second control point corresponding to the target section are provided in the multimedia material clip.

[0024] For easy understanding, to facilitate speed adjustment of multimedia material such as audio-video information, an audio-video editing track is displayed in the visualization interface, to which the video stream to be adjusted is mapped, and different sections in the track correspond to different video stream segments in the pre-video stream. The display of the audio-video editing track may be pulled up by some shortcut keys or by triggering preset controls, which will not be listed one by one here.

[0025] In an embodiment of the present disclosure, in order to realize fine adjustment to the playback speed of video frames in a video stream, the multimedia material is divided into different sections in the audio-video editing track, and the initial playback speed of the corresponding video frames in the section may be the playback speed of the video street before the division.

[0026] In some embodiments, in order to reduce calculation stress, etc., when dividing a multimedia material clip into multiple sections, it is further detected whether the number of video frames in the target section is smaller than a preset video threshold, so as to avoid dividing the multimedia material, such as a video stream, into sections that are too small. If the multimedia material is divided into sections that are too small, it will not only affect the efficiency of adjusting the playback speed, but also lead to an increase in calculation stress. The preset threshold may be determined according to experimental data, and may be, for example, 3. If it is detected that the number of video frames is smaller than the video threshold, prompt information is displayed to the effect that division is not possible, for example, a message such as "section is too small, cannot be added" is popped up.

[0027] In some embodiments of the present disclosure, in order to distinguish different sections more intuitively, the division point may be a distinguishing identifier of different sections. For example, the division point may be any identifier indicating division of a video stream into different sections, including but not limited to one or more of a character identifier, an alphabet identifier, a pattern identifier, a color identifier, etc.

[0028] In some embodiments, the division points are two opposing trapezoidal patterns, and the corresponding video stream is divided into multiple sections by the division points, as shown in Figure 2. For example, a division point 1 is included between section Q1 and section Q2, and the division point 1 includes two corresponding trapezoidal patterns a1 and a2.

[0029] In order to realize independent adjustment of the playback speed of video frames corresponding to different sections, after dividing the different sections by the division points, a part of the division point is set as a first control point of an adjacent target section, which is used to separate the speed adjustment of the target section from the speed adjustment of other sections.

[0030] In some embodiments, in order to ensure the completeness of the display of the division point in the section and avoid the two parts of the division point being displayed separately, which affects the division display effect of the section, in response to an on operation of a first suction control switch (this first suction control switch may be a control displayed on a visualization interface, etc.) on the target section, the end position of the moving operation of the first control point in the editing track is obtained, and the end position and the division positions of other adjacent sections are attracted to each other to align them. That is, it is ensured that other division points in the editing track of the audio video and the entire section move in accordance with the movement of the first control point.

[0031] That is, the first control point is used solely to control the playback speed of the video frames in the corresponding target section, and different sections correspond to different first control points, so that independent adjustment of the playback speed of the video frames in different sections can be realized.

[0032] In different application scenarios, the setting positions of the first control points in adjacent target sections are different.

[0033] In some embodiments, the first control point is set at the end position of the target section. In this embodiment, when the section is divided based on the division point, the division point generally defines the section located between the two left and right regions by the left and right two regions, so the left half region of the division point, i.e., the division point region corresponding to the end position of the target section, may be the first control point of the left adjacent target section, for example, as shown in Figure 3A. When the division point is as shown in Figure 2 above, the trapezoid pattern a1 located in the left half region may be the first control point for the division point 1, and this first control point is used to control the playback speed of the video frame of the left section Q1 part adjacent to the trapezoid pattern a1.

[0034] In some other embodiments, the first control point is set at the start position of the target section. In this embodiment, when the section is divided based on the division point, the division point generally defines the section located between the two left and right regions by the left and right two regions, so the left half region of the division point, i.e., the division point region corresponding to the start position of the target section, can be the first control point of the left adjacent target section, for example, as shown in Figure 3B; when the division point is as shown in Figure 2 above, the trapezoid pattern a2 located in the right half region can be the first control point for the division point 1, and this first control point is used to control the playback speed of the video frame of the section Q2 part adjacent to the right of the trapezoid pattern a2.

[0035] In this embodiment, in addition to the first control point corresponding to the target section, a second control point is further set in the multimedia material clip, for example, the second control point is used to perform speed change adjustment on the playing speed of the video frames in the target section, and the description of the second control point can be referred to the following embodiment.

[0036] Step 102: In response to a movement operation on the first control point, an amount of speed change is adjusted based on the position of the first control point on the editing track, the speed of the video frames in the target section is controlled to change speed according to the adjusted amount of speed change, and the display length of the target section on the editing track is correspondingly extended or shortened based on the playback time length after the speed change.

[0037] As described above, the first control point is used to adjust the playback speed of the video frames in the target section, so that the playback speed of the video frames in the target section can be controlled in response to the moving operation of the first control point. For example, the moving operation of the first control point may be triggered by the user's dragging, or by voice, and so on, which will not be listed here one by one.

[0038] In an embodiment of the present disclosure, in response to a movement operation on a first control point, the first control point is controlled to move on the editing track, a speed change amount is adjusted based on the position of the first control point on the editing track, and a speed of a video frame related to the target section is controlled to be converted according to the adjusted speed change amount.

[0039] That is, in this embodiment, the overall change in the playback speed of the video frames contained in the target section is controlled based on the first control point, and the degree of change in the overall speed is determined, for example, by the length of movement of the first control point on the editing track.

[0040] To intuitively indicate the playback duration of the video frames within the target section, the display length of the target section in the edit track may be correspondingly expanded or contracted based on the playback duration after the speed change. For example, to further enhance the intuitiveness of the adjustment, the target section being adjusted may be visually highlighted, for example by using a rectangular frame to surround the area of ​​the current target section in the audio-video edit track, highlighting the rectangular frame, or the like.

[0041] It should be noted that in different application scenarios, the manner of adjusting the speed change amount based on the position of the first control point in the editing track in response to a moving operation on the first control point is different, examples of which are as follows:

[0042] In some embodiments, when the end position of a target section is set to the first control point of the adjacent target section to the left, in response to a rightward movement operation on the first control point, the position of the target section end point on the editing track is controlled to be stretched to the right, and the speed change amount is reduced based on the position of the first control point on the editing track, while the position of the target section start point on the editing track remains unchanged.

[0043] That is, in this embodiment, the video frames corresponding to each target section are unchanged, and the position of the target section end point on the editing track is changed by adjusting the first control point, and extending the position of the target section end point on the editing track to the right may be equivalent to extending the playback time length of the video frames corresponding to the target section, thereby reducing the playback speed of the video frames in the target section, and reducing the speed change amount based on the position of the first control point on the editing track reduces the playback speed of the video frames in the target section.

[0044] For example, as shown in Fig. 4A, for a target section Q3, in response to a rightward moving operation on the first control point, the position of the target section end point on the editing track is controlled to be stretched to the right, and the speed change amount is reduced based on the position of the first control point on the editing track. For example, when the position of the target section end point on the editing track is stretched to the right by L1, the speed change amount is reduced by 0.5X, and the playback speed of the video frames in the target section is reduced from the original 1X to 0.5X.

[0045] Alternatively, in this embodiment, in response to a leftward movement operation on the first control point, the position of the target section end point on the editing track is controlled so as to shorten it to the left, and the amount of speed change is increased based on the position of the first control point on the editing track, and the position of the target section start point on the editing track does not change.

[0046] That is, in this embodiment, the video frames corresponding to each target section are unchanged, and the position of the target section end point on the editing track is changed by adjusting the first control point, and shortening the position of the target section end point on the editing track to the left may be equivalent to shortening the playback time length of the video frames corresponding to the target section, thereby increasing the playback speed of the video frames in the target section, and increasing the speed change amount based on the position of the first control point on the editing track to increase the playback speed of the video frames in the target section.

[0047] For example, as shown in Fig. 4B, for a target section Q3, in response to a leftward movement operation on the first control point, the position of the target section end point on the editing track is controlled to be shortened to the left, and the speed change amount is increased according to the position of the first control point on the editing track. For example, when the position of the target section end point on the editing track is shortened to the left by L2, the speed change amount is increased by 0.25X, and the playback speed of the video frames in the target section is increased from the original 1X to 1.25X.

[0048] In some embodiments, when the start position of a target section is set to the first control point of an adjacent target section to the right, in response to a rightward movement operation on the first control point, the position of the target section start point on the editing track is controlled to shorten it to the right, the speed change amount is increased based on the position of the first control point on the editing track, and the position of the target section end point on the editing track does not change.

[0049] That is, in this embodiment, the video frames corresponding to each target section are unchanged, and the position of the target section start point on the editing track is changed by adjusting the first control point, and shortening the position of the target section start point on the editing track to the right may be equivalent to shortening the playback time length of the video frames corresponding to the target section, thereby increasing the playback speed of the video frames in the target section, and increasing the speed change amount based on the position of the first control point on the editing track to increase the playback speed of the video frames in the target section.

[0050] For example, as shown in Fig. 5A, for a target section Q4, in response to a rightward movement operation on the first control point, the position of the target section start point on the editing track is controlled to be shortened to the right, and the speed change amount is increased according to the position of the first control point on the editing track. For example, when the position of the target section start point on the editing track is shortened to the right by L3, the speed change amount is increased by 0.25X, and the playback speed of the video frames in the target section is increased from the original 1X to 1.25X.

[0051] Alternatively, in this embodiment, in response to a leftward movement operation on the first control point, the position of the target section start point on the editing track is controlled so as to be stretched to the left, and the amount of speed change is reduced based on the position of the first control point on the editing track, and the position of the target section end point on the editing track does not change.

[0052] That is, in this embodiment, the video frames corresponding to each target section are unchanged, and the position of the target section start point on the editing track is changed by adjusting the first control point, and extending the position of the target section start point on the editing track to the left may be equivalent to lengthening the playback time length of the video frames corresponding to the target section, which is equivalent to reducing the playback speed of the video frames in the target section, and reducing the speed change amount based on the position of the first control point on the editing track reduces the playback speed of the video frames in the target section.

[0053] For example, as shown in Fig. 5B, for a target section Q4, in response to a leftward movement operation on the first control point, the position of the target section start point on the editing track is controlled to be stretched to the left, and the speed change amount is reduced based on the position of the first control point on the editing track. For example, when the position of the target section start point on the editing track is stretched to the left by L4, the speed change amount is reduced by 0.25X, and the playback speed of the video frames in the target section is reduced from the original 1X to 0.75X.

[0054] Step 103: In response to a movement operation on a second control point on the target section, a slope of the speed curve is adjusted based on the position of the second control point in the target section, and the speed of the video frames in the target section is controlled so as to change speed according to the speed curve after the slope adjustment.

[0055] The above-mentioned first control point is only for controlling the playback speed of the entire video frame in the target section, for example, as shown in Figure 6A, when the target section contains 10 video frames, and the playback speeds of the 10 video frames are all the same and change at the same speed, the effect that can be achieved based on the first control point is to control the playback speed of the 10 video frames to be generally increased or generally decreased, and the playback speed of each video frame is the same (in the figure, the playback speed of the video frame is represented by the display width of the video frame).

[0056] In some embodiments, when a user wants to adjust the speed of a video frame, the above-mentioned method of adjusting the playback speed based only on the first control point shows a low degree of resolution.For example, as shown in Figure 6B, when the target section contains 10 video frames, the user wants the playback speed of these 10 video frames to be gradually decreased or gradually increased (in the figure, the display width of the video frame represents the playback speed of the video frame).

[0057] In some embodiments of the present disclosure, in order to meet the above-mentioned requirement of speed adjustment for video frames, a second control point for the target section is further set, which is visualized and displayed, including but not limited to one or more of character identifiers, alphabet identifiers, pattern identifiers, color identifiers, etc.

[0058] In this embodiment, the slope of the speed curve is adjusted based on the position of the second control point in the target section, and the speed of the video frames in the target section is controlled so as to change in accordance with the speed curve after the slope adjustment.

[0059] In this embodiment, as shown in Fig. 7, the vertical axis of the speed curve corresponds to the playback speed, and the horizontal axis corresponds to the video frames of the target section.Therefore, the slope of the speed curve can determine the playback speed of the video frames in the target section, and the playback speed can be adjusted finely down to the video frame.For example, referring to Fig. 7, the steeper the speed curve is, the larger the change rate of the corresponding playback speed is, and conversely, the gentler the speed curve is, the smaller the change rate of the corresponding playback speed is.

[0060] In different application scenarios, the manners of adjusting the slope of the speed curve based on the position of the second control point in the target section are different, and the different adjustment manners are not further described here, please refer to the following embodiments.

[0061] It should be emphasized here that the first control point is mainly used to perform overall control on the playback speed of the video frames in the corresponding target section, so that when the video frames in the target section are played at a constant speed, as shown in Fig. 6A above, the speed of the video frames in the target section is controlled to be played at a constant speed by speeding up or slowing down according to the adjusted speed change amount.

[0062] However, when the speed change of the video frames in the target section is realized by controlling the second control point, the effect realized based on the first control point is also a global change based on the speed change, that is, when the video frames in the target section are played back at a non-uniform speed based on the speed curve, the speed of the video frames in the target section is controlled so that they are played back at a non-uniform speed by speeding up or slowing down according to the adjusted speed change amount.

[0063] For example, as shown in Fig. 6C, when the target section includes 10 video frames, the playback speed of these 10 video frames determined according to the speed curve gradually decreases. If the corresponding speed change amount determined according to the moving operation of the first control point is that the speed is reduced by 0.5X, the overall playback speed is reduced according to this 0.5X in order to maintain the playback speed of these 10 video frames gradually decreasing.

[0064] In summary, the method for adjusting the speed of a multimedia clip according to the embodiment of the present disclosure divides a multimedia material clip into a plurality of sections in an audio-video editing track. For example, the plurality of sections includes a target section, and a first control point and a second control point corresponding to the target section are provided in the multimedia material clip. In response to a moving operation on the first control point, adjust the speed change amount based on the position of the first control point in the editing track, control the speed of the video frames in the target section to change speed according to the adjusted speed change amount, and correspondingly adjust the display length in the editing track of the target section to be stretched or shortened based on the playback time length after the speed change, and in response to a moving operation on a second control point on the target section, adjust the slope of the speed curve based on the position of the second control point in the target section, and control the speed of the video frames in the target section to change speed according to the speed curve after the slope adjustment. Thus, by dividing the multimedia material into a plurality of sections, the playback speed of the video frames between the plurality of sections is adjusted independently and is not related to each other, and an overall adjustment of the playback speed can be realized for the video frames in each section based on the first control point. According to the second control point, the playback speed can be adjusted to a variable speed, and different video frames in the same section can be adjusted to different playback speeds, thereby realizing fine adjustment of the playback speed of the video frames and improving the accuracy and efficiency of adjusting the playback speed of the video frames.

[0065] As shown in the above figures, in order to ensure the intuitiveness of the speed adjustment and to improve the speed adjustment situation, a schematic diagram corresponding to the multimedia material clip may be associated and displayed in the function panel area. For example, the schematic diagram includes a schematic section corresponding to the target section and a speed control identifier corresponding to the first control point, and displays the speed adjusted for the target section based on the first control point in the corresponding area of ​​the schematic section. In this way, the current speed adjustment situation of the first control point can be intuitively presented based on the schematic diagram and the audio / video editing track being displayed in conjunction with each other.

[0066] For example, see Fig. 8A, a schematic diagram corresponding to a multimedia material clip is associated and displayed in a function panel area. The schematic diagram includes a speed control identifier corresponding to a first control point and a schematic section Qs' corresponding to a target section Qs. The first control point a2s is set as the speed control identifier of the adjacent schematic section, and the speed adjusted for the target section based on the first control point is displayed in the corresponding area of ​​the schematic section Qs', and the adjusted speed is 0.5X in the figure.

[0067] Some embodiments of the present disclosure similarly display the speed adjusted based on the second control point in the schematic diagram in conjunction with the speed, i.e., adjust the slope of the speed curve based on the position of the second control point in the target section, and display the speed curve after the slope adjustment and the speed section value of the speed curve in association with the schematic section.

[0068] For example, as shown in Fig. 8B, when the position of the second control point in the target section Qs moves from the center position to the end position of the target section, the speed curve S1 and the speed section value obtained by adjusting the slope of the speed curve based on the position of the second control point in the target section are as shown in the figure, allowing the user to intuitively see the gear shift adjustment result.

[0069] In some embodiments of the present disclosure, in response to a save operation of an edit draft, the speeds corresponding to the speed control identifiers of adjacent schematic sections are compared. If the speed corresponding to the speed control identifier of the left section end position is the same as the speed corresponding to the speed control identifier of the right section start position, the two speed control identifiers may be integrated and stored as one speed control point to be displayed on a mobile device, as shown in Fig. 9A. If the speed corresponding to the speed control identifier of the left section end position is different from the speed control identifier of the right section start position, the two speed control identifiers may be stored as two speed control points to be displayed on a mobile device, as shown in Fig. 9B.

[0070] In some embodiments, in order to further facilitate user adjustment, the schematic diagram may be saved as a draft and then synchronously displayed on other devices, for example, a schematic diagram adjusted on a PC end may be synchronously displayed on a mobile phone device.

[0071] In some embodiments of the present disclosure, when synchronizing with a related schematic diagram in a mobile terminal such as a mobile phone, a user can operate on the schematic diagram in the mobile terminal, and when the first control point is identified by a part of an area of ​​a division point, in this embodiment, the division point including two areas may be displayed with another pattern in the mobile terminal, i.e., a conversion display is performed in the mobile terminal to adapt to the display rule of the mobile terminal.

[0072] For example, as shown in FIG. 10A, the mobile terminal displays the different division points in the form of dots. When it is detected that the user drags one of the dots, the x-axis coordinate of this dot may be changed, and there is an interval of m pixels between the two dots. When synchronized with the PC end, the corresponding two dots are displayed as different division points. However, since the interval between the different division points at the pc end is one frame, the minimum number of video frames included in the interval is also limited. For example, if it cannot be smaller than 3 frames, when the x-axis corresponding to the dragged dot at the mobile end contradicts with the display rule at the PC end, the dot may be discarded after the exchange, and the division point area corresponding to the dot may not be displayed at the PC end.

[0073] In some embodiments, when the schematic diagram adjusted at the mobile terminal side is synchronized back to the PC end, when the pitch of the x-axis is 1 frame, the two points at the mobile end are integrated and displayed as one complete division point, and the extra round points are not integrated, as shown in Figure 10B. For example, the intervals between the three points abc are all 1 frame, ab is integrated and displayed as one complete division point, and c is independently displayed as a partial area of ​​one division point, and when the pitch of the x-axis is not equal to 1, one round point is displayed as a partial area of ​​the division point. If a section in which the video frame is smaller than the minimum number of video frames preset occurs after synchronization with the PC end, the first division point area in the section in which the video frame is smaller than the minimum number of video frames preset may be reserved and the other division point areas may be deleted, as shown in Figure 10C.

[0074] In summary, the speed adjustment method for a multimedia clip according to the embodiment of the present disclosure displays a schematic diagram corresponding to a multimedia material clip in a function panel area in association with the schematic diagram, and when the schematic diagram includes a schematic section corresponding to a target section, the speed adjustment result of the target section according to the first control point and the second control point is displayed in the area corresponding to the schematic section in the schematic diagram, thereby improving the intuitiveness of the speed adjustment and the user experience of the speed adjustment.

[0075] According to the above embodiment, the trigger operation of the second control point is used to control the speed change of the video frames in the target section, and the second control point determines the slope of the speed curve of the speed change. The following provides an illustrative description of how to adjust the slope of the speed curve based on the position of the second control point in the target section.

[0076] In some embodiments of the present disclosure, adjusting the slope of the speed curve based on the position of the second control point in the target section in response to a trigger operation on the second control point on the target section includes the following steps:

[0077] In response to the addition operation on the second control point on the target section, the slope of the speed curve is adjusted according to the addition position of the second control point in the target section. In this embodiment, when the second control point is placed in a different position in the target section, the corresponding slope is different. For example, in response to the second control point being in the middle position of the target section, the slope of the speed curve is adjusted to zero to generate a constant speed line that matches the speed adjusted by the first control point, and the speed of the video frames in the target section is further controlled to be played according to the constant speed line.

[0078] For example, as shown in FIG. 11, when the second control point is a “circle dot” displayed within the target section, the position of the circle dot in the target section determines the slope of the speed curve, and when the “circle dot” is placed at the middle position of the track corresponding to the target section, the corresponding slope is 0, in which case the video frames within the target section are played at a constant speed.

[0079] When the "round dot" moves towards the right position of the track corresponding to the target section, the corresponding slope changes accordingly, for example, the average slope of the speed curve gradually increases, in this case, the playback speed of the video frames in the target section changes along with the change in slope, thereby realizing an adjustment of the playback speed; when the "round dot" moves towards the left position of the track corresponding to the target section, the corresponding slope changes accordingly, for example, the average slope of the speed curve gradually decreases, in this case, the playback speed of the video frames in the target section changes along with the change in slope, thereby realizing an adjustment of the playback speed.

[0080] In this embodiment, in response to a movement operation on the second control point, the slope of the speed curve may be adjusted based on the movement position of the second control point on the target section, and in response to an addition operation on the second control point on the target section, the slope of the speed curve may be adjusted based on the addition position of the second control point in the target section, and then the slope of the speed curve may be adjusted based on the movement position of the second control point on the target section. For example, when the slope corresponding to the addition position of the second control point in the target section is 0, the slope of the speed curve may be adjusted in accordance with a rightward or leftward movement operation of the second control point.

[0081] When moving right or left, the tilt adjustment situation is different in different scenarios.

[0082] In some embodiments, candidate position points of the movement of the second control point on the target section are obtained, and a correspondence relationship between each candidate position point and a slope is established, and the change in slope between different candidate position points may or may not be related to the position change of the candidate position points, and is not limited here.

[0083] In this embodiment, in response to a movement operation on the second control point, a target position point to which the second control point is to be moved is determined, and the above-mentioned correspondence relationship is consulted to determine a slope corresponding to the target position point, thereby adjusting the slope of the velocity curve.

[0084] In some other embodiments, in response to the second control point moving between the intermediate position and the end position of the target section, the slope of the speed curve is adjusted to generate an ascending speed curve, and when the second control point is at the end position of the target section, the slope value corresponding to the speed curve is the largest, i.e., when the second control point is at the end position of the target section, the entire ascending speed curve becomes steep, and at this time, the largest slope value may be understood as the average value of the slope value of the speed curve being the largest.

[0085] As can be seen, in this embodiment, when the second control point is at the end position of the target section, the rate of change of the slope from the start position to the center position of the target section is the largest, and the playback speed of the video frames in the target section is controlled to be played according to an ascending speed curve.

[0086] That is, as can be understood, in this embodiment, the closer the second control point is to the end position of the target section, the greater the increase in slope from the start position to the center position of the corresponding ascending speed curve, and by associating the movement of the second control point with the increase in slope, the sense of interactivity of the operation is enhanced.

[0087] When the second control point moves between the intermediate position and the end position of the target section, a curve with an upward trend is generated, and the slope from the start position to the center position of the target section is ensured to gradually increase. This upward speed curve may take any form, for example, as shown in FIG. 12A, this slope may be symmetrical about the center position point, the slope from the start position to the center position of the target section is gradually increased, and the slope from the center position to the end position of the target section is gradually decreased. In this embodiment, still referring to FIG. 12A, with the degree to which the second control point approaches the end position of the target section, the change rate of the slope from the start position to the center position of the target section gradually increases. When the second control point is at the end position of the target section, the change rate of the slope from the start position to the center position of the target section is the largest. At this time, the slope value corresponding to the speed curve is the largest, and the entire speed curve is the steepest.

[0088] Furthermore, for example, as shown in FIG. 12B, the slope may be a sine wave curve with a positive slope, where the slope of the speed curve gradually decreases from the start position to the end position of the target section; and, still referring to FIG. 12B, the rate of change of the slope from the start position to the central position of the target section gradually increases as the second control point approaches the end position of the target section, and the value of the slope of the speed curve is greatest when the second control point is at the end position of the target section.

[0089] In some embodiments of the present disclosure, in response to the second control point moving between the intermediate position and the start position of the target section, the slope of the speed curve is adjusted to generate a descending speed curve, and when the second control point is at the start position of the target section, the slope value corresponding to the speed curve is the smallest, and the playback speed of the video frames in the target section is controlled to be played according to the descending speed curve. In this embodiment, since the slope of the descending speed curve is a negative value, when the slope value corresponding to the speed curve is the smallest, the speed curve becomes steep, and at this time, the smallest slope value may be understood as the average value of the slope values ​​of each point included in the speed curve is the smallest, etc.

[0090] That is, as can be understood, in this embodiment, the closer the second control point is to the start position of the target section, the greater the increase in the absolute value of the slope of the corresponding descent speed curve from the start position to the center position, and by associating the movement of the second control point with the increase in slope, the sense of interactivity of the operation is enhanced.

[0091] When the second control point moves from the intermediate position to the start position of the target section, a curve with a descending trend is generated, and the absolute value of the slope from the start position of the target section to the central position is ensured to gradually increase. This descending speed curve may be in any form, for example, as shown in FIG. 13A, this slope may be symmetrical about the central position point, the absolute value of the slope from the start position to the central position of the target section is gradually increased, and the absolute value of the slope from the central position to the end position of the target section is gradually decreased. In this embodiment, still referring to FIG. 13A, with the degree to which the second control point approaches the start position of the target section, the change rate of the absolute value of the slope from the start position to the central position of the target section gradually increases. When the second control point is at the start position of the target section, the slope value of the speed curve, which is a negative value, is the smallest, and the speed curve is the steepest.

[0092] Furthermore, for example, as shown in FIG. 13B, this slope may be a sine wave curve with a negative slope, and the absolute value of the slope of the speed curve gradually increases from the start position to the end position of the target section. Continuing to refer to FIG. 13B, as the second control point approaches the start position of the target section, the rate of change of the slope from the start position to the central position of the target section gradually increases, and when the second control point is at the start position of the target section, the value of the slope of the speed curve, which is a negative value, is the smallest and the speed curve is the steepest.

[0093] In order to avoid the above speed adjustment range being too large, which may result in poor playback effect of video frames, such as speed changes being too fast or too slow, in one embodiment of the present disclosure, the speed section value of the speed curve is further limited, and the speed adjustment range is limited based on the speed section value.

[0094] In this embodiment, a speed section value of the adjusted speed curve is determined based on the speed adjusted by the first control point and a preset speed range corresponding to the slope of the adjusted speed curve, and the speed section value is displayed within a preset area of ​​the position of the second control point in the target section, and the display method may be any form such as tag display, floating display, etc., and is used to indicate the adjusted speed range corresponding to the current second control point.

[0095] If the section speed is constant, "speed change n.nX" is presented within a predetermined area of ​​the target section position, and if the section speed is variable, "speed change a.aX~b.bX" is presented within a predetermined area of ​​the target section position, where aa is the speed at the start position and bb is the speed at the end position.

[0096] In some embodiments, the speed section value of the adjusted speed curve may be determined based on the degree to which the speed adjusted by the first control point approaches a boundary value in the speed range corresponding to the slope of the speed curve, for example, the speed adjusted by the first control point is set as the center position, and the approaching boundary value is set as one boundary of the speed section.

[0097] For example, as shown in FIG. 14, when the speed adjusted by the first control point is 0.5X and the preset speed range is 0.1X-10X, a first multiple of 1X and 0.5X and a second multiple of 10X and 0.5X are calculated respectively, and a relatively small multiple is determined based on the first multiple and the second multiple, that is, since the boundary value corresponding to the first multiple is 0.1X, 0.1X is taken as the boundary value, 0.5X is taken as the center value, and the speed section value of the speed curve is determined as 0.1X-1X.

[0098] In some other embodiments, after obtaining the speed adjusted by the first control point, a sum of this speed and a preset adjustment value and a difference between the first control point and this preset adjustment value are calculated, and the sum and difference are set as the maximum and minimum interval boundary values ​​of the speed interval value, respectively, to determine the speed interval value of the adjusted speed curve.

[0099] If the value obtained by calculating this difference is smaller than the minimum value of the speed range that corresponds to the slope of the adjusted speed curve, which is set in advance, the minimum value of the speed range is set as the minimum section boundary value of the speed section value. Similarly, if the sum of the values ​​obtained by calculating the sum is greater than the maximum value of the speed range that corresponds to the slope of the adjusted speed curve, which is set in advance, the maximum value of the speed range is set as the maximum section boundary value of the speed section value.

[0100] When performing the tilt adjustment based on the above drag operation on the second control point within the target section, the corresponding adjustment effect is further displayed in real time based on the video frames to enhance the intuitiveness of the adjustment.

[0101] In this embodiment, in response to the drag operation of the second control point in the target section, the speed change adjustment state of the video frames that are adjusted in speed within the target section is displayed, and the video frames that are slowed down in the target section are displayed wider and the video frames that are fasted in the target section are displayed narrower according to the speed curve after the slope adjustment, so as to represent the speed adjustment state of the corresponding video frames according to the width and width of the video frames. In actual implementation, after the adjustment is completed, the corresponding video frames may be displayed normally by adopting a thinning display mode, and this is not limited here.

[0102] For example, as shown in FIG. 15, when the second control point is located at the middle position of the target section, the playback speed of the video frames is a constant 0.5X, and the video frame width of each frame is the same. When the user drags the second control point to the end position of the target section, the video frames in the target section that are slower in speed are displayed wider, and the video frames in the target section that are faster in speed are displayed narrower, based on the speed curve after the slope adjustment.

[0103] Also, in some embodiments, to improve the fluency of video playback, the speeds of the adjacent sections in different intervals may be made uniform if they are close.

[0104] In some embodiments of the present disclosure, in response to a second suction control on operation, a speed curve after slope adjustment is obtained based on the position of the second control point in the target section, and the playback speed of the end position of the target section is determined based on the speed curve after slope adjustment. If the difference value between the playback speed of the end position of the target section and the playback speed of the start position of the adjacent section is smaller than a preset threshold value determined according to experimental data, the speed of the end position of the target section and the start position of the adjacent section are adjusted to be uniform, and the second suction control switch may be a visualized control, etc., thereby ensuring the fluency of video playback while meeting the user's personalized needs for playback speed.

[0105] For example, as shown in FIG. 16, if the difference value between the playback speed at the end position o2 of the target section Qi and the playback speed at the start position w1 of the adjacent section Q(i+1) is smaller than a preset threshold, the speed at the end position of the target section and the start position of the adjacent section are adjusted to match each other.

[0106] To summarize, the speed adjustment method for a multimedia clip in the embodiment of the present disclosure flexibly determines the slope of the speed curve based on the movement operation of the second control point according to the application scenario, thereby meeting the speed adjustment needs of the playback speed of video frames in the target section and increasing the flexibility of the adjustment.

[0107] To realize the above embodiment, the present disclosure further provides an apparatus for adjusting the speed of a multimedia clip.

[0108] 17 is a structural schematic diagram of a speed adjustment device for a multimedia clip according to an embodiment of the present disclosure, which may be realized by software and / or hardware, and is generally integrated into an electronic device to adjust the speed of audio-video information. As shown in FIG. 17, the device includes a segmentation module 1710, a first speed change control module 1720, and a second speed change control module 1730.

[0109] The segmentation module 1710 is used to divide a multimedia material clip into a plurality of sections in an audio-video editing track, the plurality of sections including a target section, and a first control point and a second control point are provided in the multimedia material clip corresponding to the target section.

[0110] The first speed change control module 1720 is used to adjust the amount of speed change based on the position of the first control point in the editing track in response to a movement operation on a first control point, control the speed of the video frames in the target section to change speed according to the adjusted amount of speed change, and correspondingly expand or contract the display length of the target section in the editing track based on the playback time length after the speed change.

[0111] The second speed change control module 1730 is used to adjust the slope of the speed curve based on the position of the second control point in the target section in response to a movement operation on the second control point, and to control the speed of the video frames in the target section to change speed according to the slope-adjusted speed curve.

[0112] The apparatus for adjusting the speed of a multimedia clip according to the embodiments of the present disclosure can execute the method for adjusting the speed of a multimedia clip according to any embodiment of the present disclosure, and has beneficial effects with corresponding functional modules for executing the method.

[0113] To realize the above embodiment, the present disclosure further provides a computer program product, which includes computer programs / instructions for implementing the method for adjusting speed of a multimedia clip in the above embodiment when executed by a processor.

[0114] FIG. 18 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure.

[0115] Hereinafter, reference is made to FIG. 18, which illustrates a structural schematic diagram suitable for implementing an electronic device 1800 in an embodiment of the present disclosure. The electronic device 1800 in an embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device illustrated in FIG. 18 is only one example, and does not impose any limitations on the functions and scope of use of the embodiment of the present disclosure.

[0116] As shown in Fig. 18, the electronic device 1800 may include a processor (e.g., a central processing unit, a graphics processor, etc.) 1801, which can perform various appropriate operations and processes based on a program stored in a read-only memory (ROM) 1802 or a program loaded from a memory 1808 into a random access memory (RAM) 1803. The RAM 1803 further stores various programs and data necessary for the operation of the electronic device 1800. The processor 1801, the ROM 1802, and the RAM 1803 are connected to each other via a bus 1804. An input / output (I / O) interface 1805 is also connected to the bus 1804.

[0117] Typically, devices such as input devices 1806 including, for example, a touch screen, touch panel, keyboard, mouse, camera, microphone, accelerometer, gyro, etc., output devices 1807 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc., memory 1808 including, for example, a magnetic tape, hard disk, etc., and communication devices 1809 may be connected to the I / O interface 1805. The communication devices 1809 may enable the electronic device 1800 and other devices to exchange data through wireless or wired communication. Although FIG. 18 illustrates the electronic device 1800 having various devices, it should be understood that it is not required to implement or include all of the devices shown. More or fewer devices may alternatively be implemented or included.

[0118] For example, according to an embodiment of the present disclosure, the process described with reference to the above flowcharts may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program including program code for performing the method illustrated in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network by a communication device 1809, or may be installed from memory 1808, or may be installed from ROM 1802. When the computer program is executed by the processor 1801, it performs the above-mentioned functions defined in the method for adjusting the speed of a multimedia clip according to the embodiment of the present disclosure.

[0119] It should be explained that the above computer readable medium of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the above. The computer readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. Examples of computer readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, on which computer-readable program code is carried. Such a propagated data signal may take various forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which may transmit, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted by any suitable medium, including, but not limited to, electrical wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.

[0120] In some embodiments, clients and servers may communicate using any conventional, known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., an internetwork), and an end-to-end network (e.g., an ad hoc end-to-end network), and any conventional, known or future developed network.

[0121] The computer-readable medium may be included in the electronic device, or may exist separately and not integrated into the electronic device.

[0122] The computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to perform the methods in the above embodiments.

[0123] A multimedia material clip is divided into a plurality of sections on an audio / video editing track, the plurality of sections include a target section, and a first control point and a second control point corresponding to the target section are provided in the multimedia material clip; in response to a movement operation on the first control point, an amount of speed change is adjusted based on the position of the first control point on the editing track, and the speed of the video frames in the target section is controlled to change speed according to the adjusted amount of speed change; based on the playback time length after the speed change, a display length on the editing track of the target section is correspondingly extended or shortened; in response to a movement operation on a second control point on the target section, a slope of the speed curve is adjusted based on the position of the second control point in the target section, and the speed of the video frames in the target section is controlled to change speed according to the speed curve after the slope adjustment. Thus, by dividing the multimedia material into a number of sections, the playback speed of the video frames between the sections can be adjusted independently and are not related to each other, and for the video frames within each section, a global adjustment of the playback speed can be realized based on the first control point, and a variable speed adjustment of the playback speed can be realized based on the second control point, and the playback speed of different video frames within the same section can be made different, thereby realizing fine adjustment of the playback speed of the video frames and increasing the accuracy and efficiency of the playback speed adjustment of the video frames. The electronic device can be written with computer program code for performing the operations of the present disclosure in one or more programming languages ​​or combinations thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and further including common procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user computer, partially on the user computer, as a separate software package, partially on the user computer and partially on a remote computer, or entirely on a remote computer or server.When a remote computer is involved, the remote computer may be connected to the user computer by any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., connected by the Internet using an Internet Service Provider).

[0124] An embodiment of the present disclosure further provides a computer program comprising instructions which, when executed by a processor, cause the processor to perform a method for adjusting speed of a multimedia clip according to an embodiment of the present disclosure.

[0125] The flowcharts and block diagrams in the drawings illustrate possible system architectures, functions and operations of the systems, methods and computer program products of various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment or part of code, which includes one or more executable instructions for implementing the specified logical function. It should be further noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than the order depicted in the drawings. For example, two successively shown blocks may actually be executed in substantial parallel, or they may be executed according to the reverse order, depending on the functionality involved. It should be further noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that executes the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0126] The units in the description of the embodiments of the present disclosure may be realized in the form of software or hardware, and the names of the units in some cases do not constitute limitations on the units themselves.

[0127] As used herein, the functions described above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), etc.

[0128] In the context of this disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in combination with an instruction execution system, device, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the above. Examples of machine-readable storage media include one or more wire-based electrical connections, portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0129] The above description is merely a description of the preferred embodiments and the technical principles of the present disclosure. As can be understood by those skilled in the art, the scope of the disclosure of the present disclosure is not limited to the technical solution of the specific combination of the above technical features, but should cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the concept of the above disclosure. For example, the above features and technical features having similar functions (including but not limited to those) disclosed in the present disclosure are substituted for each other to form the technical solution.

[0130] It should be noted that although operations have been described employing a particular order, this should not be understood as requiring that these operations be performed in the particular order shown, or in any chronological order. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although the above discussion includes a number of specific implementation details, these should not be construed as limiting the scope of the present disclosure. Some features that are described in the context of a single embodiment may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments, either alone or in any suitable subcombination.

[0131] Although the present subject matter has been described in language specific to structural features and / or logical operations of a method, it should be understood that the subject matter defined by the appended claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms of implementing the claims.

Claims

1. 1. A method for adjusting the speed of a multimedia clip, comprising: In an audio / video editing track, a multimedia material clip is divided into a plurality of sections, the plurality of sections including a target section, and a first control point and a second control point are provided in the multimedia material clip corresponding to the target section; adjusting a speed change amount based on a position of the first control point on the editing track in response to a moving operation on the first control point, controlling a speed of the video frames in the target section so as to change speed according to the adjusted speed change amount, and correspondingly adjusting or shortening a display length of the target section on the editing track based on a playback time length after the speed change; A method for adjusting the speed of a multimedia clip, comprising: in response to a movement operation on the second control point, adjusting a slope of a speed curve based on the position of the second control point in the target section; and controlling the speed of video frames in the target section so as to change speed in accordance with the speed curve after the slope adjustment.

2. The first control point is located at an end position of the target section; adjusting a speed change amount based on a position of the first control point on the editing track in response to a movement operation on the first control point, In response to a rightward movement operation on the first control point, a position of the end point of the target section on the editing track is controlled so as to be stretched to the right, and a speed change amount is reduced based on a position of the first control point on the editing track, so that a position of the start point of the target section on the editing track does not change, or 2. The speed adjustment method according to claim 1, further comprising: controlling a position of an end point of the target section on the editing track to shorten it to the left in response to a left movement operation on the first control point; and increasing an amount of speed change based on the position of the first control point on the editing track, wherein the position of the start point of the target section on the editing track does not change.

3. The first control point is located at a start position of the target section; adjusting a speed change amount based on a position of the first control point on the editing track in response to a movement operation on the first control point, In response to a rightward movement operation on the first control point, a position of the start point of the target section on the editing track is controlled so as to shorten the target section to the right, and an amount of speed change is increased based on a position of the first control point on the editing track, so that a position of the end point of the target section on the editing track does not change; or 2. The speed adjustment method according to claim 1, further comprising: controlling a position of the start point of the target section on the editing track to stretch it to the left in response to a leftward movement operation on the first control point; and reducing an amount of speed change based on the position of the first control point on the editing track, wherein the position of the end point of the target section on the editing track does not change.

4. controlling the speed of the video frames within the target section to vary in speed in accordance with the adjusted speed change amount; Controlling the speed of the video frames in the target section so that, when the video frames in the target section are played at a constant speed, the video frames are played at a constant speed faster or slower according to the adjusted speed change amount; or 4. A speed adjustment method according to claim 1, further comprising: when the video frames in the target section are played back at a non-constant speed based on a speed curve, controlling the speed of the video frames in the target section so that they are played back at a non-constant speed by speeding up or slowing down according to an adjusted speed change amount.

5. In response to a split operation on the multimedia material clip, detecting whether a number of video frames in the target section is less than a predefined video threshold; The speed adjustment method according to claim 1 , further comprising: displaying prompt information indicating that the video cannot be divided when detecting that the number of the video frames is smaller than the video threshold.

6. 4. The speed adjustment method according to claim 1, further comprising: in response to a first suction control on operation, obtaining an end position of a movement operation of the first control point in the editing track, and suction-aligning the end position with a division position of another adjacent section.

7. adjusting a slope of a speed curve based on a position of the second control point in the target section, and controlling a speed of the video frames in the target section so as to change the speed according to the speed curve after the slope adjustment; in response to the second control point being at an intermediate position of the target section, adjusting a slope of the velocity curve to zero to generate a constant velocity line that matches the velocity adjusted by the first control point; The speed adjustment method according to claim 1 , further comprising: controlling a speed of the video frames in the target section so as to play them in accordance with the constant speed straight line.

8. adjusting a slope of the velocity curve in response to the second control point moving between the intermediate position and an end position of the target interval to generate an ascending velocity curve, wherein a slope value corresponding to the velocity curve is greatest when the second control point is at the end position of the target interval; The speed adjustment method of claim 7, further comprising: controlling a playback speed of the video frames in the target interval to be played according to the ascending speed curve.

9. adjusting a slope of the velocity curve in response to the second control point moving between the intermediate position and a start position of the target interval to generate a descending velocity curve, wherein a slope value corresponding to the velocity curve is smallest when the second control point is at the start position of the target interval; The speed adjustment method of claim 7, further comprising: controlling a playback speed of the video frames in the target interval to be played according to the descending speed curve.

10. determining a speed section value of the adjusted speed curve based on the speed adjusted by the first control point and a preset speed range corresponding to a slope of the adjusted speed curve; The speed adjustment method according to claim 1 , further comprising: displaying the speed section value within a preset area of ​​a position of the second control point in the target section.

11. In response to a drag operation on the second control point within the target section, displaying a speed change adjustment state for the video frames whose speed is adjusted within the target section; 4. The speed adjustment method according to claim 1, further comprising: displaying video frames in the target section whose speed is slower as wider, and displaying video frames in the target section whose speed is faster as narrower, based on the speed curve after the slope adjustment.

12. In response to a second suction control ON operation, acquiring a velocity curve after a slope adjustment based on a position of the second control point in the target section; determining a playback speed at an end position of the target section based on the speed curve after the slope adjustment; 4. The speed adjustment method according to claim 1, further comprising: when a difference value between the playback speed at the end position of the target section and the playback speed at the start position of the adjacent section is smaller than a preset threshold value, adjusting the speeds of the end position of the target section and the start position of the adjacent section to make them uniform.

13. displaying in a functional panel area a schematic diagram corresponding to the multimedia material clip, the schematic diagram including a schematic section corresponding to the target section and a speed control identifier corresponding to the first control point; The speed adjustment method according to claim 1 , further comprising: displaying a speed adjusted in the target section based on the first control point in an area corresponding to the approximate section.

14. adjusting a slope of the velocity curve based on a position of the second control point in the target section; The speed adjustment method according to claim 13 , further comprising: displaying the approximate section in association with a speed curve after gradient adjustment and a speed section value of the speed curve.

15. In response to a save operation of the edit draft, comparing speeds corresponding to the speed control identifiers of adjacent schematic sections; if the speed corresponding to the speed control identifier of the left section end position is the same as the speed corresponding to the speed control identifier of the right section start position, integrating and storing the two speed control identifiers as one speed control point to be displayed on the mobile device; The speed adjustment method of claim 13, further comprising: if a speed corresponding to the speed control identifier at the left section end position is different from a speed corresponding to the speed control identifier at the right section start position, respectively storing the two speed control identifiers as two speed control points to be displayed on the mobile device.

16. A multimedia clip speed adjustment device, comprising: a segmentation module for dividing a multimedia material clip into a plurality of sections in an audio-video editing track, the plurality of sections including a target section, and a first control point and a second control point are provided in the multimedia material clip corresponding to the target section; a first speed change control module for adjusting a speed change amount based on a position of the first control point on the editing track in response to a moving operation on the first control point, controlling a speed of the video frames in the target section to change speed according to the adjusted speed change amount, and correspondingly expanding or contracting a display length of the target section on the editing track based on a playback time length after the speed change; a second speed change control module for adjusting a slope of the speed curve based on the position of the second control point in the target section in response to a movement operation on the second control point, and for controlling the speed of video frames in the target section to change speed according to the speed curve after the slope adjustment.

17. An electronic device, A processor; a memory for storing instructions executable by said processor; 4. An electronic device adapted for implementing the method of adjusting speed of a multimedia clip according to any one of claims 1 to 3, wherein the processor reads the executable instructions from the memory and executes the executable instructions.

18. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the method for adjusting the speed of a multimedia clip according to any one of claims 1 to 3.

19. A computer program comprising instructions which, when executed by a processor, cause the processor to perform the method for adjusting the speed of a multimedia clip according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Play control method and device

    CN112738627A

  • Video skimming method and system

    JP2002125174A

  • Device and method of controlling display

    JP2010176575A

  • Application of speed effects to a video presentation

    US20100275121A1

  • User Interface for Retiming in a Media Authoring Tool

    US20140169765A1