Video editing method, device, equipment, storage medium and computer program product

By responding to the user's selected video text information in the video editing interface, putting the video in the paused playback state and displaying the editing bar, the problem of low video text editing in the prior art is solved, and the function of fast editing and automatic display of editing effects is realized.

CN115209206BActive Publication Date: 2025-06-10BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210810390.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-11
Publication Date
2025-06-10
Estimated Expiration
2042-07-11

AI Technical Summary

Technical Problem

The prior art is complicated to modify the additional text content added to videos and has low editing efficiency.

Method used

By responding to the user's selection of text information in the video editing interface, putting the video in the paused playback state, and displaying the editing bar, users can edit text information directly in the video. After the editing is completed, the original playback status of the video is restored and the edited text information is displayed.

Benefits of technology

This method reduces the jump operation that users need to trigger, improves the editing efficiency of text information, and users can quickly enter the editing state and automatically view the editing effect after the editing is completed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115209206B_ABST
    Figure CN115209206B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a video editing method, apparatus, electronic device, storage medium, and computer program product. The method includes: presenting a video to be edited; the video to be edited includes at least one piece of text information; in response to a selection operation on the text information, pausing the playback state of the video to be edited and presenting an editing bar for corresponding editing of the text information; in response to an editing completion operation, restoring the playback state of the video to be edited to the playback state before the selection operation and presenting the edited text information on the video to be edited. The solution of this embodiment can, through the selection operation on the text information in the video to be edited, pause the playback state of the video to be edited and present the editing bar, without the need to click a specified button to jump to a specified interface and then start, and automatically restore to the playback state before the selection operation to present the edited text information after editing, reducing the jump operations that need to be triggered and effectively improving the editing efficiency of the text information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of video technology, and in particular, to a video editing method, apparatus, electronic device, storage medium, and computer program product. Background Art

[0002] With the development of Internet technology, video applications have become increasingly popular. After shooting a video, users can add relevant text information, such as subtitles or captions, to the video to enrich the video content.

[0003] In related technologies, an application often provides a dedicated editing entry. If a user wants to modify the text content added to the video, the user needs to first click on the relevant editing entry to jump to the text editing interface, find the text content to be edited in the text editing interface, select it and then perform the editing. After the editing is completed, the user clicks on a preset button to trigger the playback of the edited video. It can be seen that the related technologies are cumbersome in modifying the video text content and have low editing efficiency. Summary of the Invention

[0004] The present disclosure provides a video editing method, apparatus, electronic device, storage medium, and computer program product to at least solve the problem of low video text editing efficiency in related technologies. The technical solution of the present disclosure is as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, a video editing method is provided, including:

[0006] Displaying a video to be edited; at least one piece of text information is included in the video to be edited;

[0007] In response to a selection operation on the text information, putting the video to be edited in a paused playback state, and displaying an editing bar for performing corresponding editing on the text information;

[0008] In response to an editing completion operation, restoring the playback state of the video to be edited to the playback state before the selection operation, and displaying the edited text information on the video to be edited.

[0009] In one of the embodiments, the displaying the video to be edited includes:

[0010] Displaying the video to be edited through a video editing interface, the video editing interface including at least one editing function entry;

[0011] After the response to the selection operation on the text information, further including:

[0012] Hiding each editing function entry in the video editing interface.

[0013] In one embodiment, after the editing completion operation, the following is further included:

[0014] Restore the display of each editing function entry in the video editing interface.

[0015] In one embodiment, in response to the editing completion operation, restoring the playing state of the video to be edited to the playing state before the selected operation, and displaying the edited text information on the video to be edited, includes:

[0016] If the playing state of the video to be edited before the selected operation is the playing state, then in response to the editing completion operation, continue to play the video to be edited, and display the edited text information on the video to be edited.

[0017] In one embodiment, in response to the editing completion operation, restoring the playing state of the video to be edited to the playing state before the selected operation, and displaying the edited text information on the video to be edited, includes:

[0018] If the playing state of the video to be edited before the selected operation is the paused playing state, then in response to the editing completion operation, maintain the paused playing state, and display the edited text information on the video to be edited.

[0019] In one embodiment, after displaying the video to be edited, the following is further included:

[0020] If at least one of a drag operation, a zoom-in operation, a zoom-out operation, and a rotation operation on the text information on the video to be edited is detected, it is determined that a selected operation on the text information is detected.

