A multimedia resource processing method, device, equipment and storage medium

By adding virtual light sources and providing adjustment functions to the video editing page, the problem of insufficient interactive functions in multimedia resource processing tools is solved, improving the display effect of videos and images and the user experience.

CN119729109BActive Publication Date: 2026-06-05BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2023-09-28
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing multimedia resource processing tools lack rich interactive functions, cannot effectively improve the display effect of videos and images, and have an insufficient user experience.

Method used

Add virtual light sources to the video editing page and provide a light source parameter adjustment panel that supports adjustment of light source type, color, intensity, depth and display position. Allow users to customize or select predefined light sources and support multi-light source processing and effect comparison.

Benefits of technology

By adding and adjusting virtual light sources, the display effect of multimedia resources is enhanced, and the user's editing experience and image processing flexibility are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729109B_ABST
    Figure CN119729109B_ABST
Patent Text Reader

Abstract

The present disclosure provides a multimedia resource processing method, device and equipment and storage medium, the method comprises: first, receiving the light source adding operation for the target processing image, wherein the target processing image comprises one or more frames of image, the target processing image on which a first virtual light source is shown is displayed on a video clip page, wherein the first virtual light source is generated based on the light source adding operation, the video track is displayed on the video clip page, and the target processing image corresponds to all or part of the image frames in the video track. It can be seen that the embodiment of the present disclosure can support the function of adding a virtual light source to the target processing image on the video clip page, so as to improve the display effect of the target processing image, thereby improving the user's editing experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data processing, and in particular to a multimedia resource processing method, apparatus, device, and storage medium. Background Technology

[0002] With the continuous improvement of multimedia resource processing technology, people's demands for the interactive functions supported by multimedia resource editing tools are becoming increasingly diversified. For example, lighting effects can be applied to videos and images to improve their display quality.

[0003] Therefore, how to enrich the functions related to multimedia resource processing in order to improve the user experience is a technical problem that urgently needs to be solved. Summary of the Invention

[0004] To address the aforementioned technical problems, this disclosure provides a multimedia resource processing method.

[0005] In a first aspect, this disclosure provides a multimedia resource processing method, the method comprising:

[0006] Receive a light source addition operation for a target image to be processed; wherein the target image to be processed includes one or more frames of images;

[0007] The target processed image is displayed on the video editing page with the first virtual light source applied; wherein the first virtual light source is generated based on the light source addition operation, the video editing page displays a video track, and the target processed image corresponds to all or part of the image frames in the video track.

[0008] In one optional implementation, after displaying the target processed image with the first virtual light source applied on the video editing page, the method further includes:

[0009] A light source parameter adjustment panel is displayed on the video editing page;

[0010] In response to parameter adjustment operations for the first virtual light source on the light source parameter adjustment panel, the display effect of the first virtual light source is updated.

[0011] In one optional implementation, the adjustable parameters displayed on the light source parameter adjustment panel include the object on which the light source acts, and the object on which the light source acts includes at least one of a person object, a background object, and a panoramic object. The step of updating the display effect of the first virtual light source in response to a parameter adjustment operation on the light source parameter adjustment panel for the first virtual light source includes:

[0012] In response to parameter adjustment operations on the light source parameter adjustment panel for the light source target, the target light source target on the target processing object is identified;

[0013] This displays the effect of the first virtual light source acting on the target object in the target processed image.

[0014] In one optional embodiment, the adjustable parameters displayed on the light source parameter adjustment panel include at least one of the following:

[0015] The light source type, light source color information, light source intensity, light source depth, and light source display position; wherein, the light source type includes point light source type and / or parallel light type.

[0016] In one optional implementation, the receiving of the light source addition operation for the target image includes:

[0017] A trigger operation is received to select the first virtual light source from a plurality of predefined virtual light sources for the target image being processed; wherein the predefined virtual light source carries pre-set light source parameters.

[0018] In one optional implementation, the receiving of the light source addition operation for the target image includes:

