Multimedia resource processing method and device, equipment and storage medium

The multimedia resource processing method addresses the need for enhanced user interaction by enabling virtual light source adjustments within video editing, improving multimedia resource processing and user experience through customizable light sources.

CN119729109AActive Publication Date: 2025-03-28BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311277448.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28
Estimated Expiration
2043-09-28

AI Technical Summary

Technical Problem

Current multimedia resource processing technologies lack the ability to effectively enhance user interaction and functionality, particularly in video and image editing, leading to a need for richer features to improve user experience.

Method used

A multimedia resource processing method that allows users to add virtual light sources to images within a video editing interface, enabling adjustment of light source parameters such as type, color, intensity, and position, and supports multiple light sources for enhanced image processing.

Benefits of technology

This method enhances the visual effects of multimedia resources by allowing users to customize light sources, thereby improving the overall editing experience and user interaction with multimedia tools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729109A_ABST
    Figure CN119729109A_ABST
Patent Text Reader

Abstract

The invention provides a multimedia resource processing method and device, equipment and a storage medium, and the method comprises the steps: firstly, receiving a light source adding operation for a target processing image which comprises one or more frames of images, and displaying the target processing image acting on a first virtual light source on a video editing page, the first virtual light source is generated based on the light source adding operation, a video track is displayed on the video editing page, and the target processing image corresponds to all or part of image frames in the video track. Visibly, according to the embodiment of the invention, a function of adding the virtual light source to the target processing image on the video editing page can be supported, so that the display effect of the target processing image is improved, and the editing experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing, and in particular to a multimedia resource processing method, device, equipment and storage medium. Background Art

[0002] With the continuous improvement of multimedia resource processing technology, people's demands for interactive functions supported by multimedia resource editing tools are becoming more and more diverse, such as lighting processing of videos and pictures to improve the display effects of videos and pictures.

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

[0004] In order to solve the above technical problems, an embodiment of the present disclosure provides a multimedia resource processing method.

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

[0006] Receiving a light source adding operation for a target processing image; wherein the target processing image includes one or more frames of images;

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

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

[0009] Displaying a light source parameter adjustment panel on the video clip page;

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

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

[0012] In response to a parameter adjustment operation on the light source parameter adjustment panel for the light source action object, identifying a target light source action object on the target processing object;

[0013] The display effect of the first virtual light source acting on the target light source action object on the target processed image is displayed.

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

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

[0016] In an optional implementation manner, the receiving a light source adding operation for a target processing image includes:

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

[0018] In an optional implementation manner, the receiving a light source adding operation for a target processing image includes:

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

[0020] In an optional implementation manner, displaying the target processed image with the first virtual light source on the video clip page includes:

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

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

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

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

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

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

[0027] In response to a first effect contrast operation on the target processed image, hiding the first virtual light source on the target processed image;

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

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

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

[0031] In an optional implementation manner, the target processing image includes a first target image and a second target image, and the receiving a light source adding operation for the target processing image includes:

[0032] receiving an operation of adding a second virtual light source to the first target image, and receiving an operation of adding 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 image frames in a target video segment are generated; wherein the target video segment includes image frames between the first target image and the second target image.

[0035] In a second aspect, the present disclosure provides a multimedia resource processing device, the device comprising:

[0036] A receiving module, used to receive a light source adding operation for a target processing image; wherein the target processing image includes one or more frames of images;

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

[0038] In a third aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the above method.

[0039] In a fourth aspect, the present disclosure provides a multimedia resource processing device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.

[0040] In a fifth aspect, the present disclosure provides a computer program product, wherein the computer program product comprises a computer program / instructions, and the computer program / instructions implement the above method when executed by a processor.

[0041] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has at least the following advantages:

[0042] The disclosed embodiment provides a multimedia resource processing method, first, receiving a light source adding operation for a target processing image, wherein the target processing image includes one or more frames of images, and displaying the target processing 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 adding operation, and a video track is displayed on the video editing 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 disclosed embodiment can support the function of adding a virtual light source to the target processing image on the video editing page to improve the display effect of the target processing image, thereby improving the editing experience of the user. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0045] Figure 1 A flowchart of a multimedia resource processing method provided by an embodiment of the present disclosure;

[0046] Figure 2 A schematic diagram of a video editing page provided by an embodiment of the present disclosure;