[0021] In one embodiment, after displaying an editing bar for corresponding editing of the text information, the following is further included:

[0022] Move, zoom in, zoom out, or rotate the text information on the video to be edited based on the selected operation.

[0023] In one embodiment, before, in response to the editing completion operation, restoring the playing state of the video to be edited to the playing state before the selected operation, and displaying the edited text information on the video to be edited, the following is further included:

[0024] When the action point of the selected operation on the text information is released, it is determined that the editing completion operation is detected.

[0025] According to a second aspect of the embodiments of the present disclosure, a video editing device is provided, including:

[0026] A video display unit configured to display a video to be edited; at least one text message is included in the video to be edited;

[0027] A text editing unit configured to, in response to a selection operation on the text message, pause the playback of the video to be edited and display an editing bar for corresponding editing of the text message;

[0028] A text display unit configured to, in response to an editing completion operation, resume the playback state of the video to be edited to the playback state before the selection operation and display the edited text message on the video to be edited.

[0029] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including:

[0030] A processor;

[0031] A memory for storing executable instructions of the processor;

[0032] Wherein, the processor is configured to execute the instructions to implement the video editing method described in any one of the above.

[0033] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the video editing method described in any one of the above.

[0034] According to a fourth aspect of the embodiments of the present disclosure, a computer program product is provided. The computer program product includes instructions that, when executed by a processor of an electronic device, enable the electronic device to execute the video editing method described in any one of the above.

[0035] The technical solutions provided by the embodiments of the present disclosure at least bring the following beneficial effects:

[0036] The terminal can display the video to be edited, which contains at least one piece of text information. Then, in response to the selection operation on the text information, the video to be edited can be placed in the paused playback state, and an editing bar for corresponding editing of the text information can be displayed. In response to the completion of the editing operation, the playback state of the video to be edited can be restored to the playback state before the selection operation, and the edited text information can be displayed on the video to be edited. The solution of this embodiment can place the video to be edited in the paused playback state and display the editing bar through the selection operation on the text information in the video to be edited, without the user clicking on a specified button to jump to a specified interface to start editing. It can quickly enter the state where the text can be edited. At the same time, when the editing is completed, it automatically returns to the playback state before the selection operation to display the edited text information, reducing the jump operations that the user needs to trigger and effectively improving the editing efficiency of the text information.

[0037] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. Brief Description of the Drawings

[0038] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure, and do not constitute an improper limitation of the present disclosure.

[0039] Figure 1 is a flowchart of a video editing method shown according to an exemplary embodiment.

[0040] Figure 2 is a schematic diagram of a video editing interface shown according to an exemplary embodiment.

[0041] Figure 3 is a schematic diagram of another video editing interface shown according to an exemplary embodiment.

[0042] Figure 4 is a flowchart of another video editing method shown according to an exemplary embodiment.

[0043] Figure 5 is a flowchart of another video editing method shown according to an exemplary embodiment.

[0044] Figure 6 is a block diagram of a video editing device shown according to an exemplary embodiment.

[0045] Figure 7 is a block diagram of an electronic device shown according to an exemplary embodiment. Detailed Embodiments

[0046] To enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned accompanying drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order different from those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0048] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in the present disclosure are all information and data authorized by the user or fully authorized by all parties.

[0049] Figure 1 A video editing method shown according to an exemplary embodiment. The video editing method can be applied to a terminal. The terminal can be deployed with a video application and edit a video through the video application. In actual application, the terminal can display the video to be edited through a video editing interface. The video to be edited may include pre-added text information. Furthermore, when the terminal detects a selection operation on the text information, in response to the selection operation, it can edit the text information when the video is in a paused playback state. After the editing is completed, the terminal can restore the playback state of the video to the playback state before the selection operation and display the edited text information on the video.

[0050] Among them, the terminal can be but is not limited to various personal computers, laptop computers, smartphones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc., and the portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc.

[0051] Specifically, the method may include the following steps:

[0052] In S110, display the video to be edited; the video to be edited includes at least one piece of text information.

[0053] In practical applications, the terminal can display the video to be edited in the interface. The video to be edited can contain at least one piece of text information. For example, after a user shoots a video, relevant explanatory text can be added to the video. Then, when the video to be edited is edited again, the explanatory text in the video can be used as at least one piece of pre-added text information.