[0019] Receive a custom light source operation for the target image being processed; wherein the custom light source operation is used to trigger the adjustment of the initial parameters of the first virtual light source.

[0020] In one optional implementation, displaying the target processed image with a first virtual light source applied on the video editing page includes:

[0021] The target processed image is displayed on the video editing page with at least two virtual light sources; wherein the at least two virtual light sources include the first virtual light source.

[0022] In one optional implementation, the method further includes:

[0023] In response to the removal operation for the first virtual light source, the first virtual light source is removed from the target processed image.

[0024] In one optional implementation, the method further includes:

[0025] In response to a dragging operation performed within the display area of ​​the first virtual light source, the first virtual light source is displayed along the dragging trajectory corresponding to the dragging operation.

[0026] In one optional implementation, the method further includes:

[0027] In response to a first effect comparison operation for the target processed image, the first virtual light source on the target processed image is hidden;

[0028] In response to a second effect comparison operation on the target processed image, the first virtual light source on the target processed image is redisplayed.

[0029] In one optional implementation, the method further includes:

[0030] In response to the completion of the light source setting operation for the target processed image, a result video is generated based on the target processed image with the first virtual light source applied; wherein the result video includes the target processed image with the first virtual light source applied.

[0031] In one optional implementation, the target processing image includes a first target image and a second target image, and the receiving of a light source addition operation for the target processing image includes:

[0032] The system receives an operation to add a second virtual light source to the first target image, and also receives an operation to add a third virtual light source to the second target image.

[0033] Accordingly, the method further includes:

[0034] Based on the first target image, the second target image, the second virtual light source, and the third virtual light source, virtual light sources corresponding to the image frames in the target video segment are generated respectively; wherein, the target video segment includes image frames located between the first target image and the second target image.

[0035] Secondly, this disclosure provides a multimedia resource processing apparatus, the apparatus comprising:

[0036] A receiving module is used to receive a light source addition operation for a target image being processed; wherein the target image being processed includes one or more frames of images;

[0037] A display module is used to display the target processed image with a first virtual light source on a video editing page; wherein the video editing page displays a video track, and the target processed image corresponds to all or part of the image frames in the video track.

[0038] Thirdly, this disclosure provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to implement the above-described method.

[0039] Fourthly, this disclosure provides a multimedia resource processing device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the above-described method.

[0040] Fifthly, this disclosure provides a computer program product comprising a computer program / instruction that, when executed by a processor, implements the method described above.

[0041] The technical solution provided in this disclosure has at least the following advantages compared with the prior art:

[0042] This disclosure provides a multimedia resource processing method. First, a light source addition operation is received for a target image being processed. The target image includes one or more frames. The target image with a first virtual light source is displayed on a video editing page. The first virtual light source is generated based on the light source addition operation. A video track is displayed on the video editing page, and the target image corresponds to all or part of the image frames in the video track. Therefore, this disclosure supports the function of adding virtual light sources to a target image on a video editing page to improve the display effect of the target image and thus enhance the user's editing experience. Attached Figure Description

[0043] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0044] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 A flowchart illustrating a multimedia resource processing method provided in this embodiment of the disclosure;

[0046] Figure 2 A schematic diagram of a video editing page provided in an embodiment of this disclosure;

[0047] Figure 3 A schematic diagram of a video editing page provided in an embodiment of this disclosure;

[0048] Figure 4 A schematic diagram of a video editing page provided in an embodiment of this disclosure;

[0049] Figure 5A schematic diagram of a video editing page provided in an embodiment of this disclosure;

[0050] Figure 6 A schematic diagram of another video editing page provided in an embodiment of this disclosure;

[0051] Figure 7 This is a schematic diagram of the structure of a multimedia resource processing device provided in an embodiment of the present disclosure;

[0052] Figure 8 This is a schematic diagram of the structure of a multimedia resource processing device provided in an embodiment of the present disclosure. Detailed Implementation

