Video editing method and device, electronic equipment and storage medium
By integrating text template selection and effect editing in the video editing interface, the problem of low text editing efficiency in video editing is solved, and the rapid editing of text materials and the efficiency of video editing is improved.
Patent Information
- Application Number
- CN202310763607.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-26
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2043-06-26
AI Technical Summary
During the video editing process, the lack of text editing skills will lead to low text editing efficiency, requiring repeated modifications and increasing the operation path length.
Provides a video editing method, which allows users to select and adjust text templates and blend text template selection by displaying text track clips on the video editing interface. With effect editing, reduce jumps and improve editing efficiency.
It reduces the operation path of text editing, improves the editing efficiency of text materials, ensures high distribution efficiency of text templates, and improves the efficiency of mobile video editing.
Smart Images

Figure CN119211621A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to video processing technology, and more particularly to a video editing method, device, electronic device, and storage medium. Background Art
[0002] Video has become an important medium for social interaction and information dissemination on the Internet, and can be created and edited using video editing tools.
[0003] In the relevant scheme, when editing videos on mobile terminals, text editing operations are involved. Usually, 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 text font, and then add the edited text to the video. However, when actually editing text, it is found that certain text editing skills are required to achieve better text effects. If you do not have certain skills, you may need to modify repeatedly, resulting in a long text editing operation path and low text editing efficiency. Summary of the invention
[0004] The present disclosure provides a video editing method, device, electronic device and storage medium, so as to improve the editing efficiency of text materials in a text template while ensuring high distribution efficiency of the text template.
[0005] In a first aspect, an embodiment of the present disclosure provides a video editing method, the method comprising:
[0006] 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;
[0007] 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;
[0008] 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.
[0009] In a second aspect, an embodiment of the present disclosure further provides a video editing device, the device comprising:
[0010] 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;
[0011] 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;
[0012] 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.
[0013] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0014] one or more processors;
[0015] a storage device for storing one or more programs,
[0016] 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.
[0017] In a fourth aspect, the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the video editing method as described in any of the above embodiments.
[0018] 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 a 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, a text material corresponding to the target text template is placed in the text track segment, and a 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 the first text effect of the text material corresponding to the text template is adjusted in the text effect preview area, by integrating the text template selection and the editing process of some text effects in the first text editing interface, when the text effect meets the requirements and does not need more sophisticated text effect editing, the text material on the text track can be directly used for video generation, and no more jumping to other editing interfaces for editing text effects is required, 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.
[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0021] Figure 1 It is a flow chart of a video editing method provided by an embodiment of the present disclosure;
[0022] Figure 2 is a schematic diagram of an editing track interface applicable to an embodiment of the present disclosure;
[0023] Figure 3 This is a schematic diagram of a video editing interface flow applicable to the embodiment of the present disclosure;
[0024] Figure 4This 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;
[0025] Figure 5 This is a schematic diagram of an interface for finely editing text content during a video editing process applicable to an embodiment of the present disclosure;
[0026] Figure 6 It 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;
[0027] Figure 7 is a schematic diagram of the structure of a video editing device provided by an embodiment of the present disclosure;
[0028] Figure 8 It is a structural schematic diagram of an electronic device for implementing a video editing method provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] Embodiments of the present disclosure will be described in more detail below 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 being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0030] 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.
[0031] The term "including" and its variations used herein are open inclusions, 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"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0032] It should be noted that the concepts such as "first" and "second" mentioned in the present 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.
[0033] It should be noted that the modifications of "one" and "plurality" 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, it should be understood as "one or more".
[0034] 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.
[0035] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present 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.
[0036] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0037] As an optional but non-limiting implementation, in response to receiving an active request from the user, 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. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0038] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0039] 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) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0040] Figure 1 A flow chart of a video editing method provided in an 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.
[0041] like Figure 1As shown, the video editing method of this embodiment may include the following processes S110-S130:
[0042] 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 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.
[0043] See also Figure 2 The video editing interface presents an editing track, and a video track segment including a video material is presented on the editing track. When video clipping is required to realize text editing, a trigger operation of the text track segment can be performed on the editing track to trigger a text editing task for the video material corresponding to the video track segment on the editing track. Among them, the text editing task is to add text to the video material corresponding to the video track segment and give the text a suitable text effect.
[0044] See also Figure 3 After the trigger operation is performed on the text track segment in the editing track, the first text editing interface for performing text editing tasks on the text track segment can be displayed to achieve the flow from the video editing interface to the first text editing interface of the text track segment. Figure 4 The first text editing interface includes a text effect preview area for presenting text effects for 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 realizing quick editing selection of some first text effect editing options.
[0045] 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, the text template distribution selection and the quick editing process of some text effects are integrated 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 lengthening the editing operation path of the text effects. This can improve the quick editing of the text while ensuring the high distribution efficiency of the text template.
[0046] As an 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 a new text operation on the video editing interface to create a blank text track segment.
[0047] See also Figure 2Optionally, when entering a video editing interface for video editing, a text adding indicator may be presented on the video editing interface, for example, a text adding indicator may be presented at the bottom of the editing track interface, and the text adding indicator may be triggered. By triggering the text adding indicator (for example, by clicking to trigger), a task for performing text editing on the video material may be created for the video material corresponding to the video track segment in the video editing interface, thereby triggering an operation of creating a blank text track segment through a new text operation on the video editing interface.
[0048] See also Figure 2 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 at a position 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 an operation of creating a blank text track segment through a new text operation on the video editing interface.
[0049] 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.
[0050] 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 at an adjacent position of the video track segment. For an existing text track segment, by selecting and triggering the text track segment, a text editing operation can be triggered based on the text track segment, so as to add text material to the text track.
[0051] As an optional but non-limiting implementation, the video editing method of this embodiment further includes:
[0052] 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.
[0053] See also Figure 2For 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 the text track segment used to carry the text material with the video track segment corresponding to the video material. The text track segment is aligned with the appropriate video track segment by adjusting the starting point and end point of the text track segment.
[0054] 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 trigger 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.
[0055] S120. In response to a selection operation on a target text template in the text template selection area, a text material corresponding to the target text template is placed in a text track segment, and a first text effect of the text material corresponding to the target text template is presented in a text effect preview area.
[0056] See also 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, the text material corresponding to the selected target text template can be pulled, and the text material can be placed in the text track segment for carrying. At the same time, the text material corresponding to the target text template can also be presented in the text effect preview area according to the first text effect carried by the text material itself. The text template style can be switched and typeset by selecting each text template option in the text template selection area.
[0057] S130. In response to an editing operation on the target text template in the first text effect editing area, a first text effect of the text material corresponding to the target text template placed on the text track segment is adjusted, and a 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.
[0058] See also Figure 4In the first text effect editing area of the first text editing interface, at least two first text effect editing options may be presented, each of which is associated with a first text effect editing information. The first text effect editing information determined by the editing operation may be used to adjust the first text effect of the text material corresponding to the target text template on the text track segment, so that the text material on the text track segment is adjusted from the first text effect to the second text effect. At the same time, the text material corresponding to the target text template may be presented in the text effect preview area according to the second text effect after the text material is adjusted.
[0059] 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 as to be presented in the text effect preview area. By integrating the text template selection and the editing process of some text effects in the first text editing interface, there is no need to jump to other editing interfaces to edit the text effects, which reduces the operation path of text editing, improves the rapid editing of text effects of text materials while ensuring the high distribution efficiency of text templates, and improves the efficiency of video editing on mobile terminals.
[0060] 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.
[0061] See also 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. To this end, 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 a 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.
[0062] 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 a first text editing interface of the text track segment.
[0063] See also Figure 3 and Figure 4 In order to realize the rapid editing and generation of text effects of text template selection and text materials corresponding to the text template, the first text editing interface including the text template selection area and the 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. Among them, the overlay can be formed in the form of a "floating layer", "bullet layer" or "bullet frame" when the first text editing interface is displayed.
[0064] See also Figure 4 In the text template selection area, multiple text template options are presented for selecting the style of the text template. Each text template option is associated with a text template of a style, and each text template option can be triggered and selected. In the text effect editing area, multiple text effect editing options are presented for preliminary editing of the text effect of the text material in the text template. Each text effect editing option is associated with a text effect, and each text effect editing option can be triggered and selected to adjust the text effect of the text material.
[0065] 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 on the text material corresponding to the text template and / or adjusting the layout of the text material corresponding to the text template, etc., to adjust the text effect of the text material, and the text effect editing options can be presented in the form of option labels.
[0066] 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.
[0067] See also Figure 4In the first text effect editing area on the first text editing interface, there may be many text effect editing options for editing the text effects of the text material, 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 may be configured so that at least part of the first text effect editing options are in a hidden and invisible state, while another part of the first text effect editing options are in a visible state.
[0068] See also 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 that are in a 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 that are in a visible state on the first text editing interface can be adjusted to a hidden and invisible state.
[0069] As an optional but non-limiting implementation, the video editing method of this embodiment may include the following process steps A1-A2:
[0070] Step A1. In response to a trigger operation on a selected target text template in a text template selection area, a 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 a second text effect editing option, and the text effect preview area is used to present the text effect of the text template.
[0071] See also Figure 3 and Figure 4 After the target text template option is selected in the text template selection area, an operation mark for finely editing the text material corresponding to the target text template is presented at the selected target text template option. When 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 continues to be triggered.
[0072] See also 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.
[0073] 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.
[0074] 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.
[0075] See also Figure 5 In the second text effect editing area of the second text editing interface, at least two second text effect editing options may be presented, each of which is associated with a second text effect editing information. The second text effect editing information determined by the editing operation may 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, so that the text material on the text track segment is finely adjusted from the second text effect to the third text effect. At the same time, the text material corresponding to the target text template may be presented in the text effect preview area according to the third text effect after the text material is adjusted.
[0076] Through the above, since the second text editing interface is only started for refined 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, it is possible to avoid lengthening the operation path of text effect editing as much as possible, thereby ensuring the high distribution efficiency of the text template while improving the rapid editing of the text.
[0077] 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.
[0078] See also Figure 3 and Figure 5 In order to achieve further refined editing and generation of text effects corresponding to text materials of text templates, 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 suggestive or context-related tasks.
[0079] See also Figure 3and Figure 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.
[0080] 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.
[0081] See also Figure 3 and Figure 5 , the remaining text effect editing options in the candidate text effect editing options except the first text effect editing option and part 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 on the text effects of the text materials in the text template, and provide more fine-grained editing options in realizing the editing of the text materials in the text template, so as to realize more text effects.
[0082] As an optional but non-limiting implementation, 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.
[0083] 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.
[0084] See also Figure 3 and Figure 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 of the second text effect editing options simultaneously in a limited second text editing interface. Therefore, the second text effect editing options can be grouped according to their types. By grouping the second text effect editing options, the corresponding operation identifiers 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.
[0085] Alternatively, see Figure 5The 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, adjusting the rows and columns of the text material corresponding to the text template and / or combining the colors of the text material corresponding to the text template, etc., to realize the operation mark of adjusting the second text effect editing options, so as to realize fine editing of the text material (such as text) corresponding to the text template.
[0086] 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.
[0087] See also Figure 3 and Figure 6 After selecting the 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, and the text box can be pre-set with preset text. The input operation for triggering the input of text content in the text box can trigger the input of text content in the text box, obtain the edited input text content, and then use the input text content to replace the original preset text of the text box and display the input text content in the text box.
[0088] See also Figure 3 and Figure 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 inputting text content in the text box, an operation identifier for deleting the text box, and an operation identifier for rotating the text box.
[0089] Optionally, in response to a trigger 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 a trigger operation on the text box, a text content editing input area for inputting text content in the text box is presented, such as a pop-up window including the text content editing input area, and the text content to be input is edited through the text content editing input area.
[0090] As an optional but non-limiting implementation, the video editing method of this embodiment may include: generating a video based on a video track segment and a text track segment on an editing track of a video editing interface.
[0091] 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.
[0092] The disclosed embodiment integrates the text template selection and the editing process of some text effects in 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 without jumping 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.
[0093] Figure 7 This is a structural schematic diagram of a video editing device provided in 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 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.
[0094] like Figure 7 As shown, 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:
[0095] The display module 710 is used to display a first text editing interface of the text track segment in response to a triggering operation on the text track segment in the editing track 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 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;
[0096] The template selection module 720 is used for placing the text material corresponding to the target text template in the text track segment in response to the selection operation of the target text template in the text template selection area, and presenting the first text effect of the text material corresponding to the target text template in the text effect preview area;
[0097] 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 a 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.
[0098] Based on the above embodiment, optionally, the device further includes:
[0099] The adjustment module 730 is used to display a second text editing interface in response to a trigger 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 is used to present a second text effect editing option, and the text effect preview area is used to present a text effect of the text template;
[0100] 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 the second 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 triggering operation on the text track segment in the editing track on the video editing interface is specifically:
[0102] Trigger the new text operation in the video editing interface to create a blank text track clip; or,
[0103] Trigger the text editing operation on the existing text track clip in the video editing interface.
[0104] Based on the above embodiment, optionally, the device further includes:
[0105] 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.
[0106] 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 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.
[0107] 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.
[0108] 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.
[0109] 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, and is combined with the text effect preview area in the first text editing interface to form the second text editing interface.
[0110] 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.
[0111] 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.
[0112] 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.
[0113] 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 in the second text effect editing area according to the groups to which the second text effect editing items belong.
[0114] Based on the above embodiment, optionally, the device further includes:
[0115] Presenting preset text in the text box of the text effect preview area;
[0116] 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.
[0117] Based on the above embodiment, optionally, the device further includes:
[0118] 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.
[0119] Based on the above embodiment, optionally, the device further includes:
[0120] A video is generated based on the video track clip and the text track clip on the editing track of the video editing interface.
[0121] Based on the above embodiment, optionally, generating a video based on a video track segment and a text track segment on an editing track of a video editing interface includes:
[0122] 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.
[0123] The disclosed embodiment integrates the text template selection and the editing process of some text effects in 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 without jumping 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.
[0124] The video editing device provided in the embodiments of the present disclosure can execute the video editing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects for executing the video editing method.
[0125] 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.
[0126] Figure 8 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 8 , which shows an electronic device (eg, Figure 8The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook 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. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0127] like Figure 8 As shown, 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. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. 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.
[0128] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0129] 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 contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 809, or installed from a storage device 808, or installed from a 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 executed.
[0130] 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.
[0131] 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. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0132] The embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the video editing method provided by the above embodiment is implemented.
[0133] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, 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 containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit 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 of the above.
[0134] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may 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 future developed network.
[0135] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0136] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0137] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to a trigger operation on a text track segment in an editing track on a video editing interface, display a first text editing interface of 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 text effects of the text template; in response to a selection operation on a target text template in the text template selection area, a text material corresponding to the target text template is placed in the text track segment, and a first text effect of the text material corresponding to the target 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, a first text effect of the text material corresponding to the target text template placed on the text track segment is adjusted, and a 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.
[0138] 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 separate 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 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).
[0139] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0140] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0141] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, 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 chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0142] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may 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 may 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.
[0143] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. 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 a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0144] 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 are 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.
[0145] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, 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. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A video editing method, characterized in that: 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, characterized in that: The method further comprises: In response to a triggering operation on a target text template selected in the text template selection area, a 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 a second text effect editing option, and the text effect preview area is used to present a text effect of the text template; In response to an 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 a 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.
3. The method according to claim 1, characterized in that The triggering operation of the text track segment in the editing track on the video editing interface is specifically as follows: 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, characterized in that: 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, characterized in that 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 usage frequency of candidate text effect editing items, and the candidate text effect editing options are used to edit text materials corresponding to the text template to form text effects.
6. The method according to claim 1, characterized in that The text template selection area and the first text effect editing area are configured in the same covering layer, and are combined with the text effect preview area in the form of a covering layer to form the first text editing interface.
7. The method according to claim 1, characterized in that 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, characterized in that: 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, characterized in that: 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. 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that 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, characterized in that: 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, characterized in that Generate a video based on the video track clips and text track clips on the editing track of the video editing interface, including: 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, characterized in that: 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, characterized in that: 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 containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to perform the video editing method as described in any one of claims 1-16.
Citation Information
Patent Citations
Video processing method and device, storage medium, and electronic device
CN108924622A
Synchronous subtitle adding method and device, electronic equipment and storage medium
CN111565330A
Character animation generation method and related equipment
CN115633212A
Video element editing method and device, electronic equipment and storage medium
CN116017078A
Systems and methods for associating graphics information with audio and video material
US20060159414A1
Cited By
Video editing method and apparatus, electronic device, and storage medium
EP4513878A1
