VIDEO PREVIEW METHOD, APPARATUS, READABLE MEDIUM, AND ELECTRONIC DEVICE - Patent application

The video preview method and device facilitate efficient video template selection by displaying multiple templates simultaneously, addressing the inefficiencies in existing video editing processes and enhancing user experience.

JP2025502887AActive Publication Date: 2025-01-28BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024542166
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-04-18
Filing Date
2023-03-31
Publication Date
2025-01-28
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

The inefficiency in selecting video templates for video editing due to the large number of available options, leading to prolonged processing times and diminished user experience.

Method used

A video preview method and device that generates a target interface with a template exhibition area and preview area, allowing simultaneous display and comparison of multiple video templates, enabling users to quickly select the desired template.

Benefits of technology

Enhances the efficiency of video synthesis by allowing users to rapidly compare and select video templates, thereby improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025502887000001_ABST
    Figure 2025502887000001_ABST
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 priority to a Chinese patent application filed with the State Intellectual Property Office of China on April 18, 2022, bearing application number 202210405554.4 and titled "Video preview method, apparatus, readable medium, and electronic device," the entire contents of which are incorporated herein by reference.

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

[0003] With the rapid development of self-media and short videos, people's demand for video editing has become more and more widespread, and almost every young person has a demand for video editing. Among the many means of video editing, the means of using video templates to quickly process the video to be edited is popular among the majority of video processors.

[0004] Currently, due to the larger number of video templates, when using video templates to process the video to be edited, it usually takes users longer to select their preferred video template, which does not help improve the efficiency of video synthesis or improve the user experience. Summary of the Invention

[0005] This Summary section is provided to introduce in a simplified form the ideas that are described in detail in the Specific Embodiments section below. This Summary section is not intended to identify key features or required features of the claimed technical solution, nor is it intended to be used to limit the scope of the claimed technical solution.