[0053] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0054] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0055] With the continuous improvement of multimedia resource processing technology, people's demands for the interactive functions supported by multimedia resource editing tools are becoming increasingly diversified. For example, lighting effects can be applied to videos and images to improve their display quality.

[0056] Therefore, how to enrich the functions related to multimedia resource processing in order to improve the user experience is a technical problem that urgently needs to be solved.

[0057] Therefore, in the multimedia resource processing method provided in this disclosure, firstly, a light source addition operation is received for a target processed image. The target processed image includes one or more frames. The target processed image with a first virtual light source is displayed on a video editing page. The first virtual light source is generated based on the light source addition operation. A video track is displayed on the video editing page, and the target processed image corresponds to all or part of the image frames in the video track. It is evident that this disclosure supports the function of adding virtual light sources to a target processed image on a video editing page, thereby improving the display effect of the target processed image and enhancing the user's editing experience.

[0058] Based on this, the present disclosure provides a multimedia resource processing method, referring to... Figure 1 The flowchart below illustrates a multimedia resource processing method provided in this embodiment of the present disclosure. The method includes:

[0059] S101: Receives a light source addition operation for the target image being processed.

[0060] The target image to be processed includes one or more frames.

[0061] The multimedia resource processing method provided in this disclosure can be applied to a client. For example, the client may include a mobile client (hereinafter referred to as a mobile terminal) deployed on a smartphone, tablet computer, etc., or a PC client (hereinafter referred to as a PC terminal) deployed on a desktop computer, etc.

[0062] In this embodiment of the disclosure, the target processing image may include one or more frames of images. For example, the target processing image may be a selected frame or multiple frames of images in the target video. The light source addition operation for the target processing image is used to add a virtual light source to the target processing image, thereby improving the display effect of the target processing image.

[0063] It should be noted that in this embodiment of the disclosure, through the light source addition operation, the user can add multiple virtual light sources to the same target image. In this embodiment of the disclosure, there is no limit to the number of light sources that can be added.

[0064] S102: Display the target processed image with the first virtual light source on the video editing page.

[0065] The first virtual light source is generated based on the light source addition operation, the video editing page displays a video track, and the target processing image corresponds to all or part of the image frames in the video track.

[0066] In this embodiment of the disclosure, the video editing page is used to support editing operations on multimedia resources such as videos.

[0067] like Figure 2 The image shown is a video editing page provided in an embodiment of this disclosure. The video editing page displays a target processing image 201 and a video track, wherein the target processing image belongs to all or part of the image frames in the video track.

[0068] In this embodiment of the disclosure, the first virtual light source is a virtual light source added to the target processing image based on the light source addition operation. The first virtual light source can be any virtual light source acting on the target processing image.

[0069] In this embodiment of the disclosure, a target processed image with a first virtual light source is displayed on a video editing page. When a trigger operation for setting the light source is received, a light source parameter adjustment panel can be pulled up at the bottom of the video editing page. The light source setting operation can be implemented by pre-setting a light source setting control to set the light source for the target processed image. As described above. Figure 2 The light source settings control 202 is shown on the video editing page.

[0070] In this embodiment of the disclosure, the light source parameter adjustment panel is used to display the light source parameters corresponding to the first virtual light source. The light source parameters may include adjustable parameters and non-adjustable parameters, which can be set according to specific needs.

[0071] In one optional implementation, the adjustable parameters displayed on the light source parameter adjustment panel may include at least one of the following: light source type, light source color information, light source intensity, light source depth, and light source display position, wherein the light source type includes point light source type and / or parallel light type.

[0072] Specifically, for adjusting the color information of the light source, the color of the first virtual light source can be adjusted based on the color palette; for adjusting the intensity and depth of the light source, the intensity and depth of the virtual light source can be adjusted based on the slider, and the sliding range of the slider can be set according to specific needs; for adjusting the display position of the light source, it can be displayed based on the canvas area, with the default display position being the center position; for point light sources in the light source type, the size of the point light source can be adjusted based on half the point light source; in addition, a screen adjustment dial can be set to adjust the overall brightness of the target image.

