Video editing method and apparatus, electronic device, and storage medium
By integrating text template selection and text effect editing into the video editing interface, the problem of long text editing operation paths in mobile video editing is solved, enabling rapid editing of text materials and improving video editing efficiency.
Patent Information
- Application Number
- PCT/CN2023/138590
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-26
- Filing Date
- 2023-12-13
- Publication Date
- 2025-01-02
AI Technical Summary
When editing videos on mobile devices, a certain level of text editing skills is required to achieve good text effects, resulting in a long text editing operation path and low efficiency.
A video editing method is provided, which integrates text template selection and text effect editing by displaying a first text editing interface with text track segments on the video editing interface. This includes a text effect preview area, a text template selection area, and a first text effect editing area, enabling rapid editing of text materials.
It reduces the operational steps of text editing, improves the efficiency of high-distribution of text templates and the rapid editing of text effects in text materials, and enhances the efficiency of mobile video editing.
Smart Images

Figure CN2023138590_02012025_PF_FP_ABST
Abstract
Description
Video editing method, device, electronic device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application number 202310763607.4, filed on June 26, 2023, entitled “Video Editing Method, Device, Electronic Device and Storage Medium”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to video processing technology, and more particularly to a video editing method, apparatus, electronic device, and storage medium. Background Art
[0004] Video has become an important medium for social interaction and information dissemination on the Internet. Videos can be created and edited using video editing tools.
[0005] In related solutions, when editing videos on mobile devices, text editing is involved. Typically, you can use the text templates provided in the video editing tool to edit the text, including but not limited to adjusting the text style and font, and then add the edited text to the video. However, in actual text editing, it is found that certain text editing skills are required to achieve good text effects. Without certain skills, repeated revisions may be required, resulting in a long text editing process and low text editing efficiency.
[0006] Summary of the Invention
[0007] The present disclosure provides a video editing method, device, electronic device and storage medium, which can improve the editing efficiency of text materials in text templates while ensuring high distribution efficiency of text templates.
[0008] In a first aspect, an embodiment of the present disclosure provides a video editing method, the method comprising:
[0009] In response to a triggering operation on a text track segment in an editing track on a video editing interface, a first text editing interface for the text track segment is displayed; wherein the first text editing interface includes a text effect preview area, a text template selection area, and a first text effect editing area; the text template selection area is used to present text template options, the first text effect editing area is used to present a first text effect editing option, and the text effect preview area is used to present text effects of the text template;
[0010] In response to a selection operation of a target text template in the text template selection area, placing a text material corresponding to the target text template in the text track segment, and presenting a first text effect of the text material corresponding to the target text template in the text effect preview area;
[0011] In response to the editing operation of the target text template in the first text effect editing area, the first text effect of the text material corresponding to the target text template placed on the text track segment is adjusted, and the second text effect after the first text effect of the text material corresponding to the target text template is adjusted is presented in the text effect preview area.
[0012] In a second aspect, an embodiment of the present disclosure further provides a video editing device, the device comprising:
[0013] a display module configured to display a first text editing interface of a text track segment in an editing track in response to a triggering operation on the video editing interface; wherein the first text editing interface includes a text effect preview area, a text template selection area, and a first text effect editing area; the text template selection area is configured to present text template options, the first text effect editing area is configured to present a first text effect editing option, and the text effect preview area is configured to present text effects of the text template;
[0014] a template selection module, configured to, in response to a selection operation on a target text template in the text template selection area, place a text material corresponding to the target text template in the text track segment, and present a first text effect of the text material corresponding to the target text template in the text effect preview area;
[0015] An adjustment module is used to adjust a first text effect of a text material corresponding to the target text template placed on the text track segment in response to an editing operation on the target text template in the first text effect editing area, and present a second text effect after adjusting the first text effect of the text material corresponding to the target text template in the text effect preview area.
[0016] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0017] one or more processors;
[0018] a storage device for storing one or more programs,
[0019] When the one or more programs are executed by the one or more processors, the one or more processors implement the video editing method as described in any of the above embodiments.
[0020] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a computer processor, are used to execute the video editing method as described in any one of the above embodiments.
[0021] In an embodiment of the present disclosure, in response to a triggering operation on a text track segment in an editing track on a video editing interface, a first text editing interface including a text effect preview area, a text template selection area, and a first text effect editing area is displayed for displaying the text track segment, the text template selection area is used to present text template options, the first text effect editing area is used to present a first text effect editing option, the text effect preview area is used to present the text effect of the text template, in response to a selection operation on a target text template in the text template selection area, the text material corresponding to the target text template is placed in the text track segment, and the first text effect of the text material corresponding to the text template is presented in the text effect preview area, in response to an editing operation on the target text template in the first text effect editing area Operation, adjust the first text effect of the text material corresponding to the target text template placed on the text track segment, and present the second text effect after adjusting the first text effect of the text material corresponding to the text template in the text effect preview area, by integrating the text template selection and the editing process of part of the text effect in the first text editing interface, when the text effect meets the requirements and does not require more detailed text effect editing, the text material on the text track can be directly used for video generation, and there is no need to jump to other editing interfaces to edit the text effect, which reduces the operation path of text editing, improves the rapid editing of text effects of text materials while ensuring high distribution efficiency of text templates, and improves the efficiency of video editing on mobile terminals.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0024] FIG1 is a flow chart of a video editing method provided by an embodiment of the present disclosure;
[0025] FIG2 is a schematic diagram of an editing track interface applicable to an embodiment of the present disclosure;
[0026] FIG3 is a schematic diagram of a video editing interface flow applicable to an embodiment of the present disclosure;
[0027] FIG4 is a schematic diagram of an interface for selecting a text template and implementing quick text editing in a video editing process applicable to an embodiment of the present disclosure;
[0028] FIG5 is a schematic diagram of an interface for fine-tuning text content during a video editing process applicable to an embodiment of the present disclosure;
[0029] FIG6 is a schematic diagram of text content input of a text template in a video editing process applicable to an embodiment of the present disclosure;
[0030] FIG7 is a schematic structural diagram of a video editing device provided by an embodiment of the present disclosure;
[0031] FIG8 is a schematic structural diagram of an electronic device for implementing a video editing method provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0032] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0033] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0034] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0035] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0036] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0037] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0038] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0039] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested 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 electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0040] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0041] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0042] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0043] Figure 1 is a flow chart of a video editing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case of adding text subtitles to video materials for video editing. The method can be executed by a video editing device, which can be implemented in the form of software and / or hardware. The video editing device can be configured in any electronic device with network communication function, which can be a mobile terminal, PC or server, etc.
[0044] As shown in FIG1 , the video editing method of this embodiment may include the following steps S110 to S130:
[0045] S110. In response to a triggering operation on a text track segment in an editing track on a video editing interface, a first text editing interface for the text track segment is displayed; wherein the first text editing interface includes a text effect preview area, a text template selection area, and a first text effect editing area; the text template selection area is used to present text template options, the first text effect editing area is used to present a first text effect editing option, and the text effect preview area is used to present the text effects of the text template.
[0046] As shown in Figure 2, the video editing interface displays an editing track, which contains video track segments containing video materials. To edit text by editing a video, you can trigger a text track segment on the editing track to trigger a text editing task for the video material corresponding to the video track segment on the editing track. The text editing task involves adding text to the video material corresponding to the video track segment and applying appropriate text effects to the text.
[0047] Referring to Figure 3, after a trigger operation is performed on a text track segment in the editing track, a first text editing interface for performing text editing tasks on the text track segment can be displayed, enabling a flow from the video editing interface to the first text editing interface of the text track segment. Referring to Figure 4, the first text editing interface includes a text effect preview area for presenting text effects on text materials corresponding to the text template, a text template selection area for distributing text templates for presenting multiple text template options, and a first text effect editing area for enabling quick editing and selection of some first text effect editing options.
[0048] The above scheme can simultaneously set the selection of text templates and quickly edit the text materials corresponding to the selected text templates on the first text editing interface. In this way, by integrating the text template distribution selection and the quick editing process of some text effects into one editing interface, after selecting the text template, there is no need to jump to the editing interface to edit the text effects, which avoids making the editing operation path of the text effects longer, and can improve the quick editing of the text while ensuring the high distribution efficiency of the text template.
[0049] As an optional but non-limiting implementation method, the triggering operation of the text track segment in the editing track on the video editing interface is specifically: triggering a new text operation on the video editing interface to create a blank text track segment.
[0050] 2 , optionally, when entering a video editing interface for video editing, a text addition indicator may be presented on the video editing interface, for example, a text addition indicator may be presented at the bottom of the editing track interface, and the text addition indicator may be triggered. By triggering the text addition indicator (e.g., by clicking on it), a task for performing text editing on the video material corresponding to the video track segment in the video editing interface may be created, thereby triggering an operation of creating a blank text track segment on the video editing interface through a new text operation.
[0051] Referring to FIG2 , optionally, when entering a video editing interface for video editing, a video track segment is presented on the video editing interface, the video track segment carries video material, and a text track segment addition mark can be presented adjacent to the video track segment, for example, a text track segment addition mark can be presented below the video track segment. By triggering the text track segment addition mark (for example, by clicking to trigger), a text track segment for carrying text material can be created for the video track segment in the video editing interface, thereby triggering the operation of creating a blank text track segment through the new text operation on the video editing interface.
[0052] As another optional but non-limiting implementation, the triggering operation of the text track segment in the editing track on the video editing interface is specifically: triggering the text editing operation on the existing text track segment on the video editing interface.
[0053] Optionally, when entering a video editing interface for video editing, a video track segment is presented on the editing interface. The video track segment carries the video material, and a text track segment for carrying the text material is presented adjacent to the video track segment. By selecting and triggering an existing text track segment, a text editing operation can be triggered based on the text track segment, thereby adding text material to the text track.
[0054] As an optional but non-limiting implementation, the video editing method of this embodiment further includes:
[0055] In response to an adjustment operation on a text track segment in an editing track on a video editing interface, a text track start point and an end point corresponding to the text track segment are adjusted.
[0056] Refer to Figure 2. For the video material corresponding to the video track segment, in order to match the video material with the text material on the text track segment, it is necessary to add appropriate text material as text subtitles based on the content to be expressed by the video material. To this end, it is necessary to align and adjust the text track segment used to carry the text material with the video track segment corresponding to the video material. By adjusting the starting and end points of the text track segment, the text track segment can be aligned with the appropriate video track segment.
[0057] Optionally, in the editing track displayed on the editing track page, a text track segment splitting editing operation can be triggered for the text track segment of the editing track, so that the text track segment can be split into a series of small text track segments, so that the triggering operation is performed for each sub-text track segment to display the first text editing interface of each small text track segment, and an indicator mark is displayed on the text track segment to indicate that the text track segment has been split.
[0058] S120. In response to a selection operation on a target text template in the text template selection area, placing a text material corresponding to the target text template in a text track segment, and presenting a first text effect of the text material corresponding to the target text template in a text effect preview area.
[0059] Referring to Figure 4, at least two text template options are presented in the text template selection area, each text template option corresponds to a text template, and each text template is associated with a text material. By triggering the target text template option in the text template selection area (including but not limited to clicking and dragging to the specified selected area, etc.), the target text template corresponding to the target text template option can be selected. After selecting the target text template, you can pull the text material corresponding to the selected target text template and place the text material in the text track segment for carrying. At the same time, you can also present the text material corresponding to the target text template in the text effect preview area according to the first text effect carried by the text material itself. By selecting each text template option in the text template selection area, you can switch and layout the text template style.
[0060] S130. In response to the editing operation on the target text template in the first text effect editing area, the first text effect of the text material corresponding to the target text template placed on the text track segment is adjusted, and the second text effect after the first text effect of the text material corresponding to the target text template is adjusted is presented in the text effect preview area.
[0061] As shown in Figure 4, the first text effect editing area of the first text editing interface may present at least two first text effect editing options. Each first text effect editing option is associated with a first text effect editing information. The first text effect editing information determined by the editing operation can be used to adjust the first text effect of the text material corresponding to the target text template on the text track segment, thereby adjusting the text material on the text track segment from the first text effect to the second text effect. Simultaneously, the text material corresponding to the target text template can be presented in the text effect preview area according to the adjusted second text effect of the text material.
[0062] In the above manner, by selecting a text template on the first text editing interface and forming text effect editing information for the text material in the selected text template, the text template can be displayed on the text effect preview area based on the selected text template. After editing the target text template in the first text effect editing area, the text effect editing information can be added to the displayed text template to adjust the text effect of the text material in the text template, so that it can be presented in the text effect preview area. By integrating the text template selection and the editing process of part of the text effect in the first text editing interface, there is no need to jump to other editing interfaces to edit the text effect, which reduces the operation path of text editing, improves the rapid editing of the text effect of the text material while ensuring the high distribution efficiency of the text template, and improves the efficiency of video editing on mobile terminals.
[0063] As an optional but non-limiting implementation method, the first text effect editing option to be presented in the first text effect editing area is pre-screened from the candidate text effect editing options based on the frequency of use of the candidate text effect editing items, and the candidate text effect editing options are used to edit the text material corresponding to the text template to form a text effect.
[0064] Referring to Figure 4, considering that there are many types of text effect editing options that can be used to modify the text effects of text materials in the text template, it is difficult to place all text effect editing options and text template selection in a limited interface. For this reason, we can first determine which candidate text effect editing options are used to edit the text materials in the text template, and then pre-screen the first text effect editing option from the candidate text effect editing options according to the frequency of use of each candidate text effect editing option. The first text effect editing option can then be presented in the first text effect editing area for quick text effect editing as the text effect editing option required for preliminary editing of the text effects of the text material in the selected text template, to avoid the quick editing area becoming larger due to the large number of text effect editing options, resulting in insufficient template distribution area in the limited interface area, which makes it impossible to better present the text template.
[0065] As an optional but non-limiting implementation method, the text template selection area and the first text effect editing area are configured in the same overlay layer, and are combined with the text effect preview area in the form of an overlay layer to form the first text editing interface of the text track segment.
[0066] Referring to Figures 3 and 4, in order to realize the rapid editing and generation of text effects for text template selection and text template corresponding text materials, a first text editing interface including both a text template selection area and a first text effect editing area can be displayed in the form of an overlay. The overlay can be a carrier used when the first text editing interface of the text track is opened. The first text editing interface can complete prompting or context-related tasks. The overlay can be formed in the form of a "floating layer", "pop-up layer", or "pop-up box" when the first text editing interface is displayed.
[0067] Referring to Figure 4, the text template selection area presents multiple text template options for selecting a text template style. Each text template option is associated with a text template of a certain style and can be triggered for selection. The text effect editing area presents multiple text effect editing options for performing preliminary editing of the text effects of the text material in the text template. Each text effect editing option is associated with a text effect and can be triggered for selection to adjust the text effect of the text material.
[0068] As an optional but non-limiting implementation method, the first text effect editing option to be presented in the first text effect editing area on the first text editing interface may include adding and modifying the color of the text material corresponding to the text template, adjusting the font size of the text material corresponding to the text template, adding and modifying the background of the text material corresponding to the text template, achieving stroke of the text material corresponding to the text template and / or adjusting the layout of the text material corresponding to the text template, etc., to achieve text effect editing options for adjusting the text material, which can be presented in the form of option labels.
[0069] As an optional but non-limiting implementation method, at least part of the first text effect editing options to be presented in the first text effect editing area are in an invisible state and at least part of the first text effect editing options are in a visible state, and when the first text effect editing option in the visible state is triggered to slide, the first text effect editing option in the invisible state is adjusted to a visible state.
[0070] Referring to Figure 4, there may be many text effect editing options for editing the text effects of text materials presented in the first text effect editing area on the first text editing interface, and the first text effect editing area occupies a relatively small proportion in the first text editing interface. It is difficult to display all the first text effect editing options on the first text editing interface. Therefore, the first text effect editing options to be presented on the first text editing interface can be configured so that at least part of the first text effect editing options can be in a hidden and invisible state, while another part of the first text effect editing options is in a visible state.
[0071] Referring to Figure 4, when the first text effect editing option displayed on the first text editing interface is triggered and slid through a trigger operation, the icons corresponding to at least part of the first text effect editing options in the hidden and invisible state on the first text editing interface are adjusted to a visible state, and the icons corresponding to part of the first text effect editing options in the visible state on the first text editing interface can be adjusted to a hidden and invisible state.
[0072] As an optional but non-limiting implementation, the video editing method of this embodiment may include the following process steps A1-A2:
[0073] Step A1. In response to the triggering operation of the selected target text template in the text template selection area, the second text editing interface is displayed; the second text editing interface includes a text effect preview area and a second text effect editing area, the second text effect editing area is used to present the second text effect editing option, and the text effect preview area is used to present the text effect of the text template.
[0074] Referring to Figures 3 and 4, after a target text template option is selected in the text template selection area, an operation indicator for fine-tuning the text material corresponding to the target text template is presented at the selected target text template option. If the second text effect formed by editing the target text template in the first text editing interface does not meet the requirements, the selected target text template option is further triggered.
[0075] See Figure 5. By triggering the selected target text template, a second text editing interface including a text effect preview area and a second text effect editing area will be displayed. In this way, the second text editing interface can be used to further refine the editing based on the second text effect of the text material corresponding to the target text template, so as to improve the text effect of the text material corresponding to the target text template to be closer to the required text effect.
[0076] Optionally, after the target text template in the text template selection area on the first text editing interface is selected, the target text template is configured to allow the target text template to be triggered to display a second text editing interface including a second text effect editing item.
[0077] Step A2: In response to the editing operation on the target text template in the second text effect editing area, the second text effect of the text material corresponding to the target text template placed on the text track segment is adjusted, and the third text effect after the second text effect of the text material corresponding to the target text template is adjusted is presented in the text effect preview area.
[0078] Referring to Figure 5 , the second text effect editing area of the second text editing interface may present at least two second text effect editing options, each of which is associated with a second text effect editing information. The second text effect editing information determined by the editing operation can be used to adjust the second text effect of the text material corresponding to the target text template on the text track segment based on the second text effect of the text literary talent, thereby fine-tuning the text material on the text track segment from the second text effect to a third text effect. Simultaneously, the text material corresponding to the target text template can be presented in the text effect preview area according to the adjusted third text effect of the text material.
[0079] Through the above, since the second text editing interface is only started for fine editing when the text effect of the text material corresponding to the text template does not meet the requirements, and when the text effect of the text material corresponding to the text template meets the requirements, only the first text editing interface is needed to realize the text effect editing of the text material, the operation path of the text effect editing can be avoided as much as possible, and the rapid editing of the text can be improved while ensuring the high distribution efficiency of the text template.
[0080] As an optional but non-limiting implementation method, the second text effect editing area replaces the text template selection area and the first text effect editing area in the first text editing interface in the form of an overlay, and is combined with the text effect preview area in the first text editing interface to form a second text editing interface.
[0081] Referring to Figures 3 and 5, in order to achieve further refined editing and generation of text effects corresponding to text materials of the text template, a second text editing interface including a second text effect editing area can be displayed in the form of an overlay layer. The overlay layer can be the carrier used when the second text editing interface of the text track is opened. The second text editing interface can complete prompt or context-related tasks.
[0082] Referring to Figures 3 and 5, the second text effect editing area of the second text editing interface is configured with multiple second text effect editing options for fine-tuning the text effects of the text material in the text template. Each second text effect editing option is associated with a text effect for fine-tuning the text content. Each second text effect editing option can be triggered by clicking to fine-tune the text effect of the text material.
[0083] As an optional but non-limiting implementation method, the second text effect editing item to be presented in the second text effect editing area is at least part of the text effect editing options in the candidate text effect editing options except the first text effect editing item, and the second text effect editing item to be presented in the second text effect editing area is partially the same as or completely different from the first text effect editing item to be presented in the first text effect editing area.
[0084] Referring to Figures 3 and 5, the remaining text effect editing options in the candidate text effect editing options except the first text effect editing option and some of the first text effect editing options can be presented as second text effect editing options in the second text effect editing area, which are used to perform fine-grained editing of the text effects of the text materials in the text template, providing more fine-grained editing options in the editing of the text materials in the text template, and realizing more text effects.
[0085] As an optional but non-limiting implementation, the usage frequency of at least some of the first text effect editing items to be presented in the first text effect editing area is greater than the usage frequency of the second text effect editing items to be presented in the second text effect editing area.
[0086] As an optional but non-limiting implementation, the second text effect editing items to be presented in the second text effect editing area are configured to be displayed in groups on the second text effect editing area according to the groups to which the second text effect editing items belong.
[0087] Referring to Figures 3 and 5, since there are many types of second text effect editing options that need to be presented in the second text effect editing area, it is difficult to display all the second text effect editing options at the same time in the limited second text editing interface. For this reason, the second text effect editing options can be grouped according to their types. By grouping the second text effect editing options, the corresponding operation icons of the second text effect editing options can be presented on the second text editing interface according to the different groups to which the second text effect editing options belong.
[0088] Optionally, referring to Figure 5, the second text effect editing items to be presented in the second text effect editing area may include bolding, italicizing, underlining and at least partial combined adjustment of the layout of the text material corresponding to the text template, one-click capitalization, orderly arrangement and at least partial combined adjustment of the arrangement of the text material corresponding to the text template, adding and modifying the bending function of the text material corresponding to the text template, row and column adjustment of the text material corresponding to the text template and / or combined color adjustment of the text material corresponding to the text template, etc., to realize the operation mark of adjusting the second text effect editing option, so as to realize fine editing of the text material (such as text) corresponding to the text template.
[0089] As an optional but non-limiting implementation method, the video editing method of this embodiment may include the following process: presenting preset text in a text box in a text effect preview area; in response to an input operation for triggering the input of text content in the text box, obtaining the text content of the editing input and replacing the preset text in the text box.
[0090] Referring to Figures 3 and 6 , after selecting a target text template in the first text editing interface, a text box is displayed in the text effect preview area according to the selected target text template. The text box may be pre-set with preset text. An input operation for triggering text entry in the text box can trigger text entry in the text box, obtain the edited text content, and then use the entered text content to replace the original preset text in the text box and display the entered text content in the text box.
[0091] Referring to Figures 3 and 4, the text box displayed in the text effect preview area is associated with multiple operation identifiers for adjusting the text content in the text box, such as an operation identifier for entering text content in the text box, an operation identifier for deleting the text box, and an operation identifier for rotating the text box.
[0092] Optionally, in response to a triggering operation for inputting text content in the text box, a text content editing input area for inputting text content in the text box is displayed. When an operation identifier for inputting text content in the text box is triggered, in response to the triggering operation on the text box, a text content editing input area for inputting text content in the text box is presented. For example, a pop-up window including the text content editing input area may pop up, and the text content to be input may be edited through the text content editing input area.
[0093] As an optional but non-limiting implementation, the video editing method of this embodiment may include: generating a video based on the video track segments and the text track segments on the editing track of the video editing interface.
[0094] Optionally, the video track segments on the editing track and the text track segments may be combined into a video with text effects according to the arrangement order of the text track segments on the editing track placed on the video editing interface.
[0095] In the embodiment of the present disclosure, the text template selection and the editing process of some text effects are integrated into the first text editing interface. When the text effect meets the requirements and no more sophisticated text effect editing is needed, the text material on the text track can be directly used for video generation, and there is no need to jump to other editing interfaces to edit the text effects. This reduces the operation path of text editing, improves the rapid editing of text effects of text materials while ensuring high distribution efficiency of text templates, and improves the efficiency of video editing on mobile terminals.
[0096] Figure 7 is a structural schematic diagram of a video editing device provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation of adding text subtitles to video materials for video editing. The device can be implemented in the form of software and / or hardware. The video editing device can be configured in any electronic device with network communication function, which can be a mobile terminal, PC or server, etc.
[0097] As shown in FIG7 , the video editing device of this embodiment may include: a display module 710, a template selection module 720, and an adjustment module 730. Among them:
[0098] Display module 710 is configured to, in response to a triggering operation on a text track segment in an editing track on a video editing interface, display a first text editing interface for the text track segment; wherein the first text editing interface includes a text effect preview area, a text template selection area, and a first text effect editing area; the text template selection area is configured to present text template options, the first text effect editing area is configured to present a first text effect editing option, and the text effect preview area is configured to present text effects of the text template;
[0099] a template selection module 720 for, in response to a selection operation on a target text template in the text template selection area, placing a text material corresponding to the target text template in the text track segment and presenting a first text effect of the text material corresponding to the target text template in the text effect preview area;
[0100] The adjustment module 730 is used to adjust the first text effect of the text material corresponding to the target text template placed on the text track segment in response to the editing operation of the target text template in the first text effect editing area, and present the second text effect after the first text effect of the text material corresponding to the target text template is adjusted in the text effect preview area.
[0101] Based on the above embodiment, optionally, the device further includes:
[0102] Adjustment module 730, configured to display a second text editing interface in response to a triggering operation on a target text template selected in the text template selection area; the second text editing interface includes a text effect preview area and a second text effect editing area, the second text effect editing area being configured to present a second text effect editing option, and the text effect preview area being configured to present a text effect of the text template;
[0103] The adjustment module 730 is used to adjust the second text effect of the text material corresponding to the target text template placed on the text track segment in response to the editing operation of the target text template in the second text effect editing area, and present a third text effect after adjusting the second text effect of the text material corresponding to the target text template in the text effect preview area.
[0104] Based on the above embodiment, optionally, the triggering operation on the text track segment in the editing track on the video editing interface is specifically:
[0105] Trigger the new text operation in the video editing interface to create a blank text track clip; or,
[0106] Trigger text editing on an existing text track clip in the video editing interface.
[0107] Based on the above embodiment, optionally, the device further includes:
[0108] In response to an adjustment operation on a text track segment in an editing track on a video editing interface, a text track start point and an end point corresponding to the text track segment are adjusted.
[0109] Based on the above embodiment, optionally, the first text effect editing option to be presented in the first text effect editing area is pre-screened from the candidate text effect editing options based on the frequency of use of the candidate text effect editing items, and the candidate text effect editing options are used to edit the text material corresponding to the text template to form a text effect.
[0110] Based on the above embodiment, optionally, the text template selection area and the first text effect editing area are configured in the same overlay layer, and are combined with the text effect preview area in the form of an overlay layer to form the first text editing interface.
[0111] Based on the above embodiment, optionally, at least part of the first text effect editing options to be presented in the first text effect editing area are in an invisible state and at least part of the first text effect editing options are in a visible state, and when the first text effect editing option in the visible state is triggered to slide, the first text effect editing option in the invisible state is adjusted to a visible state.
[0112] Based on the above embodiment, optionally, the second text effect editing area replaces the text template selection area and the first text effect editing area in the first text editing interface in the form of an overlay layer, and is combined with the text effect preview area in the first text editing interface to form the second text editing interface.
[0113] Based on the above embodiment, optionally, the second text effect editing item to be presented in the second text effect editing area is at least part of the text effect editing options in the candidate text effect editing options except the first text effect editing item, and the second text effect editing item to be presented in the second text effect editing area is partially the same as or completely different from the first text effect editing item to be presented in the first text effect editing area.
[0114] Based on the above embodiment, optionally, the usage frequency of at least part of the first text effect editing items to be presented in the first text effect editing area is greater than the usage frequency of the second text effect editing items to be presented in the second text effect editing area.
[0115] Based on the above embodiment, optionally, after the target text template in the text template selection area is selected, the target text template is configured to allow the target text template to be triggered to display a second text editing interface including a second text effect editing item.
[0116] Based on the above embodiment, optionally, the second text effect editing items to be presented in the second text effect editing area are configured to be displayed in groups on the second text effect editing area according to the groups to which the second text effect editing items belong.
[0117] Based on the above embodiment, optionally, the device further includes:
[0118] Presenting preset text in the text box of the text effect preview area;
[0119] In response to an input operation for triggering input of text content in the text box, the text content input for editing is acquired and replaced with preset text in the text box.
[0120] Based on the above embodiment, optionally, the device further includes:
[0121] In response to a triggering operation of inputting text content in the text box, a text content editing input area for inputting text content in the text box is displayed.
[0122] Based on the above embodiment, optionally, the device further includes:
[0123] A video is generated based on the video track clip and the text track clip on the editing track of the video editing interface.
[0124] Based on the above embodiment, optionally, generating a video based on the video track segment and the text track segment on the editing track of the video editing interface includes:
[0125] According to the arrangement order of the text track clips on the editing track placed on the video editing interface, the video track clips on the editing track and the text track clips are combined into a video with text effects.
[0126] In the embodiment of the present disclosure, the text template selection and the editing process of some text effects are integrated into the first text editing interface. When the text effect meets the requirements and no more sophisticated text effect editing is needed, the text material on the text track can be directly used for video generation, and there is no need to jump to other editing interfaces to edit the text effects. This reduces the operation path of text editing, improves the rapid editing of text effects of text materials while ensuring high distribution efficiency of text templates, and improves the efficiency of video editing on mobile terminals.
[0127] The video editing device provided by the embodiments of the present disclosure can execute the video editing method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the video editing method.
[0128] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0129] FIG8 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Referring to FIG8 , a schematic diagram of the structure of an electronic device (such as a terminal device or server in FIG8 ) 800 suitable for implementing an embodiment of the present disclosure is shown below. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG8 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
[0130] As shown in FIG8 , the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the electronic device 800 are also stored in the RAM 803. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An edit / output (I / O) interface 805 is also connected to the bus 804.
[0131] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although FIG8 shows the electronic device 800 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0132] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0133] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0134] The electronic device provided by the embodiment of the present disclosure and the video editing method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0135] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon. When the program is executed by a processor, the video editing method provided by the above embodiment is implemented.
[0136] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0137] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0138] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0139] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0140] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device is caused to: in response to a triggering operation on a text track segment in an editing track on a video editing interface, display a first text editing interface for the text track segment; wherein the first text editing interface includes a text effect preview area, a text template selection area, and a first text effect editing area; the text template selection area is used to present text template options, the first text effect editing area is used to present a first text effect editing option, and the text effect preview area is used to present the text effects of the text template; in response to a selection operation on a target text template in the text template selection area, place a text material corresponding to the target text template in the text track segment, and present a first text effect of the text material corresponding to the target text template in the text effect preview area; in response to an editing operation on the target text template in the first text effect editing area, adjust the first text effect of the text material corresponding to the target text template placed on the text track segment, and present a second text effect after the adjustment of the first text effect of the text material corresponding to the target text template in the text effect preview area.
[0141] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0142] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0143] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."
[0144] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0145] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0146] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0147] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0148] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A video editing method, wherein the method comprises: In response to a triggering operation on a text track segment in an editing track on a video editing interface, a first text editing interface of the text track segment is displayed; wherein the first text editing interface includes a text effect preview area, a text template selection area, and a first text effect editing area; the text template selection area is used to present text template options, the first text effect editing area is used to present a first text effect editing option, and the text effect preview area is used to present text effects of the text template; In response to a selection operation of a target text template in the text template selection area, placing a text material corresponding to the target text template in the text track segment, and presenting a first text effect of the text material corresponding to the target text template in the text effect preview area; In response to an editing operation on a target text template in the first text effect editing area, a first text effect of a text material corresponding to the target text template placed on the text track segment is adjusted, and a second text effect after adjusting the first text effect of the text material corresponding to the target text template is presented in the text effect preview area.
2. The method according to claim 1, wherein the method further comprises: In response to a triggering operation on a target text template selected in the text template selection area, displaying a second text editing interface; The second text editing interface includes a text effect preview area and a second text effect editing area, the second text effect editing area is used to present a second text effect editing option, and the text effect preview area is used to present the text effect of the text template; In response to the editing operation of the target text template in the second text effect editing area, the second text effect of the text material corresponding to the target text template placed on the text track segment is adjusted, and the second text effect of the text material corresponding to the target text template is presented in the text effect preview area. The third text effect after adjusting the second text effect.
3. The method according to claim 1, wherein the triggering operation on the text track segment in the editing track on the video editing interface is specifically: Trigger the new text operation in the video editing interface to create a blank text track clip; or, Trigger the text editing operation on the existing text track clip in the video editing interface.
4. The method according to claim 3, wherein the method further comprises: In response to an adjustment operation on a text track segment in an editing track on a video editing interface, a text track start point and an end point corresponding to the text track segment are adjusted.
5. The method according to claim 1, wherein the first text effect editing option to be presented in the first text effect editing area is pre-screened from candidate text effect editing options based on the frequency of use of candidate text effect editing items, and the candidate text effect editing options are used to edit the text material corresponding to the text template to form a text effect.
6. The method according to claim 1, wherein the text template selection area and the first text effect editing area are configured in the same overlay layer, and are combined with the text effect preview area in the form of an overlay layer to form the first text editing interface.
7. The method according to claim 1, wherein at least part of the first text effect editing options to be presented in the first text effect editing area are in an invisible state and at least part of the first text effect editing options are in a visible state, and when the first text effect editing option in the visible state is triggered to slide, the first text effect editing option in the invisible state is adjusted to a visible state.
8. The method according to claim 2, wherein the second text effect editing area replaces the text template selection area and the first text effect editing area in the first text editing interface in the form of an overlay, and is combined with the text effect preview area in the first text editing interface to form the second text editing interface.
9. The method according to claim 2, wherein the second text effect editing item to be presented in the second text effect editing area is at least part of the text effect editing options in the candidate text effect editing options except the first text effect editing item, and the second text effect editing item to be presented in the second text effect editing area is partially the same as or completely different from the first text effect editing item to be presented in the first text effect editing area.
10. The method according to claim 2, wherein the usage frequency of at least part of the first text effect editing items to be presented in the first text effect editing area is greater than the usage frequency of the second text effect editing items to be presented in the second text effect editing area.
11. The method according to claim 2, wherein after the target text template in the text template selection area is selected, the target text template is configured to allow the target text template to be triggered to display a second text editing interface including a second text effect editing item.
12. The method according to claim 2, wherein the second text effect editing items to be presented in the second text effect editing area are configured to be displayed in groups on the second text effect editing area according to the groups to which the second text effect editing items belong.
13. The method according to claim 1 or 2, wherein: Presenting preset text in the text box of the text effect preview area; In response to an input operation for triggering input of text content in the text box, the text content input by the editor is acquired and the preset text is replaced in the text box.
14. The method according to claim 13, wherein: In response to a triggering operation of inputting text content in the text box, a text content editing input area for inputting text content in the text box is displayed.
15. The method according to claim 1 or 2, wherein: A video is generated based on the video track clip and the text track clip on the editing track of the video editing interface.
16. The method according to claim 15, wherein generating a video based on a video track segment and a text track segment on an editing track of a video editing interface comprises: According to the arrangement order of the text track clips on the editing track placed on the video editing interface, the video track clips on the editing track and the text track clips are combined into a video with text effects.
17. A video editing device, wherein the device comprises: A display module, configured to display a first text editing interface of the text track segment in response to a triggering operation on a text track segment in an editing track on a video editing interface; wherein the first text editing interface includes a text effect preview area, a text template selection area, and a first text effect editing area; the text template selection area is used to present text template options, the first text effect editing area is used to present a first text effect editing option, and the text effect preview area is used to present text effects of the text template; a template selection module, configured to, in response to a selection operation of a target text template in the text template selection area, place a text material corresponding to the target text template in the text track segment, and present a first text effect of the text material corresponding to the target text template in the text effect preview area; An adjustment module is used to adjust a first text effect of a text material corresponding to the target text template placed on the text track segment in response to an editing operation on the target text template in the first text effect editing area, and present a second text effect after adjusting the first text effect of the text material corresponding to the target text template in the text effect preview area.
18. An electronic device, wherein the electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the video editing method as described in any one of claims 1-16.
19. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to perform the video editing method according to any one of claims 1 to 16 when executed by a computer processor.
Citation Information
Patent Citations
Information display method and system
CN111475065A
Video editing method and electronic equipment
CN111866404A
Multimedia resource processing method and device, equipment and storage medium
CN114756695A
Systems and methods for associating graphics information with audio and video material
US20060159414A1
Information processing apparatus, information processing method, and recording medium
US20170337159A1