[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 comprising: In response to receiving a video editing command for a target video, generating and displaying a first target interface, the first target interface including a template display area and a preview area, the template display area including control buttons of a plurality of video templates, and the preview area including 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, generating a second preview video corresponding to the second target video template; 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, said device comprising: a first generation module for generating and displaying a first target interface in response to receiving a video editing command for a video to be edited, the first target interface including a template display area and a preview area, the template display area including control buttons of a plurality of video templates, and the preview area including a first preview video corresponding to a first target video template among the plurality of video templates; a second generating module configured to generate a second preview video corresponding to a second target video template 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 first display module for displaying 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 having stored thereon a computer program which, when executed by a processing device, causes the steps of the method according to the first aspect above to be realized.

[0010] According to a fourth aspect, the present invention provides an electronic device, the electronic device comprising: A storage device in which a computer program is stored; and a processing unit for executing the computer program in the storage device to implement the steps of the method according to the first aspect above.

[0011] According to a fifth aspect, the present invention provides a computer program product comprising a computer program which, when executed by a processing device, causes the steps of the method according to the first aspect above to be realized.

[0012] According to a sixth aspect, the present invention provides a computer program product, which, when executed by a processing device, causes the steps of the method according to the first aspect above to be realized.

[0013] Other features and advantages of the present invention will be described in detail in the specific embodiments section below. [Brief description of the drawings]

[0014] The above-mentioned features and other features, advantages, and aspects of each embodiment of the present invention will become more apparent by reference to the following specific embodiments in conjunction with the drawings. Throughout the drawings, the same or similar reference numerals refer to the same or similar elements. It should be understood that the drawings are schematic and that the original drawings and elements are not necessarily drawn to scale. [Figure 1] 4 is a flowchart of a video preview method according to an exemplary embodiment of the present invention; [Diagram 2]FIG. 4 is a schematic diagram of a preview interface shown in an exemplary embodiment of the present invention. [Diagram 3] 2 is a flowchart of a video preview method shown in the embodiment shown in FIG. 1 of the present invention; [Figure 4] 4 is a flowchart of another video preview method shown in the embodiment shown in FIG. 1 of the present invention. [Diagram 5] 1 is a block diagram of a video preview device shown in an exemplary embodiment of the present invention; [Figure 6] FIG. 6 is a block diagram of a video preview device shown in the embodiment of the present invention shown in FIG. 5. [Figure 7] FIG. 2 is a block diagram of an electronic device in accordance with an exemplary embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, the embodiments of the present invention will be described in more detail with reference to the drawings. Although the drawings show specific embodiments of the present invention, 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 and are not used to limit the protection scope of the present invention.

[0016] It should be understood that each of the steps described in the method embodiments of the present invention may be performed in a different order and / or in parallel, and that method embodiments may include additional steps and / or omit illustrated steps, and 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 inclusions, including, but not limited to. The term "based on" means "based at least in part on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one other embodiment," and the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms are provided below in the description.

[0018] It should be noted that the concepts of "first", "second", etc. referred to in the present invention are merely used to distinguish different devices, modules, or units, and are not intended to limit the order or mutual dependency of functions performed by these devices, modules, or units.

[0019] It should be noted that the modifications "one" and "multiple" referred to in the present invention are exemplary rather than limiting, and that those skilled in the art should understand "one or more" unless the context clearly indicates otherwise.

[0020] The names of messages or information exchanged between multiple devices in the embodiments of the present invention are used for explanatory purposes only 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, and scenarios 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 consent from users should be obtained.

[0022] For example, in response to receiving an unsolicited request from a user, presenting information is sent to the user to explicitly present to the user that the requested operation requires the acquisition and use of the user's personal information, so that the user can independently choose whether or not to provide the personal information to software or hardware, such as an electronic device, application, server, or storage medium, that performs the operation of the technical solution of the present invention, based on the presenting information.

[0023] As an optional, but non-limiting implementation, the method of transmitting the presentation to the user in response to receiving the user's unsolicited request may be, for example, by utilizing a pop-up window in which the presentation may be displayed in the form of text and which may further include a selection control for the user to "agree" or "not agree" to providing the personal information to the electronic device.

[0024] It will be appreciated that the notification and user authorization process described above is merely a general outline and is not intended to limit the implementation of the present invention, and other methods that comply with relevant laws and regulations may be applied to the implementation of the present invention.

[0025] At the same time, it is understood that any data related to the technical solution (including but not limited to the data itself, the acquisition of the data, or the use of the data) should comply with corresponding laws and regulations and relevant specified requirements.

[0026] Before introducing a specific embodiment of the present invention, the application scenario of the present invention will be described as follows. The present invention can be applied to the video editing process, especially the scene of editing a video using a video template. At present, in the process of editing using a video template, usually, only one effect video corresponding to one video template can be previewed, but the visual difference between different video templates is not necessarily large, so there may be only a few frames with obvious features. When selecting a template, usually, the user needs to preview the video template one by one, which is time-consuming; moreover, the user can only preview one video template at a time, and after selecting a video template, it requires a certain loading time, so the user is likely to forget the video effect previewed before. Therefore, when the number of video templates is larger, it will inevitably take a very long time for the user to select a preferred video template, which is not conducive to improving the efficiency of video synthesis and is not conducive to improving the user experience.

[0027] In order to solve the above technical problems, the present invention provides 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, 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'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 displayed in the preview area, and by displaying the first preview video and the second preview video in the preview area in this manner, it is easy for a user to compare the effects of generating videos using different video templates, so as to improve a speed at which a user selects a video template, improve the efficiency of video synthesis, and effectively improve the user experience.

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

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

[0030] In step 101, in response to receiving a video editing command for a video to be edited, a 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 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.

[0032] By way of example, the video to be edited may be a game video obtained by screen recording, the video editing command may be triggered by a user clicking a stop recording button when recording the game screen, and the video to be edited may be a video captured by a camera of the terminal or a video obtained by other means and stored locally on the terminal.

[0033] It should be noted that when generating and displaying the first preview video on the first target interface, a loading animation of a video template can be combined, and as the loading progress of the video template changes, a predetermined cartoon image peels off a mask layer on the video, and the first preview video lights up and begins to play.

[0034] In step 102, 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.

[0035] Here, the second target video template may be a video template other than the first video template among a plurality of video templates, and the trigger operation may be dragging (clicking, long pressing, or double clicking) a 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 possible embodiment of the step, the preview area may include a first display window and at least one second display window, the first display window may be used to display a first preview video, and the second display window may be used to display a second preview video, and 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 display window and the second display window are the same, and the predetermined size can be obtained by obtaining a target number of preview videos currently displayed in the preview area, and determining the predetermined size from a predetermined size correspondence relationship based on the target number.

[0039] It should be noted that the second target video template may be included in a plurality of ways, and when the second target video template is one, only one second preview video is included, and the first designated area may be the left side (or upper side) of the preview area, and the second designated area may be the right side (or lower side) of the preview area, as shown in a of FIG. 2 (FIG. 2 is a schematic diagram of a preview interface shown in an exemplary embodiment of the present invention). When two second target video templates are included, the first designated area may be the left center (or upper center) position of the preview area, and the second designated area may be the upper right side (or lower left side) or lower right side (or lower right side), as shown in b of FIG. When three second target video templates are included, the first designated area may be the upper left side position of the preview area, and the second designated area may be the upper right side, lower right side, or lower left side, as shown in c of FIG. 2.

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

[0041] According to the above technical solution, by displaying the first preview video and the second preview video in the preview area, it is easy for users to compare the effects of generating videos using different video templates, so that the speed at which users select video templates can be improved, the efficiency of video synthesis can be improved, and the user experience can be effectively improved.

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

[0043] At step 1011, in response to receiving the video editing command, a first target video template is determined from the plurality of said video templates.

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

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

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

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

[0048] In this step, when generating the first preview video, the first target video template is loaded, and then the first preview video can be generated by applying the first target video template onto the video to be edited.

[0049] It should be noted that when loading the first target video template, a video template loading animation can be combined to display relevant presentation of the template loading process, and as the video template loading progress changes, a predefined cartoon image peels off a mask layer on the video, and when it is determined to generate the first preview video, the first preview video will light up and start 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 display window may be used to display the first preview video.

[0052] According to the above technical solution, a first target video template that is closest to the duration of the video to be edited can be selected from a plurality of video templates, and a first preview video corresponding to the first target video template can be displayed in the first target interface when entering the first target interface, which can help users quickly select video templates, effectively improve the efficiency of template selection, improve the efficiency of video synthesis, and even effectively improve the user experience.

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

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

[0055] As an example, taking the example shown in step 1011 above, the arrangement order corresponding to the control buttons of the multiple video templates (i.e., video template A to video template F) in 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, the control buttons of multiple video templates can be displayed in the template display area in order of the smallest target difference, which can help users quickly select video templates, effectively improve the efficiency of template selection, improve the efficiency of video synthesis, and effectively improve the user experience.

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

[0058] An associated relationship between the first preview video, the second preview video and the playback progress bar is established so that the playback progress bar controls the playback progress of the first preview video and the second preview video simultaneously.

[0059] It should be noted that when a plurality of second preview videos are included, an association relationship between each of the second preview videos and the playback progress bar of the video to be edited can be established, thereby realizing the use of the playback progress bar of the video to be edited to control each preview video in the preview area; when each second preview video is added to the preview area, the first preview video and the second preview video are both played from their starting frames, so that the plurality of preview videos are played synchronously, effectively ensuring that the screens displayed by the plurality of preview videos currently displayed in the preview area are all identical, thus helping users to compare the display effects of the plurality of preview videos, and effectively improving the efficiency of video template selection.

[0060] According to the above technical solution, by establishing an association relationship between the first preview video, the second preview video and the playback progress bar of the video to be edited, it is possible to realize using the playback progress bar of the video to be edited to control the playback progress of the first preview video and the second preview video, which can effectively improve the video control efficiency, and also effectively improve the video template selection efficiency, which is helpful to improving the user experience.

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

[0062] At step 104, in response to obtaining a replacement operation for the third target video template and the designated 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 the multiple video templates, and the replacement operation may be an operation of dragging the control button of the third target video template above the designated preview video, or an operation of clicking the third target video template (which may be a click, double-click, or long press) and then clicking the designated preview video.

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

[0065] Here, the designated preview video is 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 replacement method can be used to perform preview comparison with video templates other than the first target video template and the second target video template, thereby effectively improving the user experience in the video template selection process.

[0067] Optionally, the method further comprises the steps of:

[0068] In response to acquiring a position adjustment operation action for the first adjustment-target preview video and the second adjustment-target preview video, the display area in which the first adjustment-target preview video and the second adjustment-target preview video are arranged is adjusted.

[0069] Here, the first adjustment target preview video may be the first preview video or the second preview video, and the second adjustment target preview video is another preview video in the preview area other than the first adjustment target preview video. The position adjustment operation may be an operation of dragging a video template corresponding to the first adjustment target preview video onto a video template corresponding to the second adjustment target preview video, or an operation of dragging the first adjustment target preview video onto the second adjustment target preview video.

[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, and the efficiency of video template selection can be effectively improved.

[0071] Optionally, each of the video templates includes a volume control button, and the method further includes the following steps:

[0072] A playback volume input using a volume control button corresponding to each preview video in the preview display area is obtained, and the preview video is played according to the playback volume corresponding to each preview video.

[0073] Here, as shown in FIG. 2, a volume control button may be provided in the display window in which each preview video is arranged, and a user may use the volume control button corresponding to each preview video to control the playback volume of the preview video, thereby adjusting the playback volume of different preview videos in a personalized manner, thereby effectively improving the user experience in the video template selection process.

[0074] Optionally, as shown in FIG. 2, each of the video templates may further include a use template button, which is displayed on a preview video screen of the corresponding video template, and the method further includes the steps of:

[0075] In response to receiving an input use command triggered by using a 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 click the template use button to trigger the input use command, and after the terminal obtains the input use command, the terminal can use the preview video corresponding to the clicked template use button as the target preview video and stop displaying preview videos other than the target preview video, and the user can click a predetermined save (or send) button to trigger the video generation command, and the predetermined save (or send) button may be an ``X'' symbol for closing the current interface.

[0077] According to the above technical solution, the preview video corresponding to the non-desired video template can be quickly closed, and the user's preferred target preview video can be conveniently and quickly saved, which can effectively improve the efficiency of video synthesis and improve the user experience.

[0078] FIG. 5 is a block diagram of a video preview device according to an exemplary embodiment of the present invention. As shown in FIG. 5, the device includes: a first generating module 501 for generating and displaying a first target interface in response to receiving a video editing command for a video to be edited, the first target interface including a template display area and a preview area, the template display area including control buttons of a plurality of video templates, and the preview area including a first preview video corresponding to a first target video template among the plurality of video templates; a second generation module 502 that generates a second preview video corresponding to a second target video template in response to acquiring a user's trigger operation on a control button corresponding to the second target video template among the plurality of video templates; and a first display module 503 for displaying the first preview video and the second preview video in the preview area.

[0079] According to the above technical solution, by displaying the first preview video and the second preview video in the preview area, it is easy for users to compare the effects of generating videos using different video templates, so that the speed at which users select video templates can be improved, the efficiency of video synthesis can be improved, and the user experience can be effectively improved.

[0080] Optionally, the first generating module 501: responsive to receiving the video editing command, determining a first target video template from the plurality of video templates; generating the first preview video based on the to-be-edited video and the first target video template; The first preview video is displayed in the preview area.

[0081] Optionally, the first generating module 501: obtaining a first playback duration of the to-be-edited video and a second playback duration of each of the video templates; obtaining a target difference between a first playback duration of the to-be-edited video and a second playback duration of each of the video templates; The first target video template is determined based on the designated video template having the smallest target difference.

[0082] Optionally, the first generating module 501: If it is determined that there are a plurality of the designated video templates, the historical usage amount of each of the designated video templates is obtained; The designated video template with the greatest historical usage is used as the first target video template.

[0083] Optionally, the first generating module 501: The control buttons of the multiple video templates are displayed in the template display area in ascending order of the target difference.

[0084] Optionally, 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, and the second display window is used to display a second preview video, and the first display module 503 is: reducing the first display window to a predetermined size, and moving the reduced first display window to a first designated area within the preview area; The first preview video is displayed in the first display window after reduction. The second preview video is displayed in a second display window within a second designated area.

[0085] Optionally, the first display module 503 includes: Obtain a target number of preview videos currently displayed in the preview area; The predetermined size is determined from a predetermined size correspondence relationship based on the target number.

[0086] After adjusting the second display window to the predetermined size, the first preview video and the second preview video are controlled to be played from a starting frame.

[0087] According to the above technical solution, 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, so that the speed at which users select video templates can be improved, the efficiency of video synthesis can be improved, and the user experience can be effectively improved.

[0088] Optionally, FIG. 6 is a block diagram of a video preview device shown in the embodiment shown in FIG. 5 of the present invention. As shown in FIG. 6, the first target interface further includes a playback progress bar of the video to be edited, and the device includes: The playback progress bar may further include a progress control module 504 that establishes an association relationship between the first preview video, the second preview video, and the playback progress bar, thereby causing the playback progress bar to simultaneously control the playback progress of the first preview video and the second preview video.

[0089] Optionally, the apparatus comprises: a third generating module 505 for generating a third preview video corresponding to the third target video template in response to obtaining a replacement operation for the third target video template and the designated preview video; The apparatus further includes a replacement module 506 for replacing the designated preview video with the third preview video, where the designated preview video is the first preview video or the second preview video.

[0090] According to the above technical solution, by establishing an association relationship between the first preview video, the second preview video and the playback progress bar of the video to be edited, it is possible to realize using the playback progress bar of the video to be edited to control the playback progress of the first preview video and the second preview video, which can effectively improve the video control efficiency, and also effectively improve the video template selection efficiency, which is helpful to improving the user experience.

[0091] Optionally, the apparatus comprises: The video display device further includes a position adjustment module 507 that adjusts the display area in which the first adjustment target preview video and the second adjustment target preview video are located in response to acquiring a position adjustment operation operation for the first adjustment target preview video and the second adjustment target preview video.

[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, and the efficiency of video template selection can be effectively improved.

[0093] Optionally, each of the video templates includes a volume control button, and the device further comprises: The display device further includes a volume input module 508 for obtaining a playback volume input using a volume control button 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.

[0094] Optionally, each of the video templates further includes a use template button, the use template button being displayed on a preview video screen of the corresponding video template, and the apparatus further comprises: a second display module 509 for displaying only the target preview video in the video preview area in response to receiving an input use command triggered by using a template use button on the target preview video; 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, the preview video corresponding to the non-desired video template can be quickly closed, and the user's preferred target preview video can be conveniently and quickly saved, which can effectively improve the efficiency of video synthesis and improve the user experience.

[0096] In the following, referring to FIG. 7, a schematic diagram of the structure of an electronic device 600 suitable for implementing an embodiment of the present invention is shown. The terminal device in the embodiment of the present invention may include, but is not limited to, mobile terminals such as mobile phones, notebook 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), and fixed terminals such as digital TVs (televisions) and desktop computers. The electronic device shown in FIG. 7 is merely an example, and does not impose any limitations on the functions and scope of use of the embodiment of the present invention.

[0097] 7, the electronic device 600 may include a processing unit (e.g., a central processing unit, a graphic processor, etc.) 601 that can perform various suitable operations and processes based on programs stored in a read only memory (ROM) 602 or 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, the ROM 602, and the 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 a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 607 including a liquid crystal display (LCD), speaker, vibrator, etc., storage devices 608 including magnetic tape, hard disk, etc., and communication devices 609 may be connected to the I / O interface 605. The communication devices 609 may enable the electronic device 600 to communicate wirelessly or wired to exchange data with other devices. Although the figures show the electronic device 600 with various devices, it should be understood that it is not necessary to implement or have all the illustrated devices. More or fewer devices may alternatively be implemented or have.

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

[0100] It should be noted that the above-mentioned computer readable medium of 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, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or flash memory), optical fiber, a portable compact disk read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, the computer readable storage medium may be a tangible medium that contains or stores a program that can be used by or in combination with the program, instruction execution system, apparatus, or device. In the present invention, the computer readable signal medium may also include a data signal propagated in baseband or as part of a carrier carrying computer readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that transmits, propagates, or transmits a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted using any suitable medium, including but not limited to wire, fiber optic cable, RF (radio frequency), or any suitable combination of the above.

[0101] In some embodiments, the clients and servers may communicate using any now known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and may be connected to each other via any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), the Internet (e.g., the Internet), and an end-to-end network (e.g., an ad hoc end-to-end network), and any now known or later developed network.