[0073] In another optional implementation, the adjustable parameters displayed on the light source parameter adjustment panel may also include the light source target, which may include at least one of a person object, a background object, and a panoramic object. When it is detected that the target image does not contain a person object, the relevant light source processing operation for the person object in the light source target may be set to an unusable state, such as a grayed-out state or a hidden (not displayed) state.

[0074] like Figure 3 The diagram shows a video editing page according to an embodiment of this disclosure. The video editing page displays a target image for processing. A light source parameter adjustment panel 301 is pulled up at the bottom of the page. This panel displays light source parameters corresponding to a first virtual light source, such as light source type, color information, intensity, and the object affected by the light source. By sliding the light source parameter adjustment panel upwards, more light source parameters corresponding to the first virtual light source can be viewed.

[0075] By displaying the light source parameters corresponding to the first virtual light source on the light source parameter adjustment panel, more detailed light source settings can be made for the target processing image, thereby meeting user needs and improving the user experience.

[0076] In this embodiment of the present disclosure, when a parameter adjustment operation for the first virtual light source is received on the light source parameter adjustment panel, the display effect of the first virtual light source is updated.

[0077] Specifically, when a parameter adjustment operation for the target object of the light source is received on the light source parameter adjustment panel, the target light source target on the target processing object is identified, and the display effect of the first virtual light source acting on the target light source target on the target processing image is displayed.

[0078] The parameter adjustment operation for the object affected by the light source can include triggering operations on the display area of ​​the object affected by the light source, and can also include triggering operations on the corresponding controls of each object affected by the light source.

[0079] In this embodiment of the disclosure, the target light source acting on the target processing object can be identified based on the identification model.

[0080] In one optional implementation, corresponding light source control is set for the light source objects, including human objects, background objects, and panoramic objects. By triggering the light source control, the target light source object is determined, and then the target light source object on the target processing object is identified based on the recognition model.

[0081] In this embodiment of the disclosure, light source parameters are displayed on the light source parameter adjustment panel to support the user's light source processing of the target image, thereby displaying target processed images with different effects.

[0082] Furthermore, during the display of the target processed image with the first virtual light source on the video editing page, multiple virtual light sources can be added to support secondary light source processing on the same target processed image. Specifically, a second virtual light source is added to the video editing page by triggering the light source addition control. At this time, the target processed image with at least two virtual light sources is displayed on the video editing page, where the at least two virtual light sources include the first virtual light source.

[0083] like Figure 4 The diagram shows a video editing page according to an embodiment of this disclosure. The video editing page displays a target image for processing. By triggering the light source addition control 401, a second virtual light source 403 is added to the video editing page. At this time, the virtual light sources acting on the target image are the first virtual light source 402 and the second virtual light source 403. A light source parameter addition panel is also displayed, showing the light source parameters corresponding to the first virtual light source 402. The virtual light source can be switched using a virtual light source switching operation.

[0084] This disclosure provides a multimedia resource processing method. First, a light source addition operation is received for a target image being processed. The target image includes one or more frames. The target image with a first virtual light source is displayed on a video editing page. The first virtual light source is generated based on the light source addition operation. A video track is displayed on the video editing page, and the target image corresponds to all or part of the image frames in the video track. Therefore, this disclosure supports the function of adding virtual light sources to a target image on a video editing page to improve the display effect of the target image and thus enhance the user's editing experience.

[0085] In practical applications, to display target processed images with different effects and meet the image processing needs of different groups, this embodiment of the disclosure pre-sets different types of virtual light sources in the system. Specifically, these may include basic facial light sources, colored light sources, creative light sources, etc. The virtual light source carries pre-set light source parameters, wherein the colored light source is a combination of point light sources and parallel light sources, and the creative light source is a combination of special lighting effects, such as breathing lights or firefly lights.