[0054] Exemplarily, the video to be edited can be a local video or a video obtained from a server. At least one piece of text information contained in the video to be edited can be added through a text component during the past editing process of the video to be edited. Through the text component, any text information can be customarily added to the video, such as inserting a voiceover, subtitles, etc. on the video.

[0055] In S120, in response to a selection operation on the text information, the video to be edited is placed in a paused playback state, and an editing bar for corresponding editing of the text information is displayed.

[0056] As an example, the selection operation can be an operation of selecting an editable object from the video.

[0057] In a specific application, after the video to be edited is displayed, the terminal can detect whether there is a selection operation on the text information in the video to be edited. If a selection operation on the text information is detected, in response to this selection operation, the editing video can be placed in a paused playback state, and an editing bar for corresponding editing of the text information is displayed.

[0058] In other words, in this embodiment, when a selection operation on the text information is detected, the display of the editing bar for editing the text information can be directly triggered by the current selection operation, and at the same time, the video to be edited can be in a paused playback state, ensuring that the position of the text information in the video to be edited is relatively fixed, so that the state of editing and modifying the text information can be quickly entered. It can be understood that in this step, triggering the display of the editing bar and placing the video to be edited in a paused playback state do not require the user to click a specified button in the interface or switch the current interface to the interface for the specified editing function and then edit the text information, significantly reducing the cumbersome operations required to enter the editing interface or editing state during the editing process of the video text information. In addition, by placing the video to be edited in a paused playback state and then allowing the user to edit the text information, it is convenient for the user to observe the current attribute information of the text information, such as the style or position in the video, etc., so as to be able to adjust the editing method in time and efficiently execute the editing of the text information.

[0059] In S130, in response to the editing completion operation, the playback state of the video to be edited is restored to the playback state before the selection operation, and the edited text information is displayed on the video to be edited.

[0060] Specifically, when the terminal detects that the editing operation for the text information is completed, the playing state of the video to be edited can be restored to the playing state before the selected operation, and in this playing state, the edited text information can be displayed on the video to be edited. In this embodiment, by restoring the playing state of the video to be edited to the playing state before the selected operation when the editing is completed, the video playing state can be automatically set to the playing state of the video when the user browses the video to be edited before editing the text information, and the edited text information is displayed. Compared with the related art where a preset button needs to be clicked after the editing is completed to view the overall effect, this embodiment can reduce the triggering operations required by the user to view the editing effect.

[0061] In the above video editing method, the terminal can display the video to be edited, and at least one piece of text information is included on the video to be edited. Further, in response to the selected operation for the text information, the video to be edited can be placed in the paused playing state, and an editing bar for performing corresponding editing on the text information can be displayed. In response to the editing completion operation, the playing state of the video to be edited can be restored to the playing state before the selected operation, and the edited text information can be displayed on the video to be edited. The solution of this embodiment can place the video to be edited in the paused playing state and display the editing bar through the selected operation for the text information in the video to be edited, without the user clicking a specified button to jump to a specified interface to start editing, and can quickly enter the state where the text can be edited. At the same time, when the editing is completed, it automatically returns to the playing state before the selected operation to display the edited text information, reducing the jump operations that the user needs to trigger, and effectively improving the editing efficiency of the text information.

[0062] In an exemplary embodiment, in S110, displaying the video to be edited may include:

[0063] Displaying the video to be edited through a video editing interface, and the video editing interface includes at least one editing function entry.

[0064] Specifically, the terminal can provide a video editing interface, the video editing interface can display the video to be edited, and the video editing interface includes at least one editing function entry. If the user selects the video and requests to edit the video, the terminal can use the selected video as the video to be edited and display it in the video editing interface.

[0065] In some optional embodiments, during the process of displaying the video to be edited through the video editing interface, the user can trigger the corresponding editing function entry in the video editing interface and jump to the corresponding editing function interface, so that the video to be edited can be edited through the editing functions provided by the editing function interface.

[0066] For example, as Figure 2As shown, a video editing interface is presented. The video editing interface may include editing function entrances 201 corresponding to multiple editing functions, such as editing function entrances for video beautification, video background music, video covers, video texts, video subtitles, and video special effects. Each editing function entrance may respectively have a corresponding editing function interface. In the case where there are multiple editing function interfaces, the video editing interface in this embodiment can be understood as an interface with a hierarchical structure level higher than that of any editing function interface, or the video editing interface can also be understood as a jump interface for multiple editing function interfaces. That is, when a user needs to enter a specified editing function interface, they can first enter the video editing interface and then jump to other editing function interfaces with a lower hierarchical structure through the video editing interface.