[0102] The computer readable medium described above may be included in the electronic device described above or may be separate and not assembled to said electronic device.

[0103] The above-mentioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: generate and display a first target interface in response to receiving a video editing command for a video to be edited, the first target interface including a template display area and a preview area, the template display area including control buttons for a plurality of video templates, and the preview area including a first preview video corresponding to a first target video template among the plurality of video templates; generate a second preview video corresponding to the second target video template 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; and display the first preview video and the second preview video in the preview area.

[0104] Computer program code for carrying out the operations of the present invention can be written in one or more programming languages ​​or combinations thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and also conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may run entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. When referring to a remote computer, 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 may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).

[0105] The flowcharts and block diagrams in the drawings illustrate possible 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 the flowcharts or block diagrams includes one or more executable instructions for implementing the specified logical functions and may represent a module, program segment, or part of code. It should also be noted that in some alternative implementations, the functions shown in the boxes may occur in a different order than that shown in the drawings. For example, two boxes shown in succession may actually be executed substantially in parallel, or may be executed in the reverse order depending on the functions involved. It should also be noted that each box in the block diagrams and / or flowcharts and combinations of boxes in the block diagrams and / or flowcharts may be implemented in a dedicated hardware-based system that performs the specified functions or operations, or may be implemented in a combination of dedicated hardware and computer instructions.