[0086] In one optional implementation, the client receives a light source setting operation for the target image and then displays a light source parameter adjustment panel on the video editing page. The light source parameter adjustment panel displays multiple predefined virtual light sources, each carrying pre-set light source parameters. When the client receives a trigger operation to select a first virtual light source from the multiple predefined virtual light sources, the display effect of the first virtual light source is updated.

[0087] It should be noted that users can also adjust the light source parameters based on the pre-set light source parameters carried by the predefined virtual light source to meet their own needs.

[0088] In practical applications, to further meet user needs and enhance user experience, this disclosure also supports user-defined light sources to further meet users' image processing needs.

[0089] Specifically, the client receives a light source setting operation for the target image and then displays a light source parameter adjustment panel on the video editing page. This light source parameter adjustment panel displays a custom virtual light source. The client receives a custom light source operation for the target image and updates the display effect of the first virtual light source. The custom light source operation is used to trigger the adjustment of the initial parameters of the first virtual light source.

[0090] like Figure 5The diagram illustrates a video editing page according to an embodiment of this disclosure. The video editing page displays a target image for processing. When the client receives a light source setting operation for the target image, a light source parameter adjustment panel is displayed on the video editing page. This panel displays multiple predefined virtual light sources, such as 501. Each predefined virtual light source 501 includes a first virtual light source 503 and a custom virtual light source display area 502. When the client receives a trigger operation to select the first virtual light source 503 from the multiple predefined virtual light sources, the first virtual light source 503 is displayed on the target image, and the display effect of the target image under the first virtual light source is updated.

[0091] As mentioned above Figure 3 The diagram shown is a schematic of a video editing page provided in an embodiment of this disclosure. The video editing page displays a light source parameter adjustment panel. When a trigger operation is received for a first virtual light source, the preset light source parameters carried by the first virtual light source 503 are displayed on the light source parameter adjustment panel. By triggering the light source parameters of the first virtual light source, secondary light source parameter adjustments can be performed on the target image.

[0092] In practical applications, to support users in removing the first virtual light source, this embodiment of the disclosure also includes a corresponding removal operation for the first virtual light source. Specifically, when a removal operation for the first virtual light source is received, the first virtual light source is removed from the target processed image.

[0093] The removal operation can include a selection operation based on the first virtual light source, and when a delete control appears, the removal operation of the first virtual light source is performed; it can also include setting a delete control on the light source parameter adjustment panel, and triggering the delete control on the light source parameter adjustment panel to perform the removal operation of the first virtual light source.

[0094] like Figure 6 The diagram shown is a schematic of a video editing page provided in an embodiment of this disclosure. The video editing page displays a target processed image, wherein a first virtual light source acts on the target processed image. When the corresponding first virtual light source 602 on the target processed image is selected, a delete control 601 appears. When a remove operation for the first virtual light source is received, the first virtual light source 602 can be removed from the target processed image.

[0095] In addition, in this embodiment, not only is the removal of the first virtual light source supported, but also the dragging of the first virtual light source is supported to adjust the position of the first virtual light source.

[0096] Specifically, when a drag operation is received within the display area of ​​the first virtual light source, the first virtual light source is displayed along the drag trajectory corresponding to the drag operation.

[0097] In this embodiment of the disclosure, the drag operation within the display area of ​​the first virtual light source can specifically be to long-press the first virtual light source within the display area of ​​the first virtual light source on the target processed image, and then move the first virtual light source to display the first virtual light source along the corresponding drag trajectory.

[0098] In this embodiment of the disclosure, after the processing of the first virtual light source for the target image is completed, it also supports comparing the effect of the target image before and after processing.

[0099] Specifically, when a first effect comparison operation is received for the target image, the first virtual light source on the target image is hidden; when a second effect comparison operation is received for the target image, the first virtual light source on the target image is redisplayed.

