Method for generating video special effects configuration files, video rendering method and apparatus
The method and apparatus provide a flexible and user-friendly approach to configuring video special effects by allowing users to customize screen split processing and sub-screen rendering, addressing the limitations of fixed code implementations in current video rendering technologies.
Patent Information
- Application Number
- JP2022559874
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-04-02
- Filing Date
- 2021-03-11
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-03-11
AI Technical Summary
Current video rendering technologies lack flexibility and ease of use in configuring screen split special effects, requiring fixed code implementations that are not dynamically customizable.
A method and apparatus for generating a video special effects configuration file that allows users to perform screen splitting operations on a reference image, set special effects on sub-screens, and associate these effects with the sub-screens to create a customizable video special effects configuration file.
Enables flexible and user-friendly configuration of video special effects by allowing users to customize screen split processing and sub-screen rendering, enhancing the ease of use and efficiency of video rendering.
Smart Images

Figure 0007594024000001 
Figure 0007594024000002 
Figure 0007594024000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to the technical field of information processing, and in particular, the present disclosure relates to a video special effect configuration file generating method, a video rendering method and an apparatus. [Background technology]
[0002] With the rapid development of computer technology and mobile communication technology, various application programs (APPs) based on mobile terminals are widely used, improving the convenience and richness of daily life. Various social platform application programs are generally welcomed, and users can publish and share text, video, audio, etc. with others through social platforms.
[0003] When users shoot videos through application programs, they expect richer video display effects, such as displaying multiple split-screen special effects on the same screen. Currently, the rendering effects of different split-screen special effects need to be written in fixed code, which cannot be dynamically configured by designers, resulting in insufficient ease of use and flexibility. Summary of the Invention [Problem to be solved by the invention]
[0004] SUMMARY The present disclosure provides a video special effects configuration file generation method, a video rendering method and an apparatus for solving at least the problems existing in the prior art. [Means for solving the problem]
[0005] The first aspect is acquiring a reference image; receiving a screen division processing operation on a reference image by a user; performing a screen division process on the reference image through a screen division process operation to obtain a plurality of sub-screens; and generating a video special effect configuration file by associating at least one first special effect corresponding to a special effect setting operation with a target sub-screen among a plurality of sub-screens by a user, thereby generating a video special effect configuration file.
[0006] The second aspect is displaying a video special effect configuration file list when receiving a video capture trigger operation by a user; receiving a selection operation of a video special effect configuration file in the video special effect configuration file list by a user, the video special effect configuration file in the video special effect configuration file list being generated by a video special effect configuration file generating method of an embodiment of the present disclosure; The video rendering method includes a step of performing corresponding processing on the shot video using special effects according to a screen division processing method corresponding to a video special effect configuration file corresponding to the special effect selection operation when a video shooting operation by a user is received, using the special effects.
[0007] The third aspect is an acquisition module for acquiring a reference image; a receiving module for receiving a screen division processing operation on the reference image by a user; a screen splitting module for performing screen splitting on the reference image through a screen splitting operation to obtain a plurality of sub-screens; The present invention provides a video special effect configuration file generating device, the video special effect configuration file generating device including a generating module for generating a video special effect configuration file by associating at least one first special effect corresponding to a special effect setting operation on a target sub-screen among a plurality of sub-screens by a user in response to the special effect setting operation on the target sub-screen.
[0008] The fourth aspect is a display module for displaying the video special effect configuration file list when receiving a video capture trigger operation by a user; A receiving module for receiving a selection operation of a video special effect configuration file in the video special effect configuration file list by a user, where the video special effect configuration file in the video special effect configuration file list is generated by the video special effect configuration file generating method of the embodiment of the present disclosure; The video rendering device includes a processing module for, when receiving a video shooting operation by a user, performing corresponding processing on the shot video using special effects by a screen division processing method corresponding to a video special effect configuration file corresponding to a special effect selection operation.
[0009] In a fifth aspect, the present disclosure provides a method for producing a method for manufacturing a semiconductor device comprising: one or more processors; Memory, and one or more application programs stored in a memory and configured to be executed by one or more processors, and configured to perform operations corresponding to the video special effects configuration file generation method described in the first aspect of the present disclosure or the video rendering method described in the second aspect of the present disclosure.
[0010] In a sixth aspect, the present disclosure provides a computer readable medium for storing computer instructions which, when run on a computer, cause the computer to perform the video special effects configuration file generation method according to the first aspect of the present disclosure or the video rendering method according to the second aspect. Effect of the Invention
[0011] The present disclosure may provide at least the following beneficial effects:
[0012] In the video special effect configuration file generating method, video rendering method and device according to the embodiment of the present disclosure, a reference image is obtained, a screen splitting process operation on the reference image is received by a user, a screen splitting process is performed on the reference image through the screen splitting process operation to obtain a plurality of sub-screens, and in response to a special effect setting operation on a target sub-screen among the plurality of sub-screens by the user, at least one first special effect corresponding to the special effect setting operation is associated with the target sub-screen to generate a video special effect configuration file. In the present disclosure, a user can customize the screen splitting process method and the rendering special effect of the sub-screen, making the configuration of the video special effect flexible and more convenient to use. [Brief description of the drawings]
[0013] In order to describe the technical solutions of the embodiments of the present disclosure more clearly, the following briefly describes the drawings required for describing the embodiments of the present disclosure. [Figure 1] 4 is a flowchart of a method for generating a video special effects configuration file according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram of a rendering link list according to an embodiment of the present disclosure. [Diagram 3] 1 is a flowchart of a video rendering method according to an embodiment of the present disclosure. [Figure 4] FIG. 2 is a structural schematic diagram of a video special effect configuration file generating device according to an embodiment of the present disclosure; [Diagram 5] FIG. 1 is a structural schematic diagram of a video rendering device according to an embodiment of the present disclosure. [Figure 6] FIG. 1 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, the embodiments of the present disclosure will be described in more detail with reference to the drawings. Although the drawings show some embodiments of the present disclosure, it is understood that the present disclosure may be realized in various forms and should not be construed as being limited to the embodiments described herein, but rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be noted that the drawings and embodiments of the present disclosure are merely for illustrative purposes and do not limit the scope of protection of the present disclosure.
[0015] It should be noted that the steps recited in the method embodiments of the present disclosure may be performed in different orders and / or in parallel, and method embodiments may include additional steps and / or omit steps that are shown, and the scope of the present disclosure is not limited in this respect.
[0016] As used herein, the term "including" and variations thereof are intended to be open inclusive, i.e., including, but not limited to. The term "based on" means "based at least in part on." The term "in one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one other embodiment," and the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms are provided below.
[0017] However, concepts such as "first" and "second" described in this disclosure are merely intended to distinguish different devices, modules, or units, and are not intended to limit these devices, modules, or units to necessarily different devices, modules, or units, or to limit the order of functions performed by these devices, modules, or units or their mutual dependencies.
[0018] However, the modifiers "one" and "multiple" used in this disclosure are illustrative rather than limiting, and should be understood as "one or more" unless otherwise clearly defined in the context, as would be apparent to one of ordinary skill in the art.
[0019] The names of messages or information exchanged among devices in the embodiments of the present disclosure are used for illustration only, and do not limit the scope of these messages or information.
[0020] The technical solution of the present disclosure and how the technical solution of the present disclosure solves the above technical problems are described in detail below through specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Hereinafter, the embodiments of the present disclosure will be described with reference to the drawings. The video special effect configuration file generating method of the present disclosure may specifically be a visualization video special effect configuration file generating tool, and the video special effect configuration file designer can use the method to generate a video special effect configuration file through the video special effect configuration file generating tool for use by general users who shoot videos and need special effect rendering.
[0021] In the technical solution of the present disclosure, the reference image can be a configuration file image, which can be a reference video screen, and the designer of the video special effect configuration file can generate a video special effect configuration file based on the reference image through the solution of the present disclosure, and can display the special effect corresponding to the configuration file to the user through the reference image, and in practical application, when the user selects a video special effect configuration file, the special effect corresponding to the configuration file can be displayed to the user through the reference image, and when the video is shot, the special effect can be applied to the image of each frame of the video shot by the user. That is, the reference image is only used to display the screen split effect to the user and set the corresponding special effect, and the technical solution of the present disclosure essentially does not process the reference image, but uses the special effect configuration file corresponding to the reference image to perform screen split processing on the screen of the video, sets the special effects corresponding to multiple sub-screens, renders the video according to the special effects, and expresses the special effects set in the configuration file when playing the video.
[0022] FIG. 1 is a flowchart of a method for generating a video special effect configuration file according to an embodiment of the present disclosure, and as shown in FIG. 1, the method may include steps S101 to S104.
[0023] In step S101, a reference image is obtained.
[0024] The execution entity of the present disclosure may be, for example, a terminal device such as a computer, a mobile phone, and the like.
[0025] Here, the reference image may be any image selected by a user (the designer of the video special effect configuration file), and after the reference image is obtained, the reference image may be displayed to the user to facilitate the user to perform screen splitting operation based on the displayed reference image and set the corresponding special effect.
[0026] In step S102, a screen division processing operation on a reference image by a user is received.
[0027] Specifically, the user may perform a screen splitting process on the reference image so that the video expresses a special effect of screen splitting. The screen splitting process operation may include any one of a screen splitting mode selection operation, a sub-screen copy operation, and a sub-screen splitting operation.
[0028] In step S103, a screen division process is performed on the reference image by a screen division process operation to obtain a plurality of sub-screens.
[0029] Through a screen splitting process operation by the user, all or part of the reference image may be displayed on multiple sub-screens, and areas in the video screen corresponding to each of the sub-screens may be determined, and the user may set corresponding special effects for the areas corresponding to each of the sub-screens.
[0030] In one possible embodiment, the screen division processing operation includes a screen division mode selection operation, and the step of performing screen division processing on the reference image to obtain a plurality of sub-screens by the screen division processing operation includes: The method includes a step of performing screen division processing on the reference image in accordance with a screen division mode corresponding to a screen division mode selection operation on the reference image by a user, to obtain a plurality of sub-screens.
[0031] In practical application, the user may select a screen division mode from among preset screen division modes. For example, the preset screen division modes include 3-screen division, 4-screen division, 9-screen division, etc., and according to the screen division mode selected by the user, multiple sub-screens are divided and the reference image is displayed on the multiple sub-screens. For example, if the user selects the 3-screen division mode, three sub-screens are obtained, and if the user selects the 4-screen division mode, four sub-screens are obtained, and the reference image may be displayed on each sub-screen. Of course, each screen division mode may be divided into horizontal screen division, vertical screen division, etc., and specifically, a screen division mode list may be displayed to the user for the user to select, and a screen division mode having a corresponding matrix may be directly generated from the number of rows and columns input by the user. In the embodiment of the present disclosure, the multiple sub-screens obtained by the screen division mode selection operation, and the dimensions and positions of the multiple sub-screens are preset, and the display effect after the screen division is obtained without the need for manual setting by the user, which is easy to operate and favorable for the user to quickly perform screen division.
[0032] In one possible embodiment, the screen division processing operation includes a sub-screen copy operation, and the step of performing screen division processing on the reference image to obtain a plurality of sub-screens by the screen division processing operation includes: The method includes a step of copying the reference image to the reference image by a sub-screen copy operation by a user, thereby obtaining a plurality of sub-screens each displaying the reference image.
[0033] In practical application, the sub-screen copy operation may specifically include copying a sub-screen corresponding to a reference image on a screen, and the user may perform a sub-screen copy operation through a sub-screen copy button to copy a sub-screen corresponding to a reference image, so that multiple sub-screens are displayed on the terminal screen, and the effect of the reference image is displayed on each sub-screen. In the embodiment of the present disclosure, the user may quickly copy a corresponding number of sub-screens through the sub-screen copy operation, which makes the screen splitting operation more flexible.
[0034] In one possible embodiment, the screen division processing operation includes a sub-screen division operation, and the step of performing screen division processing on the reference image to obtain a plurality of sub-screens by the screen division processing operation includes: The method may include a step of dividing the reference image into a plurality of sub-screens, each of which displays a part of the reference image, in response to a sub-screen division operation performed by a user.
[0035] In practical application, the sub-screen splitting operation may specifically include displaying different parts of the reference image on different sub-screens according to a splitting manner, and may also split the reference image multiple times or re-split the split partial images, thereby realizing a split-screen display effect in which the reference image is displayed on multiple sub-screens. In the embodiment of the present disclosure, splitting the screen by performing sub-screen splitting allows different parts of the reference image to be displayed on different sub-screens, which enriches the display effect.
[0036] In step S104, in response to a special effect setting operation by a user on a target sub-screen among the plurality of sub-screens, at least one first special effect corresponding to the special effect setting operation is associated with the target sub-screen to generate a video special effect configuration file.
[0037] After obtaining multiple sub-screens through the screen division process, the user may select one of the sub-screens as a target sub-screen and set a special effect corresponding to the selected sub-screen. Then, the special effect corresponding to the special effect setting operation is associated with the corresponding target sub-screen. After the sub-screen special effect setting is completed, the multiple sub-screens and the special effects corresponding to the sub-screens are stored, and a video special effect configuration file is generated.
[0038] Here, when associating at least one first special effect corresponding to a special effect setting operation with a corresponding target sub-screen, first, indicator information corresponding to the target sub-screen may be obtained, and then the first special effect may be associated with the indicator information corresponding to the target sub-screen, where the indicator information is unique identification information for distinguishing the sub-screen from other sub-screens, and specifically, may include position information of the sub-screen on the screen, or may be another form of identification information, and the present disclosure is not limited thereto.
[0039] The reason for associating the first special effect corresponding to the special effect setting operation with the sign information corresponding to the target sub-screen is that when the sub-screen needs to be rendered, special effect rendering parameters of the associated first special effect are searched for based on the sign information of the sub-screen, and the special effect rendering parameters are used to perform special effect rendering for the sub-screen.
[0040] In addition, the user may set different special effects for multiple sub-screens, or may set special effects for some sub-screens and not for other sub-screens, and sub-screens for which special effects are not set may directly display a video screen when rendering.
[0041] The special effect setting operation may include adding special effect elements to the target sub-screen, and may also include setting the size, position, etc. of the target sub-screen, which will be specifically described in the following embodiments.
[0042] In one possible embodiment, the special effect setting operation includes adding a special effect element to the target sub-screen.
[0043] Here, the special effect elements may include text, video or still images, makeup, filters, etc. Special effect data corresponding to the special effect elements may be obtained from a local special effect database or a cloud special effect database. Text, stickers, etc. may be added to the target sub-screen, and the sticker may include a small-sized image pasted on the screen. For the person in the image, various styles of makeup special effects, such as light makeup, heavy makeup, etc., may be added, and various styles of filters, such as natural, fair, nostalgic, black and white, retro, etc., may be set.
[0044] The operation of setting special effects on the target sub-screen may include setting dimensions in addition to adding special effects.
[0045] In one possible embodiment, the special effect setting operation includes: receiving a size setting operation for the target subscreen by a user; and This is accomplished by determining the dimensions of the target sub-screen based on dimension parameters corresponding to a set dimension operation.
[0046] In practical application, the dimension setting of the target sub-screen may be performed in multiple ways: triggering the display of a dimension input box according to the user's dimension setting operation, and receiving the dimension parameters input by the user, directly displaying a dimension input area, and receiving the dimension parameters input by the user, or selecting and dragging the target sub-screen to adjust the dimension of the target sub-screen, thereby determining the dimension of the target sub-screen, and adjusting the dimension of the target sub-screen by increasing or decreasing the dimension of the target sub-screen, thereby performing customized dimension setting according to the user's operation, which makes the dimension setting of the target sub-screen more flexible.
[0047] The operation of setting special effects on the target sub-screen may include setting a position in addition to adding special effects and setting dimensions.
[0048] In one possible embodiment, the special effect setting operation includes: receiving a position setting operation on a target sub-screen by a user, and determining a position parameter corresponding to the target sub-screen by the position setting operation; and This is done by determining the display position of the target sub-screen based on the position parameter.
[0049] In practical applications, in response to a user's position setting operation, a position input box may be triggered to be displayed to receive the position parameters input by the user, or a position input area may be directly displayed to receive the position parameters input by the user, or the target sub-screen may be moved to a predetermined position in response to a user's operation such as dragging the target sub-screen, thereby determining the position of the target sub-screen and customizing the position setting according to the user's operation, thereby making the position setting of the target sub-screen more flexible.
[0050] In addition to the special effects set by the user for the target sub-screen, the video special effects configuration file of the present disclosure further includes at least one pre-set second special effect that is common to multiple sub-screens among the multiple sub-screens.
[0051] In practical application, the preset second special effect common to the multiple sub-screens may include a common special effect set for all sub-screens obtained by screen division processing. When rendering a video, first, the preset second special effect is rendered for all sub-screens, and then rendering is performed according to the first special effect corresponding to each of the multiple sub-screens.
[0052] The video special effect configuration file may also include setting at least one second special effect in advance for each sub-screen obtained by the screen division process, and setting different second special effects in advance for different sub-screens. When rendering a video, the preset second special effect is rendered for one sub-screen first, and then the first special effect is rendered. For example, sub-screen 1 and sub-screen 2 are obtained by a screen division operation by a user, and the preset second special effects for sub-screen 1 are special effects a1 and b1, and the preset second special effect for sub-screen 2 is special effect c1.
[0053] The second special effect may include special effects such as built-in microdermabrasion, built-in filters, built-in makeup, and may also include other forms of special effects, and the present application is not limited in this regard.
[0054] When rendering the video to be processed using the video special effect configuration file, it is necessary to create a rendering link list in advance and perform the rendering in accordance with the order in the rendering link list.
[0055] In one possible embodiment, the method comprises: generating and storing a rendering link list corresponding to the video special effects configuration file; The rendering link list includes a common rendering link list and a sub-screen rendering link list, the common rendering link list includes special effect nodes of each second special effect and an execution order of each second special effect, the sub-screen rendering link list includes special effect nodes of each first special effect corresponding to the target sub-screen and an execution order of each first special effect, and the first special effect node of the sub-screen rendering link list is connected to the last special effect node of the common rendering link list.
[0056] In actual application, the rendering link list has a branched structure including a common rendering link list and a sub-screen rendering link list, the main chain of the rendering link list is the common rendering link list, the common rendering link list includes special effect nodes of pre-set second special effects common to multiple sub-screens and corresponding execution orders, the branch chain of the rendering link list is the sub-screen rendering link list, the sub-screen rendering link list includes special effect nodes of each first special effect corresponding to the target sub-screen and corresponding execution orders, and the first special effect node of the sub-screen rendering link list and the last special effect node of the common rendering link list are connected to form a rendering link list with a branched structure.
[0057] In one example, the structure of the rendering link list is shown in FIG. 2. The structure of the rendering link list includes a common rendering link list and a sub-screen rendering link list, and the special effect nodes of the second special effect included in the common rendering link list include built-in microdermabrasion, built-in filter, and built-in makeup, and the corresponding execution order is built-in microdermabrasion, built-in filter, and built-in makeup. Next, screen division is performed to obtain multiple sub-screens, and the special effect nodes of the first special effect corresponding to the sub-screen 1 include filter 1-1, filter 1-2, and distortion 1, and the corresponding execution order is filter 1-1, filter 1-2, and distortion 1, and the special effect nodes of the first special effect corresponding to the sub-screen 2 include filter 2-1, filter 2-2, and distortion 2, and the corresponding execution order is filter 2-1, filter 2-2, and distortion 2. Next, sub-screen 1 and sub-screen 2 are combined, and the sub-screen rendering link list corresponding to sub-screen 1, the sub-screen rendering link list corresponding to sub-screen 2, and the common rendering link list are connected via a "screen division" node, resulting in a rendering link list with a branched structure. Here, the smaller the numerical value (1000, 2000... shown in the figure) corresponding to the drawing order (zorder), the higher the priority of the corresponding node to be created, and a node with a larger numerical value overwrites a node with a smaller drawing numerical value.
[0058] Comparing the rendering link list in the present disclosure with the rendering link list in the prior art, the rendering link list in the prior art has a single-chain structure, and each single chain includes a special effect node of at least one pre-set second special effect common to multiple sub-screens and an execution order of each second special effect, as well as a special effect node of a first special effect corresponding to each sub-screen and an execution order of each first special effect. In other words, when rendering any sub-screen, it is necessary to execute a special effect node of at least one pre-set second special effect common to multiple sub-screens.
[0059] Taking the rendering link list in FIG. 2 as an example, when rendering any sub-screen, rendering is performed from the beginning of the rendering link list, and the beginning of the rendering link list is the “Built-in Microdermabrasion” node; whereas in the present disclosure, it is sufficient to execute “Built-in Microdermabrasion”, “Built-in Filter”, and “Built-in Makeup” once, and for rendering all subsequent sub-screens, the node “Screen Split” in the rendering link list is copied and the next sub-screen is rendered from this node, without the need to execute from the beginning.
[0060] Therefore, when rendering a video using the rendering link list of the present disclosure, nodes can be copied from the rendering link list, so that the rendering link list changes from a single-chain structure to a multi-branched structure, and when rendering any sub-screen, it is not necessary to execute the rendering link list from the beginning every time, which results in fewer nodes being executed and makes rendering more efficient.
[0061] In the method for generating a video special effect configuration file according to the embodiment of the present disclosure, a reference image is obtained, a screen splitting process operation is received from a user on the reference image, a screen splitting process is performed on the reference image through the screen splitting process operation to obtain a plurality of sub-screens, and in response to a special effect setting operation on a target sub-screen among the plurality of sub-screens by the user, at least one first special effect corresponding to the special effect setting operation is associated with the target sub-screen to generate a video special effect configuration file. In the present disclosure, a user can customize the screen splitting process method and the rendering special effect of the sub-screen, making the configuration of the video special effect flexible and more convenient to use.
[0062] Once a video special effects configuration file is generated by a video special effects configuration file designer using the video special effects configuration file generation tool, it can be used by general users who shoot videos and require special effects rendering.
[0063] FIG. 3 is a flowchart of a video rendering method according to an embodiment of the present disclosure, and as shown in FIG. 3, the method may include steps S201 to S203.
[0064] In step S201, when a video shooting trigger operation is received from a user, a video special effect configuration file list is displayed.
[0065] When a user uses the application program to shoot a video, when the video shoot button is triggered, the video special effects configuration file list will be displayed to the user, and the user may select a video special effects configuration file from the list.
[0066] In step S202, a user's selection operation for a video special effect configuration file in the video special effect configuration file list is received, and the video special effect configuration file in the video special effect configuration file list is generated by the video special effect configuration file generating method of the embodiment of the present disclosure.
[0067] In step S203, when receiving a video shooting operation by the user, the video shooting device performs corresponding processing on the shot video using special effects according to a screen division processing manner corresponding to the video special effect configuration file corresponding to the special effect selection operation.
[0068] When a video special effects configuration file is selected by the user from the list, the video shot by the user is rendered according to the video special effects configuration file selected by the user, including screen divisions for the video and special effects rendering according to special effect setting parameters corresponding to each screen division.
[0069] When rendering a video, a previously generated rendering link list is executed, and the rendering link list includes a common rendering link list and a sub-screen rendering link list, the common rendering link list includes a special effect node for each second special effect and an execution order for each second special effect, and for one sub-screen, the sub-screen rendering link list includes a special effect node for each first special effect corresponding to the sub-screen and an execution order for each first special effect, and the first special effect node of the sub-screen rendering link list is connected to the last special effect node of the common rendering link list.
[0070] When executing the rendering link list, first, at least one special effect node of a second special effect common to a plurality of sub-screens set in advance is executed, and then, a special effect node of a first special effect corresponding to the plurality of sub-screens is executed.
[0071] Comparing the rendering link list in the present disclosure with the rendering link list in the prior art, the rendering link list in the prior art has a single-chain structure, and each single chain includes a special effect node of at least one pre-set second special effect common to multiple sub-screens and an execution order of each second special effect, as well as a special effect node of a first special effect corresponding to each sub-screen and an execution order of each first special effect. In other words, when rendering any sub-screen, it is necessary to execute a special effect node of at least one pre-set second special effect common to multiple sub-screens.
[0072] Taking the rendering link list in FIG. 2 as an example, when rendering any sub-screen, rendering is performed from the beginning of the rendering link list, and the beginning of the rendering link list is the “Built-in Microdermabrasion” node; whereas in the present disclosure, it is sufficient to execute “Built-in Microdermabrasion”, “Built-in Filter”, and “Built-in Makeup” once, and for rendering all subsequent sub-screens, the node “Screen Split” in the rendering link list is copied and the next sub-screen is rendered from this node, without the need to execute from the beginning.
[0073] Therefore, when rendering a video using the rendering link list of the present disclosure, nodes can be copied from the rendering link list, so that the rendering link list changes from a single-chain structure to a multi-branched structure, and when rendering any sub-screen, there is no need to start from the beginning of the rendering link list, which results in fewer nodes being executed and makes rendering more efficient.
[0074] In the video rendering method according to the embodiment of the present disclosure, when a video shooting trigger operation is received by a user, a video special effect configuration file list is displayed, and a selection operation of a video special effect configuration file in the video special effect configuration file list by the user is received, and the video special effect configuration file in the video special effect configuration file list is generated by the video special effect configuration file generating method of the embodiment of the present disclosure, and when a video shooting operation by the user is received, a corresponding process is performed on the shot video using a special effect by a screen division processing method corresponding to the video special effect configuration file corresponding to the special effect selection operation. In the present disclosure, by rendering the shot video using a special effect by a screen division processing method corresponding to the video special effect configuration file, repeated execution of some nodes in the rendering link list is avoided, and rendering is made more efficient.
[0075] Based on the same principle as the method shown in FIG. 1, an embodiment of the present disclosure further provides a video special effect configuration file generating device 30, as shown in FIG. 4, the video special effect configuration file generating device 30 includes: an acquisition module 31 for acquiring a reference image; a receiving module 32 for receiving a screen division processing operation on the reference image by a user; a screen division module 33 for performing screen division processing on the reference image through a screen division processing operation to obtain a plurality of sub-screens; The video system may also include a generation module 34 for generating a video special effect configuration file by associating at least one first special effect corresponding to a special effect setting operation on a target sub-screen among the plurality of sub-screens by a user, the target sub-screen being set with the at least one first special effect corresponding to the special effect setting operation.
[0076] In one possible embodiment, the screen split processing operation includes a screen split mode selection operation, and the screen split module 33: The screen division processing is performed on the reference image in accordance with a screen division mode corresponding to a screen division mode selection operation on the reference image by the user, and is used to obtain a plurality of sub-screens.
[0077] In one possible embodiment, the screen splitting processing operation includes a sub-screen copy operation, and the screen splitting module 33: The reference image is copied by a sub-screen copy operation by the user onto the reference image, and a plurality of sub-screens each displaying the reference image are obtained.
[0078] In one possible embodiment, the screen split processing operation includes a sub-screen split operation, and the screen split module 33 is The sub-screen division is used to divide the reference image by a sub-screen division operation performed by the user, thereby obtaining a plurality of sub-screens each displaying a part of the reference image.
[0079] In one possible embodiment, the special effect setting operation includes adding a special effect element to the target sub-screen.
[0080] In one possible embodiment, the special effect setting operation includes: receiving a size setting operation for the target subscreen by a user; and This is done by determining the dimensions of the target subscreen based on the dimension parameters corresponding to the set dimension operation.
[0081] In one possible embodiment, the special effect setting operation includes: receiving a position setting operation on a target sub-screen by a user, and determining a position parameter corresponding to the target sub-screen by the position setting operation; and This is done by determining the display position of the target sub-screen based on the position parameter.
[0082] In one possible embodiment, the video special effects configuration file further includes at least one second pre-configured special effect common to multiple sub-screens of the multiple sub-screens.
[0083] In one possible embodiment, the generation module 34 further comprises: generating and storing a rendering link list corresponding to the video special effect configuration file; The rendering link list includes a common rendering link list and a sub-screen rendering link list, the common rendering link list includes special effect nodes of each second special effect and an execution order of each second special effect, the sub-screen rendering link list includes special effect nodes of each first special effect corresponding to a target sub-screen and an execution order of each first special effect, and the first special effect node of the sub-screen rendering link list is connected to the last special effect node of the common rendering link list.
[0084] The video special effect configuration file generating apparatus according to the embodiments of the present disclosure can execute the video special effect configuration file generating method according to the embodiments of the present disclosure, and the realization principles of both are similar, and the operations performed by each module of the video special effect configuration file generating apparatus according to each embodiment of the present disclosure correspond to the steps of the video special effect configuration file generating method according to each embodiment of the present disclosure, and for a detailed explanation of the functions of each module of the video special effect configuration file generating apparatus, please refer to the explanation of the corresponding video special effect configuration file generating method as above, and will not be described in detail here.
[0085] In the video special effect configuration file generating device according to the embodiment of the present disclosure, a reference image is obtained, a screen splitting process operation is received from a user on the reference image, a screen splitting process is performed on the reference image through the screen splitting process operation to obtain a plurality of sub-screens, and in response to a special effect setting operation on a target sub-screen among the plurality of sub-screens by the user, at least one first special effect corresponding to the special effect setting operation is associated with the target sub-screen to generate a video special effect configuration file. In the present disclosure, a user can customize the screen splitting process method and the rendering special effect of the sub-screen, making the configuration of the video special effect flexible and more convenient to use.
[0086] Based on the same principle as the method shown in FIG. 3, an embodiment of the present disclosure further provides a video rendering device 40, which, as shown in FIG. 5, includes: a display module 41 for displaying a video special effect configuration file list when receiving a video capture trigger operation by a user; A receiving module 42 for receiving a selection operation of a video special effect configuration file in the video special effect configuration file list by a user, where the video special effect configuration file in the video special effect configuration file list is generated by a video special effect configuration file generating method according to an embodiment of the present disclosure; It may also include a processing module 43 for, upon receiving a video shooting operation by a user, performing corresponding processing on the shot video using special effects according to a screen splitting processing manner corresponding to the video special effect configuration file corresponding to the special effect selection operation.
[0087] The video rendering device of the embodiments of the present disclosure can execute the video rendering method according to the embodiments of the present disclosure, and the realization principles of both are similar, and the operations performed by each module of the video rendering device in each embodiment of the present disclosure correspond to the steps of the video rendering method related to each embodiment of the present disclosure, and for a detailed explanation of the functions of each module of the video rendering device, specifically, reference may be made to the explanation of the corresponding video rendering method as described above, and a detailed explanation will not be given here.
[0088] In the video rendering device according to the embodiment of the present disclosure, when a video shooting trigger operation is received by a user, a video special effect configuration file list is displayed, and a selection operation by the user to a video special effect configuration file in the video special effect configuration file list is received, and the video special effect configuration file in the video special effect configuration file list is generated by the video special effect configuration file generation method of the embodiment of the present disclosure, and when a video shooting operation by the user is received, a corresponding process is performed on the shot video using a special effect by a screen division processing method corresponding to the video special effect configuration file corresponding to the special effect selection operation. In the present disclosure, by rendering the shot video using a special effect by the screen division processing method corresponding to the video special effect configuration file, repeated execution of some nodes in the rendering link list is avoided, and rendering is made more efficient.
[0089] Referring now to FIG. 6, a structural schematic diagram of an electronic device 600 suitable for implementing the embodiments of the present disclosure is shown. The implementation electronic devices in the technical solutions of the embodiments of the present disclosure include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG. 6 is merely an example and does not limit the functions and scope of use of the embodiments of the present disclosure in any way.
[0090] The electronic device includes a memory and a processor, where the processor may be referred to as a processing device 601 below, and the memory may include at least one of a read-only memory (ROM) 602, a random access memory (RAM) 603, and a storage device 608 below, specifically as follows. As shown in FIG. 6, the electronic device 600 may include a processing device (e.g., a central processor, a graphic processor, etc.) 601, and may perform various appropriate operations and processes according to a program stored in the read-only memory (ROM) 602 or a program loaded from the storage device 608 to the random access memory (RAM) 603. The RAM 603 further stores various programs and data required for the operation of the electronic device 600. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0091] Typically, the following devices may be connected to the I / O interface 605, including input devices 606, including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyro, etc.; output devices 607, including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 608, including, for example, a magnetic tape, hard disk, etc.; and communication devices 609. The communication devices 609 allow the electronic device 600 to communicate wirelessly or via wires with other devices to exchange data. Although the electronic device 600 is shown in FIG. 6 as a variety of devices, it will be understood that it is not required to implement or include all of the devices shown. Alternatively, more or fewer devices may be implemented or included.
[0092] In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product including a computer program carried on a non-transitory computer-readable storage medium, the computer program including program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 609, installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, it performs the above-mentioned functions defined in the method of the embodiment of the present disclosure.
[0093] It should be noted that the above non-transitory computer readable storage medium of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of both. The computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage medium include, but are not limited to, an electrical connection having one or more leads, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or flash memory), an optical fiber, a portable compact disk read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in combination with an instruction execution system, apparatus or device. In the present disclosure, the computer readable signal medium may include a data signal conveyed in baseband or as part of a carrier, and the computer readable program code is loaded thereon. The data signals thus transmitted may take various forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium, which may transmit, convey, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained in the computer-readable storage medium may be transmitted over any suitable medium, including, but not limited to, wires, fiber optic cables, RF (radio frequency), etc., or any suitable combination of the above.
[0094] In some embodiments, the clients and servers may communicate using any network protocol now known or later developed, such as HyperText Transfer Protocol (HTTP), and may be interconnected to communicate (e.g., a communications network) with digital data in any form or medium. Examples of communications networks include local area networks ("LANs"), wide area networks ("WANs"), the World Wide Web (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), and any networks now known or later developed.
[0095] The computer-readable storage medium may be included in the electronic device, or may exist independently of the electronic device.
[0096] The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by the electronic device, the electronic device executes the following steps: acquiring a reference image and receiving a screen splitting processing operation on the reference image by a user; performing screen splitting processing on the reference image through the screen splitting processing operation to obtain a plurality of sub-screens; and in response to a special effect setting operation on a target sub-screen among the plurality of sub-screens by the user, associating at least one first special effect corresponding to the special effect setting operation with the target sub-screen to generate a video special effect configuration file.
[0097] Alternatively, the method includes the steps of: upon receiving a video shooting trigger operation by a user, displaying a video special effect configuration file list; receiving a user's selection operation of a video special effect configuration file in the video special effect configuration file list, wherein the video special effect configuration file in the video special effect configuration file list is generated by the video special effect configuration file generation method of an embodiment of the present disclosure; and upon receiving a video shooting operation by the user, performing corresponding processing on the shot video using special effects by a screen split processing method corresponding to the video special effect configuration file corresponding to the special effect selection operation.
[0098] Computer program code for carrying out the operations of the present disclosure may be written in one or more programming languages or combinations thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computer, partially on the user computer, as a separate software package, partially on the user computer and partially on a remote computer, or entirely on a remote computer or server. When a remote computer is involved, the remote computer may be connected to the user computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., connected via the Internet by an Internet Service Provider).
[0099] The flowcharts and block diagrams in the drawings illustrate the architecture, functions, and operations that may be realized by the systems, methods, and computer program products according to the embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or part of code, which includes one or more executable instructions for implementing a certain logical function. It should be noted that in some alternative forms, the functions shown in the blocks may occur in a different order than that shown in the drawings. For example, two consecutively shown blocks may actually be executed in parallel or in the reverse order depending on the function. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts may be realized by a system based on dedicated hardware that executes a certain function or operation, or by a combination of dedicated hardware and computer instructions.
[0100] The modules or units described in the embodiments of the present disclosure may be implemented in the form of software or hardware, and the names of the modules or units may not be used to limit the units themselves in some cases.
[0101] The functions herein may be performed, at least in part, by one or more hardware logic components. For example, but not limited to, exemplary types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), ASSPs, systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.
[0102] In the context of this disclosure, a machine-readable medium may be a tangible medium that contains or stores a program used by or in combination with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination thereof. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0103] According to one or more embodiments of the present disclosure, the present disclosure provides a method for producing a liquid crystal display comprising: acquiring a reference image; receiving a screen division processing operation on a reference image by a user; performing a screen division process on the reference image through a screen division process operation to obtain a plurality of sub-screens; and generating a video special effect configuration file by associating at least one first special effect corresponding to a special effect setting operation with a target sub-screen among a plurality of sub-screens by a user, thereby generating a video special effect configuration file.
[0104] In one possible embodiment, the screen division processing operation includes a screen division mode selection operation, and the step of performing screen division processing on the reference image to obtain a plurality of sub-screens by the screen division processing operation includes: The method includes a step of performing screen division processing on the reference image in accordance with a screen division mode corresponding to a screen division mode selection operation on the reference image by a user, to obtain a plurality of sub-screens.
[0105] In one possible embodiment, the screen division processing operation includes a sub-screen copy operation, and the step of performing screen division processing on the reference image to obtain a plurality of sub-screens by the screen division processing operation includes: The method includes a step of copying the reference image to the reference image by a sub-screen copy operation by a user, thereby obtaining a plurality of sub-screens each displaying the reference image.
[0106] In one possible embodiment, the screen division processing operation includes a sub-screen division operation, and the step of performing screen division processing on the reference image to obtain a plurality of sub-screens by the screen division processing operation includes: The method includes a step of dividing the reference image into a plurality of sub-screens by a sub-screen division operation performed by a user, thereby obtaining a plurality of sub-screens each displaying a part of the reference image.
[0107] In one possible embodiment, the special effect setting operation includes adding a special effect element to the target sub-screen.
[0108] In one possible embodiment, the special effect setting operation includes: receiving a size setting operation for the target subscreen by a user; and This is done by determining the dimensions of the target subscreen based on the dimension parameters corresponding to the set dimension operation.
[0109] In one possible embodiment, the special effect setting operation includes: receiving a position setting operation on a target sub-screen by a user, and determining a position parameter corresponding to the target sub-screen by the position setting operation; and This is done by determining the display position of the target sub-screen based on the position parameter.
[0110] In one possible embodiment, the video special effects configuration file further includes at least one second pre-configured special effect common to multiple sub-screens of the multiple sub-screens.
[0111] In one possible embodiment, the method comprises: generating and storing a rendering link list corresponding to the video special effects configuration file; The rendering link list includes a common rendering link list and a sub-screen rendering link list, the common rendering link list includes special effect nodes of each second special effect and an execution order of each second special effect, the sub-screen rendering link list includes special effect nodes of each first special effect corresponding to a target sub-screen and an execution order of each first special effect, and the first special effect node of the sub-screen rendering link list is connected to the last special effect node of the common rendering link list.
[0112] According to one or more embodiments of the present disclosure, the present disclosure provides a method for producing a liquid crystal display comprising: displaying a video special effect configuration file list when receiving a video capture trigger operation by a user; receiving a selection operation of a video special effect configuration file in the video special effect configuration file list by a user, the video special effect configuration file in the video special effect configuration file list being generated by a video special effect configuration file generating method of an embodiment of the present disclosure; The video rendering method includes a step of performing corresponding processing on the shot video using special effects according to a screen division processing method corresponding to a video special effect configuration file corresponding to the special effect selection operation when a video shooting operation by a user is received, using the special effects.
[0113] According to one or more embodiments of the present disclosure, the present disclosure provides a method for producing a liquid crystal display comprising: an acquisition module for acquiring a reference image; a receiving module for receiving a screen division processing operation on the reference image by a user; a screen splitting module for performing screen splitting on the reference image through a screen splitting operation to obtain a plurality of sub-screens; The present invention provides a video special effect configuration file generating device, the video special effect configuration file generating device including a generating module for generating a video special effect configuration file by associating at least one first special effect corresponding to a special effect setting operation on a target sub-screen among a plurality of sub-screens by a user in response to the special effect setting operation on the target sub-screen.
[0114] In one possible embodiment, the screen split processing operation includes a screen split mode selection operation, and the screen split module includes: The screen division processing is performed on the reference image in accordance with a screen division mode corresponding to a screen division mode selection operation on the reference image by the user, and is used to obtain a plurality of sub-screens. In one possible embodiment, the screen splitting processing operation includes a sub-screen copy operation, and the screen splitting module includes: The sub-screen copy operation by the user to copy the reference image is used to obtain a plurality of sub-screens for displaying the reference image respectively.
[0115] In one possible embodiment, the screen split processing operation includes a sub-screen split operation, and the screen split module includes: The sub-screen division is used to divide the reference image by a sub-screen division operation performed by the user, thereby obtaining a plurality of sub-screens each displaying a part of the reference image.
[0116] In one possible embodiment, the special effect setting operation includes adding a special effect element to the target sub-screen.
[0117] In one possible embodiment, the special effect setting operation includes: receiving a size setting operation for the target subscreen by a user; and This is done by determining the dimensions of the target subscreen based on the dimension parameters corresponding to the set dimension operation.
[0118] In one possible embodiment, the special effect setting operation includes: receiving a position setting operation on a target sub-screen by a user, and determining a position parameter corresponding to the target sub-screen by the position setting operation; and This is done by determining the display position of the target sub-screen based on the position parameter.
[0119] In one possible embodiment, the video special effects configuration file further includes at least one second pre-configured special effect common to multiple sub-screens of the multiple sub-screens.
[0120] In one possible embodiment, the generation module further comprises: generating and storing a rendering link list corresponding to the video special effect configuration file; The rendering link list includes a common rendering link list and a sub-screen rendering link list, the common rendering link list includes special effect nodes of each second special effect and an execution order of each second special effect, the sub-screen rendering link list includes special effect nodes of each first special effect corresponding to a target sub-screen and an execution order of each first special effect, and the first special effect node of the sub-screen rendering link list is connected to the last special effect node of the common rendering link list.
[0121] According to one or more embodiments of the present disclosure, the present disclosure provides a method for producing a liquid crystal display comprising: a display module for displaying the video special effect configuration file list when receiving a video capture trigger operation by a user; A receiving module for receiving a selection operation of a video special effect configuration file in the video special effect configuration file list by a user, the video special effect configuration file in the video special effect configuration file list being generated by a video special effect configuration file generating method of an embodiment of the present disclosure; and a processing module for, when receiving a video shooting operation by a user, performing corresponding processing on the shot video using special effects according to a screen division processing manner corresponding to a video special effect configuration file corresponding to the special effect selection operation.
[0122] According to one or more embodiments of the present disclosure, the present disclosure provides a method for producing a liquid crystal display comprising: one or more processors; Memory, and one or more application programs stored in the memory and configured to be executed by the one or more processors, and configured to perform the video special effect configuration file generation method or the video rendering method.
[0123] According to one or more embodiments of the present disclosure, the present disclosure provides a method for producing a liquid crystal display comprising: A computer readable medium for storing computer instructions which, when run on a computer, cause the computer to perform said video special effects configuration file generation method or video rendering method is provided.
[0124] The above description is only for illustrating the preferred embodiments of the present disclosure and the technical principles used. It is obvious to those skilled in the art that the scope of the disclosure of the present disclosure is not limited to the technical solution of the specific combination of the above technical features, but also covers other technical solutions that combine the above technical features or equivalent features in any way without departing from the idea of the above disclosure, such as the above features and the technical features having similar functions (including but not limited to) disclosed in the present disclosure.
[0125] In addition, although operations are shown in a particular order, it should not be understood that these operations must be performed in the particular order or sequence shown. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although the above description includes numerous details, these details should not be construed as limiting the scope of the disclosure. Some features that are described in the context of a single embodiment may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments independently or in any suitable subcombination.
[0126] Although the present subject matter has been described in terms corresponding to structural features and / or logical operations of a method, the subject matter defined by the appended claims should not be limited to the specific features or operations described above. Rather, the specific features and operations described above are merely examples for implementing the claims.
[0127] This application claims priority to application number 202010256356.7, filed with the State Intellectual Property Office of China on April 2, 2020, the entire contents of which are incorporated herein by reference for all purposes.
Claims
1. 1. A method for generating a video special effects configuration file, comprising: acquiring a reference image; receiving a screen division processing operation on the reference image by a user; performing a screen division process on the reference image by the screen division process operation to obtain a plurality of sub-screens; in response to a special effect setting operation by a user on a target sub-screen among the plurality of sub-screens, generating a video special effect configuration file by associating at least one first special effect corresponding to the special effect setting operation with the target sub-screen; A method for generating a video special effects configuration file, wherein the video special effects configuration file further includes at least one second preset special effect common to a plurality of sub-screens among the plurality of sub-screens.
2. the screen split processing operation includes a screen split mode selection operation; The step of performing screen division processing on the reference image to obtain a plurality of sub-screens by the screen division processing operation includes:
2. The method for generating a video special effect configuration file according to claim 1, further comprising a step of performing a screen splitting process on the reference image according to a screen splitting mode corresponding to a screen splitting mode selection operation on the reference image by a user to obtain a plurality of sub-screens.
3. The screen division processing operation includes a sub-screen copy operation; The step of performing screen division processing on the reference image to obtain a plurality of sub-screens by the screen division processing operation includes:
2. The method for generating a video special effect configuration file according to claim 1, further comprising the step of: copying said reference image by a sub-screen copy operation by a user onto said reference image, thereby obtaining a plurality of sub-screens each displaying said reference image.
4. The screen split processing operation includes a sub-screen split operation; The step of performing screen division processing on the reference image to obtain a plurality of sub-screens by the screen division processing operation includes:
2. The method for generating a video special effect configuration file according to claim 1, further comprising a step of dividing the reference image into a plurality of sub-screens, each of which displays a portion of the reference image, in response to a sub-screen division operation performed by a user on the reference image.
5. The method for generating a video special effect configuration file according to any one of claims 1 to 4, wherein the special effect setting operation includes adding a special effect element to the target sub-screen.
6. The special effect setting operation is receiving a size setting operation for the target sub-screen by a user; and The method for generating a video special effect configuration file according to any one of claims 1 to 4, performed by determining dimensions of the target sub-screen based on dimension parameters corresponding to the dimension setting operation.
7. The special effect setting operation is receiving a user positioning operation on the target sub-screen, and determining position parameters corresponding to the target sub-screen by the user positioning operation; and The method for generating a video special effect configuration file according to any one of claims 1 to 4, performed by determining a display position of the target sub-screen based on the position parameter.
8. The method for generating a video special effect configuration file includes: generating and storing a rendering link list corresponding to the video special effects configuration file; 2. The method for generating a video special effect configuration file of claim 1, wherein the rendering link list includes a common rendering link list and a sub-screen rendering link list, the common rendering link list includes a special effect node of each of the second special effects and an execution order of each of the second special effects, the sub-screen rendering link list includes a special effect node of each of the first special effects corresponding to the target sub-screen and an execution order of each of the first special effects, and the first special effect node of the sub-screen rendering link list and the last special effect node of the common rendering link list are connected.
9. 1. A video rendering method comprising: displaying a video special effect configuration file list when receiving a video capture trigger operation by a user; receiving a user's selection operation for a video special effect configuration file in the video special effect configuration file list, the video special effect configuration file in the video special effect configuration file list being generated by the video special effect configuration file generating method according to any one of claims 1 to 8; A video rendering method including the step of, when receiving a video shooting operation by a user, performing corresponding processing on the shot video using special effects according to a screen division processing manner corresponding to the video special effect configuration file corresponding to the special effect selection operation.
10. A video special effect configuration file generator, comprising: an acquisition module for acquiring a reference image; a receiving module for receiving a screen division processing operation on the reference image by a user; a screen splitting module for performing screen splitting on the reference image through the screen splitting operation to obtain a plurality of sub-screens; a generating module for generating a video special effect configuration file in response to a special effect setting operation by a user on a target sub-screen among the plurality of sub-screens by associating at least one first special effect corresponding to the special effect setting operation with the target sub-screen; A video special effects configuration file generating device, wherein the video special effects configuration file further includes at least one second preset special effect common to a plurality of sub-screens among the plurality of sub-screens.
11. 1. A video rendering device, comprising: a display module for displaying the video special effect configuration file list when receiving a video capture trigger operation by a user; a receiving module for receiving a selection operation by a user to a video special effect configuration file in the video special effect configuration file list, the video special effect configuration file in the video special effect configuration file list being generated by the video special effect configuration file generating method according to any one of claims 1 to 8; and a processing module for, when receiving a video shooting operation by a user, performing corresponding processing on the shot video using special effects according to a screen division processing manner corresponding to a video special effect configuration file corresponding to the special effect selection operation.
12. one or more processors; Memory, and one or more application programs stored in the memory and configured to be executed by the one or more processors, and configured to perform the video special effect configuration file generation method of any one of claims 1 to 8 or the video rendering method of claim 9.
13. A computer readable medium for storing computer instructions which, when run on a computer, causes the computer to carry out the method for generating a video special effect configuration file according to any one of claims 1 to 8 or the method for video rendering according to claim 9.
Citation Information
Patent Citations
Display method, apparatus, hardware apparatus, and computer readable storage medium
CN109144384A
Method, device and electronic device for generating special effect program file packages and generating special effects
JP2021508883A
Image capture and manipulation
US20070081740A1
Electronic camera, image display device, and image display program
WO2013175784A1