[0106] The units described as being involved in the embodiments of the present invention may be implemented by software or hardware. Here, the names of the units do not constitute limitations on the units themselves in a specific case, and for example, the first generation module may be expressed 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, the first target interface including a template display area and a preview area, the template display area including control buttons of a plurality of video templates, and the preview area including 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, without limitation, exemplary types of hardware logic components that may be used include Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.

[0108] In the context of the present invention, a machine-readable medium may be a tangible medium that can contain or store a program that can be used by or 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, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, 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 memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), optical fibers, portable compact disk read-only memories (CD-ROMs), 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 comprising: In response to receiving a video editing command for a target video, generating and displaying a first target interface, the first target interface including a template display area and a preview area, the template display area including control buttons of a plurality of video templates, and the preview area including 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, generating a second preview video corresponding to the second target video template; 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, wherein in response to receiving a video editing command for the to-be-edited video, generating and displaying a first target interface includes: determining a first target video template from the plurality of video templates in response to receiving the video editing command; generating the first preview video based on the to-be-edited video and the first target video template; 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 includes: obtaining a first playback duration of the to-be-edited video and a second playback duration of each of the video templates; obtaining a target difference between a first playback duration of the to-be-edited video and a second playback duration of each of the video templates; determining the first target video template based on a designated video template having a minimum of the target difference.

