Video preview methods, apparatus, readable media, and electronic devices

By generating and displaying a target interface with a template display area and preview area, the method allows simultaneous comparison of multiple video templates, addressing the inefficiency in template selection and enhancing user experience.

JP7911584B2Active Publication Date: 2026-08-26BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024542166
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-04-18
Filing Date
2023-03-31
Publication Date
2026-08-26
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

The inefficiency in selecting a video template due to the time-consuming process of previewing each template one by one, which affects the speed of video synthesis and user experience, especially when numerous templates are available.

Method used

A method and apparatus that generate and display a first target interface with a template display area and a preview area, allowing simultaneous display of multiple video templates for comparison, including control buttons and preview videos, enabling users to efficiently select a preferred template.

Benefits of technology

Facilitates quick template selection by comparing effects of different templates, enhancing video compositing efficiency and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007911584000001
    Figure 0007911584000001
  • Figure 0007911584000002
    Figure 0007911584000002
  • Figure 0007911584000003
    Figure 0007911584000003
Patent Text Reader

Abstract

The present invention relates to a video preview method, an apparatus, a readable medium, and an electronic device, in which, in response to receiving a video editing command for a video to be edited, a first target interface is generated and displayed, where the first target interface includes a template display area and a preview area, the template display area includes control buttons of a plurality of video templates, and the preview area includes a first preview video corresponding to a first target video template among the plurality of video templates; in response to obtaining a user's trigger operation on a control button corresponding to a second target video template among the plurality of video templates, a second preview video corresponding to the second target video template is generated, and the first preview video and the second preview video are displayed in the preview area, thereby effectively improving the speed at which a user selects a video template, improving the efficiency of video synthesis, and further effectively improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] [Cross - Reference to Related Applications] This application claims the priority of a Chinese patent application with an application number of 202210405554.4 and an invention title of "Video Preview Method, Apparatus, Readable Medium, and Electronic Device", which was filed with the China National Intellectual Property Administration on April 18, 2022, and the entire content thereof is incorporated herein by reference.

[0002] The present invention relates to the field of computer technology, and specifically, to a video preview method, apparatus, readable medium, and electronic device.

Background Art

[0003] With the rapid development of self - media and short videos, people's demand for video editing has become increasingly extensive. Almost all young people have a demand for video editing. Among many means of video editing, the means of using video templates to quickly process the video to be edited is popular among most video processors.

[0004] Currently, since the number of video templates is larger, when using video templates to process the video to be edited, usually, the time it takes for the user to select a favorite video template is longer, which is not helpful for improving the efficiency of video synthesis and is also not helpful for improving the user experience.

Summary of the Invention

[0005] The summary part of the present invention is provided to introduce, in a simple form, the ideas that will be described in detail in the subsequent specific embodiment part. The summary part of the present invention is not intended to identify the main features or essential features of the technical solution for which protection is claimed, nor is it intended to be used to limit the scope of the technical solution for which protection is claimed.

[0006] The present invention provides a video preview method, apparatus, readable medium, and electronic device.

[0007] According to a first aspect, the present invention provides a video preview method, the method is In response to receiving a video editing command for a video to be edited, a first target interface is generated and displayed, wherein the first target interface includes a template display area and a preview area, the template display area includes control buttons for a plurality of video templates, and the preview area includes a first preview video corresponding to the first target video template among the plurality of video templates. In response to obtaining a user trigger operation on a control button corresponding to a second target video template among multiple video templates, a second preview video corresponding to the second target video template is generated, This includes displaying the first preview video and the second preview video in the preview area.

[0008] According to a second aspect, the present invention provides a video preview device, the device comprising: A first generation module that generates and displays a first target interface in response to receiving a video editing command for a video to be edited, wherein the first target interface includes a template display area and a preview area, the template display area includes control buttons for a plurality of video templates, and the preview area includes a first preview video corresponding to a first target video template among the plurality of video templates, A second generation module generates a second preview video corresponding to the second target video template in response to a user trigger operation on a control button corresponding to the second target video template among multiple video templates, The system includes a first display module that displays the first preview video and the second preview video in the preview area.

[0009] According to a third aspect, the present invention provides a computer-readable medium on which a computer program is stored, and the steps of the method described in the first aspect are realized when the program is executed by a processing unit.

[0010] According to a fourth aspect, the present invention provides an electronic device, the electronic device is A memory device in which a computer program is stored, To implement the steps of the method described in the first embodiment above, the device comprises a processing unit for executing the computer program in the storage device.

[0011] According to a fifth aspect, the present invention provides a computer program product including a computer program, wherein the steps of the method described in the first aspect are realized when the computer program is executed by a processing unit.

[0012] According to a sixth aspect, the present invention provides a computer program in which the steps of the method described in the first aspect are realized when the computer program is executed by a processing unit.

[0013] Other features and advantages of the present invention will be described in detail in the following sections on specific embodiments. [Brief explanation of the drawing]

[0014] The above-described features and other features, advantages, and aspects of each embodiment of the present invention will become clearer by referring to the following specific embodiments in conjunction with the drawings. Throughout the drawings, identical or similar reference numerals indicate identical or similar elements. Please understand that the drawings are schematic and the original drawings and elements are not necessarily drawn to scale. [Figure 1] This is a flowchart of a video preview method shown in one exemplary embodiment of the present invention. [Figure 2]This is a schematic diagram of the preview interface shown in one exemplary embodiment of the present invention. [Figure 3] This is a flowchart of the video preview method shown in the embodiment of the present invention shown in Figure 1. [Figure 4] This is a flowchart of another video preview method shown in the embodiment of the present invention shown in Figure 1. [Figure 5] This is a block diagram of a video preview device shown in one exemplary embodiment of the present invention. [Figure 6] This is a block diagram of the video preview device shown in the embodiment of the present invention shown in Figure 5. [Figure 7] This is a block diagram of an electronic device shown in one exemplary embodiment of the present invention. [Modes for carrying out the invention]

