# US 2025/0209698 A1 · Video editing method and apparatus, device, and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0209698 A1
- Document ID: US20250209698A1
- Status: Published application
- Kind: A1
- Application number: 18/848,481
- Filed: 2023-03-07
- Published: 2025-06-26
- Earliest claimed: 2022-03-18
- Applicants: Lemon Inc.
- Inventors: Jingjing Zhuge; Yong Yu; Qiang Zhou; Lexin Tang
- Web page: https://patentgrep.com/patent/US20250209698A1

## CPC

- G06T 11/60: Creating or editing images; Combining images with text
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Embodiments of the present application disclose a method, apparatus, device and storage medium of video editing. The method comprises: determining a single-frame processing policy and a video post-processing policy corresponding to a video editing option selected by a user; performing a single-frame processing on video frames of a target video input by the user based on the single-frame processing policy, and caching a single-frame processing result to a single-frame processing list; and forming a video editing sequence of the target video based on the video post-processing policy in combination with the single-frame processing list, and storing the video editing sequence.

## Claims

### Claim 1

A video editing method, comprising:
determining a single-frame processing policy and a video post-processing policy corresponding to a video editing option selected by a user;
performing a single-frame processing on video frames of a target video input by the user based on the single-frame processing policy, and caching a single-frame processing result to a single-frame processing list; and
forming a video editing sequence of the target video based on the video post-processing policy in combination with the single-frame processing list, and storing the video editing sequence.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
locating a video frame editing result corresponding to a target video frame based on the video editing sequence, and presenting an edited video, the target video frame being any video frame selected by the user from the target video within an editing interface.

### Claim 3 (depends on 2)

The method of claim 2, wherein locating the video frame editing result corresponding to the target video frame based on the video editing sequence and presenting the edited video comprises:
monitoring a drag and drop operation of the user against a target video progress bar, determining a video timestamp corresponding to an end of the drag and drop operation;
determining a video frame corresponding to the video timestamp as the target video frame and accessing the video editing sequence; and
deserializing the video editing sequence to obtain a video frame editing result in the video editing sequence, and locating the target video editing result of the target video frame, and playing the edited video with a time node corresponding to the target video frame as a start playing node.

### Claim 4 (depends on 1)

The method of claim 1, wherein performing the single-frame processing on video frames of the target video input by the user based on the single-frame processing policy and caching the single-frame processing result to the single-frame processing list comprises:
receiving the target video input by the user, and decoding a video frame of the target video in real time, and obtaining a decoded video frame which has been decoded;
in response to that the decoded video frame does not meet a preset single-frame processing condition, returning to obtain a decoded video frame until all decoded video frames are obtained;
in response to that the decoded video frame meets the preset single-frame processing condition, inputting the decoded video frame to a single-frame processing model corresponding to the video editing option, and caching the single-frame processing result output by the single-frame processing model to the single-frame processing list; and
in the event that the single-frame processing list does not meet a video post-processing condition, returning to obtain a decoded video frame until all decoded video frames are obtained.

### Claim 5 (depends on 4)

The method of claim 4, wherein the preset single-frame processing condition comprises:
a duration of an interval between an obtaining time point for obtaining the decoded video frame and a single-frame executing time point of a previous video frame of a video frame corresponding to the obtaining time point reaches a set duration; or
the decoded video frame meets a set frame format.

### Claim 6 (depends on 1)

The method of claim 1, wherein forming the video editing sequence of the target video based on the video post-processing policy in combination with the single-frame processing list and storing the video editing sequence comprises:
sequentially determining a current video frame to be edited based on frame sequence numbers of the target video;
in the event of determining that the single-frame processing list currently meets a video post-processing condition, determining a video frame editing result of the current video frame to be edited based on the single-frame processing list; and
returning to select a new video frame to be edited for processing, and in the event that a post-processing ending condition is met, forming the video editing sequence of the target video based on video frame editing results of video frames to be edited corresponding to all selected frame numbers in the frame sequence numbers of the target video and storing the video editing sequence.

### Claim 7 (depends on 6)

The method of claim 6, wherein determining the video frame editing result of the current video frame to be edited based on the single-frame processing list in the event of determining that the single-frame processing list currently meets a video post-processing condition comprises:
determining that the single-frame processing list currently meets a video post-processing condition in the event that the single-frame processing list has cached all associated single-frame processing results required by the current video frame to be edited;
obtaining, from the single-frame processing list, all associated single-frame processing results required by the current video frame to be edited; and
performing a video frame editing on the current video frame to be edited based on a video editing algorithm corresponding to the video editing option in combination with all associated single-frame processing results required by the current video to be edited.

### Claim 8 (depends on 6)

The method of claim 6, wherein the post-processing end condition comprises:
video frame editing results being determined for all video frames with selected frame sequence numbers in the target video, wherein a video frame with a selected frame sequence number in the target video is a video frame to be edited.

### Claim 9 (depends on 6)

The method of claim 6, wherein forming the video editing sequence of the target video based on the video frame editing results of the video frames to be edited corresponding to all selected frame numbers in the frame sequence numbers of the target video and storing the video editing sequence comprises:
arranging the video frame editing results of the video frames to be edited corresponding to the selected frame sequence numbers based on a serialization rule corresponding to the video editing option, and obtaining the video editing sequence and storing the video editing sequence in a nonvolatile manner.

