IP Library Granted Patent US 11,985,364
Granted Patent B2
US 11,985,364 · App. 17/841,641 · Granted May 14, 2024

Video editing method, terminal and readable storage medium

Inventor: Jiayu Chen (Guangdong, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N21/234G11B27/031H04N21/44H04N21/47205
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,985,364
App. No.
17/841,641
Granted
May 14, 2024
Kind
B2
Abstract

A video editing method, a terminal and a non-transitory computer-readable storage medium are provided. The video editing method includes: marking one or more video clips in an original video; determining a first video clip from the one or more video clips, based on a time interval between two adjacent rhythm points in a predetermined music segment; and editing the first video clip to obtain a second video clip, where a starting time and an ending time of the second video clip correspond to the two rhythm points.

Claims (78)

1. A video editing method, comprising:

marking at least one video clip in an original video;

determining, based on a time interval between two adjacent rhythm points in a predetermined music segment, a first video clip from the at least one video clip, wherein a duration of the first video clip is greater than the time interval; and

editing the first video clip to obtain a second video clip, wherein a starting time and an ending time of the second video clip correspond to the two rhythm points;

wherein the editing the first video clip to obtain a second video clip, comprises:

identifying a starting time of silence and an ending time of silence in the first video clip;

in response to a first duration is greater than or equal to an editing duration, editing the first video clip backwards from a starting time of the first video clip to obtain the second video clip, wherein the first duration is a silence duration corresponding to the starting time of the first video clip, and the editing duration is equal to a duration of a part of the first video clip exceeding the time interval;

in response to a second duration is greater than or equal to the editing duration, editing the first video clip forward from an ending time of the first video clip to obtain the second video clip, wherein the second duration is a silence duration corresponding to the ending time of the first video clip.

2. The video editing method as claimed in claim 1 , wherein the determining, based on a time interval between two adjacent rhythm points in a predetermined music segment, a first video clip from the at least one video clip, comprises:

determining one of the at least one video clip, which has a duration greater than the time interval and is with a smallest one of all time differences corresponding to the at least one video clip, as the first video clip, wherein each of the all time differences is a difference between the duration of each of the at least one video clip and the time interval.

3. The video editing method as claimed in claim 1 , wherein the editing the first video clip backwards from a starting time of the first video clip to obtain the second video clip, comprises:

editing the first video clip backwards from the starting time of the first video clip, to clip off a part of the first video clip corresponding to the editing duration; and

taking, as the second video clip, a remaining part of the first video clip except for the clipped off part; and

wherein the editing the first video clip forward from an ending time of the first video clip to obtain the second video clip, comprises:

editing the first video clip forward from the ending time of the first video clip, to clip off a part of the first video clip corresponding to the editing duration; and

taking, as the second video clip, a remaining part of the first video clip except for the clipped off part.

4. The video editing method as claimed in claim 1 , wherein the editing the first video clip to obtain a second video clip, comprises:

in response to the first duration and the second duration are both less than the editing duration, and the sum of the first duration and the second duration is greater than or equal to the editing duration, editing the first video clip from both the starting time of the first video clip and the ending time of the first video clip to obtain the second video clip.

5. The video editing method as claimed in claim 4 , wherein the editing the first video clip from both the starting time of the first video clip and the ending time of the first video clip to obtain the second video clip, comprises:

editing the first video clip backwards from the starting time of the first video clip, to clip off a first part of the first video clip corresponding to a first editing duration, wherein the first editing duration is less than or equal to the first duration;

editing the first video clip forward from the ending time of the first video clip, to clip off a second part of the first video clip corresponding to a second editing duration, wherein the second editing duration is less than or equal to the second duration, and a sum of the first editing duration and the second editing duration is equal to the editing duration; and

taking, as the second video clip, a remaining part of the first video clip except for the first part and the second part.

6. The video editing method as claimed in claim 4 , wherein the editing the first video clip to obtain a second video clip, comprises:

in response to the sum of the first duration and the second duration is less than the editing duration, obtaining a silence duration corresponding to the starting time of silence; and

in response to the silence duration corresponding to the starting time of silence is greater than the editing duration, editing the first video clip from the starting time of silence to obtain the second video clip.

7. The video editing method as claimed in claim 6 , wherein the editing the first video clip from the starting time of silence to obtain the second video clip, comprises:

editing the first video clip from the starting time of silence to clip off a part of the first video clip video corresponding to the editing duration, and obtaining two remaining parts of the first video clip video except for the clipped off part; and

splicing the two remaining parts of the first video clip video together to obtain the second video clip.

8. The video editing method as claimed in claim 1 , further comprising:

identifying repeated parts of a plurality of video clips taken from the same original video; and

clipping off the repeated part(s) of any N−1 number of video clips from N number of the plurality of video clips having the identified repeated parts, where N is a positive integer greater than 1.

9. The video editing method as claimed in claim 8 , wherein the identifying repeated parts of a plurality of video clips taken from the same original video, comprises:

for each of the at least one video clip, obtaining a video path and time information of the video clip, wherein the time information comprises a play starting time and a paly ending time of the video clip in the original video;

determining, based on the video path, the plurality of video clips taken from the same original video; and

in response to determining an overlap between time periods from the respective play starting times to the respective play ending times of two video clips in the plurality of video clips, identifying the repeated parts of the two video clips.

10. The video editing method as claimed in claim 1 , further comprising:

splicing, based on the starting time and the ending time of each of more than one the second video clip, the more than one second video clips to obtain a composite video clip; and

integrating the composite video clip with the predetermined music segment to output a recommended video.

11. The video editing method as claimed in claim 1 , wherein the marking at least one video clip in an original video, comprises:

determining a type of the original video based on content of the original video; and

determining, based on the type of the original video, at least one highlight in the original video as the at least one video clips.

12. A terminal, comprising a processor, wherein the processor is configured to implement operations comprising:

marking at least one video clip in an original video;

for every two adjacent rhythm points in a predetermined music segment, determining, based on a time interval between the two adjacent rhythm points, a first video clip from the at least one video clip, wherein a duration of the first video clip is greater than the time interval; and

editing the first video clip to obtain a second video clip, wherein a starting time and an ending time of the second video clip correspond to the two rhythm points;

wherein the processor is specifically configured to implement operations comprising:

identifying a starting time of silence and an ending time of silence in the first video clip;

in response to a first duration is greater than an editing duration, editing the first video clip backwards from a starting time of the first video clip to obtain the second video clip, wherein the first duration is a silence duration corresponding to the starting time of the first video clip, and the editing duration is equal to a duration of a part of the first video clip exceeding the time interval; and

in response to a second duration is greater than the editing duration, editing the first video clip forward from an ending time of the first video clip to obtain the second video clip, wherein the second duration is a silence duration corresponding to the ending time of the first video clip.

13. The terminal as claimed in claim 12 , wherein the processor is specifically configured to implement operations comprising:

determining one of the at least one video clip, which has a duration greater than the time interval and is with a smallest one of all time differences corresponding to the at least one video clip, as the first video clip, wherein each of the all time differences is a difference between the duration of each of the at least one video clip and the time interval.

14. The terminal as claimed in claim 12 , wherein the processor is specifically configured to implement operations comprising:

in response to the first duration and the second duration are both less than the editing duration, determining whether a sum of the first duration and the second duration is greater than the editing duration; and

in response to the sum of the first duration and the second duration is greater than the editing duration, editing the first video clip from both the starting time of the first video clip and the ending time of the first video clip to obtain the second video clip.

15. The terminal as claimed in claim 14 , wherein the processor is specifically configured to implement operations comprising:

in response to the sum of the first duration and the second duration is less than the editing duration, obtaining a silence duration corresponding to the starting time of silence; and

in response to the silence duration corresponding to the starting time of silence is greater than the editing duration, editing the first video clip from the starting time of silence to obtain the second video clip.

16. The terminal as claimed in claim 12 , wherein the processor is further configured to implement operations comprising:

identifying repeated parts of a plurality of video clips taken from the same original video; and

clipping off the repeated part(s) of any N−1 number of video clips from N number of the plurality of video clips having the identified repeated parts, where N is a positive integer greater than 1.

17. The terminal as claimed in claim 12 , wherein the processor is further configured to implement operations comprising:

splicing, based on the starting time and the ending time of each of more than one the second video clip, the more than one second video clip to obtain a composite video clip; and

integrating the composite video clip with the predetermined music segment to output a recommended video.

18. A non-transitory computer-readable medium stored with computer-executable instructions, wherein the computer-executable instructions are configured to, when executed by at least one processor, cause the at least one processor to implement a video editing method comprising:

marking at least one video clip in an original video;

determining one of the at least one video clip, which has a duration greater than a time interval between two adjacent rhythm point in a predetermined music segment and is with a smallest one of all time difference(s) corresponding to the at least one video clip, as a first video clip, wherein each of the all time difference(s) is a difference between the duration of each of the at least one video clip and the time interval;

editing the first video clip to obtain a second video clip, wherein a starting time and an ending time of the second video clip correspond to the two rhythm points;

wherein the editing the first video clip to obtain a second video clip, comprises:

identifying a starting time of silence and an ending time of silence in the first video clip;

in response to a first duration is greater than an editing duration, editing the first video clip backwards from a starting time of the first video clip to obtain the second video clip, wherein the first duration is a silence duration corresponding to the starting time of the first video clip, and the editing duration is equal to the time difference between the first video clip and the time interval; and

in response to a second duration is greater than the editing duration, editing the first video clip forward from an ending time of the first video clip to obtain the second video clip, wherein the second duration is a silence duration corresponding to the ending time of the first video clip.

19. The non-transitory computer-readable medium as claimed in claim 18 , wherein the editing the first video clip to obtain a second video clip, further comprises:

in response to the first duration and the second duration are both less than the editing duration, and the sum of the first duration and the second duration is greater than or equal to the editing duration, editing the first video clip from both the starting time of the first video clip and the ending time of the first video clip to obtain the second video clip;

in response to the sum of the first duration and the second duration is less than the editing duration, obtaining a silence duration corresponding to the starting time of silence; and

in response to the silence duration corresponding to the starting time of silence is greater than the editing duration, editing the first video clip from the starting time of silence to obtain the second video clip.

20. The non-transitory computer-readable medium as claimed in claim 18 , wherein the video editing method further comprises:

identifying repeated parts of a plurality of video clips taken from the same original video; and

clipping off the repeated part(s) of any N−1 number of video clips from N number of the plurality of video clips having the identified repeated parts, where N is a positive integer greater than 1.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 23, 2022
From: CHEN, JIAYU
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 060450/0654 →
Priority Claims (1)
CN 201911298854.1 · Dec 17, 2019 · national
Continuity (2)
Continuation PCTCN2020133047 · Dec 1, 2020
Related Publication 20220312048A1 · Sep 29, 2022