Video editing method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202310763607.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-26
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2043-06-26
AI Technical Summary
但是,在实际进行文本编辑时发现,需具备一定文本编辑技能才能有较好地文本效果,如果不具备一定技能可能需要反复修改,导致文本编辑操作路径长,造成你文本编辑效率低
[0018]本公开实施例,响应于在视频编辑界面上对编辑轨道中文本轨道片段的触发操作展示文本轨道片段的包括有文本效果预览区、文本模板选择区以及第一文本效果编辑区的第一文本编辑界面,文本模板选择区用于呈现文本模板选项,第一文本效果编辑区用于呈现第一文本效果编辑选项,文本效果预览区用于呈现文本模板的文本效果,响应于在文本模板选择区中对目标文本模板的选中操作,将目标文本模板对应的文本素材置于所述文本轨道片段,并在文本效果预览区呈现文本模板对应文本素材的第一文本效果,响应于在第一文本效果编辑区中对目标文本模板的编辑操作,对被置于文本轨道片段上的目标文本模板对应的文本素材的第一文本效果进行调整,并在文本效果预览区呈现经对文本模板对应文本素材的第一文本效果进行调整后的第二文本效果,通过将文本模板选择与部分文本效果的编辑过程融合在第一文本编辑界面进行,当文本效果满足要求不需要进行更为精细的文本效果编辑时,能直接使用文本轨道上的文本素材进行视频生成,不再跳转到其他编辑界面进行文本效果的编辑,降低了文本编辑的操作路径,在保证文本模板高分发效率的时提高对文本素材的文本效果的快速编辑,提高在移动端进行视频剪辑的效率。
Smart Images