[0015] The embodiments of the present invention will be described in more detail below with reference to the drawings. Although specific embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be realized in various forms and should not be construed as being limited to the embodiments described herein, but rather these embodiments are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are for illustrative purposes only and should not be used to limit the scope of protection of the present invention.

[0016] It should be understood that each step described in the embodiments of the method of the present invention may be performed in a different order and / or in parallel. Furthermore, embodiments of the method may include additional steps and / or omit illustrated steps. The scope of the present invention is not limited in this respect.

[0017] As used herein, the term "comprising" and variations thereof are open-ended inclusion, meaning "including but not limited to." The term "based on" means "at least in part based on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one other embodiment," and the term "some embodiments" means "at least some embodiments." Related definitions of other terms are set forth in the following description.

[0018] It should be noted that concepts such as "first," "second," etc. referred to in the present invention are only used to distinguish different devices, modules, or units, and are not intended to limit the order of functions executed by these devices, modules, or units or their dependencies on each other.

[0019] It should be noted that the modifiers "one" and "plurality" referred to in the present invention are not limiting but exemplary, and those skilled in the art should understand "one or more" unless otherwise explicitly stated in the context.

[0020] The names of messages or information for interaction between multiple devices in the embodiments of the present invention are used only for the purpose of description and are not intended to limit the scope of these messages or information.

[0021] It is understood that before using the technical solutions disclosed in each embodiment of the present invention, the types, scope of use, usage scenarios, etc. of personal information related to the present invention should be notified to users in an appropriate manner in accordance with relevant laws and regulations, and the permission of the users should be obtained.

[0022] For example, when responding to an unsolicited request from a user, the system explicitly informs the user that the requested operation requires the acquisition and use of the user's personal information by sending the user information. This allows the user to independently choose whether or not to provide personal information to software or hardware such as electronic devices, applications, servers, or storage media that perform operations on the technical solution of the present invention, based on the information provided.

[0023] As a selective but non-restrictive implementation, a method for sending information to a user in response to receiving an unsolicited request from the user may, for example, utilize a pop-up window, where the information can be displayed in text form. The pop-up window may also include selection controls for the user to choose whether to "agree" or "disagree" to providing personal information to the electronic device.

[0024] The notification and user authorization process described above is merely a general overview and does not limit the embodiments of the present invention. It is understood that other methods that comply with relevant laws and regulations may also be applied to embodiments of the present invention.

[0025] At the same time, it is understood that the data related to this technical solution (including, but not limited to, the data itself, the acquisition of the data, or the use of the data) must comply with applicable laws and related designated requirements.

[0026] Before introducing specific embodiments of the present invention, let's first describe the application scenarios of the present invention as follows. The present invention can be applied to video editing processes, particularly when editing videos using video templates. Currently, in the process of editing using video templates, it is usually only possible to preview the effect video corresponding to one video template at a time. However, the visual differences between different video templates are not always large, and there may only be a few frames with clearly distinguishable features. When selecting a template, the user usually has to preview each video template one by one, which is time-consuming. Furthermore, the user can only preview one video template at a time, and there is a certain loading time required after selecting a video template. As a result, the user tends to forget the video effect they previewed earlier. When there are many video templates, it inevitably takes a very long time for the user to select their preferred video template, which does not help to improve the efficiency of video compositing or the user experience.

[0027] To solve the above technical problems, the present invention provides a video preview method, apparatus, readable medium, and electronic device, wherein the video preview method generates and displays a first target interface in response to receiving a video editing command for a video to be edited, the first target interface includes a template display area and a preview area, the template display area includes control buttons for a plurality of video templates, the preview area includes a first preview video corresponding to the first target video template among the plurality of video templates, and in response to obtaining a user trigger operation on a control button corresponding to the second target video template among the plurality of video templates, a second preview video corresponding to the second target video template is generated, and the first and second preview videos are displayed in the preview area, thereby facilitating the user to compare the effects of generating videos using different video templates, thereby improving the speed at which the user selects a video template, improving the efficiency of video compositing, and further effectively improving the user experience.

[0028] The technical solutions of the present invention will be described in detail below, along with specific examples.

[0029] Figure 1 is a flowchart of a video preview method shown in an exemplary embodiment of the present invention, which may include the following steps, as shown in Figure 1.

[0030] In step 101, in response to receiving a video editing command for the video to be edited, the first target interface is generated and displayed.

[0031] Here, the first target interface includes a template display area and a preview area, the template display area includes control buttons for multiple video templates, and the preview area includes a first preview video corresponding to the first target video template among the multiple video templates.

[0032] For example, the video to be edited may be a game video obtained by recording the screen, the video editing command may be triggered when the user clicks the stop recording button while recording the game screen, the video to be edited may be a video taken by the device's camera, or a video obtained by other means and stored locally on the device.

[0033] When generating and displaying the first preview video on the first target interface, a video template loading animation may be incorporated, and it should be explained that as the video template loading progress changes, a predetermined cartoon image peels off the mask layer on the video, causing the first preview video to light up and begin playing.

[0034] In step 102, in response to obtaining a user trigger operation on a control button corresponding to a second target video template among multiple video templates, a second preview video corresponding to that second target video template is generated.