[0047] Figure 3 A schematic diagram of a video editing page provided by an embodiment of the present disclosure;

[0048] Figure 4 A schematic diagram of a video editing page provided by an embodiment of the present disclosure;

[0049] Figure 5A schematic diagram of a video editing page provided by an embodiment of the present disclosure;

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

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

[0052] Figure 8 A schematic diagram of the structure of a multimedia resource processing device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0053] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0054] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0055] With the continuous improvement of multimedia resource processing technology, people's demands for interactive functions supported by multimedia resource editing tools are becoming more and more diverse, such as lighting processing of videos and pictures to improve the display effects of videos and pictures.

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

[0057] To this end, in the multimedia resource processing method provided by the embodiment of the present disclosure, first, a light source adding operation for a target processing image is received, wherein the target processing image includes one or more frames of images, and the target processing image with a first virtual light source is displayed on a video editing page, wherein the first virtual light source is generated based on the light source adding operation, and a video track is displayed on the video editing 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 editing page to improve the display effect of the target processing image, thereby improving the user's editing experience.

[0058] Based on this, the present disclosure provides a multimedia resource processing method, referring to Figure 1 , is a flowchart of a multimedia resource processing method provided by an embodiment of the present disclosure, the method comprising:

[0059] S101: receiving a light source adding operation for a target processing image.

[0060] Wherein, the target processed image includes one or more frames of images.

[0061] The multimedia resource processing method provided by the embodiments of the present disclosure can be applied to a client. For example, the client may include a mobile client (referred to as a mobile terminal) deployed on a smart phone, tablet computer, etc., and may also include a PC client (referred to as a PC terminal) deployed on a desktop computer.

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

[0063] It should be noted that in the embodiments of the present disclosure, through the light source adding operation, the user can add multiple virtual light sources to the same target processing image, and there is no restriction on the number of light sources added in the embodiments of the present disclosure.

[0064] S102: Displaying the target processed image with the first virtual light source on a video clip page.

[0065] The first virtual light source is generated based on the light source adding operation, a video track is displayed on the video clip page, and the target processed image corresponds to all or part of the image frames in the video track.

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

[0067] like Figure 2 As shown, a video clipping page provided by an embodiment of the present disclosure is shown on the video clipping page, where a target processed image 201 and a video track are displayed, wherein the target processed image belongs to all or part of the image frames in the video track.

[0068] In the embodiment of the present disclosure, the first virtual light source is a virtual light source added to the target processed image based on a light source adding operation, and the first virtual light source may be any virtual light source acting on the target processed image.

[0069] In the embodiment of the present disclosure, a target processed image with a first virtual light source is displayed on a video clip page. When a trigger operation for setting a light source is received, a light source parameter adjustment panel can be pulled up at the bottom of the video clip page. The light source setting operation can preset a light source setting control to implement the light source setting operation for the target processed image. Figure 2 The light source setting control 202 on the video clip page is shown.

[0070] In the embodiment of the present 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 specifically set based on needs.

[0071] In an optional embodiment, 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 a point light source type and / or a parallel light type.

[0072] Specifically, for the adjustment of light source color information, the color of the first virtual light source can be adjusted based on the color palette; for the light source intensity and light source depth, the intensity and depth of the virtual light source can be adjusted based on the slide bar, and the sliding range of the slide bar can be set based on specific needs; for the light source display position, it can be displayed based on the canvas range, and the default display position is the center position; for the point light source in the light source type, the size of the point light source can be adjusted based on the half price of the point light source; in addition, a picture adjustment dial can be set to adjust the overall brightness of the target processed image.

[0073] In another optional embodiment, the adjustable parameters displayed on the light source parameter adjustment panel may also include a light source action object, and the light source action object includes at least one of a human object, a background object, and a panoramic object. When it is detected that the target processing image does not contain a human object, the related light source processing operations for the human object in the light source action object can be set to an unusable state, for example, a grayed-out state, and can also be set to a hidden (not displayed) state.

[0074] like Figure 3 As shown, it is a schematic diagram of a video editing page provided by an embodiment of the present disclosure, the video editing page displays a target processing image, and a light source parameter adjustment panel 301 is pulled up at the bottom of the video editing page. The light source parameter adjustment panel 301 displays light source parameters corresponding to the first virtual light source, such as light source type, light source color information, light source intensity, etc., and the object of the light source. More light source parameters corresponding to the first virtual light source can be seen by sliding the light source parameter adjustment panel upward.

