WO2023232066A1 - 多媒体片段的速度调整方法、装置、设备及介质 - Google Patents
多媒体片段的速度调整方法、装置、设备及介质 Download PDFInfo
- Publication number
- WO2023232066A1 WO2023232066A1 PCT/CN2023/097371 CN2023097371W WO2023232066A1 WO 2023232066 A1 WO2023232066 A1 WO 2023232066A1 CN 2023097371 W CN2023097371 W CN 2023097371W WO 2023232066 A1 WO2023232066 A1 WO 2023232066A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- speed
- control point
- target interval
- adjusted
- interval
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000008859 change Effects 0.000 claims abstract description 105
- 230000004044 response Effects 0.000 claims abstract description 49
- 239000000463 material Substances 0.000 claims abstract description 30
- 238000010586 diagram Methods 0.000 claims description 51
- 238000004590 computer program Methods 0.000 claims description 16
- 230000006870 function Effects 0.000 claims description 13
- 230000011218 segmentation Effects 0.000 claims description 7
- 238000001179 sorption measurement Methods 0.000 claims description 6
- 230000000630 rising effect Effects 0.000 claims description 5
- 230000001174 ascending effect Effects 0.000 claims description 2
- 239000012634 fragment Substances 0.000 abstract 1
- 230000007423 decrease Effects 0.000 description 8
- 230000002829 reductive effect Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 238000004904 shortening Methods 0.000 description 5
- 230000036961 partial effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
Definitions
- the present disclosure relates to the field of video processing technology, and in particular, to a speed adjustment method, device, equipment and medium for multimedia clips.
- the speed change adjustment methods include conventional uniform speed change and curve speed change.
- the user selects the required template from the speed change templates preset in the application and applies it according to the needs.
- Embodiments of the present disclosure provide a method for adjusting the speed of multimedia clips.
- the method includes: dividing the multimedia material clips into multiple intervals on an audio and video editing track, where the multiple intervals include a target interval, and in the The multimedia material clip is provided with a first control point and a second control point corresponding to the target interval; in response to the movement operation of the first control point, according to the movement of the first control point on the editing track The position adjusts the speed change amount, controls the speed of the video frame in the target interval to change according to the adjusted speed change amount, and adjusts the display of the target interval on the editing track according to the playback duration after the speed change. Length; in response to the movement operation of the second control point, adjust the slope of the speed curve according to the position of the second control point on the target interval, and control the video frame speed in the target interval after adjustment according to the slope speed curve.
- Embodiments of the present disclosure also provide a speed adjustment device for multimedia clips.
- the device includes: a dividing module for dividing the multimedia material clips into multiple intervals on the audio and video editing track.
- the multiple intervals include targets. interval, and a first control point and a second control point corresponding to the target interval are provided on the multimedia material clip; a first variable speed control module, configured to respond to the movement operation of the first control point, Adjust the speed change amount according to the position of the first control point on the editing track to control the video in the target interval
- the speed of the frame changes according to the adjusted speed change, and according to the playback duration after the speed change, the display length of the target interval on the editing track is correspondingly adjusted;
- the second speed change control module is used to respond to the The moving operation of the second control point adjusts the slope of the speed curve according to the position of the second control point on the target interval, and controls the video frame speed in the target interval to change speed according to the slope-adjusted speed curve.
- An embodiment of the present disclosure also provides an electronic device.
- the electronic device includes: a processor; a memory used to store instructions executable by the processor; and the processor is used to read the instruction from the memory.
- the instructions can be executed and executed to implement the speed adjustment method for multimedia clips as provided by embodiments of the present disclosure.
- Embodiments of the present disclosure also provide a computer-readable storage medium, the storage medium stores a computer program, and the computer program is used to execute the speed adjustment method of multimedia clips as provided by the embodiments of the present disclosure.
- An embodiment of the present disclosure also provides a computer program, including: instructions, which when executed by a processor, cause the processor to execute the speed adjustment method for media segments provided by the embodiment of the present disclosure.
- Figure 1 is a schematic flowchart of a speed adjustment method for multimedia clips provided by an embodiment of the present disclosure
- Figure 2 is a schematic diagram of a speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure
- Figure 3A is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure
- Figure 3B is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 4A is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 4B is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 5A is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 5B is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 6A is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 6B is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 6C is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 7 is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 8A is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 8B is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 9A is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 9B is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 10A is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 10B is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 10C is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 11 is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 12A is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 12B is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 13A is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 13B is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 14 is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 15 is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 16 is a schematic diagram of another speed adjustment scenario for audio and video information provided by an embodiment of the present disclosure.
- Figure 17 is a schematic structural diagram of a speed adjustment device for multimedia clips provided by an embodiment of the present disclosure.
- Figure 18 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the term “include” and its variations are open-ended, ie, “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 additional embodiment”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
- the method in which the user selects the required template from the preset speed change templates in the application and applies it according to the needs does not well meet the user's personalized speed adjustment needs.
- the adjustment process of the custom speed change method is to adjust the speed curve by dragging several control points on the function panel.
- adjusting one control point will cause the speed curve of the two areas of the control point to change accordingly, resulting in the speed adjustment of the audio and video clips.
- the accuracy is very low and the efficiency is also very poor.
- embodiments of the present disclosure provide a speed adjustment method for multimedia clips.
- the multimedia material is divided into multiple intervals.
- the video frame playback speeds between multiple intervals are adjusted independently and independently of each other, and the overall playback speed of the video frames in each interval can be adjusted based on the first control point.
- the playback speed can also be adjusted based on the second control point, so that different video frames in the same interval have different playback speeds. As a result, fine adjustment of the video frame playback speed is achieved, and the accuracy and efficiency of the video frame playback speed adjustment are improved.
- the present disclosure provides a speed adjustment method, device, equipment and medium for multimedia clips to achieve fine adjustment of the video frame playback speed and improve the video frame speed. Playback speed adjustment with precision and efficiency.
- FIG. 1 is a schematic flowchart of a method for adjusting the speed of multimedia clips provided by an embodiment of the present disclosure.
- the method may be performed by a speed adjustment device for a multimedia segment, wherein the device may be implemented using software and/or hardware, and may generally be integrated in an electronic device.
- the method includes steps 101 to 103.
- Step 101 Divide the multimedia material clip into multiple intervals on the audio and video editing track.
- the plurality of intervals include a target interval, and a first control point and a second control point corresponding to the target interval are set on the multimedia material clip.
- the audio and video editing track is mapped to the video stream to be adjusted, and different intervals on the track correspond to different video stream segments in the pre-video stream.
- the display of audio and video editing tracks can be pulled up through some shortcut keys, or by triggering preset controls, etc., which are not listed here.
- the multimedia material in order to achieve fine adjustment of the video frame playback speed in the video stream, the multimedia material is divided into different intervals in the audio and video editing track.
- the initial playback speed of the corresponding video frame in the interval can be the playback speed of the video stream before segmentation.
- a preset video threshold can be calibrated based on experimental data, for example, it can be 3 and so on. If it is detected that the number of video frames is less than the video threshold, a prompt message that cannot be divided is displayed. For example, a pop-up window displays a message such as "The interval is too small and cannot be added.”
- dividing points may be used as distinguishing marks of different intervals.
- the dividing point can be any identifier indicating that the video stream is divided into different intervals, including but not limited to one or more of text identifiers, letter identifiers, pattern identifiers, color identifiers, etc.
- the dividing points are two opposite trapezoidal patterns, and the corresponding video stream is divided into multiple intervals by the dividing points.
- the intervals Q1 and Q2 include dividing point 1 in the middle, and dividing point 1 includes two corresponding trapezoidal patterns a1 and a2.
- a partial area of the dividing point is used as the first control point of the adjacent target interval.
- the first control point is used to divide the speed adjustment of the target section from the speed adjustment of other sections.
- the first adsorption control switch in response to the opening operation of the first adsorption control switch on the target interval (
- the first adsorption control switch can be a control displayed on the visual interface, etc.), obtains the end position of the first control point's movement operation on the editing track, and adsorbs the end position to the split positions of other adjacent intervals. That is to say, it is guaranteed to follow the movement of the first control point, and other dividing points and intervals on the audio and video editing track will follow the movement as a whole.
- the first control point is used alone to control the playback speed of the video frames in the corresponding target interval.
- Different intervals correspond to different first control points, which can achieve independent control of the playback speed of the video frames in different intervals. Adjustment.
- the setting positions of the first control points in adjacent target intervals are different.
- the first control point is set at the end of the target interval.
- the dividing point usually defines the interval located in the middle of the left and right area parts through the left and right area parts. Therefore, the left half area of the dividing point, that is, the dividing point area corresponding to the end position of the target interval, can be used as the first control point of the target interval adjacent to the left, as shown in Figure 3A; if the dividing point is as above As shown in Figure 2, for the dividing point 1, the trapezoidal pattern a1 located in the left half of the area can be used as the first control point. This first control point is used to control the left section Q1 adjacent to the trapezoidal pattern a1. Video frame playback speed.
- the first control point is set at the starting position of the target interval.
- the dividing point usually defines the interval located in the middle of the left and right area parts through the left and right area parts. Therefore, the left half area of the segmentation point, that is, the segmentation point area corresponding to the starting position of the target interval, can be used as the first control point of the target interval adjacent to the left, as shown in Figure 3B; if the segmentation point is as follows As shown in Figure 2 above, for the dividing point 1, the trapezoidal pattern a2 located in the right half of the area can be used as the first control point. This first control point is used to control the section Q2 adjacent to the right side of the trapezoidal pattern a2. video frame playback speed.
- a second control point is also provided on the multimedia material clip.
- the second control point is used to adjust the playback speed of the video frame in the target interval.
- Step 102 In response to the movement operation of the first control point, adjust the speed change amount according to the position of the first control point on the editing track, control the speed of the video frame in the target interval to change according to the adjusted speed change amount, and adjust the speed according to the adjusted speed change amount.
- the playback duration after the speed changes corresponds to the display length of the telescopic adjustment target interval on the editing track.
- the first control point is used to adjust the playback speed of the video frame in the target interval. Therefore, in response to the movement operation of the first control point, the playback speed of the video frame in the target interval can be controlled.
- the movement operation of the first control point may be triggered by the user's dragging, voice triggering, etc., which are not listed here.
- the first control point in response to the movement operation of the first control point, the first control point is controlled to move on the editing track; the speed change is adjusted according to the position of the first control point on the editing track, and the target interval correlation is controlled.
- the speed of the video frame is transformed according to the adjusted speed change.
- the overall change in the playback speed of the video frames included in the target interval is controlled based on the first control point, and the degree of change in the overall speed depends on the length of movement of the first control point on the editing track, etc.
- the playback duration after the speed change can be
- the display length of the target interval on the editing track should be flexibly adjusted. For example, in order to further improve the intuitiveness of the adjustment, you can also visually enhance the display of the target interval being adjusted. For example, use a rectangular frame to frame the area of the current target interval on the audio and video editing track, and highlight the rectangular frame, etc.
- the speed change amount is adjusted in different ways according to the position of the first control point on the editing track. Examples are as follows.
- the end position of the target interval is used as the first control point of the target interval adjacent to the left, then in response to the rightward movement operation of the first control point, the end point of the target interval is controlled to be on the editing track is stretched to the right; the speed change is reduced based on the position of the first control point on the editing track.
- the starting point of the target interval remains in the same position on the editing track.
- the video frame corresponding to each target interval is unchanged.
- the first control point is adjusted to change the position of the end point of the target interval on the editing track, so that the end point of the target interval is on the editing track. Stretching the position on to the right can be equivalent to extending the playback duration of the video frame corresponding to the target interval. Therefore, it is equivalent to reducing the playback speed of the video frames in the target interval, and reducing the speed change amount according to the position of the first control point on the editing track to reduce the playback speed of the video frames in the target interval.
- the position of the end point of the target interval on the editing track is stretched to the right; according to the first control
- the point's position on the edit track decreases the speed delta. For example, if the position of the end point of the target interval on the editing track is stretched by L1 to the right, the speed change is reduced by 0.5X. Therefore, the video frame playback speed in the target interval is reduced from the original 1X to 0.5X.
- the position of the control target interval end point on the editing track is shortened to the left; the speed change is increased according to the position of the first control point on the editing track.
- the position of the starting point of the target interval on the editing track remains unchanged.
- the video frame corresponding to each target interval is unchanged.
- the first control point is adjusted to change the position of the end point of the target interval on the editing track, so that the end point of the target interval is on the editing track.
- Shortening the position on to the left can be equivalent to shortening the playback duration of the video frame corresponding to the target interval. Therefore, it is equivalent to increasing the playback speed of the video frames in the target interval, and increasing the speed change amount according to the position of the first control point on the editing track to increase the playback speed of the video frames in the target interval.
- the position of the end point of the control target interval on the editing track is shortened to the left; according to the first control point Increases the speed delta at the position on the edit track.
- the position of the target interval end point on the editing track is shortened to the left. If L2 is removed, the speed change increases by 0.25X. Therefore, the video frame playback speed within the target interval is increased from the original 1X to 1.25X.
- the starting position of the target interval is used as the first control point of the target interval adjacent to the right, then in response to the rightward movement operation of the first control point, the starting point of the target interval is controlled to be on the editing track
- the position on is shortened to the right; the speed change is increased according to the position of the first control point on the editing track, and the position of the target interval end point on the editing track remains unchanged.
- the video frame corresponding to each target interval is unchanged.
- the first control point is adjusted to change the position of the starting point of the target interval on the editing track, and the starting point of the target interval is placed on the editing track.
- Shortening the position on to the right can be equivalent to shortening the playback duration of the video frame corresponding to the target interval. Therefore, it is equivalent to increasing the playback speed of the video frames in the target interval, and increasing the speed change amount according to the position of the first control point on the editing track to increase the playback speed of the video frames in the target interval.
- the position of the starting point of the control target interval on the editing track is shortened to the right; according to the first control point Increases the speed delta at the position on the edit track. For example, if the position of the starting point of the target interval on the editing track is shortened by L3 to the right, the speed change increases by 0.25X. Therefore, the video frame playback speed in the target interval is increased from the original 1X to 1.25X.
- the position of the starting point of the control target interval on the editing track is stretched to the left, and the position of the first control point on the editing track is reduced.
- the amount of speed change and the end point of the target interval remain unchanged on the editing track.
- the video frame corresponding to each target interval is unchanged.
- the first control point is adjusted to change the position of the starting point of the target interval on the editing track, and the starting point of the target interval is placed on the editing track. Stretching the position on to the left can be equivalent to increasing the playback duration of the video frame corresponding to the target interval. Therefore, it is equivalent to reducing the playback speed of the video frames in the target interval, and reducing the speed change amount according to the position of the first control point on the editing track to reduce the playback speed of the video frames in the target interval.
- the position of the starting point of the target interval on the editing track is stretched to the left, according to the first control point
- the point's position on the edit track decreases the speed delta. For example, if the starting point of the target interval on the editing track is stretched by L4 to the left, the speed change is reduced by 0.25X. Therefore, the video frame playback speed in the target interval is reduced from the original 1X to 0.75X.
- Step 103 in response to the movement operation of the second control point on the target interval, based on the second control point on the target interval
- the position on the interval adjusts the slope of the speed curve, and the speed of the video frame in the target interval is controlled to change according to the slope-adjusted speed curve.
- the first control point is only used to control the overall playback speed of the video frames in the target interval, for example, as shown in Figure 6A, if the target interval contains 10 video frames, and the playback speeds of the 10 video frames are all the same.
- the effect that can be achieved based on the first control point is to control the overall increase or overall shortening of the playback speed of 10 video frames.
- the playback speed of each video frame is the same (the display width of the video frame in the figure reflects the playback speed of the video frame).
- the above-mentioned method of adjusting the playback speed based only on the first control point shows that the degree of refinement is not high. For example, as shown in Figure 6B, if the target interval contains 10 video frames, the user hopes that the playback speed of these 10 video frames will gradually decrease or gradually increase (the display width of the video frame in the figure reflects the playback speed of the video frame ).
- a second control point for the target interval is also set.
- the visual display of the second control point includes, but is not limited to, one or more of text logos, letter logos, pattern logos, color logos, etc.
- the slope of the speed curve is adjusted according to the position of the second control point on the target interval, and the speed of the video frame in the target interval is controlled to change according to the slope-adjusted speed curve.
- the vertical axis of the speed curve corresponds to the playback speed
- the horizontal axis corresponds to the video frame in the target interval. Therefore, the slope of the speed curve can determine the playback speed of the video frame in the target interval, and can be refined to the video frame to realize variable speed adjustment of the playback speed. For example, referring to FIG. 7 , the steeper the speed curve is, the greater the change rate of the corresponding playback speed is; conversely, the flatter the speed curve is, the lower the change rate of the corresponding playback speed is.
- the slope of the speed curve is adjusted in different ways according to the position of the second control point on the target interval. Please refer to subsequent embodiments for the different adjustment methods, which will not be described again here.
- the first control point is mainly used to control the overall playback speed of the video frame in the corresponding target interval. Therefore, as shown in FIG. 6A above, if the video frames in the target interval are played at a constant speed, the speed of the video frames in the target interval is controlled to be faster or slower according to the adjusted speed change amount to play at a constant speed.
- the effect achieved based on the first control point is also an overall change based on the speed change. That is, when the video frames in the target interval are played at a non-uniform speed according to the speed curve, the speed of the video frames in the target interval is controlled to be adjusted according to The subsequent speed change becomes faster or slower for non-uniform speed playback.
- the playback speed of these 10 video frames determined based on the speed curve gradually decreases. If the corresponding speed change determined based on the movement operation of the first control point is a speed reduction of 0.5X, then while maintaining the gradual reduction in the playback speed of these 10 video frames, the overall playback speed is reduced according to the 0.5X.
- the speed adjustment method of multimedia clips divides the multimedia material clips into multiple intervals on the audio and 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 set on the multimedia material clip.
- the speed change amount is adjusted according to the position of the first control point on the editing track, and the speed of the video frame in the target interval is controlled to change according to the adjusted speed change amount; and according to the speed change,
- the playback duration corresponds to the telescopic adjustment of the display length of the target interval on the editing track; in response to the movement operation of the second control point on the target interval, the slope of the speed curve is adjusted according to the position of the second control point on the target interval to control the target interval
- the speed of the inner video frame changes according to the slope-adjusted speed curve.
- the video frame playback speeds between the multiple intervals are adjusted independently and independently of each other, and the overall playback speed of the video frames in each interval can be realized based on the first control point. Adjustment.
- the playback speed can also be adjusted based on the second control point, so that different video frames in the same interval have different playback speeds. As a result, fine adjustment of the video frame playback speed is achieved, and the accuracy and efficiency of the video frame playback speed adjustment are improved.
- schematic diagrams corresponding to multimedia material clips can also be displayed in the function panel area.
- the schematic diagram includes a speed control mark corresponding to and corresponding to the first control point, and displays the speed adjusted to the target section according to the first control point in the area corresponding to the schematic section. Therefore, based on the linked display of the schematic diagram and the audio and video editing track, the speed adjustment of the current first control point can be intuitively displayed.
- FIG. 8A a schematic diagram of associated display and multimedia material clips in the function panel area is shown.
- the schematic diagram includes a speed control mark corresponding to the first control point and a schematic interval Qs' corresponding to the target interval Qs.
- the first control point a2s is used as the speed control mark of the adjacent schematic interval, and the speed adjusted to the target interval according to the first control point is displayed in the corresponding area of the schematic interval Qs'.
- the adjusted speed in the figure is 0.5X.
- the speed adjusted according to the second control point is also displayed in conjunction with the schematic diagram, that is, the slope of the speed curve is adjusted according to the position of the second control point in the target interval; and the slope is displayed in association with the schematic interval.
- the adjusted speed curve and the speed interval value of the speed curve are also displayed in conjunction with the schematic diagram.
- the position of the second control point in the target interval Qs moves from the center position to At the end position of the target section, the slope of the speed curve is adjusted according to the position of the second control point in the target section.
- the resulting speed curve S1 and speed section value are as shown in the figure. Users can intuitively see the speed adjustment results.
- the speeds corresponding to the speed control identifiers of adjacent schematic intervals are compared.
- the speed corresponding to the speed control logo at the end position of the left section is the same as the speed corresponding to the speed control logo at the start position of the right section, as shown in Figure 9A
- the two speed control logos are merged and stored for display on the mobile device.
- a speed control point when the speed corresponding to the speed control mark at the end of the left section is different from the speed corresponding to the speed control mark at the start of the right section, as shown in Figure 9B, the two speed control marks can be stored separately Two speed control points for display on mobile devices.
- the schematic diagram in order to further facilitate user adjustment, can be stored as a draft and can be synchronized and displayed on other devices. For example, synchronize the schematic diagram adjusted on the PC to the mobile device for display, etc.
- the user can operate the schematic diagram on the mobile terminal; if the first control point is identified by a partial area of the dividing point, in this embodiment , for a dividing point containing two areas, it can be displayed in other patterns on the mobile terminal. That is, conversion and display are performed on the mobile terminal to adapt to the display rules of the mobile terminal.
- areas with different dividing points are displayed in the form of dots. If it is detected that the user drags one of the dots, the x-axis coordinate of the point can be changed, and the two points are separated by m pixels; if synchronized to the PC segment, the corresponding two dots are displayed as different areas of the dividing point.
- the interval between different areas of the PC-side segmentation point is 1 frame, the minimum number of video frames included in the interval is also limited. For example, it cannot be less than 3 frames. If the x-axis corresponding to the dot dragged on the mobile side conflicts with the display rules on the PC side, the dot can be discarded after the interaction and the dividing point corresponding to the dot will not be displayed on the PC side. area etc.
- the two points on the mobile terminal are merged and displayed as a complete dividing point, and the extra The dots are not merged.
- the intervals between the three points abc are 1 frame, ab is combined and displayed as a complete dividing point, and c is independently displayed as a partial area of a dividing point.
- the x-axis distance is not equal to 1 frame, a dot is displayed as a partial area of the dividing point. .
- the first dividing point area in the interval where the video frames are less than the preset minimum number of video frames can be retained and the Delete other segmentation point areas, etc.
- a schematic diagram corresponding to the multimedia material clips is displayed in association with the function panel area.
- the schematic diagram includes a schematic interval corresponding to the target interval, and the schematic diagram
- the area corresponding to the middle indicated interval displays the speed adjustment results of the first control point and the second control point on the target interval, which improves the intuitiveness of speed adjustment and improves the user experience of speed adjustment.
- the triggering operation of the above-mentioned second control point is used to control the variable speed change of the video frame in the target interval.
- the second control point determines the slope of the speed curve of the variable speed change. The following is how to control the speed change of the video frame in the target interval according to the second control point.
- the slope of the position adjustment speed curve is illustrated as an example.
- adjusting the slope of the speed curve according to the position of the second control point on the target interval includes the following steps.
- the slope of the speed curve is adjusted according to the added position of the second control point on the target interval.
- the second control point is set at different positions between the target areas, the corresponding slopes will be different. For example, in response to the second control point being located in the middle of the target interval, adjusting the slope of the speed curve to zero generates a uniform straight line that matches the speed adjusted by the first control point, thereby controlling the speed of the video frames in the target interval according to the uniform speed. Play in a straight line.
- the position of the dot set in the target interval determines the slope of the speed curve; if it is a "dot” setting At the middle position of the track corresponding to the target interval, the corresponding slope is 0. At this time, the video frames in the target interval are played at a constant speed.
- the corresponding slope will change accordingly. For example, the average slope of the speed curve gradually increases.
- the playback speed of the video frame in the target interval changes with the change of the slope. Changes realize the adjustment of the playback speed; if the "dot" moves to the left position of the track corresponding to the target interval, it will follow the corresponding slope change. For example, the average slope of the speed curve gradually decreases. At this time, the The video frame playback speed changes with the change of the slope, realizing the adjustment of the playback speed.
- the slope of the speed curve in response to the movement operation of the second control point, can be adjusted according to the movement position of the second control point on the target interval, and in response to the addition of the second control point on the target interval.
- the slope of the speed curve after adjusting the slope of the speed curve according to the added position of the second control point on the target interval, can be adjusted according to the moving position of the second control point on the target interval. For example, if the second control point is in the target interval The slope corresponding to the added position on is 0, and with the rightward or leftward movement of the second control point, the slope of the speed curve can be adjusted.
- candidate position points of the movement of the second control point on the target interval are obtained, and a corresponding relationship between each candidate position point and the slope is constructed.
- the change in slope between different candidate position points can be compared with the change of the candidate position point.
- Position changes may or may not be associated, and there is no restriction here.
- the target position point to which the second control point moves is determined, and the above corresponding relationship is queried to determine the slope corresponding to the target position point to adjust the slope of the speed curve.
- the slope of the speed curve in response to the second control point moving between the middle position and the end position of the target interval, is adjusted to generate an ascending speed curve.
- the speed curve corresponds to The slope value is the largest, that is, when the second control point is at the end of the target interval, the overall rising speed curve is steeper.
- the maximum slope value at this time can be understood as the maximum average slope value of the speed curve.
- the slope change rate from the starting position to the center position of the target interval is the largest, thereby controlling the target interval.
- the playback speed of the video frames within is played according to the rising speed curve.
- the second control point will be The movement is associated with the increase of the slope, which enhances the interactive feeling of the operation.
- the rising speed curve can It can be in any form.
- the slope can be the center point as the symmetry center. The slope gradually increases from the starting position to the center position of the target interval, and the slope gradually decreases from the center position to the end position of the target interval. Wait, in this embodiment, continue to refer to Figure 12A. As the second control point approaches the end position of the target interval, the change rate of the slope from the starting position to the center position of the target interval gradually increases.
- the second control point The point is located at the end of the target interval, and the slope change rate from the starting position to the center position of the target interval is the largest. At this time, the corresponding slope value of the speed curve is the largest, and the overall speed curve is the steepest.
- the slope can be a sine wave curve with a positive slope. From the starting position of the target interval to the end position, the slope of the speed curve gradually decreases. Continuing to refer to Figure 12B, along with the second control point As it approaches the end position of the target interval, the change rate of the slope from the starting position to the center position of the target interval gradually increases. If the second control point is located at the end position of the target interval, the slope value of the speed curve is the largest.
- the slope of the speed curve in response to the second control point moving between the intermediate position and the starting position of the target interval, is adjusted to generate a descending speed curve.
- the slope value corresponding to the speed curve is the smallest, and then the playback speed of the video frames in the target interval is controlled to be played according to the descending speed curve.
- the slope of the descending speed curve is a negative value, when the slope value corresponding to the speed curve is the smallest, the steeper the speed curve is.
- the minimum slope value can be understood as each point included in the speed curve. The mean of the slope values is the smallest and so on.
- the movement of the two control points is associated with the increase of the slope, which enhances the interactive feeling of the operation.
- the descending speed curve It can be in any form.
- the slope can have the center point as the center of symmetry.
- the absolute value of the slope from the starting position to the center position of the target interval gradually increases, and from the center position to the end position of the target interval, the absolute value of the slope gradually increases.
- the absolute value of the slope gradually decreases, etc.
- the absolute value of the slope from the starting position of the target interval to the center position The rate of change gradually increases. If the second control point is located at the starting position of the target interval, the negative speed curve has the smallest slope value and the steepest speed curve.
- the slope can be a sine wave curve with a negative slope. From the starting position of the target interval to the end position, the absolute value of the slope of the speed curve gradually increases. With continued reference to Figure 13B, along with The degree to which the second control point is close to the starting position of the target interval, the change rate of the slope from the starting position to the center position of the target interval gradually increases. If the second control point is located at the starting position of the target interval, it will be a negative speed curve. The slope value is the smallest and the speed curve is the steepest.
- the speed interval value of the speed curve is also limited, based on The speed interval value defines the speed adjustment range.
- the speed interval value of the adjusted speed curve is determined based on the speed adjusted by the first control point and the preset speed range corresponding to the slope of the adjusted speed curve, and the speed interval value is displayed on the first
- the second control point is in the preset area of the target interval position, and the display mode can be any form such as label display, floating display, etc., used to indicate the adjustment speed range corresponding to the current second control point.
- the speed interval value of the adjusted speed curve can be determined based on the closeness of the speed adjusted by the first control point to the boundary value in the multiple speed range corresponding to the slope of the speed curve.
- the first control point is The adjusted speed is used as the center position, and the close boundary value is used as a boundary of the speed interval, etc.
- the speed adjusted by the first control point is 0.5X
- the default speed range If the range is 0.1X-10X, then calculate the first multiple of 1X and 0.5X, and the second multiple of 10X and 0.5X respectively. Based on the first multiple and the second multiple, determine the smaller multiple, that is, the boundary corresponding to the first multiple. The value is 0.1X. Therefore, with 0.1X as the boundary value and 0.5X as the center value, the speed interval value of the speed curve is determined to be 0.1X-1X.
- the summation value between the speed and the preset adjustment value is calculated, and the summation value between the first control point and the preset adjustment value is calculated.
- Difference use the summation value and the difference value as the maximum interval boundary value and the minimum interval boundary value of the speed interval value respectively to determine the speed interval value of the adjusted speed curve.
- the minimum value of the multiple speed range will be used as the minimum interval boundary value of the speed interval value.
- the maximum value of the multiple speed range is used as the maximum interval boundary value of the speed interval value
- the corresponding adjustment effect is also displayed in real time based on the video frame.
- the speed adjustment state of the video frame with speed adjustment in the target interval is displayed, and the target interval is changed according to the slope-adjusted speed curve.
- the video frames that become slower within the target range are widened and displayed, and the video frames that become faster within the target range are narrowed and displayed.
- the width of the video frame reflects the speed adjustment of the corresponding video frame.
- the video frame playback speed is 0.5X at a uniform speed, and the width of each video frame is the same; if the user drags the second control point
- the video frames that become slower in the target interval are widened and displayed, and the video frames that become faster in the target interval are narrowed and displayed.
- the speeds of junctions in different intervals are close to each other, the speeds can be aligned.
- the second adsorption control switch in response to the second adsorption control opening operation, may be a visual control, etc., and the slope-adjusted speed curve is obtained according to the position of the second control point on the target interval.
- the slope-adjusted speed curve determines the playback speed at the end of the target interval. If the difference between the playback speed at the end of the target interval and the playback speed at the start of the adjacent interval is less than the preset threshold, which is calibrated based on experimental data, then The end position of the target interval is aligned with the speed adjustment of the start position of the adjacent interval. This ensures the smoothness of video playback on the basis of meeting the user's personalized needs for playback speed.
- the target interval end position is aligned with the speed adjustment of the adjacent interval start position.
- the speed adjustment method of multimedia clips can flexibly determine the slope of the speed curve according to the movement operation of the second control point according to different application scenarios, thereby satisfying the variable speed adjustment of the playback speed of video frames in the target interval. demand, improving the flexibility of adjustment.
- the present disclosure also provides a speed adjustment device for multimedia clips.
- Figure 17 is a schematic structural diagram of a speed adjustment device for multimedia clips provided by an embodiment of the present disclosure.
- the device can be implemented by software and/or hardware, and can generally be integrated in electronic equipment to adjust the speed of audio and video information.
- the device includes: a dividing module 1710, a first transmission control module 1720 and a second transmission control module 1730.
- the dividing module 1710 is used to divide the multimedia material clip into multiple intervals on the audio and video editing track.
- the multiple intervals include target intervals, and a first control point and a second control point corresponding to the target interval are set on the multimedia material clip. point.
- the first speed control module 1720 is configured to respond to the movement operation of the first control point, adjust the speed change amount according to the position of the first control point on the editing track, and control the speed of the video frame in the target interval according to the adjusted Change the speed according to the speed change amount, and adjust the display length of the target interval on the editing track according to the playback duration after the speed change.
- the second variable speed control module 1730 is configured to respond to the movement operation of the second control point, adjust the slope of the speed curve according to the position of the second control point on the target interval, and control the video frame speed in the target interval according to the slope adjusted The speed curve changes speed.
- the multimedia clip speed adjustment device provided by the embodiments of the present disclosure can execute the speed adjustment method of the multimedia clips provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.
- the present disclosure also proposes a computer program product, which includes a computer program/instructions.
- a computer program product which includes a computer program/instructions.
- the speed adjustment method for multimedia clips in the above embodiments is implemented.
- Figure 18 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the electronic device 1800 in the embodiment of the present disclosure may include, but is not limited to, mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals ( Mobile terminals such as car navigation terminals) and digital TV, radio stations, etc. Fixed terminals for computers, etc.
- the electronic device shown in FIG. 18 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
- electronic device 1800 may include a processor (eg, central processing unit, graphics processor, etc.) 1801 that may be loaded into random access memory according to a program stored in read-only memory (ROM) 1802 or from memory 1808 (RAM) 1803 to perform various appropriate actions and processes.
- ROM read-only memory
- RAM memory 1808
- various programs and data required for the operation of the electronic device 1800 are also stored.
- the processor 1801, ROM 1802 and RAM 1803 are connected to each other through a bus 1804.
- An input/output (I/O) interface 1805 is also connected to bus 1804.
- the following devices may be connected to the I/O interface 1805: input devices 1806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 1807 such as a computer; a memory 1808 including a magnetic tape, a hard disk, etc.; and a communication device 1809. Communication device 1809 may allow electronic device 1800 to communicate wirelessly or wiredly with other devices to exchange data.
- FIG. 18 illustrates electronic device 1800 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
- the computer program may be downloaded and installed from the network via communication device 1809, or from memory 1808, or from ROM 1802.
- the processor 1801 When the computer program is executed by the processor 1801, the above-mentioned functions defined in the speed adjustment method of the multimedia clip according to the embodiment of the present disclosure are performed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof.
- Examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), erasable programmable read only memory Memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
- a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
- Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.
- the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
- Communications e.g., communications network
- communications networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or developed in the future network of.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device causes the electronic device to operate.
- the plurality of intervals include a target interval, and set a first control point and a second control point corresponding to the target interval on the multimedia material clip, in response to the The moving operation of a control point adjusts the speed change amount according to the position of the first control point on the editing track, controls the speed of the video frame in the target interval to change according to the adjusted speed change amount, and corresponds to the playback duration after the speed change.
- Telescopically adjust the display length of the target interval on the editing track in response to the movement operation of the second control point on the target interval, adjust the slope of the speed curve according to the position of the second control point on the target interval, and control the length of the video frame in the target interval.
- the speed changes according to the slope-adjusted speed curve. Therefore, by dividing the multimedia material into multiple intervals, the video frame playback speeds between the multiple intervals are adjusted independently and independently of each other, and the overall playback speed of the video frames in each interval can be realized based on the first control point. Adjustment can also be based on the second control point to realize variable speed adjustment of the playback speed, so that different video frames in the same interval have different playback speeds, thus achieving fine adjustment of the video frame playback speed and improving the video frame speed. Playback speed adjustment with precision and efficiency.
- the electronic device may have computer program code for performing operations of the present disclosure written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, or a combination thereof.
- the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through Internet connection).
- LAN local area network
- WAN wide area network
- An embodiment of the present disclosure also provides a computer program, including instructions that, when executed by a processor, cause the processor to perform the speed adjustment method of a media segment provided by an embodiment of the present disclosure.
- each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
- each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
- the units involved in the embodiments of the present disclosure can be implemented in software or hardware.
- the name of a unit does not constitute a limitation on the unit itself.
- FPGAs Field Programmable Gate Arrays
- ASICs Application Specific Integrated Circuits
- ASSPs Application Specific Standard Products
- SOCs Systems on Chips
- CPLD Complex Programmable Logical device
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
- machine-readable storage media examples include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- RAM random access memory
- ROM read only memory
- EPROM erasable programmable read only memory
- flash memory flash memory
- optical fiber portable compact disk read-only memory
- CD-ROM compact disk read-only memory
- magnetic storage device magnetic storage device
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
Claims (19)
- 一种多媒体片段的速度调整方法,包括:在音视频的编辑轨道上,将多媒体素材片段分割成多个区间,其中,所述多个区间包括目标区间,以及在所述多媒体素材片段上设置有与所述目标区间对应的第一控制点和第二控制点;响应于对所述第一控制点的移动操作,根据所述第一控制点在所述编辑轨道上的位置调整速度变化量,控制所述目标区间内视频帧的速度按照调整后的速度变化量进行变速,并根据速度变化后的播放时长,对应伸缩调整所述目标区间在所述编辑轨道上的显示长度;响应于对所述第二控制点的移动操作,根据所述第二控制点在所述目标区间上的位置调整速度曲线的斜率,控制所述目标区间内的视频帧的速度按照斜率调整后的速度曲线进行变速。
- 根据权利要求1所述的速度调整方法,其中,所述第一控制点设置在所述目标区间的结束位置,所述响应于对所述第一控制点的移动操作,根据所述第一控制点在所述编辑轨道上的位置调整速度变化量,包括:响应于对所述第一控制点的向右移动操作,控制所述目标区间结束点在所述编辑轨道上的位置向右拉伸,根据所述第一控制点在所述编辑轨道上的位置减小速度变化量,其中,所述目标区间起始点在所述编辑轨道上位置不变,或者,响应于对所述第一控制点的向左移动操作,控制所述目标区间结束点在所述编辑轨道上的位置向左缩短,根据所述第一控制点在所述编辑轨道上的位置增加速度变化量,其中,所述目标区间起始点在所述编辑轨道上位置不变。
- 根据权利要求1或2所述的速度调整方法,其中,所述第一控制点设置在所述目标区间的起始位置,所述响应于对所述第一控制点的移动操作,根据所述第一控制点在所述编辑轨道上的位置调整速度变化量,包括:响应于对所述第一控制点的向右移动操作,控制所述目标区间起始点在所述编辑轨道上的位置向右缩短,根据所述第一控制点在所述编辑轨道上的位置增加速度变化量,其中,所述目标区间结束点在所述编辑轨道上位置不变,或者,响应于对所述第一控制点的向左移动操作,控制所述目标区间起始点在所述编辑轨道上的位置向左拉伸,根据所述第一控制点在所述编辑轨道上的位置减小速度变化量,其中,所述目标区间结束点在所述编辑轨道上位置不变。
- 根据权利要求1-3任一项所述的速度调整方法,其中,所述控制所述目标区间内的视频帧速度按照调整后的速度变化量进行变速,包括:在所述目标区间内的视频帧为匀速播放的情况下,控制所述目标区间内的视频帧速度按照调整后的速度变化量,变快或变慢进行匀速播放;或者,在所述目标区间内的视频帧为根据速度曲线非匀速播放的情况下,控制所述目标区间内的视频帧速度按照调整后的速度变化量,变快或变慢进行非匀速播放。
- 根据权利要求1-4任一项所述的速度调整方法,还包括:响应于对所述目标区间的分割操作,检测所述目标区间的视频帧数量是否小于预设的视频阈值;如果检测获知所述视频帧数量小于所述视频阈值,则显示不能分割的提示信息。
- 根据权利要求1-5任一项所述的速度调整方法,还包括:响应于第一吸附控制开启操作,获取所述第一控制点在所述编辑轨道上移动操作的结束位置,并将所述结束位置与相邻的其他区间的分割位置吸附对齐。
- 根据权利要求1-6任一项所述的速度调整方法,其中,所述根据所述第二控制点在所述目标区间上的位置调整速度曲线的斜率,控制所述目标区间内的视频帧速度按照斜率调整后的速度曲线进行变速,包括:响应于所述第二控制点位于所述目标区间的中间位置时,调整所述速度曲线的斜率为零,以生成与所述第一控制点所调整的速度匹配的匀速直线;控制所述目标区间内的视频帧速度按照所述匀速直线进行播放。
- 根据权利要求7所述的速度调整方法,还包括:响应于所述第二控制点在所述中间位置与所述目标区间的结束位置之间移动,调整所述速度曲线的斜率,以生成上升速度曲线,在所述第二控制点位于所述目标区间结束位置的情况下,所述速度曲线对应的斜率值最大;控制所述目标区间内的视频帧播放速度按照所述上升速度曲线进行播放。
- 根据权利要求7或8所述的速度调整方法,还包括:响应于所述第二控制点在所述中间位置与所述目标区间的起始位置之间移动,调整所述速度曲线的斜率,以生成下降速度曲线,其中,在所述第二控制点位于所述目 标区间起始位置的情况下,所述速度曲线对应的斜率值最小;控制所述目标区间内的视频帧播放速度按照所述下降速度曲线进行播放。
- 根据权利要求1-9任一项所述的速度调整方法,还包括:根据所述第一控制点所调整的速度,以及预设的与调整后的所述速度曲线斜率对应的倍速范围,确定调整后的所述速度曲线的速度区间值;将所述速度区间值显示在所述第二控制点在所述目标区间位置的预设区域内。
- 根据权利要求1-10任一项所述的速度调整方法,还包括:响应于对所述第二控制点在所述目标区间内的拖动操作,对所述目标区间内进行速度调整的视频帧进行变速调整状态的显示;根据斜率调整后的速度曲线,将所述目标区间内速度变慢的视频帧拉宽显示,以及将所述目标区间内速度变快的视频帧压窄显示。
- 根据权利要求1-11任一项所述的速度调整方法,还包括:响应于第二吸附控制开启操作,根据所述第二控制点在所述目标区间上的位置获取斜率调整后的速度曲线;根据所述斜率调整后的速度曲线,确定所述目标区间结束位置的播放速度;如果所述目标区间结束位置的播放速度与相邻区间开始位置的播放速度的差值小于预设阈值,则将所述目标区间结束位置与所述相邻区间开始位置的速度调整对齐。
- 根据权利要求1-12任一项所述的速度调整方法,还包括:在功能面板区域关联显示与所述多媒体素材片段对应的示意图,其中,所述示意图包括与所述目标区间对应的示意区间以及与所述第一控制点对应的速度控制标识;在所述示意区间对应区域,显示根据所述第一控制点对所述目标区间调整后的速度。
- 根据权利要求13所述的速度调整方法,还包括:根据所述第二控制点在所述目标区间的位置,调整所述速度曲线的斜率;在所述示意区间,关联显示斜率调整后的速度曲线以及所述速度曲线的速度区间值。
- 根据权利要求13或14所述的速度调整方法,还包括:响应于编辑草稿的存储操作,将相邻的示意区间的所述速度控制标识对应的速度进行比较;在左侧区间结束位置的速度控制标识对应的速度与右侧区间开始位置的速度控 制标识对应的速度相同的情况下,将两个所述速度控制标识合并存储为用于在移动设备显示的一个速度控制点;在左侧区间结束位置的速度控制标识对应的速度与右侧区间开始位置的速度控制标识对应的速度不同的情况下,将两个所述速度控制标识分别存储为用于在移动设备显示的两个速度控制点。
- 一种多媒体片段的速度调整装置,包括:划分模块,用于在音视频的编辑轨道上将多媒体素材片段分割成多个区间,其中,所述多个区间包括目标区间,以及在所述多媒体素材片段上设置有与所述目标区间对应的第一控制点和第二控制点;第一变速控制模块,用于响应于对所述第一控制点的移动操作,根据所述第一控制点在所述编辑轨道上的位置调整速度变化量,控制所述目标区间内视频帧的速度按照调整后的速度变化量进行变速,并根据速度变化后的播放时长,对应伸缩调整所述目标区间在所述编辑轨道上的显示长度;第二变速控制模块,用于响应于对所述第二控制点的移动操作,根据所述第二控制点在所述目标区间上的位置调整速度曲线的斜率,控制所述目标区间内的视频帧速度按照斜率调整后的速度曲线进行变速。
- 一种电子设备,包括:处理器;用于存储所述处理器可执行指令的存储器;所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述可执行指令以实现上述权利要求1-15中任一所述的多媒体片段的速度调整方法。
- 一种计算机可读存储介质,存储有计算机程序,所述计算机程序由处理器执行时使所述处理器执行上述权利要求1-15中任一所述的多媒体片段的速度调整方法。
- 一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1-15中任一项所述的媒体片段的速度调整方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210622737.1 | 2022-06-01 | ||
CN202210622737.1A CN117201716A (zh) | 2022-06-01 | 2022-06-01 | 多媒体片段的速度调整方法、装置、设备及介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023232066A1 true WO2023232066A1 (zh) | 2023-12-07 |
Family
ID=88987464
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/097371 WO2023232066A1 (zh) | 2022-06-01 | 2023-05-31 | 多媒体片段的速度调整方法、装置、设备及介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117201716A (zh) |
WO (1) | WO2023232066A1 (zh) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112738627A (zh) * | 2020-12-23 | 2021-04-30 | 上海哔哩哔哩科技有限公司 | 播放控制方法及装置 |
CN113825019A (zh) * | 2020-06-19 | 2021-12-21 | 北京字节跳动网络技术有限公司 | 视频变速播放方法、装置、电子设备及计算机可读介质 |
CN114449313A (zh) * | 2022-02-10 | 2022-05-06 | 上海幻电信息科技有限公司 | 视频的音画面播放速率调整方法及装置 |
-
2022
- 2022-06-01 CN CN202210622737.1A patent/CN117201716A/zh active Pending
-
2023
- 2023-05-31 WO PCT/CN2023/097371 patent/WO2023232066A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113825019A (zh) * | 2020-06-19 | 2021-12-21 | 北京字节跳动网络技术有限公司 | 视频变速播放方法、装置、电子设备及计算机可读介质 |
WO2021254443A1 (zh) * | 2020-06-19 | 2021-12-23 | 北京字节跳动网络技术有限公司 | 视频变速播放方法、装置、电子设备及计算机可读介质 |
CN112738627A (zh) * | 2020-12-23 | 2021-04-30 | 上海哔哩哔哩科技有限公司 | 播放控制方法及装置 |
CN114449313A (zh) * | 2022-02-10 | 2022-05-06 | 上海幻电信息科技有限公司 | 视频的音画面播放速率调整方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN117201716A (zh) | 2023-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10635379B2 (en) | Method for sharing screen between devices and device using the same | |
WO2020108339A1 (zh) | 一种页面显示位置跳转方法、装置,终端设备及存储介质 | |
WO2020253453A1 (zh) | 图像切换方法、装置、电子设备及存储介质 | |
US11997356B2 (en) | Video page display method and apparatus, electronic device and computer-readable medium | |
WO2021238679A1 (zh) | 视频通话界面显示控制方法、装置、存储介质及设备 | |
US9798512B1 (en) | Context-based volume adjustment | |
JP7402330B2 (ja) | 目標対象表示方法、装置、電子機器、及びコンピュータ読み取り可能な媒体 | |
WO2023273854A9 (zh) | 控件显示方法、装置、设备及介质 | |
WO2023134492A1 (zh) | 页面的显示方法、装置、电子设备、存储介质和程序产品 | |
WO2021147461A1 (zh) | 展示字幕信息的方法、装置、电子设备和计算机可读介质 | |
WO2023011318A1 (zh) | 媒体文件处理方法、装置、设备、可读存储介质及产品 | |
WO2022183887A1 (zh) | 视频编辑及播放方法、装置、设备、介质 | |
CN113094135A (zh) | 页面显示控制方法、装置、设备及存储介质 | |
WO2023116480A1 (zh) | 多媒体内容的发布方法、装置、设备、介质和程序产品 | |
WO2022242482A1 (zh) | 播放控制方法、设备、存储介质及程序产品 | |
WO2022179409A1 (zh) | 控件显示方法、装置、设备及介质 | |
WO2022237202A1 (zh) | 字幕信息编辑方法及装置 | |
WO2024037480A1 (zh) | 交互方法、装置、电子设备和存储介质 | |
WO2024001893A1 (zh) | 素材展示方法、装置、设备、计算机可读存储介质及产品 | |
WO2023236875A1 (zh) | 页面显示方法、装置、设备、计算机可读存储介质及产品 | |
WO2023232066A1 (zh) | 多媒体片段的速度调整方法、装置、设备及介质 | |
WO2023217081A1 (zh) | 信息输入页面的元素控制方法、装置、设备、介质 | |
WO2021073206A1 (zh) | 视频预览的方法、装置、存储介质及电子设备 | |
WO2023088484A1 (zh) | 用于多媒体资源剪辑场景的方法、装置、设备及存储介质 | |
WO2023056925A1 (zh) | 文档内容更新方法、装置和电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2023579684 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23815243 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2023815243 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2023815243 Country of ref document: EP Effective date: 20240329 |