IP Library › Granted Patent US 12,537,906
Granted Patent B2
US 12,537,906 · App. 18/717,987 · Granted Jan 27, 2026

Video effect packet generation method and apparatus, device, and storage medium

Inventors: Yang Lv (Beijing, CN); Ruifeng Ma (Beijing, CN)
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
H04N5/2621
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 12,537,906
App. No.
18/717,987
Granted
Jan 27, 2026
Kind
B2
Abstract

The present disclosure provides video effect packet generation method and apparatus, device, and storage medium. The method of generating the video effects package includes: obtaining an effects control with an empty input in a general effects graph, and determining the effects control as a target effects control; obtaining effects information in the target effects control and switching to a script effects graph; creating, in the script effects graph and according to the creation operation triggered by the user, a getting control, a frame capture control, a selection control and a setting control, the getting control and the setting control corresponding to the effects information; connecting the getting control, the frame capture control, the selection control and the setting control in sequence to input the captured video frames to the target effects control to generate a video effects package.

Claims (76)

1 . A method for generating a video effects package, comprising:

obtaining an effects control with an empty input in a general effects graph, and determining the effects control as a target effects control;

obtaining effects information in the target effects control and switching to a script effects graph;

creating, in the script effects graph and according to a creation operation triggered by a user, a getting control, a frame capture control, a selection control, and a setting control, the getting control and the setting control corresponding to the effects information; and

connecting the getting control, the frame capture control, the selection control, and the setting control in sequence to input captured video frames to the target effects control, to generate the video effects package.

2 . The method according to claim 1 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, the getting control corresponding to the effects information comprises:

obtaining the effects information from a resource graph;

dragging the effects information into the script effects graph based on a drag operation of the user; and

receiving a getting option selected by the user to generate the getting control corresponding to the effects information.

3 . The method according to claim 1 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, the frame capture control comprises:

creating an initial frame capture control in the script effects graph according to the creation operation triggered by the user; and

generating the frame capture control by receiving a number of captured video frames set by the user in the initial frame capture control.

4 . The method according to claim 3 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, a selection control comprises:

creating an initial selection control in the script effects graph according to the creation operation triggered by the user; and

generating the selection control by receiving a target video frame set by the user in the initial selection control, the target video frame being selected from the captured video frames.

5 . The method according to claim 1 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, a setting control corresponding to the effects information comprises:

obtaining the effects information from a resource graph;

dragging the effects information into the script effects graph based on a drag operation of the user; and

receiving a setting option selected by the user to generate the setting control corresponding to the effects information.

6 . The method according to claim 1 , after the switching to the script effects graph, the method further comprising:

adding a trigger control in the script effects graph and receiving a frame capture trigger condition set by the user in the trigger control, wherein the frame capture trigger condition is to trigger a frame capture operation every N frames, N≥0; and

connecting output of the trigger control with input of the frame capture control.

7 . The method according to claim 1 , before the obtaining the effects control with the empty input in the general effects graph, the method further comprising:

creating, in the general effects graph, a video frame input control, at least one effects control, and a scene output control according to the creation operation triggered by the user, wherein the effects control carries the effects information;

selecting one of the effects controls as the target effects control, and setting at least two inputs to the target effects control; and

connecting the video frame input control, the at least one effects control, and the scene output control in sequence according to set rules based on a connection operation triggered by the user, and leaving one input of the target effects control empty.

8 . An electronic device, comprising:

at least one processor;

a memory storing at least one program which, when executed by the at least one processor, causes the at least one processor to perform operations comprising:

obtaining an effects control with an empty input in a general effects graph, and determining the effects control as a target effects control;

obtaining effects information in the target effects control and switching to a script effects graph;

creating, in the script effects graph and according to a creation operation triggered by a user, a getting control, a frame capture control, a selection control, and a setting control, the getting control and the setting control corresponding to the effects information; and

connecting the getting control, the frame capture control, the selection control, and the setting control in sequence to input captured video frames to the target effects control, to generate the video effects package.

9 . The electronic device according to claim 8 , wherein creating and according to the creation operation triggered by the user, in the script effects graph, the getting control corresponding to the effects information comprises:

obtaining the effects information from a resource graph;

dragging the effects information into the script effects graph based on a drag operation of the user; and

receiving a getting option selected by the user to generate the getting control corresponding to the effects information.

10 . The electronic device according to claim 8 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, the frame capture control comprises:

creating an initial frame capture control in the script effects graph according to the creation operation triggered by the user; and

generating the frame capture control by receiving a number of captured video frames set by the user in the initial frame capture control.

11 . The electronic device according to claim 10 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, a selection control comprises:

creating an initial selection control in the script effects graph according to the creation operation triggered by the user; and

generating the selection control by receiving a target video frame set by the user in the initial selection control, the target video frame being selected from the captured video frames.

12 . The electronic device according to claim 8 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, a setting control corresponding to the effects information comprises:

obtaining the effects information from a resource graph;

dragging the effects information into the script effects graph based on a drag operation of the user; and

receiving a setting option selected by the user to generate the setting control corresponding to the effects information.

13 . The electronic device according to claim 8 , after the switching to the script effects graph, the operations further comprising:

