Multimedia processing method, apparatus and terminal device
By displaying a first toolbar and a second toolbar in the video editing interface, the problem of high complexity in material editing is solved, achieving fast and accurate material editing and flexible interface display.
Patent Information
- Application Number
- CN202411922403.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2026-01-13
- Estimated Expiration
- 2044-12-24
AI Technical Summary
The existing video editing toolbar has high material editing complexity, resulting in low editing efficiency.
The interface displays a first toolbar and a second toolbar. The first toolbar is used for multimedia editing, and the second toolbar includes controls associated with material editing. Users can quickly edit materials by selecting the second control.
It improves the accuracy and efficiency of material editing, and the second toolbar can be hidden when materials are deselected, increasing the flexibility of the interface display.
Smart Images

Figure CN119729124B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of multimedia technology, and in particular to a multimedia processing method, apparatus, and terminal device. Background Technology
[0002] Users can edit videos in the video editing interface. For example, users can add filters, stickers, and text to the video.
[0003] Currently, the video editing page includes a toolbar for adding footage to the video. However, adjusting added footage requires manual manipulation. For example, to extend video footage to the left, the user needs to drag the left side of the footage to the extended position. This method is complex and inefficient. Summary of the Invention
[0004] This disclosure provides a multimedia processing method, apparatus, and terminal device to solve technical problems in the prior art.
[0005] In a first aspect, embodiments of this disclosure provide a multimedia processing method, the multimedia processing method comprising:
[0006] A first toolbar is displayed on the interface, the first toolbar including one or more first controls, the one or more first controls being used for editing multimedia;
[0007] In response to the selection of material to fill the track of the multimedia, a second toolbar is also displayed on the interface, the second toolbar including one or more second controls associated with editing the material;
[0008] The material is edited in response to the selection of one of the one or more second controls.
[0009] Secondly, embodiments of this disclosure provide a multimedia processing apparatus, which includes a display module and an editing module, wherein:
[0010] The display module is used to display a first toolbar on the interface, the first toolbar including one or more first controls, the one or more first controls being used for editing multimedia;
[0011] The display module is also configured to, in response to the selection of material to fill the track of the multimedia, display a second toolbar on the interface, the second toolbar including one or more second controls associated with editing the material;
[0012] The editing module is used to edit the material in response to the selection of one of the one or more second controls.
[0013] Thirdly, this disclosure provides a terminal device including: a processor and a memory;
[0014] The memory stores computer-executed instructions;
[0015] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the multimedia processing methods described in the first aspect above and various possible aspects of the first aspect.
[0016] Fourthly, this disclosure provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the multimedia processing methods described in the first aspect and various possible aspects of the first aspect.
[0017] Fifthly, this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the multimedia processing methods described in the first aspect above and various possible aspects of the first aspect.
[0018] This disclosure provides a multimedia processing method, apparatus, and terminal device. The terminal device can display a first toolbar on an interface, wherein the first toolbar may include one or more first controls for editing multimedia. In response to the selection of materials filling the multimedia track, a second toolbar is also displayed on the interface, wherein the second toolbar may include one or more second controls associated with material editing. In response to the selection of one of the one or more second controls, material editing is performed. In the above method, the interface can display not only the first toolbar but also the second toolbar. Since the second controls in the second toolbar can be used to edit materials, users can quickly and accurately edit materials based on the second controls in the second toolbar, improving the accuracy and efficiency of material editing. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1This is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;
[0021] Figure 2 A flowchart illustrating a multimedia processing method provided in an embodiment of this disclosure;
[0022] Figure 3 A schematic diagram of a first toolbar provided for an embodiment of this disclosure;
[0023] Figure 4 A schematic diagram illustrating the process of displaying a second toolbar provided in an embodiment of this disclosure;
[0024] Figure 5 This is a schematic diagram illustrating a process for canceling the display of the second toolbar, provided by an embodiment of this disclosure.
[0025] Figure 6 This is a schematic diagram illustrating the process of editing materials according to an embodiment of the present disclosure;
[0026] Figure 7 This is a schematic diagram of a method for determining a second control provided in an embodiment of the present disclosure;
[0027] Figure 8 A schematic diagram of a second toolbar provided for an embodiment of this disclosure;
[0028] Figure 9 A schematic diagram illustrating the display of a second control according to an embodiment of this disclosure;
[0029] Figure 10 A schematic diagram of a second toolbar provided for an embodiment of this disclosure;
[0030] Figure 11 A schematic diagram illustrating the display of a second control according to an embodiment of this disclosure;
[0031] Figure 12 This is a schematic diagram illustrating a method for editing materials according to an embodiment of the present disclosure;
[0032] Figure 13 This is a schematic diagram illustrating the process of editing materials according to an embodiment of the present disclosure;
[0033] Figure 14 This is a schematic diagram of the structure of a multimedia processing device provided in an embodiment of the present disclosure;
[0034] Figure 15 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this disclosure. Detailed Implementation
[0035] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0036] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0037] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the terminal device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0038] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the terminal device.
[0039] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0040] For ease of understanding, the concepts involved in the embodiments of this disclosure will be explained below.
[0041] Terminal device: A device with wireless transceiver capabilities. Terminal devices can be deployed on land, including indoors or outdoors, handheld, wearable, or vehicle-mounted. These terminal devices can be mobile phones, tablet computers, computers with wireless transceiver capabilities, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, vehicle-mounted terminal devices, wireless terminals in self-driving vehicles, wireless terminal devices in remote medical care, wireless terminal devices in smart grids, wireless terminal devices in transportation safety, wireless terminal devices in smart cities, wireless terminal devices in smart homes, wearable terminal devices, etc. The terminal equipment involved in the embodiments of this disclosure may also be referred to as a terminal, user equipment (UE), access terminal equipment, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal equipment, mobile device, UE terminal equipment, wireless communication equipment, UE agent, or UE device, etc. The terminal equipment may also be fixed or mobile.
[0042] Below, in conjunction with Figure 1 The application scenarios of the embodiments of this disclosure will be described.
[0043] Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this disclosure. Please refer to [link / reference]. Figure 1 This includes terminal devices. The interface displayed on the terminal device can be a video editing interface. This video editing interface can include a preview area, video footage, stickers, and a timeline. When the user clicks on a sticker, the sticker is highlighted. After clicking the sticker, the user can drag its left side to the left, increasing its proportion on the timeline (the sticker's duration is longer than before dragging). When the user stops interacting with the sticker, the sticker is dehighlighted, and its proportion on the timeline increases again. This allows users to manually edit the stickers.
[0044] It should be noted that, Figure 1 These are merely examples of embodiments of this disclosure and are not intended to limit the scope of this disclosure.
[0045] In related technologies, users can edit videos through a video editing interface. For example, ... Figure 1In the illustrated embodiment, users can add stickers to video footage in the video editing interface. Users can also add filters, effects, and text to the video footage in this interface. Currently, the video editing page can include a toolbar that can be used to add footage to the video. For example, in... Figure 1 In the illustrated embodiment, when a user clicks on a video clip, a toolbar can be displayed at the bottom of the video editing interface. This toolbar may include controls for adding filters, stickers, and effects. The user can click on these controls to add corresponding materials to the video clip. After adding new materials, manual operation is required when editing them. For example, ... Figure 1 In the illustrated embodiment, the user can increase the sticker's duration by manually dragging the left side of the sticker. However, the above method involves many types of editing (e.g., splitting, dragging, and deleting), making manual editing of the material complex and resulting in low efficiency.
[0046] To address the technical problems in related technologies, this disclosure provides a multimedia processing method. A terminal device can display a first toolbar on its interface, where first controls can be used to edit multimedia. In response to the selection of materials filling the multimedia track, a second toolbar is also displayed on the interface. This second toolbar may include one or more second controls associated with material editing, and these controls are displayed in a window of the interface. In response to the selection of one of the one or more second controls, material editing is performed. In response to deselecting the material, the terminal device can dedisplay the second toolbar. In this method, the interface can display not only the first toolbar but also the second toolbar. Since the second controls in the second toolbar can be used to edit materials, users can quickly and accurately edit materials based on these controls, improving the accuracy and efficiency of material editing. Furthermore, the terminal device can dedisplay the second toolbar when the user deselects materials, increasing the flexibility of the interface display.
[0047] The technical solutions of this disclosure and how they solve the aforementioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this disclosure will now be described with reference to the accompanying drawings.
[0048] Figure 2 This is a schematic flowchart illustrating a multimedia processing method provided in an embodiment of this disclosure. Please refer to [link / reference]. Figure 2 The method may include:
[0049] S201. Display the first toolbar on the interface.
[0050] The execution entity of this disclosure can be a terminal device or a multimedia processing device installed in the terminal device. The multimedia processing device can be implemented in software, or it can be implemented using a combination of software and hardware; this disclosure does not limit this approach.
[0051] The interface can be used for video editing. For example, the interface can be a video editing interface. For instance, the terminal device can display a video editing interface where users can create templates. These templates can include pre-designed animation effects, text styles, color schemes, transition effects, music, and other materials.
[0052] In some embodiments, the first toolbar may include one or more first controls. For example, the terminal device may display the first toolbar at the bottom of the interface, which may include one or more first controls; this disclosure does not limit this.
[0053] One or more first controls can be used to edit multimedia. For example, the first controls can be used to add stickers, filters, effects, etc., to multimedia, and can also be used to split, crop, and delete multimedia. For example, multimedia can be video, audio, or images, and can also be a combination of one or more of video, audio, and images. For example, multimedia can be a video combining video and audio, a video combining video and images, a video combining images and audio, or a video combining video, images, and audio.
[0054] In some embodiments, the terminal device may display a first toolbar in response to a selection of multimedia. For example, the first toolbar is not displayed at the bottom of the interface when the user does not click on a video clip in the interface, but it may be displayed at the bottom of the interface when the user clicks on a video clip.
[0055] Below, in conjunction with Figure 3 The first toolbar will be explained in detail.
[0056] Figure 3 This is a schematic diagram of a first toolbar provided in an embodiment of this disclosure. Please refer to [link / reference]. Figure 3This includes terminal devices. The interface displayed on the terminal device can be a video editing interface. This video editing interface can include a preview area and video footage, which is filled into the video timeline. When the user clicks on a video clip, the terminal device can display a first toolbar at the bottom of the video editing interface. The first controls in this toolbar include sticker controls, effects controls, and filter controls. When the user clicks on a sticker control, the terminal device can fill the sticker track (which is on the same timeline as the video track) with sticker material; that is, the terminal device can add stickers to the video clip.
[0057] In some embodiments, the first toolbar can be displayed at any position on the interface, and this disclosure does not limit this.
[0058] In some embodiments, the background color of the first toolbar may be the same as the background color of the interface, or the background color of the first toolbar may be different from the background color of the interface. This disclosure does not limit this aspect.
[0059] In some embodiments, in response to the deselection of multimedia, the terminal device may deselect the display of the first toolbar. For example, such as Figure 3 In the illustrated embodiment, when the user deselects video material (e.g., the user clicks again on an area without video material or video track), the first toolbar can be de-displayed at the bottom of the interface.
[0060] S202. In response to the selection of materials to fill the multimedia track, a second toolbar is also displayed on the interface.
[0061] The materials can be objects to be edited within the editing scene. These materials can include one or more of the following: videos, images, audio, stickers, filters, effects, and text.
[0062] In some embodiments, in a video editing scenario, the material can be video, or it can be video (picture-in-picture), audio, stickers, filters, effects, images, and text applied to a video application.
[0063] In some embodiments, in an image editing scenario, the material can be an image, or it can be video, audio, effects, stickers, filters, and text that will be applied to the image.
[0064] In some embodiments, in an audio editing scenario, the source material can be audio.
[0065] For example, the materials selected by the user may include audio, materials in the main track, picture-in-picture, doodle pen, text, stickers, filters, global effects, video effects, makeup, face shaping, adjustments, 3D accessories, and materials determined by artificial intelligence (such as digital human effects).
[0066] The multimedia tracks can be used to fill content. For example, video tracks can be filled with video content, audio tracks with audio content, image tracks with image content, text tracks with text content, and sticker tracks with stickers, etc.
[0067] In some embodiments, the track may include slots for filling material. The terminal device can fill the slots with material, and as the material grows (the duration of the material increases), the slots corresponding to the material can also grow synchronously. It should be noted that the slots for filling material can be hidden, which can improve the simplicity of the interface.
[0068] The second toolbar includes one or more second controls associated with editing the material. For example, when a user clicks on a material, the terminal device can display the second toolbar on the interface. This second toolbar may include one or more second controls, which the user can click to edit the material.
[0069] In some embodiments, the second control can be used to edit the footage. For example, one or more second controls can be used to copy, split, delete, or extend footage, allowing users to quickly and accurately edit the footage based on the second control, thus improving the efficiency and accuracy of editing.
[0070] In some embodiments, one or more second controls are displayed in a window of the interface. This improves the flexibility of the interface layout and enhances the display effect. For example, the window can be displayed along with the second toolbar; the window can be displayed synchronously when the second toolbar is displayed and can disappear synchronously when the second toolbar disappears. For example, the terminal device can add a custom component to display the second toolbar.
[0071] In some embodiments, the background color of the window can be different from the background color of the interface. For example, the background color of the interface can be black, and the background color of the window can be gray. This can improve the display effect of one or more second controls in the interface, making it easier for users to quickly find the second controls in the interface and improving the user experience.
[0072] In some embodiments, the background color of the window may be the same as the background color of the interface, and this disclosure does not limit this.
[0073] In some embodiments, the terminal device can deselect a media item in response to deselection, thus deselecting the second toolbar. For example, after a user selects a media item, if the user clicks on the media item or an area outside the media track, the user can deselect the media item, and the terminal device can also deselect the second toolbar.
[0074] Below, in conjunction with Figure 4 This section explains the process by which a second toolbar is displayed on the interface in response to the selection of materials to fill the multimedia track by the terminal device.
[0075] Figure 4 This is a schematic diagram illustrating a process for displaying a second toolbar, provided as an embodiment of this disclosure. Please refer to... Figure 4 This includes a terminal device. The interface displayed on the terminal device is a video editing interface. This video editing interface includes a preview area, video footage, stickers, and a first toolbar. The first toolbar includes sticker controls, effects controls, and filter controls. When the user clicks a sticker, the terminal device can highlight the sticker and display a second toolbar above the first toolbar. The background color of this second toolbar is different from the background color of the interface. The second controls in this second toolbar include a split control and a delete control.
[0076] Below, in conjunction with Figure 5 This section explains the process by which the terminal device responds to the deselection of materials and cancels the display of the second toolbar.
[0077] Figure 5 This is a schematic diagram illustrating a process for canceling the display of the second toolbar, provided as an embodiment of this disclosure. Please refer to... Figure 5 This includes the terminal device. The interface displayed on the terminal device is a video editing interface. This video editing interface includes a preview area, video footage, stickers, a first toolbar, and a second toolbar. The first toolbar displays first controls including sticker controls, effects controls, and filter controls. The second toolbar displays second controls including split controls and delete controls. Stickers are highlighted (when the user clicks on a sticker). After the user clicks on a blank area of the video editing interface, the terminal device can determine that the user has deselected a sticker, and the terminal device can then de-display the second toolbar in the video editing interface.
[0078] S203. In response to the selection of one of the one or more second controls, edit the material.
[0079] The terminal device can edit the materials using the following feasible implementation method: determine the editing function of the selected second control, and edit the materials based on the editing function. In this way, the terminal device can accurately edit the materials selected by the user based on the second control selected by the user, thereby improving the accuracy of material editing.
[0080] For example, when the second control clicked by the user is used to copy material, the terminal device can copy the material selected by the user; when the second control clicked by the user is used to split material, the terminal device can split the material selected by the user; when the second control clicked by the user is used to delete material, the terminal device can delete the material selected by the user; and when the second control clicked by the user is used to extend material, the terminal device can extend the material selected by the user.
[0081] Below, in conjunction with Figure 6 This describes the process of editing materials in response to the selection of one of one or more second controls by the terminal device.
[0082] Figure 6 This is a schematic diagram illustrating a process of editing materials according to an embodiment of this disclosure. Figure 6 In the illustrated embodiment, the second control is used to delete the material to the left of the pointer. Please refer to [link / reference]. Figure 6 This includes a terminal device. The interface displayed on the terminal device is a video editing interface. This video editing interface includes a preview area, video footage, stickers, a first toolbar, a second toolbar, and a pointer. The first toolbar displays first controls including sticker controls, effects controls, and filter controls. Stickers are highlighted. The second toolbar displays second controls including a split control and a delete control. When the user clicks the delete control, the terminal device can delete the sticker selected by the user on the track. In this way, users can quickly and accurately edit footage based on the second controls in the second toolbar, improving the accuracy and efficiency of footage editing.
[0083] This disclosure provides a multimedia processing method. A terminal device can display a first toolbar on its interface. In response to the selection of materials filling a multimedia track, the terminal device can display a second toolbar on its interface. In response to the selection of one of one or more second controls displayed in the second toolbar, the editing function of the selected second control is determined, and the materials are edited based on the editing function. In this method, since the second controls in the second toolbar can be used to edit materials, users can quickly and accurately edit materials based on the second controls in the second toolbar, improving the accuracy and efficiency of material editing. Furthermore, when the user deselects materials, the terminal device can de-display the second toolbar, improving the flexibility of the interface display.
[0084] exist Figure 2 Based on the illustrated embodiment, in the above multimedia processing method, the terminal device can further determine one or more second controls in the second toolbar. Below, in conjunction with... Figure 7This section provides a detailed explanation of the methods for identifying one or more second controls in the second toolbar.
[0085] Figure 7 This is a schematic diagram illustrating a method for determining a second control according to an embodiment of this disclosure. Please refer to [link / reference]. Figure 7 The method process includes:
[0086] S701. Determine the timing position of the pointer.
[0087] The interface can include a track, where materials can be placed and pointers can be included. For example, as shown... Figure 6 In the illustrated embodiment, video footage can be filled onto the video track, stickers can be filled onto the sticker track, and the interface can also hide the tracks. This avoids the tracks interfering with video editing, thereby improving the simplicity of the interface and enhancing the user experience.
[0088] In some embodiments, the pointer can be a marker that moves along the timeline, and the pointer's temporal position can be its location on the timeline. For example, the pointer can be a white vertical line, and its temporal position on the timeline can indicate the current editing position. Users can preview and edit different parts of the video by moving the pointer.
[0089] In some embodiments, the pointer can help users pinpoint specific frames within a clip, allowing for precise editing. For example, users can move the pointer to determine the exact location where clips need to be split, deleted, or extended.
[0090] In some embodiments, when a user previews the edited result, the pointer can move continuously to the right, indicating the current preview position of the edited result.
[0091] In some embodiments, the timing position of the pointer can be the position of the editing operation. For example, when a user splits a clip, the split position of the clip can be the timing position of the pointer; when a user extends a clip, the clip can be extended to the timing position of the pointer.
[0092] In some embodiments, the terminal device can monitor the timing position of the pointer slide in real time. The terminal device can also determine the timing position of the pointer based on any feasible implementation method. This disclosure does not limit this.
[0093] S702. Determine the second control based on the pointer's timing position and the material's effective time period.
[0094] The effective time period of a clip can indicate its playback position. For example, if the effective time period of a clip is from the 5th to the 10th second, the clip can be played during the preview of the edited result on the terminal device. Similarly, if the effective time period of a sticker is from the 5th to the 15th second, and the edited video is 30 seconds long, the sticker can be included during the 5th to 15th seconds of the video's playback on the terminal device; the sticker will not be included during other playback periods of the video.
[0095] In some embodiments, the pointer's state can indicate the relationship between the pointer's timing position and the time period of the footage. For example, the terminal device can monitor the pointer's timing position in real time and determine the pointer's state by comparing it with the time period of the footage. The pointer's state can be left, right, center, beginning, and end. When the pointer is left, it is located on the left side of the footage; when it is right, it is located on the right side; when it is center, it is located in the middle of the footage; when it is beginning, it is located in the first frame of the footage; and when it is end, it is located in the last frame of the footage.
[0096] In this case, the terminal device determines the second control based on the timing position of the pointer and the short duration of the material's effect, and there are two possible scenarios:
[0097] Case 1: The timing position of the pointer is within the time period of the material's effect.
[0098] When the pointer's timing position is within the effective time period of the material, one or more second controls can be controls from the first set.
[0099] In some embodiments, the first set may include one or more of the following: a control for copying materials, a control for splitting materials, and a control for deleting materials.
[0100] In some embodiments, the control for deleting media includes one or more of the following: a control for deleting media to the left of a time sequence position, a control for deleting media to the right of a time sequence position, and a control for deleting all media. For example, when a user clicks the control for deleting media to the left of a time sequence position, the terminal device can delete the media to the left of the time sequence position; when a user clicks the control for deleting media to the right of a time sequence position, the terminal device can delete the media control to the right of the time sequence position.
[0101] Below, in conjunction with Figure 8 When the second control is a control from the first set, the second toolbar will be described.
[0102] Figure 8 This is a schematic diagram of a second toolbar provided in an embodiment of this disclosure. Please refer to [link / reference]. Figure 8This includes a second toolbar. The second toolbar displays the following controls: a copy control (for copying footage), a left delete control (for deleting footage to the left of the timeline position), a split control (for splitting footage), a right delete control (for deleting footage to the right of the timeline position), and a delete control (for deleting complete footage).
[0103] In some embodiments, when the timing position of the pointer changes, some controls in the first set can be enabled, while others can be disabled. For example, when a second control in the second toolbar is enabled, the second control is usable; when the second control is disabled, the second control is unusable; and when the second control is disabled, it can be grayed out.
[0104] In some embodiments, when the pointer's timing position is not within the time period of the first and last frames of the footage, the controls for copying the footage, splitting the footage, and deleting the footage are enabled; when the pointer's timing position is within the time period of the first and last frames of the footage, the controls for copying the footage and deleting the complete footage are enabled, while the controls for splitting the footage, deleting the footage to the left of the timing position, and deleting the footage to the right of the timing position are disabled.
[0105] Below, in conjunction with Figure 9 The second control displayed on the terminal device is described below.
[0106] Figure 9 This is a schematic diagram illustrating a display of a second control according to an embodiment of this disclosure. Please refer to [link / reference]. Figure 9 This includes the terminal device. The interface displayed on the terminal device includes a preview area, video footage, stickers, a pointer, a first toolbar, and a second toolbar. The first toolbar includes sticker controls, effects controls, and filter controls. The second toolbar includes copy controls, left delete controls, split controls, right delete controls, and delete controls.
[0107] Please see Figure 9 When the pointer is within the sticker's active timeframe, the copy, left delete, split, right delete, and delete controls are enabled. When the pointer is at the first frame of the sticker, the copy and delete controls are enabled, while the left delete, split, and right delete controls are disabled. When the pointer is at the last frame of the sticker, the copy and delete controls are enabled, while the left delete, split, and right delete controls are disabled.
[0108] Case 2: The timing position of the pointer is outside the time period of the material.
[0109] When the pointer's timing position is outside the effective time period of the material, one or more second controls are controls in the second set.
[0110] In some embodiments, the second set may include one or more of the following: a control for copying material, a control for deleting complete material, and a control for extending material to a timing position.
[0111] In some embodiments, the controls for extending the clip to a timing position include one or more of the following: controls for extending the left side of the clip and controls for extending the right side of the clip. For example, when a user clicks the control for extending the left side of the clip, the terminal device can extend the left side of the clip to the timing position; when a user clicks the control for extending the right side of the clip, the terminal device can extend the right side of the clip to the timing position.
[0112] Below, in conjunction with Figure 10 When the second control is a control in the second set, the second toolbar will be described.
[0113] Figure 10 This is a schematic diagram of a second toolbar provided in an embodiment of this disclosure. Please refer to [link / reference]. Figure 10 This includes a second toolbar. The second toolbar displays the following controls: a copy control, a left extension control (for extending the left side of the image), a split control, a right extension control (for extending the right side of the image), and a delete control.
[0114] In some embodiments, when the timing position of the pointer changes, some controls in the second set can be enabled and others can be disabled.
[0115] In some embodiments, when the pointer's timing position is on the left side of the material, the controls for copying the material, deleting the complete material, and extending the left side of the material are enabled, while the control for extending the right side of the material is disabled; when the pointer's timing position is on the right side of the material, the controls for copying the material, deleting the complete material, and extending the right side of the material are enabled, while the control for extending the left side of the material is disabled.
[0116] Below, in conjunction with Figure 11 The second control displayed on the terminal device is described below.
[0117] Figure 11 This is a schematic diagram illustrating a display of a second control according to an embodiment of this disclosure. Please refer to [link / reference]. Figure 11 This includes the terminal device. The interface displayed on the terminal device includes a preview area, video footage, stickers, a pointer, a first toolbar, and a second toolbar. The first toolbar includes sticker controls, effects controls, and filter controls. The second toolbar includes copy controls, left-extend controls, split controls, right-extend controls, and delete controls.
[0118] Please see Figure 11When the pointer is to the left of the sticker's effective period, the copy, left extension, and delete controls can be enabled, while the right extension and split controls can be disabled. When the pointer is to the right of the sticker's effective period, the copy, right extension, and delete controls can be enabled, while the left extension and split controls can be disabled. Optionally, when the pointer is to the first or last frame of the sticker, the copy and delete controls can be enabled, while the split, left extension, and right extension controls can be disabled. This improves the flexibility of control display.
[0119] This disclosure provides a method for determining a second control. The terminal device can determine the timing position of a pointer. When the pointer's timing position is within the effective time period of the content, the terminal device can determine that one or more second controls are controls from a first set. When the pointer's timing position is outside the effective time period of the content, the terminal device can determine that one or more second controls are controls from a second set. In this method, the terminal device can flexibly determine the second controls displayed in the second toolbar based on the relationship between the pointer's timing position and the effective time period of the content. Furthermore, it can flexibly adjust the state (enabled or disabled) of the second controls, improving the flexibility and accuracy of control display and enhancing the user experience.
[0120] Based on any of the above embodiments, the following, in conjunction with Figure 12 The method for editing materials by the terminal device in the above multimedia processing method will be described.
[0121] Figure 12 This is a schematic diagram illustrating a method for editing materials according to an embodiment of this disclosure. Please refer to [link / reference]. Figure 12 The method process includes:
[0122] S1201. Confirm the editing function of the selected second control.
[0123] In some embodiments, the terminal device can pre-set a correspondence between each second control and an editing function. This allows the terminal device to quickly and accurately determine the editing function of the selected second control based on this correspondence after the user selects it. For example, the correspondence between the second controls and editing functions might be: second control 1 - editing function A, second control 2 - editing function B, second control 3 - editing function C. When the user selects second control 1, the terminal device can determine the editing function as editing function A; when the user selects second control 2, the terminal device can determine the editing function as editing function B; and when the user selects second control 3, the terminal device can determine the editing function as editing function C.
[0124] Optionally, the terminal device may also determine the editing function of the selected second control based on any feasible implementation method, and this embodiment of the disclosure does not limit this.
[0125] S1202. Edit the materials based on the editing function.
[0126] The terminal device can edit the material based on the following feasible implementation method: determine whether the editing function of the selected second control is executable; if yes, then edit the material based on the editing function; if no, then display a prompt message.
[0127] The prompts can include reasons why editing functions cannot be executed. For example, prompts may include that the current position cannot be split, deleted, dragged, or copied. For instance, when the dragged length of the material is insufficient (e.g., the pointer is too far from the material's effective timeframe), the left or right extension control can be grayed out. After the user clicks the left or right extension control, the terminal device can display the prompt "Current position cannot be dragged." Similarly, when binding text to audio, the left or right extension control is grayed out, and when the user clicks it, the terminal device can display the prompt "Current track cannot be dragged." Likewise, when makeup or music copying functions are not working properly, the copy control can be grayed out, and when the user clicks it, the terminal device can display the prompt "Current track cannot be copied."
[0128] In some embodiments, the terminal device may determine that the editing function is executable based on the following feasible implementations: when the track and the material are separable, and the timing position of the pointer is within the effective time period of the material, but not within the effective time period of the first or last frame of the material, the editing function for splitting the material is determined to be executable; when the timing position is within the effective time period of the material, but not within the effective time period of the first or last frame of the material, the editing function for deleting the material to the left or right of the timing position is determined to be executable; when the timing position is outside the effective time period of the material, and the material can be extended, the editing function for extending the material to the pointer is determined to be executable.
[0129] For example, when the track and the footage are separable, and the timing position of the pointer is within the time period of the footage, but not within the time period of the first or last frame of the footage, it means that the terminal device can segment the footage at that timing position. Therefore, the terminal device can determine that the editing function for segmenting the footage is executable, that is, the second control for segmenting the footage is enabled.
[0130] For example, if the timing position is within the effective time period of the material, but not within the effective time period of the first or last frame of the material, it means that the terminal device can delete the material to the left or right at that timing position. Therefore, the terminal device can determine that the editing function for deleting the material to the left or right of the timing position is executable, that is, the control for deleting the material to the left of the timing position or the control for deleting the material to the right of the timing position is enabled.
[0131] For example, if the timing position is outside the effective time period of the material and the material can be extended, it means that the terminal device can extend the material to the timing position. Therefore, the terminal device can determine that the editing function for extending the material to the pointer is executable, that is, the control for extending the left side of the material or the control for extending the right side of the material is enabled.
[0132] In some embodiments, when the editing function is executable, the terminal device edits the footage based on the editing function. Specifically, when the editing function is used to delete footage to the left of a timing position, the footage to the left of the timing position is deleted on the track; when the editing function is used to delete footage to the right of a timing position, the footage to the right of the timing position is deleted on the track; when the editing function is used to extend footage towards a timing position, the footage is extended to the side of the timing position closest to the timing position on the track until the timing position is reached. This improves the efficiency of editing footage.
[0133] In some embodiments, when the editing function is used to copy footage, the terminal device can copy the footage selected by the user on a track.
[0134] In some embodiments, when the editing function is used to delete complete footage, the terminal device can delete user-selected footage on the track.
[0135] In some embodiments, the terminal device can implement click processing of the second control in the second toolbar based on a proxy and strategy pattern. For example, a proxy class can be used to perform unified judgment processing on clicks of the second control to determine whether the editing function of the current second control can be executed. When the editing function cannot be executed, the proxy class can perform a pre-interception operation. When the proxy class determines that the editing function can be executed, the proxy class can operate on the track where the user-selected material is located.
[0136] In some embodiments, the logic for determining whether the editing function can be executed differs depending on the track. The terminal device can configure corresponding judgment logic for video tracks, audio tracks, and effects tracks respectively. When the track containing the user-selected material changes, the judgment logic can also change synchronously. For example, the judgment logic for the video track may include the video material being unable to be split during task processing, and the judgment logic for the audio track may include the audio being unable to be extended when bound to text. This disclosure does not limit this aspect.
[0137] Below, in conjunction with Figure 13 This section explains the process of editing materials using terminal devices.
[0138] Figure 13 This is a schematic diagram illustrating a process of editing materials according to an embodiment of this disclosure. Please refer to [link / reference]. Figure 13 This includes the terminal device. The interface displayed on the terminal device includes a preview area, a pointer, video footage, stickers, a first toolbar, and a second toolbar. The first toolbar includes sticker controls, effects controls, and filter controls. The second toolbar includes copy controls, left delete controls, split controls, right delete controls, and delete controls. When the user selects a sticker, the pointer is positioned within the sticker's active period.
[0139] Please see Figure 13 When the user clicks the copy control, the terminal device can copy an identical sticker to the end of the selected sticker. When the user clicks the split control, the terminal device can split the selected sticker into two stickers at the specified pointer position. When the user selects the second sticker and the pointer is within the second sticker's active period, clicking the delete control will delete the second sticker.
[0140] Please see Figure 13 When the user selects the first sticker, the pointer is positioned outside the effective period of the first sticker. The second toolbar includes a copy control, a left extension control, a split control, a right extension control, and a delete control. When the user clicks the right extension control, the terminal device extends the right side of the first sticker to the pointer's position. When the user selects the second sticker and clicks the left extension control, the terminal device extends the left side of the second sticker to the pointer's position.
[0141] Please see Figure 13 After the pointer moves, its position falls within the effective timeframe of the second sticker. The second toolbar can then redisplay the copy, left delete, split, right delete, and delete controls. When the user clicks the left delete control, the device can delete the portion to the left of the pointer's position within the second sticker. Similarly, when the user clicks the right delete control, the device can delete the portion to the right of the pointer's position within the second sticker. This allows the device to quickly and accurately edit materials, improving the accuracy and efficiency of editing.
[0142] This disclosure provides a method for editing source material. The terminal device can determine the editing function of the selected second control and whether the editing function is executable. If so, when the editing function is used to delete source material to the left of a timing position, the source material to the left of the timing position is deleted on the track; when the editing function is used to delete source material to the right of a timing position, the source material to the right of the timing position is deleted on the track; when the editing function is used to extend source material to a timing position, the source material is extended to the side closest to the timing position on the track until the timing position is reached. If not, a prompt message is displayed. In this way, the terminal device can edit source material quickly and accurately, and the reliability of the editing can be improved.
[0143] Figure 14 This is a schematic diagram of a multimedia processing apparatus provided in an embodiment of this disclosure. Please refer to [link / reference]. Figure 14 The multimedia processing device 1400 includes a display module 1401 and an editing module 1402, wherein:
[0144] The display module 1401 is used to display a first toolbar on the interface, the first toolbar including one or more first controls, the one or more first controls being used for editing multimedia.
[0145] The display module 1401 is also configured to, in response to the selection of material to fill the track of the multimedia, further display a second toolbar on the interface, the second toolbar including one or more second controls associated with editing the material;
[0146] The editing module 1402 is used to edit the material in response to the selection of one of the one or more second controls.
[0147] According to one or more embodiments of this disclosure, the display module 1401 is further configured to:
[0148] In response to the deselection of the material, the second toolbar is de-displayed.
[0149] According to one or more embodiments of this disclosure, the one or more second controls are displayed in a window of the interface.
[0150] According to one or more embodiments of this disclosure, the background color of the window is different from the background color of the interface.
[0151] According to one or more embodiments of this disclosure, the interface includes a track, the material is filled on the track, and the track includes a pointer;
[0152] When the timing position of the pointer is within the effective time period of the material, the one or more second controls are controls in the first set;
[0153] When the timing position of the pointer is outside the effective time period of the material, the one or more second controls are controls in the second set.
[0154] According to one or more embodiments of this disclosure, the first set includes one or more of the following: a control for copying the material, a control for splitting the material, and a control for deleting the material.
[0155] According to one or more embodiments of this disclosure, the control for deleting the material includes one or more of the following: a control for deleting material to the left of the time sequence position, a control for deleting material to the right of the time sequence position, and a control for deleting complete material.
[0156] According to one or more embodiments of this disclosure, when the timing position of the pointer is not within the time period of the first and last frames of the material, the control for copying the material, the control for splitting the material, and the control for deleting the material are enabled;
[0157] When the timing position of the pointer is within the time period of the first and last frames of the material, the control for copying the material and the control for deleting the complete material are enabled, while the control for splitting the material, the control for deleting the material to the left of the timing position, and the control for deleting the material to the right of the timing position are disabled.
[0158] According to one or more embodiments of this disclosure, the second set includes one or more of the following: a control for copying the material, a control for deleting the complete material, and a control for extending the material to the timing position.
[0159] According to one or more embodiments of this disclosure, the control for extending the material to the timing position includes one or more of the following: a control for extending the left side of the material, and a control for extending the right side of the material.
[0160] According to one or more embodiments of this disclosure, when the timing position of the pointer is on the left side of the material, the control for copying the material, the control for deleting the complete material, and the control for extending the left side of the material are enabled, and the control for extending the right side of the material is disabled;
[0161] When the timing position of the pointer is to the right of the material, the control for copying the material, the control for deleting the complete material, and the control for extending the right side of the material are enabled, and the control for extending the left side of the material is disabled.
[0162] According to one or more embodiments of this disclosure, the editing module 1402 is specifically used for:
[0163] Determine if the editing function of the selected second control is executable;
[0164] If so, the material is edited based on the aforementioned editing function;
[0165] If not, a prompt message will be displayed, which includes the reason why the editing function cannot be executed.
[0166] According to one or more embodiments of this disclosure, the editing module 1402 is specifically used for:
[0167] When the editing function is used to delete material to the left of the time sequence position, the material to the left of the time sequence position is deleted on the time track;
[0168] When the editing function is used to delete material to the right of the timing position, the material to the right of the timing position is deleted on the track;
[0169] When the editing function is used to extend the material to the time position, the material is extended to the side of the time position on the track.
[0170] According to one or more embodiments of this disclosure, the editing module 1402 is specifically used for:
[0171] When the track and the material are separable, and the timing position of the pointer is within the effective time period of the material, but not within the effective time period of the first or last frame of the material, it is determined that the editing function for separating the material is executable.
[0172] When the timing position is within the effective time period of the material, but not within the effective time period of the first or last frame of the material, the editing function for deleting the material to the left or right of the timing position is determined to be executable.
[0173] When the timing position is outside the effective time period of the material, and the material can be extended, it is determined that the editing function for extending the material to the pointer is executable.
[0174] According to one or more embodiments of this disclosure, the material includes one or more of the following: video, image, audio, sticker, filter, special effect, and text.
[0175] The multimedia processing apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be repeated here.
[0176] Figure 15 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this disclosure. Please refer to [link / reference]. Figure 15The diagram illustrates a structural schematic suitable for implementing the terminal device 1500 of the embodiments of the present disclosure. The terminal device may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablet computers, portable media players (PMPs), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 15 The terminal device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.
[0177] like Figure 15 As shown, the terminal device 1500 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 1501, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1502 or a program loaded from storage device 1508 into random access memory (RAM) 1503. The RAM 1503 also stores various programs and data required for the operation of the terminal device 1500. The processing unit 1501, ROM 1502, and RAM 1503 are interconnected via a bus 1504. An input / output (I / O) interface 1505 is also connected to the bus 1504.
[0178] Typically, the following devices can be connected to I / O interface 1505: input devices 1506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1509. Communication device 1509 allows terminal device 1500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 15 A terminal device 1500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0179] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 1509, or installed from a storage device 1508, or installed from a ROM 1502. When the computer program is executed by the processing device 1501, it performs the functions defined in the methods of embodiments of this disclosure.
[0180] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0181] The aforementioned computer-readable medium may be included in the aforementioned terminal device; or it may exist independently and not assembled into the terminal device.
[0182] The aforementioned computer-readable medium carries one or more programs, which, when executed by the terminal device, cause the terminal device to perform the method shown in the above embodiments.
[0183] This disclosure provides a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements various methods that may be involved in the above embodiments.
[0184] This disclosure provides a computer program product, including a computer program that, when executed by a processor, implements various methods that may be involved in the above embodiments.
[0185] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0186] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0187] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".
[0188] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0189] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0190] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0191] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0192] It is understood that the data involved in this technical solution (including but not limited to the data itself, its acquisition, or its use) shall comply with the requirements of relevant laws, regulations, and provisions. Data may include information, parameters, and messages, such as flow control instructions.
[0193] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0194] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. Multitasking and parallel processing may be advantageous in certain environments. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments. Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely exemplary forms of implementing the claims.
Claims
1. A multimedia processing method, characterized by, The method comprises: displaying a first toolbar on an interface, the first toolbar comprising one or more first controls for editing a multimedia; in response to a selection of a material filled in a track of the multimedia on the interface, displaying a second toolbar on the interface, the second toolbar comprising one or more second controls associated with editing of the material; in response to a selection of one of the one or more second controls, editing the material; the interface comprising a track, the material being filled in the track, the track comprising a pointer; the pointer being a marker moving on a time axis; a time position of the pointer is a position of the pointer on the time axis, indicating a playing position or an editing position of the multimedia at a current time; the time position of the pointer is used to determine a set of controls displayed in the second toolbar; when the time position of the pointer is within an effective time period of the material, the one or more second controls are controls in a first set; when the time position of the pointer is outside the effective time period of the material, the one or more second controls are controls in a second set.
2. The method of claim 1, wherein, The method further comprises: in response to a deselection of the material, canceling display of the second toolbar.
3. The method according to claim 1 or 2, characterized in that, The one or more second controls are displayed in a window of the interface.
4. The method of claim 3, wherein, A background color of the window is different from a background color of the interface.
5. The method of claim 1, wherein, The first set comprises one or more of the following: a control for copying the material, a control for splitting the material, a control for deleting the material.
6. The method of claim 5, wherein, The control for deleting the material comprises one or more of the following: a control for deleting material to the left of the time position, a control for deleting material to the right of the time position, a control for deleting the entire material.
7. The method according to claim 5 or 6, characterized in that, The control for copying the material, the control for splitting the material, the control for deleting the material are enabled when the time position of the pointer is not within an effective time period of a first frame and a last frame of the material; The control for copying the material, the control for deleting the entire material are enabled when the time position of the pointer is within the effective time period of the first frame and the last frame of the material, the control for splitting the material, the control for deleting material to the left of the time position, the control for deleting material to the right of the time position are disabled.
8. The method of claim 1, wherein, The second set comprises one or more of the following: a control for copying the material, a control for deleting the entire material, a control for extending the material to the time position.
9. The method of claim 8, wherein, The control for extending the material to the time position comprises one or more of the following: a control for extending to the left of the material, a control for extending to the right of the material.
10. The method according to claim 8 or 9, characterized in that, The control for copying the material, the control for deleting the entire material, the control for extending to the left of the material are enabled, the control for extending to the right of the material is disabled when the time position of the pointer is to the left of the material; When the time position of the pointer is on the right side of the material, the control for copying the material, the control for deleting the complete material, the control for extending the material on the right side are enabled, and the control for extending the material on the left side is disabled.
11. The method according to any one of claims 1, 2, 4, characterized in that, The editing of the material comprises: determining whether the editing function of the selected second control is executable; if yes, editing the material based on the editing function; if no, displaying prompt information, the prompt information comprising the reason why the editing function is not executable.
12. The method of claim 11, wherein, The editing of the material based on the editing function comprises: when the editing function is used to delete the material on the left side of the time position, deleting the material on the left side of the time position on the track; when the editing function is used to delete the material on the right side of the time position, deleting the material on the right side of the time position on the track; when the editing function is used to extend the material to the time position, extending the material on the side close to the time position to the time position on the track.
13. The method of claim 11, wherein, The determination of the executability of the editing function comprises: when the track and the material are splittable, the time position of the pointer is within the action time period of the material, and is not within the action time period of the first frame or the last frame of the material, determining that the editing function for splitting the material is executable; when the time position is within the action time period of the material, and is not within the action time period of the first frame or the last frame of the material, determining that the editing function for deleting the material on the left side or the right side of the time position is executable; when the time position is outside the action time period of the material, and the material is extendable, determining that the editing function for extending the material to the pointer is executable.
14. The method of any one of claims 1, 2, 4, wherein, The material comprises one or more of the following: video, image, audio, sticker, filter, special effect, text.
15. A multimedia processing apparatus, characterized by comprising: It comprises a display module and an editing module, wherein: the display module is used for displaying a first toolbar on an interface, the first toolbar comprising one or more first controls, the one or more first controls being used for editing a multimedia; the display module is further used for, in response to selection of a material filled in a track of the multimedia, displaying a second toolbar on the interface, the second toolbar comprising one or more second controls associated with editing of the material; the editing module is used for, in response to selection of one of the one or more second controls, editing the material; the interface comprises a track, the material being filled in the track, the track comprising a pointer; the pointer is a mark moving on a time axis; the time position of the pointer is the position of the pointer on the time axis, used for indicating the playing position or the editing position of the multimedia at the current time; the time position of the pointer is used for determining the control set displayed in the second toolbar; when the time position of the pointer is within the action time period of the material, the one or more second controls are controls in a first set; when the time position of the pointer is outside the action time period of the material, the one or more second controls are controls in a second set.
16. A terminal device, comprising: It comprises: a processor and a memory; the memory stores computer-executed instructions; the processor executes the computer-executed instructions stored in the memory, so that the processor executes the multimedia processing method according to any one of claims 1-14.
17. A computer readable storage medium characterized by: The computer-readable storage medium stores computer-executed instructions, and when the processor executes the computer-executed instructions, the multimedia processing method according to any one of claims 1-14 is implemented.
18. A computer program product, characterised in that, The computer program is executed by the processor to implement the multimedia processing method according to any one of claims 1-14.
Citation Information
Patent Citations
Video editing method and device and computer readable storage medium
CN118573937A