[0035] Here, the second target video template is a video template other than the first video template among a group of video templates, and the trigger operation may be dragging (clicking, holding down, or double-clicking) the control button corresponding to the second target video template.

[0036] In step 103, the first preview video and the second preview video are displayed in the preview area.

[0037] In one steppable embodiment, the preview area includes a first display window and at least one second display window, the first display window being used to display a first preview video, and the second display window being used to display a second preview video, wherein in the step, the first display window may be reduced to a predetermined size, the reduced first display window may be moved to a first designated area within the preview area, the reduced first display window may be used to display the first preview video, and the second preview video may be displayed in the second display window within the second designated area.

[0038] Here, the sizes of the first and second display windows are the same, and the predetermined size can be obtained by acquiring the target number of preview videos currently displayed in the preview area and determining the predetermined size from a predetermined size correspondence relationship based on that target number.

[0039] The second target video template may include multiple templates. If there is only one second target video template, it should be noted that only one second preview video is included, and the first designated area may be on the left (or top) side of the preview area, and the second designated area may be on the right (or bottom) side of the preview area, as shown in Figure 2 (Figure 2 is a schematic diagram of a preview interface shown in an exemplary embodiment of the present invention). If there are two second target video templates, the first designated area may be in the left center (or top center) of the preview area, as shown in Figure 2 (b), and the second designated area may be on the upper right (or bottom left) side or the lower right (or bottom right) side. If there are three second target video templates, the first designated area may be in the upper left side of the preview area, as shown in Figure 2 (c), and the second designated area may be on the upper right, bottom right, or bottom left side.

[0040] Furthermore, if two (three, four, five, or six) preview videos are displayed in the preview area, the size corresponding to each display window may be pre-set; that is, a size correspondence relationship may be pre-generated, and this size correspondence relationship may be a correspondence between the target number recorded in the form of a list and a predetermined size. When a user selects a second target video template (i.e., a trigger operation is obtained for that second target video template), the target number of preview videos currently in the preview area is obtained, and a predetermined size can be determined based on this target number. For example, if three preview videos are currently displayed, including one first preview video and two second preview videos, the sizes corresponding to the three preview videos can be obtained from the size correspondence relationship, and the predetermined size can be obtained. In this way, the size of the display window corresponding to multiple preview videos can be flexibly controlled, and the number of preview videos displayed can be flexibly adjusted.

[0041] According to the above technical solution, by displaying the first and second preview videos in the preview area, it becomes easier for users to compare the effects of generating videos using different video templates. This improves the speed at which users can select video templates, enhances the efficiency of video compositing, and effectively improves the user experience.

[0042] Figure 3 is a flowchart of the video preview method shown in the embodiment of the present invention shown in Figure 1, and as shown in Figure 3, generating and displaying a first target interface in response to receiving a video editing command for the video to be edited as described in step 101 of Figure 1 may include the following steps.

[0043] In step 1011, in response to receiving the video editing command, a first target video template is determined from among multiple video templates.

[0044] In this step, the first playback duration of the video to be edited and the second playback duration of each video template are obtained, the target difference between the first playback duration of the video to be edited and the second playback duration of each video template is obtained, and the first target video template can be determined based on the designated video template having the smallest target difference.

[0045] Furthermore, in the process of determining the first target video template based on the designated video template with the smallest target difference, if it is determined that there are multiple designated video templates, the historical usage amount for each designated video template is obtained, and the designated video template with the largest historical usage amount is used as the first target video template.

[0046] For example, if the first playback duration of the video to be edited is 13 seconds, the second playback duration of video template A is 15 seconds, the second playback duration of video template B is 15.3 seconds, the second playback duration of video template C is 13.1 seconds, the second playback duration of video template D is 13.5 seconds, the second playback duration of video template E is 12.9 seconds, and the second playback duration of video template F is 12.6 seconds, then the target difference between the first playback duration and the second playback duration corresponding to each video template is obtained, and the target difference between the video to be edited and video template A is 2 seconds, the target difference between the video to be edited and video template B is 2.3 seconds, the target difference between the video to be edited and video template C is 0.1 seconds, the target difference between the video to be edited and video template D is 0.5 seconds, and the target video The target difference corresponding to the video template E is 0.1s, and the target difference corresponding to the video to be edited and the video template F is 0.5s. Since 0.1s is the smallest value among the multiple target differences, and the target differences corresponding to both the video template C and the video template E are both 0.1s, the first history usage corresponding to the video template C and the second history usage corresponding to the video template E can be obtained. If the first history usage is greater than the second history usage, the video template C is used as the first target video template. If the first history usage is less than the second history usage, the video template E is used as the first target video template. If the first history usage is equal to the second history usage, both the video template E and the video template C are used as the first target video templates.

[0047] In step 1012, the first preview video is generated based on the video to be edited and the first target video template.

[0048] In this step, when generating the first preview video, the first target video template can be loaded and then applied to the video to be edited to generate the first preview video.

[0049] When loading the first target video template, a video template loading animation may be combined, and relevant presentations of the template loading process may be displayed. It should be explained that as the video template loading progress changes, a predetermined cartoon image will peel off the mask layer on the video, and once it is determined that this will generate the first preview video, the first preview video will light up and begin playing.

[0050] In step 1013, the first preview video is displayed in the preview area.

[0051] In this step, the preview area may include a first display window, and the first preview video may be displayed using the first display window.