[0067] In S120, after responding to the selection operation on the text information, it may further include:

[0068] Hide each editing function entrance in the video editing interface.

[0069] In practical applications, in response to the selection operation on the text information, the terminal can hide each editing function entrance in the video editing interface. For example, Figure 3 as shown, after detecting the selection operation on the text information 301, the content displayed in the video editing interface can change from Figure 2 to Figure 3 , hiding the original multiple editing function entrances 201, showing the editing bar 302 for editing the text information 301, and placing the playing state of the video to be edited in the paused state so that the user can perform corresponding editing on the text information.

[0070] In this embodiment, in response to the selection operation, by hiding each editing function entrance in the video editing interface, it is possible to display the entire video picture of the current video frame during the process of editing the text information, effectively assisting the user in locating the position of the text information in the video to be edited, avoiding the occlusion of the text information by the editing function entrances irrelevant to the text information editing in the video editing interface, and improving the user's editing efficiency and operation experience.

[0071] In an exemplary embodiment, as Figure 4 shown, in S130, after responding to the editing completion operation, the following steps may further be included:

[0072] Restore the display of each editing function entrance in the video editing interface.

[0073] Specifically, after determining that the editing of the text information is completed and detecting the editing completion operation, the respective editing function entry points in the video editing interface can be restored and displayed again. For example, the editing function entry point 201 can be redisplayed as shown in Figure 2 By redisplaying the respective editing function entry points in the video editing interface after the editing is completed, it is convenient to quickly find the editing function entry points and trigger other video editing functions after the text information editing is completed, thereby improving the convenience of video editing.

[0074] In an exemplary embodiment, in S130, in response to the editing completion operation, restoring the playback state of the video to be edited to the playback state before the selection operation and displaying the edited text information on the video to be edited may include the following steps:

[0075] If the playback state of the video to be edited before the selection operation is the playing state, then in response to the editing completion operation, continue to play the video to be edited and display the edited text information on the video to be edited.

[0076] In practical applications, the video to be edited can be played in the video editing interface. Then, during the playback of the video to be edited, the user can trigger the selection operation for the text information in the video to be edited. That is, the playback state of the video to be edited before the selection operation can be the playing state.

[0077] When the terminal detects the editing completion operation for the text information, it can automatically restore the playback state of the video to be edited to the playing state, continue to play the video to be edited (such as continuing to play the video to be edited in the video editing interface), and display the edited text information in the currently played video to be edited.

[0078] In this embodiment, if the playback state of the video to be edited before the selection operation is the playing state, then in response to the editing completion operation, the video to be edited can be continued to be played and the edited text information can be displayed on the video to be edited. Without the user clicking a preset button to trigger the playback of the video to be edited, the overall effect of the edited text information during the dynamic playback of the video can be automatically displayed, thereby improving the editing efficiency of the video text information.

[0079] In an exemplary embodiment, in S130, in response to the editing completion operation, restoring the playback state of the video to be edited to the playback state before the selection operation and displaying the edited text information on the video to be edited may include the following steps:

[0080] If the playback state of the video to be edited before the selection operation is the paused playback state, then in response to the editing completion operation, maintain the paused playback state and display the edited text information on the video to be edited.

[0081] During the editing process, in order to facilitate editing or observing the current video content, the playback state of the video to be edited can be put into a paused playback state. In the paused playback state, the video screen is still, which is convenient for the user to adjust one or more objects in the video to be edited (such as text information, beautification effects, video music, etc.). Therefore, before the user triggers the selection operation for the text information, the video to be edited can be in a paused playback state.

[0082] Then, when the terminal detects that the editing operation on the text information is completed, the terminal can maintain the paused playback state of the video to be edited, and display the edited text information on the paused video to be edited screen.

[0083] In this embodiment, if the playback status of the video to be edited is a paused playback status before the selection operation, in response to the editing completion operation, the paused playback status can be maintained, and the edited text information can be displayed on the paused video to be edited, without the need for the user to manually adjust it to the original paused status, thereby reducing the triggering operations during the video editing process.

[0084] In an exemplary embodiment, after S110, the method further includes:

[0085] If at least one of a drag operation, a zoom-in operation, a zoom-out operation, and a rotation operation on the text information on the video to be edited is detected, it is determined that a selection operation on the text information is detected.