[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 for the target processing image can be achieved, thereby meeting user needs and improving user experience.

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

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

[0078] The parameter adjustment operation for the light source action object may include a trigger operation for the light source action object display area, and may also include a trigger operation for the control corresponding to each light source action object.

[0079] In the embodiment of the present disclosure, the target light source acting object on the target processing object is identified, and the target light source acting object on the target processing object can be identified based on a recognition model.

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

[0081] In the disclosed embodiment, the light source parameters are displayed on the light source parameter adjustment panel to support the user in performing light source processing on the target processed image, thereby displaying the target processed image with different effects.

[0082] In addition, in the process of displaying 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 of the same target processed image. Specifically, a second virtual light source is added on the video editing page by triggering the light source adding control. At this time, the target processed image with at least two virtual light sources is displayed on the video editing page, wherein the at least two virtual light sources include the first virtual light source.

[0083] like Figure 4 , which is a schematic diagram of a video editing page provided by an embodiment of the present disclosure. The video editing page displays a target processed image, and by triggering the light source adding 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 processed image are the first virtual light source 401 and the second virtual light source 403. In addition, a light source parameter adding panel is also displayed, and the light source parameters corresponding to the first virtual light source 401 are displayed on the light source parameter adding panel, and the virtual light source can be switched through the virtual light source switching operation.

[0084] The disclosed embodiment provides a multimedia resource processing method, first, receiving a light source adding operation for a target processing image, wherein the target processing image includes one or more frames of images, and displaying the target processing 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 adding operation, and a video track is displayed on the video editing 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 disclosed embodiment can support the function of adding a virtual light source to the target processing image on the video editing page to improve the display effect of the target processing image, thereby improving the editing experience of the user.

[0085] In practical applications, in order to display target processed images with different effects and meet the needs of different groups of people for image processing, different types of virtual light sources are pre-set in the system in the embodiments of the present disclosure. Specifically, they may include basic facial light sources, color light sources, creative light sources, etc. The virtual light source carries pre-set light source parameters, where the color light source is a combination of a point light source and a parallel light source, and the creative light source is a combination of special light effects, such as breathing light and firefly light.

[0086] In an optional embodiment, the client receives a light source setting operation for a target processed image, and then displays a light source parameter adjustment panel on a video clip page, wherein the light source parameter adjustment panel displays multiple predefined virtual light sources, wherein the predefined virtual light sources carry pre-set light source parameters, and when the client receives a trigger operation for selecting a first virtual light source from multiple predefined virtual light sources, the display effect of the first virtual light source is updated.

[0087] It should be noted that the user may also perform secondary light source parameter adjustment based on the preset light source parameters carried by the predefined virtual light source to meet the user's own needs.

[0088] In practical applications, in order to further meet user needs and improve user experience, the implementation of the present disclosure also supports user-defined light sources to further meet user needs for image processing.

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

[0090] like Figure 5As shown, it is a schematic diagram of a video editing page provided by an embodiment of the present disclosure. A target processing image is displayed on the video editing page. When the client receives a light source setting operation for the target processing image, a light source parameter adjustment panel is displayed on the video editing page. The light source parameter adjustment panel displays multiple predefined virtual light sources such as 501. The 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 of selecting the first virtual light source 503 from multiple predefined virtual light sources, the first virtual light source 503 is displayed on the target processing image, and the display effect of the target processing image under the first virtual light source is updated at the same time.

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

[0092] In actual applications, in order to support the user to remove the first virtual light source, in the embodiment of the present disclosure, a corresponding removal operation is also set 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] Among them, the removal operation may include a selection operation based on the first virtual light source, and when a deletion control appears, the removal operation of the first virtual light source is performed; it may also include setting a deletion control on the light source parameter adjustment panel, and performing the removal operation of the first virtual light source by triggering the deletion control on the light source parameter adjustment panel.

[0094] like Figure 6 , which is a schematic diagram of a video clipping page provided by an embodiment of the present disclosure. The video clipping page displays a target processing image, wherein a first virtual light source acts on the target processing image, and when a corresponding first virtual light source 602 on the target processing image is selected, a delete control 601 appears, and when a removal operation for the first virtual light source is received, the first virtual light source 602 can be removed from the target processing image.

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

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