[0052] According to the above technical solution, the first target video template that is closest in duration to the video being edited is selected from multiple video templates, and when the user enters the first target interface, a first preview video corresponding to the first target video template can be displayed in the first target interface. This helps the user to quickly select a video template, effectively improves the efficiency of template selection, improves the efficiency of video compositing, and further effectively enhances the user experience.

[0053] Selectively generating and displaying a first target interface in response to receiving a video editing command for the video to be edited as described in step 101 of Figure 1 above may further include the following steps:

[0054] The control buttons for multiple video templates are displayed within the template display area in order of increasing target difference.

[0055] For illustrative purposes, taking the example again shown in step 1011 above, the arrangement order corresponding to the control buttons of the multiple video templates (i.e., video templates A to F) within the template display area is video template C, video template E, video template D, video template F, video template A, and video template B.

[0056] According to the above technical solution, control buttons for multiple video templates can be displayed within the template display area in order of increasing target difference, which helps users quickly select video templates, effectively improves template selection efficiency, enhances video compositing efficiency, and further effectively improves the user experience.

[0057] Selectively, the first target interface may further include a playback progress bar for the video to be edited, and the method may further include the following steps:

[0058] By establishing a relationship between the first preview video, the second preview video, and the playback progress bar, the playback progress bar is made to simultaneously control the playback progress of the first and second preview videos.

[0059] When multiple second preview videos are included, it is possible to control each preview video within the preview area using the playback progress bar of the video being edited by establishing a relationship between each second preview video and the playback progress bar of the video being edited. When each second preview video is added to the preview area, both the first and second preview videos will start playing from the beginning frame. This ensures that multiple preview videos play synchronously and that the screen displayed by all of the preview videos currently shown in the preview area is identical. In this way, it is necessary to explain that this helps users compare the display effects of the multiple preview videos and effectively improves the efficiency of selecting video templates.

[0060] According to the above technical solution, by establishing a relationship between the playback progress bars of the first preview video, the second preview video, and the video to be edited, it becomes possible to control the playback progress of the first and second preview videos using the playback progress bar of the video to be edited. This effectively improves video control efficiency and video template selection efficiency, contributing to an improved user experience.

[0061] Figure 4 is a flowchart of another video preview method shown in the embodiment of the present invention shown in Figure 1, and after displaying the first preview video and the second preview video in the preview area described in step 103 of Figure 1 above, as shown in Figure 4, the method may further include the following steps.

[0062] In step 104, in response to obtaining a replacement operation for the third target video template and the specified preview video, a third preview video corresponding to the third target video template is generated.

[0063] Here, the third target video template is a video template other than the first target video template and the second target video template among a group of video templates, and the replacement operation may be an operation in which the control button of the third target video template is dragged above the specified preview video, or an operation in which the third target video template is clicked (click, double-click, or long-pressed) and then the specified preview video is clicked.

[0064] In step 105, the designated preview video is replaced with the third preview video.

[0065] Here, the designated preview video is either the first preview video or the second preview video.

[0066] According to the above technical solution, when the number of preview videos displayed in the preview area is limited, a preview comparison can be performed between the first target video template and other video templates besides the second target video template by replacing them, thereby effectively improving the user experience during the video template selection process.

[0067] Selectively, the method further includes the following steps:

[0068] In response to obtaining position adjustment operations for the first and second preview videos to be adjusted, the display area in which the first and second preview videos are located is adjusted.

[0069] Here, the first preview video to be adjusted may be the first preview video or the second preview video, and the second preview video to be adjusted may be another preview video outside the first preview video within the preview area. The position adjustment operation may be an operation of dragging the video template corresponding to the first preview video to be adjusted onto the video template corresponding to the second preview video to be adjusted, or an operation of dragging the first preview video to be adjusted onto the second preview video to be adjusted.

[0070] According to the above technical solution, the display positions of multiple preview videos can be effectively adjusted to help users compare multiple preview videos, thereby effectively improving the efficiency of selecting video templates.

[0071] Selectively, each video template includes a volume control button, and the method further includes the following steps:

[0072] The system obtains the playback volume input using the volume control buttons corresponding to each preview video within the preview display area, and plays each preview video according to that corresponding playback volume.

[0073] Here, as shown in Figure 2, volume control buttons may be placed within the display window where each preview video is located. By using these volume control buttons corresponding to each preview video to control the playback volume of that preview video, users can adjust the playback volume of different preview videos in a personalized manner, effectively improving the user experience during the video template selection process.

[0074] Selectively, as shown in Figure 2, each video template may further include a "Use Template" button, which is displayed on the preview video screen of the corresponding video template, and the method further includes the following steps:

[0075] In response to receiving a use command triggered by using the template use button on the target preview video, only the target preview video is displayed in the video preview area, and in response to receiving a video generation command, the target preview video is saved.

[0076] Here, the user can trigger the input command by clicking the Use Template button, and after receiving the input command, the terminal can use the preview video corresponding to the clicked Use Template button as the target preview video and stop displaying preview videos other than the target preview video. The user can trigger the video generation command by clicking a predetermined save (or send) button, which may be an "x" symbol for closing the current interface.

[0077] According to the above technical solution, preview videos corresponding to unwanted video templates can be quickly closed, and the user's preferred target preview video can be conveniently and quickly saved, effectively improving the efficiency of video compositing and enhancing the user experience.

[0078] Figure 5 is a block diagram of a video preview device shown in an exemplary embodiment of the present invention, and as shown in Figure 5, the device is A first generation module 501 that generates and displays a first target interface in response to receiving a video editing command for a video to be edited, wherein the first target interface includes a template display area and a preview area, the template display area includes control buttons for a plurality of video templates, and the preview area includes a first preview video corresponding to the first target video template among the plurality of video templates, A second generation module 502 generates a second preview video corresponding to a second target video template in response to a user trigger operation on a control button corresponding to a second target video template among multiple video templates, The system may also include a first display module 503 that displays the first preview video and the second preview video in the preview area.