[0086] As an example, dragging, zooming in, zooming out and rotating operations can all be implemented through continuous touch operations, that is, through a touch medium (such as a stylus, finger, etc.) acting on the terminal touch screen and by continuously moving the action point.

[0087] In actual applications, if at least one of a drag operation, a zoom-in operation, a zoom-out operation, and a rotation operation on the text information on the video is detected, it can be determined that a selection operation on the text information is detected. This embodiment can realize the selection and editing of the text information in the video to be edited through simple and fast drag operations, zoom-in operations, zoom-out operations, and rotation operations, without the user triggering a preset button or jumping to a different interface, effectively improving the editing efficiency of the text information.

[0088] In an exemplary embodiment, after displaying the editing bar for correspondingly editing the text information in S120, the following steps may also be included:

[0089] The text information on the video to be edited is moved, enlarged, reduced or rotated based on the selected operation.

[0090] In a specific implementation, if a selection operation for the text information is detected, the terminal can pause the playback of the video to be edited, making the video frame of the video to be edited in a static state. Then, the text information on the video to be edited can be correspondingly edited according to the selection operation. For example, if the selection operation is a drag operation, the text information on the video to be edited can be moved to adjust the position of the text information in the video to be edited; if the selection operation is a zoom-in operation or a zoom-out operation, the font size of the text information can be enlarged or reduced; if the selection operation is a rotation operation, the display angle of the text information can be adjusted.

[0091] In this embodiment, the terminal can perform operations such as moving, enlarging, reducing, or rotating the text information on the video to be edited based on the selection operation. Thus, the user can trigger various edits to the text information in the current video frame at any time during video playback, improving the editing efficiency of the text information.

[0092] In an exemplary embodiment, if the selection operation is at least one of the following: drag operation, zoom-in operation, zoom-out operation, rotation operation, before S130, the following steps may further be included:

[0093] When the action point of the selection operation for the text information is released, it is determined that an editing completion operation is detected.

[0094] In a specific implementation, the drag operation, zoom-in operation, zoom-out operation, and rotation operation are implemented through continuous touch operations, that is, through continuous and uninterrupted touch operations to select and adjust the text information. In the drag operation, zoom-in operation, zoom-out operation, and rotation operation, by obtaining the position changes of the action points (or touch points) at multiple consecutive moments, the position, size, and rotation angle of the text information can be correspondingly adjusted. Then, after detecting that the touch medium leaves the touch screen, that is, when the action point of the selection operation is released, it can be determined that the continuous touch operation has ended and the editing of the text information has been completed. Therefore, when the action point of the selection operation for the text information is released, for example, when the touch medium leaves the touch screen and no action point is currently detected, it can be determined that an editing completion operation is detected.

[0095] In this embodiment, it can be determined that an editing completion operation is detected when the action point of the selection operation for the text information is released, that is, when the selection operation ends, it is determined that the editing is completed, without the user performing an additional operation to confirm the completion of the editing, improving the editing efficiency of the text information.

[0096] In an exemplary embodiment, before S130, the method may further include the following steps:

[0097] When a click operation on an area other than the text information and the editing bar is detected, it is determined that an editing completion operation is detected.

[0098] Specifically, after triggering the editing of text information through a click operation, the user can click on any area outside the text information and the editing bar to confirm that the editing of the current text information is completed. Further, when the terminal detects this click operation, it can determine that an editing completion operation is detected.

[0099] In this embodiment, the user can confirm the completion of text information editing by clicking on any area outside the text information and the editing bar, without the user clicking on a preset button, which improves the editing efficiency during the process of the user editing text information.

[0100] To enable those skilled in the art to better understand the above steps, the following uses an example to exemplarily illustrate the embodiments of the present disclosure. However, it should be understood that the embodiments of the present disclosure are not limited thereto.

[0101] As Figure 5 shown, in S510, the terminal can play the video to be edited through the video editing interface.

[0102] In S520, if at least one of a drag operation, a zoom-in operation, a zoom-out operation, and a rotation operation on the text information on the video to be edited is detected, it is determined that a selection operation on the text information is detected.

[0103] In S530, in response to the selection operation, the video to be edited is placed in a paused playback state, each editing function entry in the video editing interface is hidden, and an editing bar for corresponding editing of the text information is displayed.