[0097] In the disclosed embodiment, the dragging 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 processing image, and then move the first virtual light source to display the first virtual light source along the corresponding dragging trajectory.

[0098] The disclosed embodiment, after the processing of the first virtual light source of the target processed image is completed, also supports the comparison of the effects of the target processed image before and after the processing.

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

[0100] Among them, the effect comparison operation can preset a comparison control, and by triggering the comparison control, the corresponding effect diagram is displayed.

[0101] In an optional embodiment, when a trigger operation of a preset contrast control for a target processed image is received, the first virtual light source on the target processed image is hidden, and when a second trigger operation of the preset contrast control for the target processed image is received, the first virtual light source on the target processed image is redisplayed.

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

[0103] In actual applications, after the light source setting of the target processed image in the entire video clip is completed, the embodiment of the present disclosure can generate a result video based on the target processed image with completed light source setting and other video image frames to support users to browse the video editing effect as a whole.

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

[0105] In the embodiment of the present disclosure, the light source setting completion operation may set a light source setting completion control for synthesizing the target processed image and the non-target processed image in the video clip to generate a result video.

[0106] In an optional embodiment, when a trigger operation of the light source setting completion control for a target processed image is received, the target processed image and the non-target processed image in the video clip are synthesized, and the synthesis progress is displayed on the video clip page to show the user the synthesis status and the light source setting application status in real time.

[0107] In the disclosed embodiment, key frames may also be set for important target processing images. Specifically, the adjustment parameters of the key frames may include color, position, and other adjustable parameters to highlight the target processing image.

[0108] Specifically, the target processed image includes a first target image and a second target image. When an operation of adding a second virtual light source to the first target image is received, and when an operation of adding a third virtual light source to the second target image is received, virtual light sources corresponding to image frames in the target video clip are generated based on the first target image, the second target image, the second virtual light source and the third virtual light source, respectively, wherein the target video clip includes image frames between the first target image and the second target image.

[0109] By setting key frames for the target processed image, it is possible to support the focused display of the target video clip, improve the playback effect of the target video clip, and enhance the browsing experience of the viewing users.

[0110] Based on the above method embodiment, the present disclosure also provides a multimedia resource processing device, referring to Figure 7 , is a schematic diagram of the structure of a multimedia resource processing device provided by an embodiment of the present disclosure, the device comprising:

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

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

[0113] In an optional implementation, the device further includes:

[0114] A first display module, used for displaying a light source parameter adjustment panel on the video clip page;

[0115] An updating module is used to update 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.

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

[0117] an identification module, for identifying a target light source action object on the target processing object in response to a parameter adjustment operation on the light source parameter adjustment panel for the light source action object;

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

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

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

[0121] In an optional implementation manner, the receiving module is specifically used to:

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

[0123] In an optional implementation manner, the receiving module is specifically used to:

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

[0125] In an optional implementation manner, the display module is specifically used to:

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

[0127] In an optional implementation, the device further includes:

[0128] A removing module is used to remove the first virtual light source from the target processed image in response to a removing operation on the first virtual light source.

[0129] In an optional implementation, the device further includes:

[0130] The third display module is configured to, in response to a drag operation performed within the display area of ​​the first virtual light source, display the first virtual light source along a drag track corresponding to the drag operation.

[0131] In an optional implementation, the device further includes:

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

[0133] A fourth display module is used to redisplay the first virtual light source on the target processed image in response to a second effect comparison operation on the target processed image.

[0134] In an optional implementation, the device further includes:

[0135] The first generating module is used to generate a result video based on the target processed image with the first virtual light source in response to the completion operation of the light source setting for the target processed image; wherein the result video includes the target processed image with the first virtual light source.

[0136] In an optional implementation manner, the target processing image includes a first target image and a second target image, and the receiving module is specifically configured to:

[0137] receiving an operation of adding a second virtual light source to the first target image, and receiving an operation of adding a third virtual light source to the second target image;

[0138] Accordingly, the device further comprises:

[0139] The second generation module is used to generate virtual light sources corresponding to image frames in a 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 between the first target image and the second target image.