adding a trigger control in the script effects graph and receiving a frame capture trigger condition set by the user in the trigger control, wherein the frame capture trigger condition is to trigger a frame capture operation every N frames, N≥0; and

connecting output of the trigger control with input of the frame capture control.

14 . The electronic device according to claim 8 , before the obtaining the effects control with the empty input in the general effects graph, the operations further comprising:

creating, in the general effects graph, a video frame input control, at least one effects control, and a scene output control according to the creation operation triggered by the user, wherein the effects control carries the effects information;

selecting one of the effects controls as the target effects control, and setting at least two inputs to the target effects control; and

connecting the video frame input control, the at least one effects control, and the scene output control in sequence according to set rules based on a connection operation triggered by the user, and leaving one input of the target effects control empty.

15 . A non-transitory computer-readable medium storing a computer program which, when executed by a processor, causes the processor to perform operations comprising:

obtaining an effects control with an empty input in a general effects graph, and determining the effects control as a target effects control;

obtaining effects information in the target effects control and switching to a script effects graph;

creating, in the script effects graph and according to a creation operation triggered by a user, a getting control, a frame capture control, a selection control, and a setting control, the getting control and the setting control corresponding to the effects information; and

connecting the getting control, the frame capture control, the selection control, and the setting control in sequence to input captured video frames to the target effects control, to generate the video effects package.

16 . The non-transitory computer-readable medium according to claim 15 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, the getting control corresponding to the effects information comprises:

obtaining the effects information from a resource graph;

dragging the effects information into the script effects graph based on a drag operation of the user; and

receiving a getting option selected by the user to generate the getting control corresponding to the effects information.

17 . The non-transitory computer-readable medium according to claim 15 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, the frame capture control comprises:

creating an initial frame capture control in the script effects graph according to the creation operation triggered by the user; and

generating the frame capture control by receiving a number of captured video frames set by the user in the initial frame capture control.

18 . The non-transitory computer-readable medium according to claim 17 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, a selection control comprises:

creating an initial selection control in the script effects graph according to the creation operation triggered by the user; and

generating the selection control by receiving a target video frame set by the user in the initial selection control, the target video frame being selected from the captured video frames.

19 . The non-transitory computer-readable medium according to claim 15 , wherein creating, in the script effects graph and according to the creation operation triggered by the user, a setting control corresponding to the effects information comprises:

obtaining the effects information from a resource graph;

dragging the effects information into the script effects graph based on a drag operation of the user; and

receiving a setting option selected by the user to generate the setting control corresponding to the effects information.

20 . The non-transitory computer-readable medium according to claim 15 , after the switching to the script effects graph, the operations further comprising:

adding a trigger control in the script effects graph and receiving a frame capture trigger condition set by the user in the trigger control, wherein the frame capture trigger condition is to trigger a frame capture operation every N frames, N≥0; and

connecting output of the trigger control with input of the frame capture control.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 5, 2026
From: LV, YANG
To: HANGZHOU JINRITOUTIAO TECHNOLOGY CO., LTD.
Reel/Frame 073364/0722 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 5, 2026
From: MA, RUIFENG
To: BYTEDANCE INC.
Reel/Frame 073364/0898 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 5, 2026
From: HANGZHOU JINRITOUTIAO TECHNOLOGY CO., LTD.
To: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 073364/0989 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 5, 2026
From: BYTEDANCE INC.
To: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 073365/0169 →
Priority Claims (1)
CN 202111506367.7 · Dec 10, 2021 · national
Continuity (1)
Related Publication 20250055954A1 · Feb 13, 2025
References Cited (27)
US 11368746B2 · Xu · 2022 [cited by examiner]
US 11521389B2 · Xu · 2022 [cited by examiner]
US 12020358B2 · Goodrich · 2024 [cited by examiner]
US 12271985B2 · Huang · 2025 [cited by examiner]
US 20090141024A1 · Lee · 2009 [cited by examiner]
US 20090154833A1 · Sakaue · 2009 [cited by examiner]
US 20200201693A1 · Jobi · 2020 [cited by examiner]
US 20200285858A1 · Xu · 2020 [cited by examiner]
US 20200329272A1 · Xu · 2020 [cited by examiner]
US 20210266650A1 · Beck et al. · 2021 [cited by applicant]
US 20220417591A1 · Xiao · 2022 [cited by examiner]
US 20230136013A1 · Goodrich · 2023 [cited by examiner]
US 20230215065A1 · Huang · 2023 [cited by examiner]
CN 109064387A · 2018 [cited by applicant]
CN 110225369A · 2019 [cited by applicant]
CN 110378986A · 2019 [cited by applicant]
CN 112312631A · 2021 [cited by applicant]
CN 112351203A · 2021 [cited by applicant]
CN 113225450A · 2021 [cited by applicant]
CN 113452929A · 2021 [cited by applicant]
CN 114187169A · 2022 [cited by applicant]
CN 114187170A · 2022 [cited by applicant]
EP 2797314A2 · 2014 [cited by applicant]
WO WO2021031733A1 · 2021 [cited by applicant]
WO WO2021047420A1 · 2021 [cited by applicant]
WO WO2021227907A1 · 2021 [cited by applicant]
International Patent Application No. PCT/CN2022/136778; Int'l Search Report; dated Feb. 24, 2023; 3 pages. [cited by applicant]