[0079] According to the above technical solution, by displaying the first and second preview videos in the preview area, it becomes easier for users to compare the effects of generating videos using different video templates. This improves the speed at which users can select video templates, enhances the efficiency of video compositing, and effectively improves the user experience.

[0080] Selectively, the first generation module 501 is, In response to receiving the video editing command, the system determines a first target video template from among multiple video templates. The first preview video is generated based on the video to be edited and the first target video template. The first preview video will be displayed in the preview area.

[0081] Selectively, the first generation module 501 is, Obtain the first playback duration of the video to be edited and the second playback duration of each video template. Obtain the target difference between the first playback duration of the video to be edited and the second playback duration of each video template. The first target video template is determined based on the designated video template having the smallest target difference.

[0082] Selectively, the first generation module 501 is, If it is determined that multiple specified video templates exist, the historical usage amount for each specified video template will be obtained. The designated video template with the highest historical usage will be used as the first target video template.

[0083] Selectively, the first generation module 501 is, The control buttons for multiple video templates are displayed within the template display area in order of increasing target difference.

[0084] Selectively, the preview area includes a first display window and a second display window, the first display window being used to display a first preview video, the second display window being used to display a second preview video, and the first display module 503 is The first display window is reduced to a predetermined size, and the reduced first display window is moved to the first designated area within the preview area. The first preview video will be displayed using the reduced first exhibition window. The second preview video will be displayed in the second exhibition window within the second designated area.

[0085] Selectively, the first exhibit module 503 is, Get the target number of preview videos currently displayed in the preview area. Based on the target number, the predetermined size is determined from the predetermined size correspondence.

[0086] After adjusting the second display window to the predetermined size, the first and second preview videos are controlled to play from the starting frame.

[0087] According to the above technical solution, the size of the display window that supports multiple preview videos can be flexibly controlled, the number of preview videos displayed can be flexibly adjusted, the speed at which users can select video templates can be improved, the efficiency of video compositing can be increased, and the user experience can be effectively enhanced.

[0088] Selectively, Figure 6 is a block diagram of a video preview device shown in the embodiment of the present invention shown in Figure 5, and as shown in Figure 6, the first target interface further includes a playback progress bar for the video to be edited, and the device, The system may further include a progress control module 504 that establishes a relationship between the first preview video, the second preview video, and the playback progress bar, so that the playback progress bar controls the playback progress of the first and second preview videos simultaneously.

[0089] Selectively, the device, A third generation module 505 generates a third preview video corresponding to the third target video template in response to obtaining a replacement operation operation on the third target video template and the specified preview video, The system further comprises a replacement module 506 that replaces the designated preview video with the third preview video, wherein the designated preview video is either the first or second preview video.

[0090] According to the above technical solution, by establishing a relationship between the playback progress bars of the first preview video, the second preview video, and the video to be edited, it becomes possible to control the playback progress of the first and second preview videos using the playback progress bar of the video to be edited. This effectively improves video control efficiency and video template selection efficiency, contributing to an improved user experience.

[0091] Selectively, the device, The system further includes a position adjustment module 507 that adjusts the exhibition area in which the first and second preview videos are located, in response to the acquisition of a position adjustment operation for the first and second preview videos to be adjusted.

[0092] According to the above technical solution, the display positions of multiple preview videos can be effectively adjusted to help users compare multiple preview videos, thereby effectively improving the efficiency of selecting video templates.

[0093] Selectively, each video template includes a volume control button, and the device, The system further includes a volume input module 508 that acquires the playback volume input using the volume control buttons corresponding to each preview video within the preview display area, and plays the preview video according to the corresponding playback volume.

[0094] Selectively, each video template further includes a "Use Template" button, which is displayed on the preview video screen of the corresponding video template, and the device, In response to receiving a input command triggered by using the template use button on the target preview video, a second display module 509 displays only the target preview video in the video preview area, The system further includes a storage module 510 that stores the target preview video in response to receiving a video generation command.

[0095] According to the above technical solution, preview videos corresponding to unwanted video templates can be quickly closed, and the user's preferred target preview video can be conveniently and quickly saved, effectively improving the efficiency of video compositing and enhancing the user experience.

[0096] The following diagram shows a schematic structure of an electronic device 600 suitable for realizing an embodiment of the present invention, with reference to Figure 7. The terminal devices in the embodiment of the present invention may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Android Devices, tablet computers), PMPs (Portable Media Players), and in-vehicle terminals (e.g., car navigation terminals), as well as fixed terminals such as digital TVs (televisions) and desktop computers. The electronic device shown in Figure 7 is merely an example and does not impose any limitations on the function and scope of use of the embodiment of the present invention.

[0097] As shown in Figure 7, the electronic device 600 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 601 capable of performing various appropriate operations and processes based on a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. The RAM 603 further stores various programs and data necessary for the operation of the electronic device 600. The processing unit 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0098] Typically, devices such as input devices 606 including touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, and gyroscopes; output devices 607 including liquid crystal displays (LCDs), speakers, and vibrators; storage devices 608 including magnetic tape and hard disks; and communication devices 609 may be connected to the I / O interface 605. The communication device 609 can enable the electronic device 600 to communicate wirelessly or via wired connections to exchange data with other devices. While the drawings show the electronic device 600 with various devices, it should be understood that it is not necessary to implement or have all of the shown devices. More or fewer devices may be implemented or have been included as alternatives.

