Web-based video effect addition
Abstract
The present disclosure provides methods and apparatuses for implementing video effect addition. At a target application, an original video frame may be obtained from a video source; the original video frame may be provided to a video effect processing application, the video effect processing application being a Web application; and a processed video frame to which a video effect is applied may be obtained from the video effect processing application. At a video effect processing application, an original video frame may be obtained from a target application; a video effect may be applied to the original video frame to obtain a processed video frame; and the processed video frame may be provided to the target application.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method for implementing video effect addition, the method being performed at a target application, and the method comprising: obtaining an original video frame from a video source; providing the original video frame to a video effect processing application, the video effect processing application being a Web application executed inside a sandboxed Web content container, wherein the sandboxed Web content container is instantiated in a restricted environment that denies the video effect processing application direct access to operating-system resources other than a designated shared-memory or MessageChannel port; and obtaining, from the video effect processing application, a processed video frame to which a video effect is applied.
- Claim 2Depends on #1
The method of claim 1, wherein the target application is a Web application.
- Claim 3Depends on #2
The method of claim 2, wherein the providing the original video frame comprises: providing the original video frame to the video effect processing application in an approach of transferrable ArrayBuffer, and the obtaining a processed video frame comprises: obtaining, from the video effect processing application, the processed video frame in an approach of transferrable ArrayBuffer.
- Claim 4Depends on #1
The method of claim 1, wherein the target application is a desktop application.
- Claim 5Depends on #4
The method of claim 4, wherein the providing the original video frame comprises: providing the original video frame to the video effect processing application through a shared memory, and the obtaining a processed video frame comprises: obtaining, from the video effect processing application, the processed video frame through the shared memory.
- Claim 6Depends on #5
The method of claim 5, further comprising: implementing, through inter-process communication, synchronous access to the shared memory from the target application and the video effect processing application.
- Claim 7Depends on #1
An apparatus for implementing video effect addition, comprising: at least one processor; and a memory storing computer-executable instructions that, when executed, cause the at least one processor to perform the step of the method of claim 1.
- Claim 8Independent Claim
A method for implementing video effect addition, the method being performed at a video effect processing application, the video effect processing application being a Web application, and the method comprising: obtaining an original video frame from a target application; executing the video effect processing application inside a sandboxed Web content container, wherein the sandboxed Web content container is instantiated in a restricted environment that denies the video effect processing application direct access to operating-system resources other than a designated shared-memory or MessageChannel port: applying a video effect to the original video frame to obtain a processed video frame; and providing the processed video frame to the target application.
- Claim 9Depends on #8
The method of claim 8, wherein the video effect processing application runs in a Web content container.
- Claim 10Depends on #9
The method of claim 9, wherein the target application is a Web application, and the Web content container is iframe.
- Claim 11Depends on #10
The method of claim 10, wherein the obtaining an original video frame comprises: obtaining the original video frame from the target application in an approach of transferrable ArrayBuffer, and the providing the processed video frame comprises: providing the processed video frame to the target application in an approach of transferrable ArrayBuffer.
- Claim 12Depends on #9
The method of claim 9, wherein the target application is a desktop application, and the Web content container is Webview.
- Claim 13Depends on #12
The method of claim 12, wherein the obtaining an original video frame comprises: obtaining the original video frame from the target application through a shared memory, and the providing the processed video frame comprises: providing the processed video frame to the target application through the shared memory.
- Claim 14Depends on #12
The method of claim 12, wherein the video effect processing application runs in a sandbox environment.
- Claim 15Independent Claim
At least one non-transitory machine-readable medium, comprising instructions that when executed by at least one processor, cause the at least one processor to perform operations to: obtain an original video frame from a video source; provide the original video frame to a video effect processing application, the video effect processing application being a Web application executed inside a sandboxed Web content container, wherein the sandboxed Web content container is instantiated in a restricted environment that denies the video effect processing application direct access to operating-system resources other than a designated shared-memory or MessageChannel port; and obtain, from the video effect processing application, a processed video frame to which a video effect is applied.
- Claim 16Depends on #15
The at least one non-transitory medium of claim 15, wherein the target application is a Web application.
- Claim 17Depends on #16
The at least one non-transitory medium of claim 16, wherein the instructions to provide the original video frame further comprises instructions to provide the original video frame to the video effect processing application in an approach of transferrable ArrayBuffer, and the instructions to obtain a processed video frame further comprises instructions to obtain, from the video effect processing application, the processed video frame in an approach of transferrable ArrayBuffer.
- Claim 18Depends on #16
The at least one non-transitory medium of claim 16, wherein the target application is a desktop application.
- Claim 19Depends on #18
The at least one non-transitory medium of claim 18, wherein the instructions to provide the original video frame further comprises instructions to provide the original video frame to the video effect processing application through a shared memory, and the instructions to obtain a processed video frame further comprises instructions to obtain, from the video effect processing application, the processed video frame through the shared memory.
- Claim 20Depends on #19
The at least one non-transitory medium of claim 19, further comprising instructions that when executed by at least one processor, cause the at least one processor to perform operations to: implement, through inter-process communication, synchronous access to the shared memory from the target application and the video effect processing application.
Technical Overview & Description
CLAIM OF PRIORITY This application is a U.S. National Stage Filing under 35 U.S.C. 371 of International Patent Application Serial No. PCT/US2022/036600, filed Jul. 9, 2022, and published as WO 2023/033923 A1 on Mar. 9, 2023, which claims the benefit of priority to Chinese Patent Application No. 202111027952.9, filed Sep. 2, 2021, which applications and publication are incorporated herein by reference in their entirety. BACKGROUND In video-related scenarios, there exists a need of video effect addition. A user may desire to be able to apply a video effect to a video while using a video-related application. Herein, a video-related application may refer to various applications involving operations, e.g., capturing, transferring, presenting, etc., to videos, e.g., an online meeting application, a video streaming service application, etc. Furthermore, applying a video effect to a video may broadly refer to editing or changing pixels in a video frame, e.g., performing operations, such as deleting, replacing, adding, modifying, etc., to pixels. Taking an online meeting application as an example, a meeting participant may desire to apply a video effect, e.g., to apply a filter, to an original video image of the meeting participant captured by a camera, so as to change the original video image as having a desired video effect. SUMMARY This Summary is provided to introduce a selection of concepts that are further described below in the Detailed Description. It is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Embodiments of the present disclosure propose methods and apparatuses for implementing video effect addition. In some embodiments, at a target application, an original video frame may be obtained from a video source; the original video frame may be provided to a video effect processing application, the video effect processing application being a Web
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (16)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Arsenova, Alena.,
- “
- How Augmented Reality Improves Video Calls
- ”
- , accessed on link https://www.banuba.com/blog/augmented-reality-for-video-calls, Apr. 8, 2020, 14 pages.
- Brown, Steve.,
- “
- What is the Impact of Visual Content Marketing?
- ”
- , accessed on link https://rocketium.com/academy/impact-visual-content-marketing/, Jul. 19, 2018, 9 pages.