Multimedia resource processing method, apparatus, device, storage medium, and computer program
The multimedia resource processing method enables users to add and adjust virtual light sources on video editing pages, addressing the lack of lighting processing capabilities in existing technologies and enhancing display effects and user interaction.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2024-09-27
- Publication Date
- 2026-06-25
AI Technical Summary
Existing multimedia resource processing technologies lack the ability to enhance display effects and user interaction features, particularly in video and image editing, by supporting diverse lighting processing operations.
A multimedia resource processing method that allows users to add, adjust, and manipulate virtual light sources on video editing pages, including parameter adjustments and multiple light source applications, to improve display effects and user experience.
Enriches multimedia resource processing functions by enhancing display effects and user interaction, allowing for customizable lighting effects on videos and images, thereby improving user experience.
Smart Images

Figure 2026521017000001_ABST
Abstract
Description
Technical Field
[0001] (Reference to Related Applications) This application claims the priority of a Chinese patent application with the application number 202311277448.3 and the invention title "Multimedia Resource Processing Method, Apparatus, Device, and Storage Medium", which was filed on September 28, 2023. All the contents of this application are incorporated herein by reference.
[0002] (Technical Field) This disclosure relates to the field of data processing, and more particularly to a multimedia resource processing method, apparatus, device, and storage medium.
Background Art
[0003] With the continuous improvement of multimedia resource processing technology, people's needs for the interaction functions supported by multimedia resource editing tools are becoming increasingly diverse. For example, in order to improve the display effects of videos and pictures, writing processing and the like are performed on videos and pictures.
Summary of the Invention
[0004] To solve the above technical problems, embodiments of the present disclosure provide a multimedia resource processing method.
[0005] In a first aspect, the present disclosure receives a light source addition operation for a target processing image including one or more frames of images, and displays a target processing image corresponding to all or part of the image frames in a video track, on which a first virtual light source generated based on the light source addition operation acts, on a video editing page where the video track is displayed. The present disclosure provides a multimedia resource processing method including the above.
[0006] In one optional embodiment, after displaying the target processing image on which the first virtual light source acts on the video editing page, Displaying the light source parameter adjustment panel on the video editing page, The further includes updating the display effect of the first virtual light source in response to parameter adjustment operations on the first virtual light source in the light source parameter adjustment panel.
[0007] In one optional embodiment, the adjustable parameters displayed in the light source parameter adjustment panel include a light source target, the light source target includes at least one of a person target, a background target, and a panoramic target, and updating the display effect of the first virtual light source in response to parameter adjustment operations on the first virtual light source in the light source parameter adjustment panel is: In the light source parameter adjustment panel, in response to parameter adjustment operations on the target of the light source, the target light source target in the target processing target is identified, This includes displaying the display effect on the target object in the target processed image on which the first virtual light source acts.
[0008] In one optional embodiment, the adjustable parameters displayed in the light source parameter adjustment panel are: It includes 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.
[0009] In one optional embodiment, accepting a light source addition operation to the target processing image is: The system includes accepting a trigger operation to select a first virtual light source from a set of predefined virtual light sources for a target processing image, and the predefined virtual light sources hold pre-configured light source parameters.
[0010] In one optional embodiment, accepting a light source addition operation to the target processing image is: This includes accepting custom light source manipulations for the target processing image, which are used to trigger adjustments to the initial parameters of the first virtual light source.
[0011] In one optional embodiment, the video editing page may display the target processed image on which the first virtual light source has acted. The video editing page includes displaying a target processed image on which at least two virtual light sources, including a first virtual light source, have been applied.
[0012] In one optional embodiment, the multimedia resource processing method is: The method further includes removing the first virtual light source from the target processed image in response to a removal operation on the first virtual light source.
[0013] In one optional embodiment, the multimedia resource processing method is: The further includes displaying the first virtual light source along a drag trajectory corresponding to a drag operation in response to a drag operation performed within the display area of the first virtual light source.
[0014] In one optional embodiment, the multimedia resource processing method is: In response to the first effect comparison operation on the target processed image, the first virtual light source in the target processed image is hidden, The method further includes redisplaying the first virtual light source in the target processed image in response to a second effect comparison operation on the target processed image.
[0015] In one optional embodiment, the multimedia resource processing method is: In response to a light source setting completion operation for a target processed image, the system further includes generating a result video based on the target processed image on which the first virtual light source has acted, the result video including the target processed image on which the first virtual light source has acted.
[0016] In one optional embodiment, the target processing image includes a first target image and a second target image, and accepts a light source addition operation to the target processing image. This includes accepting an operation to add a second virtual light source to a first target image, and accepting an operation to add a third virtual light source to a second target image, Accordingly, the multimedia resource processing method further includes: generating virtual light sources respectively corresponding to the 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, where the target video segment includes image frames between the first target image and the second target image.
[0017] In a second aspect, the present disclosure provides a multimedia resource processing apparatus, including: a receiving module configured to receive a light source addition operation for a target processing image including one or more frames of images; and a display module configured to display a target processing image corresponding to all or part of the image frames in the video track, where the first virtual light source acts on the video editing page where the video track is displayed.
[0018] In a third aspect, the present disclosure provides a computer-readable storage medium, in which when executed by a terminal device, instructions for implementing the above multimedia resource processing method in the terminal device are stored.
[0019] In a fourth aspect, the present disclosure provides a multimedia resource processing device, including a memory, a processor, and a computer program stored in the memory and executable by the processor. When the processor executes the computer program, the above multimedia resource processing method is implemented.
[0020] In a fifth aspect, the present disclosure provides a computer program product including a computer program / instructions that, when executed by a processor, implements the above multimedia resource processing method.
[0021] The technical solution according to the embodiments of the present disclosure has at least the following advantages compared with the prior art: Embodiments of the present disclosure provide a multimedia resource processing method. In this multimedia resource processing method, first, a light source addition operation for a target processing image including one or more frames of images is received, and on a video editing page where a video track is displayed, a target processing image corresponding to all or part of the image frames in the video track, on which a first virtual light source generated based on the light source addition operation acts, is displayed.
Brief Description of the Drawings
[0022] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments suitable for the present disclosure, and are used together with the specification to interpret the principles of the present disclosure.
[0023] To more clearly explain the technical solutions in the embodiments of the present disclosure or the prior art, the drawings necessary for explaining the embodiments or the prior art are briefly described below. Obviously, those skilled in the art can obtain other drawings based on these drawings on the premise of not exerting creative efforts. [Figure 1] It is a flowchart of a multimedia resource processing method according to an embodiment of the present disclosure. [Figure 2] It is a schematic diagram of a video editing page according to an embodiment of the present disclosure. [Figure 3] It is a schematic diagram of a video editing page according to an embodiment of the present disclosure. [Figure 4] It is a schematic diagram of a video editing page according to an embodiment of the present disclosure. [Figure 5] It is a schematic diagram of a video editing page according to an embodiment of the present disclosure. [Figure 6] It is a schematic diagram of another video editing page according to an embodiment of the present disclosure. [Figure 7] It is a schematic diagram of the configuration of a multimedia resource processing apparatus according to an embodiment of the present disclosure. [Figure 8] It is a schematic diagram of the configuration of a multimedia resource processing device according to an embodiment of the present disclosure.
Modes for Carrying Out the Invention
[0024] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the proposed technical concepts of this disclosure are further described below. The embodiments and features of the embodiments of this disclosure can be combined with each other, as long as they do not contradict each other.
[0025] The following description includes many specific details to make the disclosure easier to understand, but the disclosure may be implemented in forms other than those described herein, and obviously the examples in the specification are only a selection of the examples of the disclosure, not all of them.
[0026] With the continuous improvement of multimedia resource processing technology, people's needs for interaction features supported by multimedia resource editing tools are becoming increasingly diverse. For example, they may want to perform lighting processing on videos and pictures to enhance their display effects.
[0027] Therefore, how to enrich multimedia resource processing functions and improve the user experience is a technical challenge that needs to be addressed now.
[0028] Therefore, in the multimedia resource processing method according to the embodiment of this disclosure, first, a light source addition operation is received for a target processing image that includes one or more frames of images, and the target processing image corresponding to all or some of the image frames in the video track, on which the first virtual light source generated based on the light source addition operation has acted, is displayed on the video editing page where the video track is displayed. It can be seen that the embodiment of this disclosure can improve the display effect of the target processing image and enhance the user's editing experience by supporting a function to add a virtual light source to the target processing image on the video editing page.
[0029] Based on this, embodiments of the present disclosure provide a multimedia resource processing method, and Figure 1 is a flowchart of the multimedia resource processing method according to embodiments of the present disclosure, and as shown in Figure 1, the method includes S101 to S102.
[0030] S101 accepts the operation to add a light source to a target processing image that includes one or more frames.
[0031] The multimedia resource processing method according to the embodiments of this disclosure can be applied to a client, for example, the client may include a mobile client (abbreviated as a mobile terminal) installed in a smartphone, tablet computer, etc., and may further include a PC client (abbreviated as a PC terminal) installed in a desktop computer, etc.
[0032] In embodiments of this disclosure, the target processing image may include one or more frames, for example, the target processing image may be a selected single frame or multiple frames from the target video, and 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.
[0033] In the embodiments of this disclosure, the user can add multiple virtual light sources to the same target processing image by performing a light source addition operation, and there are no restrictions on the number of light sources that can be added in the embodiments of this disclosure.
[0034] In S102, the target processed image, on which the first virtual light source has been applied, is displayed on the video editing page where the video track is displayed. Here, 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 some of the image frames in the video track.
[0035] In the embodiments of this disclosure, a video editing page is used to support editing operations on multimedia resources such as videos.
[0036] Figure 2 is a video editing page according to an embodiment of the present disclosure. As shown in Figure 2, the video editing page displays a target processing image 201 and a video track, where the target processing image belongs to all or part of the image frames in the video track.
[0037] In the embodiments of this disclosure, the first virtual light source is a virtual light source added to the target processing image based on a light source addition operation, and the first virtual light source may be any virtual light source acting on the target processing image.
[0038] In the embodiments of this disclosure, the video editing page displays a target processed image on which the first virtual light source has been applied. 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. For setting the light source, a light source setting control can be pre-configured to realize the light source setting operation on the target processed image. This is as shown in the light source setting control 202 on the video editing page in Figure 2 above.
[0039] In the embodiments of this disclosure, a light source parameter adjustment panel is used to display light source parameters corresponding to a first virtual light source, and the light source parameters may include adjustable and non-adjustable parameters, which can be specifically set according to the needs.
[0040] In one 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 point light source type and / or parallel light type.
[0041] Specifically, regarding the adjustment of light source color information, the color of the first virtual light source can be adjusted via a palette; regarding light source intensity and depth, the intensity and depth of the virtual light source can be adjusted via sliders; the sliding range of the sliders can be specifically set according to the needs; regarding the light source display position, it can be displayed based on the canvas range, the default display position is the center position; for point light sources among the light source types, the size of the point light source can be adjusted based on the half value of the point light source; and a screen adjustment dial can also be set to adjust the screen brightness and darkness of the entire target processing image.
[0042] In another optional embodiment, the adjustable parameters displayed in the light source parameter adjustment panel may further include light source targets, each of which includes at least one of a person, a background, and a panoramic target, and if it is detected that the target processing image does not contain a person, the associated light source processing operations for the person among the light source targets can be set to a disabled state, for example, by being grayed out or hidden.
[0043] Figure 3 is a schematic diagram of a video editing page according to an embodiment of the present disclosure. As shown in Figure 3, 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 the light source type, light source color information, light source intensity, and the target of the light source action. By sliding the light source parameter adjustment panel upward, more light source parameters corresponding to the first virtual light source can be seen.
[0044] By displaying the light source parameters corresponding to the first virtual light source in the light source parameter adjustment panel, more detailed light source settings for the target processed image can be achieved, thereby meeting user needs and improving the user experience.
[0045] In the embodiments of this disclosure, when a parameter adjustment operation is received for the first virtual light source in the light source parameter adjustment panel, the display effect of the first virtual light source is updated.
[0046] Specifically, when a parameter adjustment operation is received for a light source target in the light source parameter adjustment panel, the target light source target in the target processing target is identified, and the display effect of the target light source target in the target processing image on which the first virtual light source acts is displayed.
[0047] Parameter adjustment operations for the light source target may include trigger operations on the display area of the light source target, and may further include trigger operations on the controls corresponding to each light source target.
[0048] In the embodiments of this disclosure, the target light source object in the target processing target can be identified based on an identification model.
[0049] In one optional embodiment, corresponding light source control is set for the person target, background target, and panoramic target included in the light source target, and the target light source target is determined by triggering the light source control. Subsequently, the target light source target in the target processing target is identified based on an identification model.
[0050] In the embodiments of this disclosure, the light source parameters are displayed on the light source parameter adjustment panel to support the user's light source processing on the target processing image and to display target processing images with different effects.
[0051] Furthermore, in the process of displaying the target processed image on the video editing page with the first virtual light source applied, multiple virtual light sources can be added to support a second light source application to the same target processed image. Specifically, by triggering the light source addition control, a second virtual light source is newly added to the video editing page, and at this time, the video editing page displays the target processed image with at least two virtual light sources applied, including the first virtual light source.
[0052] Figure 4 is a schematic diagram of a video editing page according to an embodiment of the present disclosure. As shown in Figure 4, the video editing page displays a target processing image, and by triggering the light source addition control 401, a second virtual light source 403 is newly added to the video editing page. At this time, the virtual light sources acting on the target processing image are the first virtual light source 402 and the second virtual light source 403, respectively. In addition, a light source parameter addition panel is displayed, and the light source parameter addition panel displays the light source parameters corresponding to the first virtual light source 401, and the virtual light sources can be switched by a virtual light source switching operation.
[0053] Embodiments of this disclosure provide a multimedia resource processing method that first accepts a light source addition operation for a target processing image containing one or more frames of images, and then displays the target processing image corresponding to all or some of the image frames in the video track, on a video editing page where the video track is displayed, with a first virtual light source generated based on the light source addition operation acting on it. Embodiments of this disclosure can improve the display effect of the target processing image and enhance the user's editing experience by supporting the ability to add a virtual light source to the target processing image on the video editing page.
[0054] In practical applications, to display target processed images with different effects and meet the image processing needs of various groups of people, the embodiments of this disclosure pre-configure different types of virtual light sources in the system. Specifically, these may include a base surface light source, a color light source, an idea light source, and so on. The virtual light sources include pre-configured light source parameters, the color light source being a combination of a point light source and a parallel light source, and the idea light source being a combination of special light effects, such as a breathing light or a fluorescent light.
[0055] In one optional embodiment, after the client receives a light source setting operation for the target processing image, the video editing page displays a light source parameter adjustment panel showing multiple predefined virtual light sources, each containing predefined light source parameters, and 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.
[0056] Furthermore, users can perform a second adjustment of the light source parameters based on pre-defined virtual light source parameters, in order to meet their own needs.
[0057] In practical applications, to further meet user needs and improve the user experience, the implementation of this disclosure will further support users in customizing light sources, thereby further satisfying users' image processing needs.
[0058] Specifically, after the client receives a light source setting operation for the target processing image, the video editing page displays a light source parameter adjustment panel showing the custom virtual light source, accepts the custom light source operation for the target processing image, updates the display effect of the first virtual light source, and the custom light source operation is used to trigger adjustments to the initial parameters of the first virtual light source.
[0059] Figure 5 is a schematic diagram of a video editing page according to an embodiment of the present disclosure. As shown in Figure 5, the video editing page displays a target processing image, and when a client accepts a light source setting operation for the target processing image, the video editing page displays a light source parameter adjustment panel, which displays a plurality of predefined virtual light sources, for example 501, and the predefined virtual light sources 501 include a first virtual light source 503 and a display area 502 for a custom virtual light source.
[0060] When the client receives a trigger operation to select the first virtual light source 503 from several predefined virtual light sources, it displays the first virtual light source 503 on the target processing image and updates the display effect of the target processing image on which the first virtual light source has acted.
[0061] Figure 3 above is a schematic diagram of a video editing page according to an embodiment of the present disclosure. As shown in Figure 3, the video editing page displays a light source parameter adjustment panel. When a trigger operation is received for the first virtual light source, the light source parameter adjustment panel displays the pre-set light source parameters included in the first virtual light source 503. By triggering the light source parameters of the first virtual light source, a second adjustment of the light source parameters can be performed for the target processed image.
[0062] In practical applications, to support the user in removing the first virtual light source, the embodiments of this disclosure also configure 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.
[0063] The removal operation may include performing a removal operation on the first virtual light source if a delete control appears based on the selection operation of the first virtual light source, and may further include performing a removal operation on the first virtual light source by setting a delete control in the light source parameter adjustment panel and triggering the delete control in the light source parameter adjustment panel.
[0064] Figure 6 is a schematic diagram of a video editing page according to an embodiment of the present disclosure. As shown in Figure 6, the video editing page displays a target processing image, and the first virtual light source acts on the target processing image. When the corresponding first virtual light source 602 in the target processing image is selected, a delete control 601 appears, and when a delete operation for the first virtual light source is accepted, the first virtual light source 602 can be removed from the target processing image.
[0065] Furthermore, the embodiments of this disclosure support not only removal operations on the first virtual light source, but also drag operations on the first virtual light source in order to adjust the position of the first virtual light source.
[0066] Specifically, when a drag operation is received that acts 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.
[0067] In the embodiments of this disclosure, the drag operation within the display area of the first virtual light source may be, specifically, performed by long-pressing the first virtual light source within the display area of the first virtual light source in the target processing image, then moving the first virtual light source, and displaying the first virtual light source along the corresponding drag trajectory.
[0068] In the embodiments of this disclosure, after the processing of the first virtual light source on the target processed image is completed, a comparison of the effects on the target processed image before and after processing is also supported.
[0069] Specifically, when a first effect comparison operation is received for the target processed image, the first virtual light source in the target processed image is hidden, and when a second effect comparison operation is received for the target processed image, the first virtual light source in the target processed image is redisplayed.
[0070] Regarding the effect comparison operation, by pre-configuring comparison controls and triggering these controls, the corresponding effect diagram can be displayed.
[0071] In one optional embodiment, when the first trigger operation is received for a preset comparison control of the target processing image, the first virtual light source in the target processing image is hidden, and when the second trigger operation is received for the preset comparison control of the target processing image, the first virtual light source in the target processing image is redisplayed.
[0072] In another optional embodiment, when a long press operation is received on a pre-set comparison control of the target processing image, the first virtual light source in the target processing image is hidden, and when it is received that the long press operation on the pre-set comparison control of the target processing image has been completed, the first virtual light source in the target processing image is redisplayed.
[0073] In practical applications, after the light source settings for the target processing image across the entire video editing segment are completed, the embodiments of this disclosure can support the user in viewing the overall video editing effect by generating a resulting video based on the target processing image with completed light source settings and other video image frames.
[0074] Specifically, when the operation to complete the light source setting for the target processing image is received, a result video is generated based on the target processing image on which the first virtual light source has been applied, and the result video includes the target processing image on which the first virtual light source has been applied.
[0075] In the embodiments of this disclosure, a light source setting completion control can be set for the light source setting completion operation to generate a result video by combining the target processing image and the non-target processing image in the video segment.
[0076] In one optional embodiment, when a trigger operation is received for the light source setting completion control of the target processing image, the target processing image and the non-target processing image in the video segment are combined, and the progress of the combination is displayed on the video editing page, thereby displaying the combination status and the light source setting application status to the user in real time.
[0077] In embodiments of this disclosure, keyframes can be set for important target processing images to highlight them, and specifically, adjustment parameters that can support keyframes may include adjustable parameters such as color and position.
[0078] 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 when 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 between the first target image and the second target image.
[0079] By setting keyframes for the target processing image, it is possible to support the highlighting of the target video segment, thereby improving the playback effect of the target video segment and enhancing the viewing experience for the user.
[0080] Based on embodiments of the above method, the present disclosure further provides a multimedia resource processing device, where Figure 7 is a schematic diagram of the configuration of a multimedia resource processing device according to an embodiment of the present disclosure, and the device is A receiving module 701 for receiving a request to add a light source to a target processing image that includes one or more frames, The video editing page displaying the video track includes a display module 702 for displaying a visually processed image corresponding to all or some of the image frames in the video track, on which a first virtual light source generated based on the light source addition operation has been applied.
[0081] In one optional embodiment, the apparatus is A first display module for displaying a light source parameter adjustment panel on the aforementioned video editing page, The light source parameter adjustment panel further includes an update module for updating the display effect of the first virtual light source in response to a parameter adjustment operation for the first virtual light source.
[0082] In one optional embodiment, the adjustable parameters displayed on the light source parameter adjustment panel include the light source target, the light source target includes at least one of a person target, a background target and a panoramic target, and the update module is The light source parameter adjustment panel includes an identification module for identifying a target light source target in the target processing target in response to a parameter adjustment operation on the target of the light source, The system includes a second display module for displaying the display effect of the target object on which the first virtual light source acts in the target processed image on which the first virtual light source acts.
[0083] In one optional embodiment, the adjustable parameters displayed on the light source parameter adjustment panel are: The system includes 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.
[0084] In one optional embodiment, the reception module specifically, It is used to accept a trigger operation for selecting the first virtual light source from a plurality of predefined virtual light sources for a target processing image, and the predefined virtual light sources include pre-set light source parameters.
[0085] In one optional embodiment, the reception module specifically, It is used to accept custom light source operations on the target processing image, and said custom light source operations are used to trigger adjustments to the initial parameters of the first virtual light source.
[0086] In one optional embodiment, the display module specifically, The video editing page is used to display the target processed image on which at least two virtual light sources, including the first virtual light source, have been applied.
[0087] In one optional embodiment, the apparatus is The system further includes a removal module for removing the first virtual light source from the target processed image in response to a removal operation on the first virtual light source.
[0088] In one optional embodiment, the apparatus is The system further includes a third display module for displaying the first virtual light source along a drag trajectory corresponding to a drag operation performed within the display area of the first virtual light source.
[0089] In one optional embodiment, the apparatus is In response to the first effect comparison operation on the target processed image, a hiding module for hiding the first virtual light source in the target processed image is provided, The system further includes a fourth display module for redisplaying the first virtual light source in the target processed image in response to a second effect comparison operation on the target processed image.
[0090] In one optional embodiment, the apparatus is The system further includes a first generation module for generating a result video based on the target processed image on which the first virtual light source has acted, in response to a light source setting completion operation for the target processed image, the result video including the target processed image on which the first virtual light source has acted.
[0091] In one optional embodiment, the target processing image includes a first target image and a second target image, and the receiving module specifically, Used to accept an operation to add a second virtual light source to the first target image, and to accept an operation to add a third virtual light source to the second target image, Accordingly, the device The system further includes a second generation module for generating 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.
[0092] In the multimedia resource processing device according to the embodiment of the present disclosure, first, a light source addition operation is received for a target processing image that includes one or more frames of images, and the target processing image corresponding to all or some of the image frames in the video track, on which the first virtual light source generated based on the light source addition operation has acted, is displayed on the video editing page where the video track is displayed. It can be seen that the embodiment of the present disclosure can improve the display effect of the target processing image and enhance the user's editing experience by supporting a function to add a virtual light source to the target processing image on the video editing page.
[0093] In addition to the above-described method and apparatus, embodiments of the present disclosure further provide a computer-readable storage medium which, when executed on a terminal device, stores instructions causing the terminal device to implement the multimedia resource processing method described in embodiments of the present disclosure.
[0094] The embodiments of the present disclosure further provide a computer program product that, when executed by a processor, includes a computer program / instruction that implements the multimedia resource processing method described in the embodiments of the present disclosure.
[0095] Furthermore, the embodiments of this disclosure are shown in Figure 8, Further information is provided on a multimedia resource processing device including a processor 801, memory 802, input device 803, and output device 804. The number of processors 801 in the multimedia resource processing device may be one or more, and in Figure 8, one processor is used as an example. In some embodiments of this disclosure, the processor 801, memory 802, input device 803, and output device 804 may be connected by a bus or by other means, and in Figure 8, a bus connection is used as an example.
[0096] Memory 802 is used to store software programs and modules, and processor 801 executes various functional applications and data processing of the multimedia resource processing device by executing the software programs and modules stored in memory 802. Memory 802 mainly includes a program storage area and a data storage area, and the program storage area can store the operating system, application programs required for at least one function, etc. Memory 802 may also include high-speed random access memory and may further include non-volatile memory, such as at least one magnetic disk memory device, flash memory device, or other volatile solid-state memory device. Input device 803 can be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the multimedia resource processing device.
[0097] Specifically, in this embodiment, the processor 801 loads executable files corresponding to the processes of one or more application programs into memory 802 according to the following instructions, and the processor 801 executes the application programs stored in memory 802, thereby realizing various functions of the multimedia resource processing device.
[0098] In this specification, relational terms such as “First” and “Second” are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or suggest that any such actual relationship or order exists between these entities or operations. Furthermore, the terms “include,” “incorporate,” or any other variation thereof, by intentionally covering non-exclusive inclusion, mean that a process, method, article, or apparatus containing a set of elements includes not only those elements but also other elements not explicitly listed, or elements specific to such a process, method, article, or apparatus. Unless further limited, an element limited by the phrase “includes one…” does not preclude the existence of other identical elements in a process, method, article, or apparatus containing such element.
[0099] The above description is merely a specific embodiment of the Disclosure and is intended to enable those skilled in the art to understand or implement the Disclosure. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can also be implemented in other embodiments without departing from the spirit or scope of the Disclosure. Accordingly, the Disclosure is not limited to these embodiments described herein, but rather conforms to the broadest extent to which the principles and novel features disclosed herein are consistent.
Claims
1. A method for processing multimedia resources, The system accepts requests to add light sources to target processing images that include one or more frames, A multimedia resource processing method comprising displaying the target processed image corresponding to all or some image frames in the video track, on a video editing page where the video track is displayed, on which the first virtual light source generated based on the light source addition operation has acted.
2. After displaying the target processed image on the video editing page, with the first virtual light source acting on it, Displaying a light source parameter adjustment panel on the aforementioned video editing page, The method according to claim 1, further comprising updating the display effect of the first virtual light source in the light source parameter adjustment panel in response to a parameter adjustment operation for the first virtual light source.
3. The adjustable parameters displayed in the light source parameter adjustment panel include the light source's target, and the light source's target includes at least one of a person, a background, and a panoramic target, and the display effect of the first virtual light source is updated in response to a parameter adjustment operation on the light source parameter adjustment panel. In the light source parameter adjustment panel, in response to a parameter adjustment operation on the target of the light source, the target light source target in the target processing target is identified, The method according to claim 2, further comprising displaying the display effect of the target object of the target light source in the target processing image on which the first virtual light source has acted.
4. The adjustable parameters displayed on the aforementioned light source parameter adjustment panel are: The method according to claim 2, comprising at least one of 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. Accepting the operation to add a light source to the target processed image means that The method according to claim 1, comprising receiving a trigger operation for selecting a first virtual light source from a plurality of predefined virtual light sources for a target processing image, wherein the predefined virtual light source holds pre-set light source parameters.
6. Accepting the operation to add a light source to the target processed image means that The method according to claim 1, comprising accepting a custom light source operation on a target processing image, wherein the custom light source operation acts to trigger an adjustment of the initial parameters of the first virtual light source.
7. Displaying the target processed image on the video editing page, with the first virtual light source acting upon it, The method according to claim 1, further comprising displaying the target processed image on the video editing page, on which at least two virtual light sources, including the first virtual light source, have been acted.
8. The method according to claim 1, further comprising removing the first virtual light source from the target processed image in response to a removal operation on the first virtual light source.
9. The method according to claim 1, further comprising displaying the first virtual light source along a drag trajectory corresponding to a drag operation in response to a drag operation acting within the display area of the first virtual light source.
10. In response to the first effect comparison operation on the target processed image, the first virtual light source in the target processed image is hidden, The method according to claim 1, further comprising redisplaying the first virtual light source in the target processed image in response to a second effect comparison operation on the target processed image.
11. The method according to claim 1, further comprising generating a result video based on the target processed image on which the first virtual light source has acted, in response to a light source setting completion operation for the target processed image, wherein the result video includes the target processed image on which the first virtual light source has acted.
12. The aforementioned target processing image includes a first target image and a second target image, and accepts a light source addition operation for the target processing image. This includes accepting an operation to add a second virtual light source to the first target image, and accepting an operation to add a third virtual light source to the second target image, Accordingly, the above method is The method according to claim 1, further comprising generating 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.
13. A multimedia resource processing device, A receiving module for accepting requests to add light sources to a target processing image that includes one or more frames, A multimedia resource processing device comprising: a display module for displaying the target processed image corresponding to all or some image frames in the video track, on a video editing page where the video track is displayed, with a first virtual light source generated based on the light source addition operation acting upon it.
14. A computer-readable storage medium, wherein, when executed on a terminal device, the terminal device stores instructions that enable the implementation of the method described in any one of claims 1 to 12.
15. A multimedia resource processing device comprising: memory; a processor; and a computer program stored in the memory and executable by the processor, wherein the processor, when executing the computer program, realizes the method according to any one of claims 1 to 12.