[0099] In particular, according to embodiments of the present invention, the process described with reference to the flowchart above may be implemented as a computer software program. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network via a communication device 609, or installed from a storage device 608 or ROM 602. When the computer program is executed by the processing device 601, the above-described functions, limited to the methods of embodiments of the present invention, are performed.

[0100] It should be noted that the computer-readable medium described above in the present invention may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the above. The computer-readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage mediums may include, but are not limited to, electrical connections having 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 fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present invention, the computer-readable storage medium may be a tangible medium containing or storing a program that can be used in combination with an instruction execution system, apparatus, or device. Also in the present invention, the computer-readable signal medium may contain data signals propagated in the baseband or as part of a carrier 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 described above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium for transmitting, propagating, or transmitting programs for use by or in combination with instruction execution systems, apparatuses, or devices. Program code contained in a computer-readable medium can be transmitted using any suitable medium, including but not limited to wired, fiber optic cables, RF (radio frequency), or any suitable combination described above.

[0101] In some embodiments, clients and servers may communicate using any currently known or future-developed network protocol, such as HTTP (HyperText Transfer Protocol), and may also be connected to each other with digital data communications (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), and end-to-end networks (e.g., ad hoc end-to-end networks), and any currently known or future-developed networks.

[0102] The computer-readable medium described above may be included in the electronic device described above, or it may exist separately and not be assembled into the electronic device.

[0103] The computer-readable medium described above carries one or more programs, and when the one or more programs described above are executed by the electronic device, the electronic device is instructed to generate and display a first target interface in response to receiving a video editing command for a video to be edited, wherein the first target interface includes a template display area and a preview area, the template display area includes control buttons for a plurality of video templates, and the preview area includes a first preview video corresponding to a first target video template among the plurality of video templates; and in response to obtaining a user trigger operation on a control button corresponding to a second target video template among the plurality of video templates, the electronic device is instructed to generate a second preview video corresponding to the second target video template, and to display the first preview video and the second preview video in the preview area.

[0104] Computer program code for performing the operations of the present invention can be written in one or more programming languages ​​or a combination thereof, and the aforementioned programming languages ​​include programming languages ​​that refer to the subject, such as Java, Smalltalk, and C++, and further include conventional procedural programming languages ​​or similar programming languages ​​such as the "C" language. The program code may run entirely on the user's computer, partially on the user's computer, run as a standalone software package, run partially on the user's computer and partially on a remote computer, or run entirely on a remote computer or server. If a remote computer is involved, the remote computer may 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 it may be connected to an external computer (for example, connected via the Internet using an Internet service provider).

[0105] The flowcharts and block diagrams in the drawings illustrate implementable architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. From this perspective, each box in a flowchart or block diagram may contain one or more executable instructions for implementing a specified logical function and may represent a module, program segment, or part of code. It should also be noted that in some alternative implementations, the functions shown within the boxes may occur in a different order than shown in the drawings. For example, two boxes shown consecutively may actually be executed substantially in parallel, or, depending on the functions involved, in reverse order. It should also be noted that each box in a block diagram and / or flowchart, and combinations of boxes in a block diagram and / or flowchart, may be implemented in a dedicated hardware-based system that performs the specified function or operation, or in a combination of dedicated hardware and computer instructions.

[0106] Units described as being involved in embodiments of the present invention may be implemented by software or by hardware. Herein, the names of the units do not constitute a limitation of the unit itself in any particular case. For example, a first generation module may be described as "a first generation module that generates and displays a first target interface in response to receiving a video editing command for a video to be edited, wherein the first target interface includes a template display area and a preview area, the template display area includes control buttons for a plurality of video templates, and the preview area includes a first preview video corresponding to a first target video template among the plurality of video templates."

[0107] The functions described herein may be performed, at least in part, by one or more hardware logic components. For example, non-limiting examples of hardware logic components that may be used include field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SOCs), and complex programmable logic devices (CPLDs).

[0108] In the context of the present invention, a machine-readable medium may be a tangible medium that contains or can store a program that can be used by an instruction execution system, apparatus, or device in combination with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. 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 fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0109] According to one or more embodiments of the present invention, Example 1 provides a video preview method, the method is In response to receiving a video editing command for a video to be edited, a first target interface is generated and displayed, wherein the first target interface includes a template display area and a preview area, the template display area includes control buttons for a plurality of video templates, and the preview area includes a first preview video corresponding to the first target video template among the plurality of video templates. In response to obtaining a user trigger operation on a control button corresponding to a second target video template among multiple video templates, a second preview video corresponding to the second target video template is generated, This includes displaying the first preview video and the second preview video in the preview area.

[0110] According to one or more embodiments of the present invention, Example 2 provides the method of Example 1, which generates and displays a first target interface in response to receiving a video editing command for the video to be edited. In response to receiving the aforementioned video editing command, a first target video template is determined from the plurality of video templates, The first preview video is generated based on the video to be edited and the first target video template, This includes displaying the first preview video in the preview area.

[0111] According to one or more embodiments of the present invention, Example 3 provides the method of Example 2, wherein determining a first target video template from the plurality of video templates is: The first playback duration of the video to be edited and the second playback duration of each video template are obtained, The process involves obtaining the target difference between the first playback duration of the video to be edited and the second playback duration of each video template, This includes determining the first target video template based on a designated video template having the smallest target difference.