[0100] The effect comparison operation allows you to preset comparison controls, and by triggering the comparison controls, you can display the corresponding effect image.

[0101] In one optional implementation, when a first trigger operation is received for a preset comparison control on the target image, the first virtual light source on the target image is hidden; when a second trigger operation is received for the preset comparison control on the target image, the first virtual light source on the target image is redisplayed.

[0102] In another optional implementation, when a long press operation is received on the preset comparison control for the target image, the first virtual light source on the target image is hidden, and when the long press operation on the preset comparison control for the target image ends, the first virtual light source on the target image is redisplayed.

[0103] In practical applications, after the light source settings for the target image in the entire video clip are completed, the embodiments of this disclosure can generate a result video based on the target image with the completed light source settings and other video image frames, so as to support users to view the overall video editing effect.

[0104] Specifically, when the operation of setting the light source for the target image is received, a result video is generated based on the target image with the first virtual light source acting on it. The result video includes the target image with the first virtual light source acting on it.

[0105] In this embodiment of the disclosure, the light source setting completion operation can be configured with a light source setting completion control, which is used to synthesize the target processed image and non-target processed images in the video segment to generate a result video.

[0106] In one optional implementation, when a trigger operation is received from the control that completes the light source settings for the target image, the target image and non-target images in the video clip are synthesized, and the synthesis progress is displayed on the video editing page to show the user the synthesis status and the application status of the light source settings in real time.

[0107] In this embodiment of the disclosure, keyframes can also be set for important target processing images. Specifically, the adjustable parameters of the keyframes can include adjustable parameters such as color and position, so as to highlight the target processing image.

[0108] Specifically, the target processing image includes a first target image and a second target image. When an operation to add a second virtual light source to the first target image is received, and an operation to add a third virtual light source to the second target image is received, virtual light sources corresponding to the image frames in the target video segment are generated based on the first target image, the second target image, the second virtual light source, and the third virtual light source. The target video segment includes image frames located between the first target image and the second target image.

[0109] By setting keyframes for the target image, it is possible to highlight the target video clip, thereby improving the playback effect of the target video clip and enhancing the browsing experience for viewers.

[0110] Based on the above method embodiments, this disclosure also provides a multimedia resource processing apparatus, with reference to... Figure 7 This is a schematic diagram of a multimedia resource processing device provided in an embodiment of the present disclosure. The device includes:

[0111] The receiving module 701 is used to receive a light source addition operation for a target image being processed; wherein the target image being processed includes one or more frames of images.

[0112] The display module 702 is used to display the target processed image with a first virtual light source on a video editing page; wherein the first virtual light source is generated based on the light source addition operation, the video editing page displays a video track, and the target processed image corresponds to all or part of the image frames in the video track.

[0113] In one optional embodiment, the apparatus further includes:

[0114] The first display module is used to display a light source parameter adjustment panel on the video editing page;

[0115] An update module is used to update the display effect of the first virtual light source in response to parameter adjustment operations on the light source parameter adjustment panel for the first virtual light source.

[0116] In one optional implementation, the adjustable parameters displayed on the light source parameter adjustment panel include the object on which the light source acts, and the object on which the light source acts includes at least one of a person object, a background object, and a panoramic object. The update module includes:

[0117] The identification module is used to identify the target light source object on the target processing object in response to the parameter adjustment operation on the light source parameter adjustment panel for the light source object.

[0118] The second display module is used to display the display effect of the first virtual light source acting on the target object of the target processing image.

[0119] In one optional embodiment, the adjustable parameters displayed on the light source parameter adjustment panel include at least one of the following:

[0120] The light source type, light source color information, light source intensity, light source depth, and light source display position; wherein, the light source type includes point light source type and / or parallel light type.

[0121] In one optional implementation, the receiving module is specifically used for:

[0122] A trigger operation is received to select the first virtual light source from a plurality of predefined virtual light sources for the target image being processed; wherein the predefined virtual light source carries pre-set light source parameters.