[0104] In S540, when the action point of the selection operation on the text information is released, it is determined that an editing completion operation is detected, the video to be edited is continued to be played, the edited text information is displayed on the video to be edited, and each editing function entry in the video editing interface is restored to be displayed.

[0105] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the indication of the arrows, these steps do not necessarily need to be executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limitation, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages do not necessarily need to be executed at the same moment, but can be executed at different moments. The execution order of these steps or stages does not necessarily need to be sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0106] It is understandable that for the same / similar parts among the various embodiments of the above methods in this specification, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. For the relevant parts, reference can be made to the descriptions of other method embodiments.

[0107] Based on the same inventive concept, the embodiments of the present disclosure also provide a video editing device for implementing the above-mentioned video editing method.

[0108] Figure 6 It is a block diagram of a video editing device 600 shown according to an exemplary embodiment. Referring to Figure 6 , the device includes:

[0109] A video display unit 601, configured to display a video to be edited; at least one piece of text information is included on the video to be edited;

[0110] A text editing unit 602, configured to, in response to a selection operation on the text information, pause the playback state of the video to be edited and display an editing bar for corresponding editing of the text information;

[0111] A text display unit 603, configured to, in response to an editing completion operation, restore the playback state of the video to be edited to the playback state before the selection operation and display the edited text information on the video to be edited.

[0112] In an exemplary embodiment, the video display unit 601 is configured to perform:

[0113] Display the video to be edited through a video editing interface, and the video editing interface includes at least one editing function entry;

[0114] The text editing unit 602 is further configured to perform:

[0115] Hide each editing function entry in the video editing interface.

[0116] In an exemplary embodiment, the text display unit 603 is further configured to perform:

[0117] Restore the display of each editing function entry in the video editing interface.

[0118] In an exemplary embodiment, the text display unit 603 is configured to perform:

[0119] If the playback state of the video to be edited before the selection operation is a playing state, then in response to the editing completion operation, continue to play the video to be edited and display the edited text information on the video to be edited.

[0120] In an exemplary embodiment, the text display unit 603 is configured to perform:

[0121] If the playback state of the video to be edited before the selected operation is the paused playback state, in response to the editing completion operation, maintain the paused playback state and display the edited text information on the video to be edited.

[0122] In an exemplary embodiment, the apparatus further includes:

[0123] A selection operation recognition unit configured to perform determining that a selection operation for the text information is detected if at least one of a drag operation, a zoom-in operation, a zoom-out operation, and a rotation operation on the text information on the video to be edited is detected.

[0124] In an exemplary embodiment, the text editing unit 602 is further configured to perform:

[0125] Move, zoom in, zoom out, or rotate the text information on the video to be edited based on the selected operation.

[0126] In an exemplary embodiment, the apparatus further includes:

[0127] An editing completion operation recognition unit configured to perform determining that an editing completion operation is detected when the action point of the selected operation on the text information is released.

[0128] Regarding the apparatus in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.

[0129] Each module in the above video editing apparatus can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to the above respective modules.

[0130] Figure 7 It is a block diagram of an electronic device 700 for implementing a video editing method according to an exemplary embodiment. For example, the electronic device 700 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0131] Refer to Figure 7, the electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an input / output (I / O) interface 712, a sensor component 714, and a communication component 716.

[0132] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above methods. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.

[0133] The memory 704 is configured to store various types of data to support the operation of the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disks, optical disks, or graphene memory.

[0134] The power supply component 706 provides power to various components of the electronic device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 700.

[0135] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.

[0136] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.

[0137] The I / O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.

[0138] The sensor component 714 includes one or more sensors for providing an assessment of the various aspects of the state of the electronic device 700. For example, the sensor component 714 can detect the on / off state of the electronic device 700, the relative positioning of components, such as the display and the keypad of the electronic device 700. The sensor component 714 can also detect a change in the position of the electronic device 700 or an electronic device 700 component, the presence or absence of user contact with the electronic device 700, the orientation or acceleration / deceleration of the device 700, and a change in the temperature of the electronic device 700. The sensor component 714 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 714 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0139] The communication component 716 is configured to facilitate communication between the electronic device 700 and other devices in a wired or wireless manner. The electronic device 700 can access a communication standard-based wireless network, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra-Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0140] In an exemplary embodiment, the electronic device 700 can be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.