[0112] According to one or more embodiments of the present invention, Example 4 provides the method of Example 3, wherein the first target video template is determined based on a designated video template having the smallest target difference, If it is determined that multiple specified video templates exist, the historical usage amount of each specified video template is obtained, This includes using the designated video template with the highest history usage as the first target video template.

[0113] According to one or more embodiments of the present invention, Example 5 provides the method of Example 3, which generates and displays a first target interface in response to receiving a video editing command for the video to be edited. The further includes displaying control buttons for multiple video templates within the template display area in order of increasing target difference.

[0114] According to one or more embodiments of the present invention, Example 6 provides the method of Example 1, wherein the preview area includes a first display window and a second display window, the first display window is used to display a first preview video, the second display window is used to display a second preview video, and the display of the first and second preview videos in the preview area is The first display window is reduced to a predetermined size, and the reduced first display window is moved to a first designated area within the preview area. The first preview video will be displayed using the reduced first exhibition window, This includes displaying the second preview video in a second exhibition window within a second designated area.

[0115] According to one or more embodiments of the present invention, Example 7 provides the method of Example 6, wherein the first preview video and the second preview video are displayed in the preview area before the first display window is reduced to a predetermined size. To obtain the target number of preview videos currently displayed in the aforementioned preview area, This further includes determining the predetermined size from a predetermined size correspondence relationship based on the aforementioned target number.

[0116] According to one or more embodiments of the present invention, Example 8 provides the method of Example 6, wherein the second preview video is displayed in the second display window within the second designated area. This includes adjusting the second display window to the predetermined size, and then controlling the first and second preview videos to play from the starting frame.

[0117] According to one or more embodiments of the present invention, Example 9 provides a method described in any one of Examples 1 to 8, wherein the first target interface further includes a playback progress bar for the video to be edited, and the method is The invention further includes establishing a relationship between the first preview video, the second preview video, and the playback progress bar so that the playback progress bar simultaneously controls the playback progress of the first and second preview videos.

[0118] According to one or more embodiments of the present invention, Example 10 provides a method described in any one of Examples 1 to 8, the method being In response to obtaining a replacement operation operation for the third target video template and the specified preview video, a third preview video corresponding to the third target video template is generated, The method further includes replacing the designated preview video with the third preview video, wherein the designated preview video is either the first or second preview video.

[0119] According to one or more embodiments of the present invention, Example 11 provides a method described in any one of Examples 1 to 8, the method being The process further includes adjusting the exhibition area in which the first and second preview videos are located, in response to obtaining position adjustment operations for the first and second preview videos to be adjusted.

[0120] According to one or more embodiments of the present invention, Example 12 provides a method according to any one of Examples 1 to 8, wherein each of the video templates includes a volume control button, and the method is The system further includes obtaining the playback volume input using the volume control buttons corresponding to each preview video in the preview display area, and playing the preview video according to the playback volume corresponding to each preview video.

[0121] According to one or more embodiments of the present invention, Example 13 provides a method according to any one of Examples 1 to 8, wherein each video template further includes a template use button, the template use button is displayed on the preview video screen of the corresponding video template, and the method is In response to receiving a use command triggered by using the template use button on the target preview video, the video preview area displays only the target preview video, The further includes saving the target preview video in response to receiving a video generation command.

[0122] According to one or more embodiments of the present invention, Example 14 provides a video preview device, the device is A first generation module that generates and displays a first target interface in response to receiving a video editing command for a video to be edited, wherein the first target interface includes a template display area and a preview area, the template display area includes control buttons for a plurality of video templates, and the preview area includes a first preview video corresponding to a first target video template among the plurality of video templates, A second generation module generates a second preview video corresponding to the second target video template in response to a user trigger operation on a control button corresponding to the second target video template among multiple video templates, The system includes a first display module that displays the first preview video and the second preview video in the preview area.

[0123] According to one or more embodiments of the present invention, Example 15 provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processing unit, the steps of the method described in any one of Examples 1 to 13 above are realized.

[0124] According to one or more embodiments of the present invention, Example 16 provides an electronic device, said electronic device is A memory device in which a computer program is stored, The device comprises a processing unit for executing the computer program in the storage device to realize the steps of the method described in any one of Examples 1 to 13.

[0125] According to one or more embodiments of the present invention, Example 17 provides a computer program product including a computer program, wherein the steps of the method described in any one of Examples 1 to 13 are realized when the computer program is executed by a processing unit.

[0126] According to one or more embodiments of the present invention, Example 18 provides a computer program in which the steps of the method described in any one of Examples 1 to 13 are realized when the computer program is executed by a processing unit.

[0127] The above description represents preferred embodiments of the present invention and merely describes the applicable technical principles. Those skilled in the art should understand that the scope of the invention as described herein is not limited to technical solutions formed by specific combinations of the above technical features, but also includes other technical solutions formed by any combination of the above technical features or equivalent features without departing from the concept of the invention. For example, it should be understood that this also includes technical solutions formed by switching between the above features and similar functional technical features disclosed herein (but not limited to these).

[0128] While the operations are described in a specific order, this should not be interpreted as requiring these operations to be performed sequentially in a particular order or sequence. Multitasking and parallel processing may be advantageous in certain environments. Similarly, while the above discussion includes some specific implementation details, these should not be interpreted as limiting the scope of the invention. Certain features described in the context of separate embodiments can also be implemented in combination within a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented individually or in any suitable sub-combination across multiple embodiments.

[0129] While this subject matter has been described in terms specific to the structural features and / or the logical operation of the method, it should be understood that the subject matter limited in the attached claims is not necessarily limited to the specific features or operations described above. Conversely, the specific features and operations described above are merely exemplary forms of realizing the claims. Regarding the apparatus in the embodiments described above, the specific forms of operations performed by each module have already been described in detail in the embodiments of the related method, and a detailed description is omitted here.