[0123] In one optional implementation, the receiving module is specifically used for:

[0124] Receive a custom light source operation for the target image being processed; wherein the custom light source operation is used to trigger the adjustment of the initial parameters of the first virtual light source.

[0125] In one optional implementation, the display module is specifically used for:

[0126] The target processed image is displayed on the video editing page with at least two virtual light sources; wherein the at least two virtual light sources include the first virtual light source.

[0127] In one optional embodiment, the apparatus further includes:

[0128] A removal module is configured to remove the first virtual light source from the target processed image in response to a removal operation for the first virtual light source.

[0129] In one optional embodiment, the apparatus further includes:

[0130] The third display module is used to display the first virtual light source along the dragging trajectory corresponding to the dragging operation in response to a dragging operation performed within the display area of ​​the first virtual light source.

[0131] In one optional embodiment, the apparatus further includes:

[0132] A hiding module is configured to hide the first virtual light source on the target processed image in response to a first effect comparison operation for the target processed image;

[0133] The fourth display module is configured to, in response to a second effect comparison operation on the target processed image, re-display the first virtual light source on the target processed image.

[0134] In one optional embodiment, the apparatus further includes:

[0135] A first generation module is configured to generate a result video based on the target processed image with the first virtual light source acting on it, in response to a completion operation of setting the light source for the target processed image; wherein the result video includes the target processed image with the first virtual light source acting on it.

[0136] In one optional implementation, the target processing image includes a first target image and a second target image, and the receiving module is specifically used for:

[0137] The system receives an operation to add a second virtual light source to the first target image, and also receives an operation to add a third virtual light source to the second target image.

[0138] Accordingly, the device also includes:

[0139] The second generation module is used to generate virtual light sources corresponding to image frames in the target video segment based on the first target image, the second target image, the second virtual light source, and the third virtual light source; wherein the target video segment includes image frames located between the first target image and the second target image.

[0140] In the multimedia resource processing apparatus provided in this embodiment, firstly, a light source addition operation is received for a target processed image. The target processed image includes one or more frames. The target processed image with a first virtual light source is displayed on a video editing page. The first virtual light source is generated based on the light source addition operation. A video track is displayed on the video editing page, and the target processed image corresponds to all or part of the image frames in the video track. Therefore, this embodiment supports the function of adding virtual light sources to a target processed image on a video editing page to improve the display effect of the target processed image, thereby enhancing the user's editing experience.

[0141] In addition to the methods and apparatus described above, this disclosure also provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to implement the multimedia resource processing method described in this disclosure.

[0142] This disclosure also provides a computer program product, which includes a computer program / instruction. When the computer program / instruction is executed by a processor, it implements the multimedia resource processing method described in this disclosure.

[0143] In addition, this disclosure also provides a multimedia resource processing device, see [link to relevant documentation]. Figure 8 As shown, it may include:

[0144] The multimedia resource processing device includes a processor 801, a memory 802, an input device 803, and an output device 804. The number of processors 801 in the device can be one or more. Figure 8 Taking a processor as an example. In some embodiments of this disclosure, the processor 801, memory 802, input device 803, and output device 804 can be connected via a bus or other means, wherein, Figure 8 Taking the example of a connection between China and Israel via a bus.

[0145] The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing of the multimedia resource processing device by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc. In addition, the memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. The input device 803 can be used to receive input digital or character information, and generate signal inputs related to user settings and function control of the multimedia resource processing device.

[0146] Specifically in this embodiment, the processor 801 will load the executable files corresponding to the processes of one or more applications into the memory 802 according to the following instructions, and the processor 801 will run the applications stored in the memory 802 to realize the various functions of the multimedia resource processing device.