[0112] According to one or more embodiments of the present invention, Example 4 provides the method of Example 3, wherein determining the first target video template based on a designated video template having the smallest target difference further comprises: if it is determined that a plurality of the designated video templates exist, acquiring a history usage amount of each of the designated video templates; and using the designated video template with the greatest historical 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, wherein in response to receiving a video editing command for the target video, generating and displaying a first target interface includes: The method further includes displaying control buttons of the plurality of video templates in 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, and the second display window is used to display a second preview video, and displaying the first preview video and the second preview video in the preview area includes: reducing the first display window to a predetermined size and moving the reduced first display window to a first designated area within the preview area; displaying the first preview video using the reduced first display window; and displaying the second preview video in a second display 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 displaying the first preview video and the second preview video in the preview area before shrinking the first display window to a predetermined size further comprises: obtaining a target number of preview videos currently displayed in the preview area; The method further includes determining the predetermined size from a predetermined size correspondence relationship based on the target number.

[0116] According to one or more embodiments of the present invention, Example 8 provides the method of Example 6, wherein displaying the second preview video in a second display window in the second designated area includes: and controlling the first preview video and the second preview video to be played from a starting frame after adjusting the second display window to the predetermined size.

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

[0118] According to one or more embodiments of the present invention, Example 10 provides a method according to any one of Examples 1 to 8, the method comprising: generating a third preview video corresponding to the third target video template in response to obtaining a replacement operation for the third target video template and the designated preview video; The method further includes replacing the designated preview video with the third preview video, where the designated preview video is the first preview video or the second preview video.