Claims

1. A video preview method, In response to receiving a video editing command for the video to be edited, a first target interface is generated and displayed, the first target interface includes a template display area and a preview area, the template display area includes control buttons for a plurality of video templates, and the preview area includes a first preview video corresponding to the first target video template among the plurality of video templates, In response to obtaining a user trigger operation on a control button corresponding to the second target video template among the plurality of video templates, a second preview video corresponding to the second target video template is generated. This includes displaying the first preview video and the second preview video in the preview area, The aforementioned first target interface further includes a playback progress bar for the video to be edited. The aforementioned video preview method is The invention further includes establishing a relationship between the first preview video, the second preview video, and the playback progress bar so that the playback progress bar simultaneously controls the playback progress of the first and second preview videos. How to preview a video.

2. In response to receiving a video editing command for the video to be edited, generating and displaying the first target interface is: In response to receiving the aforementioned video editing command, a first target video template is determined from the plurality of video templates, The first preview video is generated based on the video to be edited and the first target video template, This includes displaying the first preview video in the preview area, The video preview method according to claim 1.

3. Determining the first target video template from the aforementioned multiple video templates is Obtain the first playback duration of the video to be edited and the second playback duration of each video template, The process involves obtaining the target difference between the first playback duration of the video to be edited and the second playback duration of each video template, This includes determining the first target video template based on a designated video template having the smallest target difference, The video preview method according to claim 2.

4. Determining the first target video template based on the specified video template having the smallest target difference means that If it is determined that multiple specified video templates exist, the historical usage amount of each specified video template is obtained, This includes using the designated video template with the highest history usage as the first target video template, The video preview method according to claim 3.

5. In response to receiving a video editing command for the video to be edited, generating and displaying the first target interface is: The further includes displaying the control buttons of the plurality of video templates within the template display area in order of increasing target difference, The video preview method according to claim 3.

6. The preview area includes a first display window and a second display window, the first display window being used to display the first preview video, and the second display window being used to display the second preview video. Displaying the first preview video and the second preview video in the preview area means that The first display window is reduced to a predetermined size, and the reduced first display window is moved to a first designated area within the preview area. The first preview video is displayed using the reduced first display window, This includes displaying the second preview video within the second display window in the second designated area, The video preview method according to claim 1.

7. Displaying the first preview video and the second preview video in the preview area before reducing the first display window to a predetermined size is: To obtain the target number of preview videos currently displayed in the aforementioned preview area, The further includes determining the predetermined size from a predetermined size correspondence relationship based on the aforementioned target number, The video preview method according to claim 6.

8. Displaying the second preview video within the second display window in the second designated area is: After adjusting the second display window to the predetermined size, the first preview video and the second preview video are controlled to play from the starting frame, The video preview method according to claim 6.

9. In response to obtaining a replacement operation operation for the third target video template and the specified preview video, a third preview video corresponding to the third target video template is generated. Replacing the designated preview video with the third preview video, wherein the designated preview video is either the first or second preview video, further comprising: The video preview method according to claim 1.

10. In response to obtaining position adjustment operations for the first and second preview videos to be adjusted, the system further includes adjusting the exhibition area in which the first and second preview videos to be adjusted are located. The video preview method according to claim 1.

11. Each of the aforementioned video templates includes a volume control button. The aforementioned video preview method is The process further includes obtaining the playback volume input using the volume control buttons corresponding to each preview video in the preview display area, and playing the preview video according to the playback volume corresponding to each preview video. The video preview method according to claim 1.

12. Each of the video templates further includes a "Use Template" button, which is displayed on the preview video screen of the corresponding video template. The aforementioned video preview method is In response to receiving a use command triggered by using the template use button on the target preview video, the video preview area displays only the target preview video, The further includes saving the target preview video in response to receiving a video generation command, The video preview method according to claim 1.

13. A first generation module that generates and displays a first target interface in response to receiving a video editing command for a video to be edited, wherein the first target interface includes a template display area and a preview area, the template display area includes control buttons for a plurality of video templates, and the preview area includes a first preview video corresponding to the first target video template among the plurality of video templates, and the first generation module, A second generation module generates a second preview video corresponding to the second target video template in response to a user trigger operation on a control button corresponding to the second target video template among the plurality of video templates, The system includes a first display module that displays the first preview video and the second preview video in the preview area, The first target interface further includes a playback progress bar for the video to be edited, and establishes a relationship between the first preview video, the second preview video, and the playback progress bar so that the playback progress bar simultaneously controls the playback progress of the first preview video and the second preview video. Video preview device.

14. A computer program is stored, and when the computer program is executed by a processing unit, the steps of the method according to any one of claims 1 to 12 are realized. Computer-readable media.

15. A memory device in which a computer program is stored, A processing unit for executing the computer program in the storage device, which implements the steps of the method according to any one of claims 1 to 12, Electronic devices.

16. It is a computer program, When the computer program is executed by the processing unit, the steps of the method according to any one of claims 1 to 12 are realized. The aforementioned computer program.

Citation Information

Patent Citations

  • Video recording method and electronic equipment

    CN112422846A

  • Video recording method and device, electronic equipment and storage medium

    CN113115099A

  • Drag handle for applying image filters in an image editor

    JP2015519625A

  • Electronic device and program

    JP2019075796A

  • Video generation method, device, electronic device and computer-readable storage medium

    JP2021516911A