[0147] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0148] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A multimedia resource processing method, characterized in that, The method includes: Receive a light source addition operation for a target image; wherein the target image includes a first target image and a second target image, and the light source addition operation includes an operation to add a second virtual light source to the first target image and an operation to add a third virtual light source to the second target image; Based on the first target image, the second target image, the second virtual light source, and the third virtual light source, virtual light sources corresponding to the image frames in the target video segment are generated respectively; wherein, the target video segment includes image frames located between the first target image and the second target image; The target processed image is displayed on the video editing page with the first virtual light source applied; wherein the first virtual light source is generated based on the light source addition operation, the video editing page displays a video track, and the target processed image corresponds to all or part of the image frames in the video track.

2. The method according to claim 1, characterized in that, After displaying the target processed image with the first virtual light source on the video editing page, the method further includes: A light source parameter adjustment panel is displayed on the video editing page; In response to parameter adjustment operations for the first virtual light source on the light source parameter adjustment panel, the display effect of the first virtual light source is updated.

3. The method according to claim 2, characterized in that, The adjustable parameters displayed on the light source parameter adjustment panel include the target object of the light source, which includes at least one of a person object, a background object, and a panoramic object. The step of updating the display effect of the first virtual light source in response to the parameter adjustment operation on the light source parameter adjustment panel includes: In response to parameter adjustment operations on the light source parameter adjustment panel for the light source target, the target light source target on the target processing object is identified; This displays the effect of the first virtual light source acting on the target object in the target processed image.

4. The method according to claim 2, characterized in that, The adjustable parameters displayed on the light source parameter adjustment panel include at least one of the following: The light source type, light source color information, light source intensity, light source depth, and light source display position; wherein, the light source type includes point light source type and / or parallel light type.

5. The method according to claim 1, characterized in that, The receiving of the light source addition operation for the target image includes: A trigger operation is received to select the first virtual light source from a plurality of predefined virtual light sources for the target image being processed; wherein the predefined virtual light source carries pre-set light source parameters.

6. The method according to claim 1, characterized in that, The receiving of the light source addition operation for the target image includes: Receive a custom light source operation for the target image being processed; wherein the custom light source operation is used to trigger the adjustment of the initial parameters of the first virtual light source.

7. The method according to claim 1, characterized in that, The display of the target processed image with the first virtual light source on the video editing page includes: The target processed image is displayed on the video editing page with at least two virtual light sources; wherein the at least two virtual light sources include the first virtual light source.

8. The method according to claim 1, characterized in that, The method further includes: In response to the removal operation for the first virtual light source, the first virtual light source is removed from the target processed image.

9. The method according to claim 1, characterized in that, The method further includes: In response to a dragging operation performed within the display area of ​​the first virtual light source, the first virtual light source is displayed along the dragging trajectory corresponding to the dragging operation.

10. The method according to claim 1, characterized in that, The method further includes: In response to a first effect comparison operation for the target processed image, the first virtual light source on the target processed image is hidden; In response to a second effect comparison operation on the target processed image, the first virtual light source on the target processed image is redisplayed.

11. The method according to claim 1, characterized in that, The method further includes: In response to the completion of the light source setting operation for the target processed image, a result video is generated based on the target processed image with the first virtual light source applied; wherein the result video includes the target processed image with the first virtual light source applied.

12. A multimedia resource processing device, characterized in that, The device includes: A receiving module is used to receive a light source addition operation for a target image being processed; wherein the target image being processed includes a first target image and a second target image, and the light source addition operation includes an operation to add a second virtual light source to the first target image and an operation to add a third virtual light source to the second target image; The second generation module is used to generate virtual light sources corresponding to image frames in the target video segment based on the first target image, the second target image, the second virtual light source, and the third virtual light source; wherein, the target video segment includes image frames located between the first target image and the second target image; A display module is used to display the target processed image with a first virtual light source applied on a video editing page; wherein the first virtual light source is generated based on the light source addition operation, the video editing page displays a video track, and the target processed image corresponds to all or part of the image frames in the video track.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a terminal device, cause the terminal device to perform the method as described in any one of claims 1-11.

14. A multimedia resource processing device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as claimed in any one of claims 1-11.