Figure CN119211621B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to video processing technology, and more particularly to a video editing method, apparatus, electronic device, and storage medium. Background Technology
[0002] Video has become an important medium for social interaction and information dissemination on the internet, and videos can be created and edited using video editing tools.
[0003] In related solutions, video editing on mobile devices involves text editing. Typically, text templates provided by video editing tools can be used for text editing, including but not limited to adjusting text styles and fonts, before the edited text is added to the video. However, in practice, it has been found that a certain level of text editing skill is required to achieve good text results. Without sufficient skill, repeated modifications may be necessary, leading to a lengthy text editing process and low efficiency. Summary of the Invention
[0004] This disclosure provides a video editing method, apparatus, electronic device, and storage medium to improve the editing efficiency of text materials in text templates while ensuring high distribution efficiency of text templates.
[0005] In a first aspect, embodiments of this disclosure provide a video editing method, the method comprising:
[0006] In response to a trigger operation on a text track segment in the editing track on the 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 first text effect editing options, and the text effect preview area is used to present the text effect of the text template;
[0007] In response to the selection operation of the 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 target text template is presented in the text effect preview area;
[0008] 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 adjustment of the first text effect of the text material corresponding to the target text template is presented in the text effect preview area.
[0009] Secondly, embodiments of this disclosure also provide a video editing apparatus, the apparatus comprising:
[0010] The display module is used to respond to a trigger operation on a text track segment in the editing track on the video editing interface, and to 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 first text effect editing options, and the text effect preview area is used to present the text effect of the text template;
[0011] The template selection module is used to respond to the selection operation of the target text template in the text template selection area, place the text material corresponding to the target text template in the text track segment, and present the first text effect of the text material corresponding to the target text template in the text effect preview area;
[0012] The adjustment module is used to respond to the editing operation of 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 the 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] Thirdly, embodiments of this disclosure also provide an electronic device, the electronic device comprising:
[0014] One or more processors;
[0015] 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] Fourthly, embodiments of this disclosure also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the video editing method as described in any of the above embodiments.
[0018] In this embodiment of the disclosure, in response to a trigger operation on a text track segment in the editing track on a video editing interface, a first text editing interface is displayed, comprising 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 first text effect editing options, and the text effect preview area is used to present the text effect of the text template. In response to a selection operation of 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 editing the target text template in the first text effect editing area... The system adjusts the first text effect of the text material corresponding to the target text template placed on the text track segment, and displays the second text effect after the adjustment in the text effect preview area. By integrating the text template selection and partial text effect editing process into 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 used directly for video generation without jumping to other editing interfaces for text effect editing. This reduces the operation path of text editing, improves the speed of text effect editing of text material while ensuring high efficiency in text template distribution, and improves the efficiency of video editing on mobile devices.
[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0020] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote 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 This is a schematic flowchart of a video editing method provided in an embodiment of this disclosure;
[0022] Figure 2 This is a schematic diagram of an editing track interface applicable to the embodiments of this disclosure;
[0023] Figure 3 This is a schematic diagram of the interface flow for video editing applicable to an embodiment of this disclosure;
[0024] Figure 4This is a schematic diagram of an interface for selecting text templates and implementing quick text editing during a video editing process, applicable to an embodiment of this disclosure;
[0025] Figure 5 This is a schematic diagram of an interface for fine-grained editing of text content during a video editing process applicable to the embodiments of this disclosure;
[0026] Figure 6 This is a schematic diagram illustrating the input of text content in a text template during a video editing process applicable to an embodiment of this disclosure;
[0027] Figure 7 This is a schematic diagram of the structure of a video editing device provided in an embodiment of this disclosure;
[0028] Figure 8 This is a schematic diagram of the structure of an electronic device for implementing a video editing method, provided in an embodiment of this disclosure. Detailed Implementation
[0029] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0030] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0031] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based 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". Definitions of other terms will be given in the description below.
[0032] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0033] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0034] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0035] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0036] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0037] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0038] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0039] It is understood 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 related provisions.
[0040] Figure 1 This is a flowchart illustrating a video editing method provided in an embodiment of the present disclosure. This embodiment is applicable to the situation 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, such as a mobile terminal, PC, or server.
[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 trigger operation on a text track segment in the editing track on the 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 first text effect editing options, and the text effect preview area is used to present the text effect of the text template.
[0043] See Figure 2 The video editing interface features an editing track containing video clips. When text editing is required within the video clips, a text clip can be triggered on the editing track to initiate a text editing task on the corresponding video clip. This text editing task involves adding text to the video clip and applying appropriate text effects.
[0044] See Figure 3 After triggering a text track segment in the editing track, a first text editing interface can be displayed for performing text editing tasks on the text track segment, thus enabling a transition from the video editing interface to the first text editing interface for the text track segment. See also Figure 4 The first text editing interface includes a text effect preview area for displaying text effects on text materials corresponding to text templates, a text template selection area for distributing text templates to multiple text template options, and a first text effect editing area for quickly editing and selecting some of the first text effect editing options.
[0045] The above solution allows for the simultaneous selection of text templates and quick editing of the corresponding text materials on the first text editing interface. By integrating the selection of text template distribution with the quick editing of some text effects into one editing interface, there is no need to specifically jump to the editing interface to edit the text effects after selecting a text template, thus avoiding a longer text effect editing operation path. This can improve the quick editing of text while ensuring high efficiency in text template distribution.
[0046] As an optional but not limited implementation, the specific operation of triggering the text track segment in the editing track on the video editing interface is: triggering the new text operation on the video editing interface to create a blank text track segment.
[0047] See Figure 2Optionally, upon entering the video editing interface for video editing, a text addition indicator can be displayed on the video editing interface. For example, a text addition indicator can be displayed at the bottom of the editing track interface, and the text addition indicator can be triggered. By triggering the text addition indicator (e.g., by clicking to trigger), a task for text editing of the video footage corresponding to the video track segment in the video editing interface can be created, thereby triggering the operation of creating a blank text track segment through the new text operation on the video editing interface.
[0048] See Figure 2 Optionally, upon entering the video editing interface for video editing, a video track segment is displayed, containing video footage. A text track segment addition marker can be displayed adjacent to the video track segment, such as below it. By triggering the text track segment addition marker (e.g., by clicking it), a text track segment can be created to hold text footage from the video track segment in the video editing interface. This triggers the creation of a blank text track segment through a new text operation within the video editing interface.
[0049] As another optional but not limited implementation, the specific operation of triggering text track segments in the editing track on the video editing interface is: triggering text editing operation on an existing text track segment on the video editing interface.
[0050] Optionally, upon entering the video editing interface for video editing, a video track segment is displayed, containing video footage. Adjacent to the video track segment, a text track segment is displayed to contain text footage. For an existing text track segment, selecting and triggering it allows for text editing operations to be initiated based on that text track segment, enabling the addition of text footage to the text track.
[0051] As an optional but not limited implementation, the video editing method in this embodiment further includes:
[0052] In response to adjustments made to text track segments in the video editing interface, the start and end points of the corresponding text track segments are adjusted.
[0053] See Figure 2For video footage corresponding to a video track segment, in order to match the video footage with the text footage on the text track segment, it is necessary to add appropriate text footage as text subtitles based on the content to be expressed by the video footage. To do this, it is necessary to align and adjust the text track segment that carries the text footage with the video track segment that carries the video footage. This can be achieved by adjusting the start and end points of the text track segment with the appropriate video track segment.
[0054] Optionally, in the edit track displayed on the edit track page, a text track segmentation editing operation can be triggered on the text track segment of the edit track. This can divide the text track segment into a series of smaller text track segments so that a trigger operation can be performed for each sub-text track segment. The first text editing interface of each small text track segment is displayed, and an indicator mark is displayed on the text track segment to indicate that the text track segment has been segmented.
[0055] S120. In response to the selection operation of the 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 target text template is presented in the text effect preview area.
[0056] See Figure 4 The text template selection area presents at least two text template options, each corresponding to a text template. Each text template is associated with a text element. By triggering the target text template option in the text template selection area (including but not limited to clicking and dragging to a designated selection area), the target text template corresponding to that option can be selected. After selecting the target text template, the corresponding text element can be dragged and placed on a text track segment. Simultaneously, the text element's own first text effect can be displayed in the text effect preview area. By selecting the various text template options in the text template selection area, the text template style can be switched and its layout adjusted.
[0057] S130. 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 adjustment of the first text effect of the text material corresponding to the target text template is presented in the text effect preview area.
[0058] See Figure 4The first text effect editing area of the first text editing interface can display at least two first text effect editing options. Each first text effect editing option is associated with a first text effect editing information. Using the first text effect editing information determined by the editing operation, the first text effect of the text material corresponding to the target text template on the text track segment can be adjusted, 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 can also be displayed in the text effect preview area according to the adjusted second text effect of the text material.
[0059] By selecting a text template and creating text effect editing information for the text materials within the selected template on the first text editing interface, the text template can be displayed in the text effect preview area based on the selected text template. After editing the target text template in the first text effect editing area, text effect editing information can be added to the already displayed text template to adjust the text effects of the text materials within the template, thus presenting them in the text effect preview area. By integrating the text template selection and partial text effect editing process into the first text editing interface, eliminating the need to jump to other editing interfaces for text effect editing, the operation path for text editing is reduced. This improves the efficiency of text template distribution while enhancing the rapid editing of text effects for text materials, thereby increasing the efficiency of video editing on mobile devices.
[0060] As an optional but not limited implementation, the first text effect editing options to be presented in the first text effect editing area are obtained by pre-selecting from the candidate text effect editing options based on the frequency of use of the candidate text effect editing items. The candidate text effect editing options are used to edit the text material corresponding to the text template to form text effects.
[0061] See Figure 4 Considering the numerous text effect editing options available for modifying text elements in a text template, it's difficult to place all text effect editing options within a limited interface. Therefore, we can first determine the candidate text effect editing options needed for editing text elements in the text template. Then, based on the frequency of use of each candidate text effect editing option, we can pre-select the first text effect editing option. This first text effect editing option can then be presented in the first text effect editing area for quick text effect editing, avoiding an overly large quick editing area due to a large number of text effect editing options, which would result in insufficient template distribution area within the limited interface and prevent the text template from being displayed effectively.
[0062] As an optional but not limited implementation, the text template selection area and the first text effect editing area are configured on the same overlay, and are combined with the text effect preview area in the form of an overlay to form the first text editing interface for text track segments.
[0063] See Figure 3 and Figure 4 To enable rapid editing and generation of text effects for selected text templates and corresponding text materials, a first text editing interface can be displayed as an overlay, encompassing both a text template selection area and a first text effect editing area. This overlay serves as the carrier when the first text editing interface is opened on the text track, enabling the first text editing interface to perform suggestive or context-dependent tasks. The overlay can take the form of a "floating layer," "pop-up," or "window" when the first text editing interface is displayed.
[0064] See Figure 4 The text template selection area presents multiple text template options for choosing the style of the text template. Each text template option is associated with a specific text template style, and each text template option can be selected. The text effect editing area presents multiple text effect editing options for initial editing of the text effects of the text materials in the text template. Each text effect editing option is associated with a specific text effect, and each text effect editing option can be selected to adjust the text effects of the text materials.
[0065] As an optional but not limited implementation, the first text effect editing options to be presented in the first text effect editing area on the first text editing interface may include adding and modifying the color scheme 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, adding outlines to the text material corresponding to the text template, and / or adjusting the layout of the text material corresponding to the text template. These text effect editing options can be presented in the form of option icons.
[0066] As an optional but not limited implementation, at least some 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 some 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 the visible state.
[0067] See Figure 4In the first text editing interface, the first text effect editing area may present a large number of text effect editing options for editing text materials. However, the first text effect editing area occupies a relatively small area in the first text editing interface, making it difficult to display all the first text effect editing options. Therefore, the first text effect editing options to be displayed in the first text editing interface can be configured so that at least some of the first text effect editing options are hidden and invisible, while others are displayed and visible.
[0068] See Figure 4 When the first text effect editing options displayed on the first text editing interface are triggered and slid through a trigger operation, at least some of the first text effect editing options that were in a hidden and invisible state on the first text editing interface are adjusted to a visible state, while the icons corresponding to some of the first text effect editing options that were in a visible state on the first text editing interface can be adjusted to a hidden and invisible state.
[0069] As an optional but not limited implementation, the video editing method of this embodiment may include the following process steps A1-A2:
[0070] Step A1: In response to the trigger 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 options, and the text effect preview area is used to present the text effect of the text template.
[0071] See Figure 3 and Figure 4 Once the target text template option is selected in the text template selection area, an operation icon for fine-tuning the corresponding text material of the target text template will appear at the selected target text template option. If the second text effect created by editing the target text template in the first text editing interface does not meet the requirements, the selected target text template option will be triggered again.
[0072] See Figure 5 By triggering the selected target text template, a second text editing interface will be displayed, including a text effect preview area and a second text effect editing area. This allows for further fine-tuning of the text material corresponding to the target text template based on the second text effect, making the text effect of the text material corresponding to the target text template closer to the desired text effect.
[0073] Optionally, after the target text template in the text template selection area of the first text editing interface is selected, the target text template is configured to allow triggering to display the second text editing interface, which includes the second text effect editing item.
[0074] Step A2: 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 third text effect after the adjustment of the second text effect of the text material corresponding to the target text template is presented in the text effect preview area.
[0075] See Figure 5 The second text editing interface's second text effect editing area can display at least two second text effect editing options. Each second text effect editing option is associated with a second text effect editing information. Using the second text effect editing information determined by the editing operation, the second text effect of the text material corresponding to the target text template on the text track segment can be adjusted based on the second text effect of the text style, so that the text material on the text track segment is refined from the second text effect to the third text effect. At the same time, the text material corresponding to the target text template can also be displayed in the text effect preview area according to the adjusted third text effect of the text material.
[0076] As described above, since the second text editing interface is only activated for fine-tuning when the text effect of the text material corresponding to the text template does not meet the requirements, while the first text editing interface is sufficient to edit the text effect of the text material when the text effect of the text material corresponding to the text template meets the requirements, the operation path of text effect editing can be minimized, thereby ensuring high distribution efficiency of text templates while improving the speed of text editing.
[0077] As an optional but not limited implementation, 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 as an overlay, and is combined with the text effect preview area in the first text editing interface to form the second text editing interface.
[0078] See Figure 3 and Figure 5 In order to achieve further refined editing and generation of text effects for text materials corresponding to text templates, a second text editing interface including a second text effect editing area can be displayed as an overlay. The overlay can be the carrier used when the second text editing interface on the text track is opened. The second text editing interface can complete prompting or context-related tasks.
[0079] See Figure 3and Figure 5 The second text editing interface features multiple second text effect editing options in the second text effect editing area, which are used to fine-tune the text effects of the text materials 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 clicked to select and finely adjust the text effect of the text material.
[0080] As an optional but not limited implementation, the second text effect editing item to be presented in the second text effect editing area is at least a portion of the text effect editing options other than the first text effect editing item in the candidate text effect editing options. 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 Figure 3 and Figure 5 It can display the remaining text effect editing options (excluding the first text effect editing option) and some of the first text effect editing options as second text effect editing options in the second text effect editing area. This is used to refine the text effects of the text materials in the text template, providing more detailed editing options and enabling more text effects.
[0082] As an optional but not limited implementation, at least some of the first text effect editing items to be presented in the first text effect editing area are used more frequently than the second text effect editing items to be presented in the second text effect editing area.
[0083] As an optional but not limited 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 group to which the second text effect editing items belong.
[0084] See 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 them simultaneously in the limited second text editing interface. Therefore, the second text effect editing options can be grouped according to their type. By grouping the second text effect editing options, the corresponding operation icons of each second text effect editing option can be presented on the second text editing interface according to the different groups to which the second text effect editing options belong.
[0085] Optionally, see Figure 5The second text effect editing area can include operation indicators for adjusting the second text effect editing options, such as bolding, italics, underlining, and at least partially combining the layout of the text material corresponding to the text template; one-click capitalization, orderly arrangement, and at least partially combining 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 adjusting the combination color scheme of the text material corresponding to the text template. This allows for fine-grained editing of the text material (such as text) corresponding to the text template.
[0086] As an optional but not limited implementation, the video editing method of this embodiment may include the following process: presenting preset text in a text box in the text effect preview area; in response to an input operation that triggers the input of text content in the text box, obtaining the edited text content and replacing the preset text in the text box.
[0087] See Figure 3 and Figure 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. Preset text can be pre-set in the text box. By triggering an input operation to enter text content into the text box, text content can be entered, the entered text content is obtained, and then the original preset text in the text box is replaced with the entered text content, which is then displayed in the text box.
[0088] See Figure 3 and Figure 4 The text box displayed in the text effect preview area is associated with multiple operation icons for adjusting the text content in the text box, such as operation icons for inputting text content in the text box, operation icons for deleting text content in the text box, and operation icons for rotating text box, etc.
[0089] Optionally, in response to a trigger operation that allows text input in the text box, a text content editing input area for inputting text content in the text box is displayed. When an operation flag for inputting text content in the text box is triggered, in response to the trigger operation on the text box, the 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 appear, allowing the user to edit the text content to be entered through the text content editing input area.
[0090] As an optional but not limited implementation, the video editing method in this embodiment may include: generating a video based on video track segments and text track segments on the editing track of the video editing interface.
[0091] Optionally, the video track segments and text track segments on the editing track can be combined into a video with text effects according to the arrangement order of the text track segments placed on the editing track of the video editing interface.
[0092] In this embodiment, the text template selection and partial text effect editing process are integrated into the first text editing interface. When the text effect meets the requirements and no further fine text effect editing is needed, the text material on the text track can be used directly for video generation without jumping to other editing interfaces to edit the text effect. This reduces the operation path of text editing, improves the speed of text effect editing of text material while ensuring high distribution efficiency of text templates, and improves the efficiency of video editing on mobile devices.
[0093] Figure 7 This is a schematic diagram of the structure of a video editing device provided in an embodiment of the present disclosure. The embodiments of the present disclosure are 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, such as a mobile terminal, PC, or server.
[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. Wherein:
[0095] The display module 710 is used to respond to a trigger operation on a text track segment in the editing track on the video editing interface, and to 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 first text effect editing options, and the text effect preview area is used to present the text effect of the text template;
[0096] The template selection module 720 is used to respond to the selection operation of the target text template in the text template selection area, place the text material corresponding to the target text template in the text track segment, and present 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 to present the 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.
[0098] Optionally, based on the above embodiments, the device further includes:
[0099] The adjustment module 730 is used to respond to a trigger operation on the selected target text template in the text template selection area and display 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 second text effect editing options, and the text effect preview area is used to present the 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 to present the third text effect after the adjustment of the second text effect of the text material corresponding to the target text template in the text effect preview area.
[0101] Based on the above embodiments, optionally, the triggering operation of the text track segment in the editing track on the video editing interface specifically includes:
[0102] In the video editing interface, trigger the "New Text" operation to create a blank text track segment; or...
[0103] The video editing interface allows you to perform text editing on existing text track segments.
[0104] Optionally, based on the above embodiments, the device further includes:
[0105] In response to the adjustment operation of the text track segment in the editing track on the video editing interface, the start point and end point of the text track corresponding to the text track segment are adjusted.
[0106] Based on the above embodiments, optionally, the first text effect editing option to be presented in the first text effect editing area is obtained by pre-screening the candidate text effect editing options based on the frequency of use of the candidate text effect editing items. 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 embodiments, optionally, the text template selection area and the first text effect editing area are configured on the same overlay, and are combined with the text effect preview area in the form of an overlay to form the first text editing interface.
[0108] Based on the above embodiments, optionally, at least some 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 some 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 be visible.
[0109] Based on the above embodiments, 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 as 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.
[0110] Based on the above embodiments, optionally, the second text effect editing item to be presented in the second text effect editing area is at least a portion of the text effect editing options other than the first text effect editing item in the candidate text effect editing options, 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 embodiments, optionally, at least some of the first text effect editing items to be presented in the first text effect editing area are used more frequently than the second text effect editing items to be presented in the second text effect editing area.
[0112] Based on the above embodiments, optionally, after a target text template in the text template selection area is selected, the target text template is configured to allow triggering to display a second text editing interface including a second text effect editing item.
[0113] Based on the above embodiments, optionally, the second text effect editing items to be presented in the second text effect editing area are configured to be grouped and displayed in the second text effect editing area according to the group to which the second text effect editing items belong.
[0114] Optionally, based on the above embodiments, the device further includes:
[0115] Preset text is displayed in the text box of the text effect preview area;
[0116] In response to an input operation that triggers the input of text content in the text box, the input text content is obtained and the preset text is replaced in the text box.
[0117] Optionally, based on the above embodiments, the device further includes:
[0118] In response to a triggering operation that allows text input in the text box, a text content editing input area for inputting text content in the text box is displayed.
[0119] Optionally, based on the above embodiments, the device further includes:
[0120] Video is generated by combining video track segments and text track segments on the editing track of the video editing interface.
[0121] Based on the above embodiments, optionally, generating video based on video track segments and text track segments on the editing track of the video editing interface includes:
[0122] Based on the arrangement order of the text track segments placed on the editing track in the video editing interface, the video track segments on the editing track are combined with the text track segments to form a video with text effects.
[0123] In this embodiment, the text template selection and partial text effect editing process are integrated into the first text editing interface. When the text effect meets the requirements and no further fine text effect editing is needed, the text material on the text track can be used directly for video generation without jumping to other editing interfaces to edit the text effect. This reduces the operation path of text editing, improves the speed of text effect editing of text material while ensuring high distribution efficiency of text templates, and improves the efficiency of video editing on mobile devices.
[0124] The video editing apparatus provided in this disclosure can execute the video editing method provided in any embodiment of this 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 division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.
[0126] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Reference is made below. Figure 8 It illustrates an electronic device suitable for implementing embodiments of the present disclosure (e.g., Figure 8The diagram below shows the structure of the terminal device or server 800. The terminal device in this embodiment may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and vehicle terminals (e.g., vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 8 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[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. The RAM 803 also stores various programs and data required for the operation of the electronic device 800. The processing device 801, ROM 802, and RAM 803 are interconnected via a bus 804. An edit / output (I / O) interface 805 is also connected to the bus 804.
[0128] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 8 An electronic device 800 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0129] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by a processing device 801, it performs the functions defined in the methods of embodiments of this disclosure.
[0130] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0131] The electronic device provided in this embodiment and the video editing method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0132] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the video editing method provided in the above embodiments.
[0133] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0134] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0135] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0136] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to:
[0137] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: in response to a triggering operation on a text track segment in the 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 first text effect editing options, and 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, place the text material corresponding to the target text template on the text track segment, and present the 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 the 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.
[0138] Computer program code for performing the operations of this disclosure can 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, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0139] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0140] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".
[0141] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0142] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0143] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0144] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0145] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A video editing method, characterized in that, The method includes: In response to a trigger operation on a text track segment in the editing track on the 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 first text effect editing options, the first text effect editing options are editing options for the effects corresponding to the text material in the text template, and the text effect preview area is used to present the text effects of the text template; In response to the selection operation of the 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 target text template is presented in the text effect preview area; 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 adjustment of the first text effect of the text material corresponding to the target text template is presented in the text effect preview area; The method further includes: In response to a trigger operation on the selected target text template in the text template selection area, a second text editing interface is displayed; the second text editing interface is used to refine the second text effect, and 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 options, and the text effect preview area is used to present the text effect of the text template; Wherein, at least some of the first text effect editing items to be presented in the first text effect editing area are used more frequently than the second text effect editing items to be presented in the second text effect editing area.
2. The method according to claim 1, characterized in that, The method further includes: 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 third text effect after the adjustment of the second text effect of the text material corresponding to the target text template is presented in the text effect preview area.
3. The method according to claim 1, characterized in that, The specific operation of triggering text track segments in the editing track on the video editing interface is as follows: In the video editing interface, trigger the "New Text" operation to create a blank text track segment; or... The video editing interface allows you to perform text editing on existing text track segments.
4. The method according to claim 3, characterized in that, The method further includes: In response to the adjustment operation of the text track segment in the editing track on the video editing interface, the start point and end point of the text track 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 obtained by pre-filtering from the candidate text effect editing options based on the frequency of use of the candidate text effect editing items. 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, characterized in that, The text template selection area and the first text effect editing area are configured on the same overlay, and are displayed together with the text effect preview area in the form of an overlay to form the first text editing interface.
7. The method according to claim 1, characterized in that, At least some 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 some of the first text effect editing options are in a visible state. 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 be visible.
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 as 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 a portion of the candidate text effect editing options other than 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, Once the target text template in the text template selection area is selected, the target text template is configured to allow triggering to display a second text editing interface that includes a second text effect editing item.
11. 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 group to which the second text effect editing items belong.
12. The method according to claim 1 or 2, characterized in that, Preset text is displayed in the text box of the text effect preview area; In response to an input operation that triggers the input of text content in the text box, the input text content is obtained and the preset text is replaced in the text box.
13. The method according to claim 12, characterized in that, In response to a triggering operation that allows text input in the text box, a text content editing input area for inputting text content in the text box is displayed.
14. The method according to claim 1 or 2, characterized in that, Video is generated by combining video track segments and text track segments on the editing track of the video editing interface.
15. The method according to claim 14, characterized in that, Video is generated from video track segments and text track segments on the editing track of the video editing interface, including: Based on the arrangement order of the text track segments placed on the editing track in the video editing interface, the video track segments on the editing track are combined with the text track segments to form a video with text effects.
16. A video editing device, characterized in that, The device includes: The display module is used to respond to a trigger operation on a text track segment in the editing track on the video editing interface, and to 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 first text effect editing options, the first text effect editing options are editing options for the effects corresponding to the text materials in the text template, and the text effect preview area is used to present the text effects of the text template; The template selection module is used to respond to the selection operation of the target text template in the text template selection area, place the text material corresponding to the target text template in the text track segment, and present the first text effect of the text material corresponding to the target text template in the text effect preview area; The adjustment module is used to respond to the editing operation of 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 the 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; The adjustment module is used to respond to the trigger operation of the selected target text template in the text template selection area and display the second text editing interface; the second text editing interface is used to finely edit the second text effect, and 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 options, and the text effect preview area is used to present the text effect of the text template; Wherein, at least some of the first text effect editing items to be presented in the first text effect editing area are used more frequently than the second text effect editing items to be presented in the second text effect editing area.
17. An electronic device, characterized in that, The electronic device includes: One or more processors; 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-15.
18. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the video editing method as described in any one of claims 1-15.
Citation Information
Patent Citations
Character animation generation method and related equipment
CN115633212A