[0119] According to one or more embodiments of the present invention, Example 11 provides a method according to any one of Examples 1 to 8, the method comprising: The method further includes adjusting a display area in which the first adjustment target preview video and the second adjustment target preview video are disposed in response to obtaining a position adjustment operation operation for the first adjustment target preview video and the second adjustment target preview video.

[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 further comprises: The method further includes obtaining a playback volume input using a volume control button 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 of the video templates further includes a use template button, and the use template button is displayed on a preview video screen of the corresponding video template, and the method includes: displaying only the target preview video in the video preview area in response to receiving an input use command triggered using a template use button on the target preview video; The method further includes, in response to receiving a video generation command, storing the target preview video.

[0122] According to one or more embodiments of the present invention, Example 14 provides a video preview device, the device comprising: a first generation module for generating and displaying a first target interface in response to receiving a video editing command for a video to be edited, the first target interface including a template display area and a preview area, the template display area including control buttons of a plurality of video templates, and the preview area including a first preview video corresponding to a first target video template among the plurality of video templates; a second generating module configured to generate a second preview video corresponding to a second target video template 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 first display module for displaying 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 having a computer program stored thereon, the program, when executed by a processing device, implementing steps of the method according to any one of Examples 1 to 13 above.

[0124] According to one or more embodiments of the present invention, Example 16 provides an electronic device, the electronic device comprising: A storage device in which a computer program is stored; and a processing device for implementing the steps of the method according to any one of Examples 1 to 13 by executing the computer program in the storage device.

[0125] According to one or more embodiments of the present invention, Example 17 provides a computer program product including a computer program, which, when executed by a processing device, performs steps of the method according to any one of Examples 1 to 13.

[0126] According to one or more embodiments of the present invention, Example 18 provides a computer program, which, when executed by a processing device, performs the steps of the method according to any one of Examples 1 to 13.

[0127] The above description is merely a preferred embodiment of the present invention and is a description of the technical principles applied. Those skilled in the art should understand that the scope of the invention is not limited to the technical solution formed by the specific combination of the above technical features, but also includes other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the concept of the invention. For example, it should be understood that the technical solution formed by switching the above features with technical features having similar functions (but not limited to these) disclosed in the present invention is also included.

[0128] It should be noted that although operations are depicted in a particular order, this should not be understood as requiring that these operations be performed in the particular order or sequence depicted. Multi-task and parallel processing may be advantageous in certain environments. Similarly, although the above discussion includes some specific implementation details, these should not be construed as limiting the scope of the invention. Certain features that are described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable subcombination.

[0129] Although the subject matter has been described in language specific to structural features and / or logical operations of a method, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or operations described above. On the contrary, the specific features and operations described above are merely example forms of implementing the claims. The specific forms of operations performed by each module of the apparatus in the above-described embodiments have already been described in detail in the related method embodiments, and will not be described in detail here.

Claims

1. In response to receiving a video editing command for the video to be edited, generating and displaying a first target interface, the first target interface including a template display area and a preview area, the template display area including control buttons of a plurality of video templates, and the preview area including 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, generating a second preview video corresponding to the second target video template; displaying the first preview video and the second preview video in the preview area. Video preview method.

2. generating and displaying a first target interface in response to receiving a video editing command for the video to be edited; determining a first target video template from the plurality of video templates in response to receiving the video editing command; generating the first preview video based on the to-be-edited video and the first target video template; displaying the first preview video in the preview area. The video preview method of claim 1 .

3. Determining a first target video template from the plurality of video templates includes: obtaining a first playback duration of the to-be-edited video and a second playback duration of each of the video templates; obtaining a target difference between a first playback duration of the to-be-edited video and a second playback duration of each of the video templates; determining the first target video template based on a designated video template having a minimum of the target difference; The video preview method of claim 2.

4. determining the first target video template based on the designated video template having the smallest target difference; if it is determined that a plurality of the designated video templates exist, acquiring a history usage amount of each of the designated video templates; and using the designated video template with the greatest historical usage as the first target video template. The video preview method of claim 3.

5. generating and displaying a first target interface in response to receiving a video editing command for the video to be edited; The control buttons of the plurality of video templates are displayed in the template display area in order of increasing the target difference. The video preview method according to claim 3 or 4.

6. the preview area includes a first display window and a second display window, the first display window is used to display the first preview video, and the second display window is used to display the second preview video; Displaying the first preview video and the second preview video in the preview area includes: reducing the first display window to a predetermined size and moving the reduced first display window to a first designated area within the preview area; displaying the first preview video using the reduced first display window; displaying the second preview video in the second display window within a second designated area. A video preview method according to any one of the preceding claims.

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 includes: obtaining a target number of preview videos currently displayed in the preview area; determining the predetermined size from a predetermined size correspondence relationship based on the target number; The video preview method of claim 6.

8. Displaying the second preview video in the second display window within the second designated area includes: and controlling the first preview video and the second preview video to be played from a start frame after adjusting the second display window to the predetermined size. A video preview method according to claim 6 or 7.

9. The first target interface further includes a playback progress bar of the video to be edited; The video preview method includes: and establishing an association relationship between the first preview video, the second preview video, and the playback progress bar, such that the playback progress bar simultaneously controls the playback progress of the first preview video and the second preview video. A video preview method according to any one of the preceding claims.

10. generating a third preview video corresponding to the third target video template in response to obtaining a replacement operation for the third target video template and the designated preview video; replacing the designated preview video with the third preview video, the designated preview video being the first preview video or the second preview video. A video preview method according to any one of the preceding claims.

11. and adjusting a display area in which the first and second adjusted preview videos are disposed in response to obtaining a position adjustment operation action on the first and second adjusted preview videos. A video preview method according to any one of the preceding claims.

12. Each of the video templates includes a volume control button; The video preview method includes: and further comprising: obtaining a playback volume input by using a volume control button 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. A video preview method according to any one of the preceding claims.

13. Each of the video templates further includes a use template button, and the use template button is displayed on a preview video screen of the corresponding video template; The video preview method includes: displaying only the target preview video in the video preview area in response to receiving an input use command triggered using the use template button on the target preview video; and storing the target preview video in response to receiving a video generation command. A video preview method according to any one of the preceding claims.

14. a first generating module for generating and displaying a first target interface in response to receiving a video editing command for a target video, the first target interface including a template display area and a preview area, the template display area including control buttons of a plurality of video templates, and the preview area including a first preview video corresponding to a first target video template among the plurality of video templates; a second generation module configured to generate a second preview video corresponding to a second target video template 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 first display module for displaying the first preview video and the second preview video in the preview area; Video preview device.

15. A computer program is stored, the steps of the method according to any one of claims 1 to 13 being implemented when the computer program is executed by a processing device. Computer-readable medium.

16. A storage device in which a computer program is stored; and a processing device for executing the computer program in the storage device, the computer program implementing the steps of the method according to any one of claims 1 to 13. Electronic devices.

17. A computer program, which, when executed by a processing device, performs the steps of the method according to any one of claims 1 to 13. Computer program products.

18. A computer program comprising: When the computer program is executed by a processing device, the steps of the method according to any one of claims 1 to 13 are implemented. The 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