[0141] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the above instructions can be executed by a processor 720 of the electronic device 700 to complete the above method. For example, the computer-readable storage medium can be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0142] In an exemplary embodiment, a computer program product is also provided, and the computer program product includes instructions that can be executed by a processor 720 of the electronic device 700 to complete the above method.

[0143] It should be noted that the above-mentioned device, electronic device, computer-readable storage medium, computer program product, etc. may also include other implementation manners according to the description of the method embodiments. The specific implementation manners can refer to the description of the relevant method embodiments and will not be elaborated here one by one.

[0144] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims.

[0145] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A video editing method, characterized in that, comprising: displaying a video to be edited through a video editing interface; the video editing interface includes at least one editing function entry for jumping to an editing function interface, and the video to be edited contains at least one piece of text information at a target position, and the target position is obtained by arbitrarily adjusting the display position of the text information; in response to a selection operation on the text information, putting the video to be edited in a paused playback state, hiding each editing function entry in the video editing interface, and displaying an editing bar that can perform corresponding editing on the text information, and in the case where the selection operation includes a displacement of the action point, moving, enlarging, reducing or rotating the text information on the video to be edited based on the selection operation; when it is detected that the action point of the selection operation on the text information is released, it is determined that an editing completion operation is detected, and in response to the editing completion operation, each editing function entry in the video editing interface is restored, and if the playback state of the video to be edited before the selection operation is a playing state, the video to be edited is continued to be played, and the edited text information is displayed on the video to be edited.

2. The method according to claim 1, characterized in that, the text information includes at least one of the following: the explanatory text of the video to be edited, the voiceover of the video to be edited.

3. The method according to claim 1, characterized in that, the step of restoring the playback state of the video to be edited to the playback state before the selection operation and displaying the edited text information in response to the editing completion operation includes: if the playback state of the video to be edited before the selection operation is a paused playback state, then in response to the editing completion operation, maintaining the paused playback state.

4. The method according to claim 1, characterized in that, after displaying the video to be edited, further comprising: if it is detected that at least one of a dragging operation, an enlarging operation, a reducing operation, and a rotating operation on the text information on the video to be edited is detected, it is determined that a selection operation on the text information is detected.

5. The method according to claim 1, characterized in that, the text information on the video to be edited is added through a text component during the past editing process of the video to be edited.

6. The method according to claim 1, characterized in that, the method further comprises: when it is detected that a click operation is performed on an area other than the text information and the editing bar, it is determined that an editing completion operation is detected.

7. A video editing device, characterized in that, comprising: a video display unit configured to execute displaying a video to be edited through a video editing interface; the video editing interface includes at least one editing function entry for jumping to an editing function interface, and the video to be edited contains at least one piece of text information at a target position, and the target position is obtained by arbitrarily adjusting the display position of the text information; A text editing unit, configured to execute in response to a selected operation on the text information, pause the playback of the video to be edited, hide each editing function entry in the video editing interface, and display an editing bar for performing corresponding editing on the text information, and in the case where the selected operation includes a displacement of the action point, move, zoom in, zoom out, or rotate the text information on the video to be edited based on the selected operation; A text display unit, configured to execute when detecting the release of the action point of the selected operation on the text information, determine that an editing completion operation is detected, in response to the editing completion operation, resume displaying each editing function entry in the video editing interface, and if the playback state of the video to be edited before the selected operation is the playing state, continue playing the video to be edited, and display the edited text information on the video to be edited, and display the edited text information on the video to be edited.

8. The apparatus according to claim 7, wherein, the text information includes at least one of the following: the explanatory text of the video to be edited, the voiceover of the video to be edited.

9. The apparatus according to claim 7, wherein, the apparatus further includes: A selected operation recognition unit, configured to execute if at least one of a drag operation, a zoom-in operation, a zoom-out operation, and a rotation operation on the text information on the video to be edited is detected, determine that a selected operation on the text information is detected.

10. An electronic device, wherein, comprising: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the instructions to implement the video editing method according to any one of claims 1 to 6.

11. A computer-readable storage medium, wherein, when the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is enabled to execute the video editing method according to any one of claims 1 to 6.

12. A computer program product, the computer program product includes instructions, wherein, when the instructions are executed by the processor of the electronic device, the electronic device is enabled to execute the video editing method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Video processing method and device, storage medium, and electronic device

    CN108924622A

  • Video playing method and device

    CN112689165A

  • Subtitle editing method and apparatus, and electronic device

    WO2022042593A1