[0140] In the multimedia resource processing device provided by the embodiment of the present disclosure, first, a light source adding operation for a target processing image is received, wherein the target processing image includes one or more frames of images, and the target processing image with a first virtual light source is displayed on a video editing page, wherein the first virtual light source is generated based on the light source adding operation, and a video track is displayed on the video editing 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 editing page to improve the display effect of the target processing image, thereby improving the editing experience of the user.

[0141] In addition to the above-mentioned method and apparatus, the embodiments of the present disclosure further provide a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device implements the multimedia resource processing method described in the embodiments of the present disclosure.

[0142] The embodiment of the present disclosure further provides a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the multimedia resource processing method described in the embodiment of the present disclosure is implemented.

[0143] In addition, the present disclosure also provides a multimedia resource processing device, see Figure 8 As shown, it may include:

[0144] Processor 801, memory 802, input device 803 and output device 804. The number of processors 801 in the multimedia resource processing device can be one or more. Figure 8 In some embodiments of the present disclosure, the processor 801, the memory 802, the input device 803 and the output device 804 may be connected via a bus or other means, wherein: Figure 8 The example of connecting through bus is taken in the following.

[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 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc. In addition, the memory 802 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. The input device 803 can be used to receive input digital or character information, and generate signal input 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, thereby realizing various functions of the above-mentioned multimedia resource processing device.

[0147] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0148] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be 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 the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A multimedia resource processing method, characterized in that: The method comprises: Receiving a light source adding operation for a target processing image; wherein the target processing image includes one or more frames of images; The target processed image with the first virtual light source is displayed on a video clip page; wherein the first virtual light source is generated based on the light source adding operation, a video track is displayed on the video clip page, 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 clip page, the method further includes: Displaying a light source parameter adjustment panel on the video clip page; In response to a parameter adjustment operation on the light source parameter adjustment panel for the first virtual light source, a 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 a light source action object, and the light source action object includes at least one of a person object, a background object, and a panoramic object. In response to a parameter adjustment operation on the first virtual light source on the light source parameter adjustment panel, updating a display effect of the first virtual light source includes: In response to a parameter adjustment operation on the light source parameter adjustment panel for the light source action object, identifying a target light source action object on the target processing object; The display effect of the first virtual light source acting on the target light source action object on the target processed image is displayed.

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: Light source type, light source color information, light source intensity, light source depth, and light source display position; wherein the light source type includes a point light source type and / or a parallel light type.

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

6. The method according to claim 1, characterized in that The receiving a light source adding operation for a target processing image comprises: A custom light source operation for a target processed image is received; wherein the custom light source operation is used to trigger adjustment of initial parameters of the first virtual light source.

7. The method according to claim 1, characterized in that The step of displaying the target processed image with the first virtual light source on the video clip page includes: The target processed image with at least two virtual light sources acting thereon is displayed on the video clip page; 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 comprises: In response to a removal operation on 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 comprises: In response to a drag operation performed within the display area of ​​the first virtual light source, the first virtual light source is displayed along a drag track corresponding to the drag operation.

10. The method according to claim 1, characterized in that The method further comprises: In response to a first effect contrast operation on the target processed image, hiding the first virtual light source on the target processed image; In response to a second effect contrast 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 comprises: In response to the light source setting completion operation for the target processed image, a result video is generated based on the target processed image with the first virtual light source acting on it; wherein the result video includes the target processed image with the first virtual light source acting on it.

12. The method according to claim 1, characterized in that The target processing image includes a first target image and a second target image, and the receiving a light source adding operation for the target processing image includes: receiving an operation of adding a second virtual light source to the first target image, and receiving an operation of adding a third virtual light source to the second target image; Accordingly, the method further includes: 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 image frames in a target video segment are generated; wherein the target video segment includes image frames between the first target image and the second target image.

13. A multimedia resource processing device, characterized in that: The device comprises: A receiving module, used to receive a light source adding operation for a target processing image; wherein the target processing image includes one or more frames of images; A display module is used to display the target processed image with a first virtual light source on a video clip page; wherein the first virtual light source is generated based on the light source adding operation, a video track is displayed on the video clip page, and the target processed image corresponds to all or part of the image frames in the video track.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 1 to 12.

15. 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 when the processor executes the computer program, the method according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Image processing method, terminal and computer readable storage medium

    CN107770454A

  • Video processing method and device, equipment and storage medium

    CN115297272A

  • Image processing device, imaging device, control method and program therefor

    JP2017151562A