### Claim 10 (depends on 1)

The method of any of claim 1, wherein the video editing option comprises a video intelligent cutting and a video screen freezing.

### Claim 11

(canceled)

### Claim 12

An electronic device, comprising:
at least one processor; and
a storage unit configured to store at least one computer program, the at least one computer program, when executed by the at least one processor, causes the at least one processor to implement actions comprising:
determining a single-frame processing policy and a video post-processing policy corresponding to a video editing option selected by a user;
performing a single-frame processing on video frames of a target video input by the user based on the single-frame processing policy, and caching a single-frame processing result to a single-frame processing list; and
forming a video editing sequence of the target video based on the video post-processing policy in combination with the single-frame processing list, and storing the video editing sequence.

### Claim 13

A non-transitory computer readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements a video editing method comprising:
determining a single-frame processing policy and a video post-processing policy corresponding to a video editing option selected by a user;
performing a single-frame processing on video frames of a target video input by the user based on the single-frame processing policy, and caching a single-frame processing result to a single-frame processing list; and
forming a video editing sequence of the target video based on the video post-processing policy in combination with the single-frame processing list, and storing the video editing sequence.

### Claim 14 (depends on 12)

The electronic device of claim 12, further comprising:
locating a video frame editing result corresponding to a target video frame based on the video editing sequence, and presenting an edited video, the target video frame being any video frame selected by the user from the target video within an editing interface.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein locating the video frame editing result corresponding to the target video frame based on the video editing sequence and presenting the edited video comprises:
monitoring a drag and drop operation of the user against a target video progress bar, determining a video timestamp corresponding to an end of the drag and drop operation;
determining a video frame corresponding to the video timestamp as the target video frame and accessing the video editing sequence; and
deserializing the video editing sequence to obtain a video frame editing result in the video editing sequence, and locating the target video editing result of the target video frame, and playing the edited video with a time node corresponding to the target video frame as a start playing node.

### Claim 16 (depends on 12)

The electronic device of claim 12, wherein performing the single-frame processing on video frames of the target video input by the user based on the single-frame processing policy and caching the single-frame processing result to the single-frame processing list comprises:
receiving the target video input by the user, and decoding a video frame of the target video in real time, and obtaining a decoded video frame which has been decoded;
in response to that the decoded video frame does not meet a preset single-frame processing condition, returning to obtain a decoded video frame until all decoded video frames are obtained;
in response to that the decoded video frame meets the preset single-frame processing condition, inputting the decoded video frame to a single-frame processing model corresponding to the video editing option, and caching the single-frame processing result output by the single-frame processing model to the single-frame processing list; and
in the event that the single-frame processing list does not meet a video post-processing condition, returning to obtain a decoded video frame until all decoded video frames are obtained.

### Claim 17 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the preset single-frame processing condition comprises:
a duration of an interval between an obtaining time point for obtaining the decoded video frame and a single-frame executing time point of a previous video frame of a video frame corresponding to the obtaining time point reaches a set duration; or
the decoded video frame meets a set frame format.

### Claim 18 (depends on 13)

The non-transitory computer readable storage medium of claim 13, further comprising:
locating a video frame editing result corresponding to a target video frame based on the video editing sequence, and presenting an edited video, the target video frame being any video frame selected by the user from the target video within an editing interface.

### Claim 19 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein locating the video frame editing result corresponding to the target video frame based on the video editing sequence and presenting the edited video comprises:
monitoring a drag and drop operation of the user against a target video progress bar, determining a video timestamp corresponding to an end of the drag and drop operation;
determining a video frame corresponding to the video timestamp as the target video frame and accessing the video editing sequence; and
deserializing the video editing sequence to obtain a video frame editing result in the video editing sequence, and locating the target video editing result of the target video frame, and playing the edited video with a time node corresponding to the target video frame as a start playing node.

### Claim 20 (depends on 13)

The non-transitory computer readable storage medium of claim 13, wherein performing the single-frame processing on video frames of the target video input by the user based on the single-frame processing policy and caching the single-frame processing result to the single-frame processing list comprises:
receiving the target video input by the user, and decoding a video frame of the target video in real time, and obtaining a decoded video frame which has been decoded;
in response to that the decoded video frame does not meet a preset single-frame processing condition, returning to obtain a decoded video frame until all decoded video frames are obtained;
in response to that the decoded video frame meets the preset single-frame processing condition, inputting the decoded video frame to a single-frame processing model corresponding to the video editing option, and caching the single-frame processing result output by the single-frame processing model to the single-frame processing list; and
in the event that the single-frame processing list does not meet a video post-processing condition, returning to obtain a decoded video frame until all decoded video frames are obtained.

### Claim 21 (depends on 20)

The non-transitory computer readable storage medium of claim 20, wherein the preset single-frame processing condition comprises:
a duration of an interval between an obtaining time point for obtaining the decoded video frame and a single-frame executing time point of a previous video frame of a video frame corresponding to the obtaining time point reaches a set duration; or
the decoded video frame meets a set frame format.
