A method for creating videos, an electronic device, a medium, and a chip.
By automatically matching movie-type video templates, the problems of intelligent and low efficiency of video creation in the existing technology are solved, and video effects that are more in line with the sense of movie are achieved, and user experience is improved.
Patent Information
- Application Number
- CN202410046055.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2023-11-03
- Filing Date
- 2024-01-10
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2044-01-10
AI Technical Summary
The prior art is less intelligent and efficient when creating videos, and the video effects of the films are not necessarily suitable for the materials selected by users.
By identifying the material type selected by the user and automatically matching the movie-type video template when the user performs a movie-type operation, a movie-like video is generated.
It improves the intelligence and efficiency of video creation, makes the video effect of the film more in line with the movie-like video, reduces the difficulty of users to choose a suitable video template, and improves the user experience.
Smart Images

Figure CN118450063B_ABST
Abstract
Description
[0001] This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on November 3, 2023, with application number 202311466632.2 and application name “A method and electronic device for creating cinematic videos”, all contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the field of video processing, and more specifically, to a method, electronic device, medium and chip for creating videos. Background Art
[0003] Electronic devices such as mobile phones and tablets all provide the function of creating videos. Taking mobile phones as an example, mobile phones provide a gallery application, and videos can be created using the materials in the gallery application. In related technologies, electronic devices can generate videos based on at least one material selected by a user (the material can be an image or a video), and the user selects a video template to add corresponding video effects to the video, so that the video effect obtained after processing the video is the same as the added video effect. However, the intelligence and efficiency of the above method are both low, and the video effect of the film may not be suitable for the material selected by the user. Summary of the invention
[0004] The embodiments of the present application provide a method, electronic device, medium and chip for creating videos, which improve the intelligence and efficiency of video creation, thereby improving the user experience.
[0005] In a first aspect, a method for creating a video is provided, comprising: in response to a user's operation of forming a film of at least one selected material, matching a video template of a movie type for at least one material when at least one material meets a matching condition of a movie-like video, the material being an image or a video; using a first video template of a movie type for at least one material to generate a first film, the video effect of the first film being the same as the video effect corresponding to the first video template of the movie type; and displaying a preview interface, wherein the preview interface plays the first film.
[0006] The user selects at least one material and performs a film-making operation on the at least one material. In response to the user's operation, the electronic device determines that the at least one material meets the matching conditions of the movie-like video, matches the video template of the movie type for the at least one material, uses the first video template of the movie type for the at least one material, or adds the video effect corresponding to the first video template of the movie type to the at least one material, so that the generated first film-made video effect is the same as the video effect corresponding to the first video template of the movie type.
[0007] When at least one material includes multiple materials, a video can be generated based on the at least one material, and a first video template of a movie type can be used on the video to generate a first finished film. When at least one material includes one material (image or video), a first video template of a movie type can be directly used on the one material to generate a first finished film.
[0008] The above-mentioned movie-type video template represents a type of video template, and the first movie-type video template represents a video template of the movie-type. In implementation, the electronic device can use any one of the movie-type video templates as the first video template for the first finished film.
[0009] In the method for creating a video provided by the embodiment of the present application, the electronic device can automatically identify the type of material. After the user selects at least one material and performs a filming operation on at least one material, in response to the user's filming operation, the type of material selected by the user is identified. When at least one material selected by the user meets the matching conditions of the movie-like video, a movie-type video template is matched for at least one material, and a first video template of the movie type is used for at least one material. The first film generated is recommended to the user through the preview interface. The video effect of the first film is the same as the video effect corresponding to the first video template of the movie type, that is, the film has a movie-like style, or the first film is a movie-like video. In this way, based on the material selected by the user, the video template of the movie type can be more accurately and intelligently matched, so that the video effect of the film formed based on the material is more in line with the movie-like video, and the video effect is better; and the video effect of the film is close to the actual needs of the user, reducing the probability that the user may need to try multiple times to select a more matching movie-type video template. In summary, not only the video effect of the film is improved, but also the actual needs of the user can be met, and the intelligence and efficiency of video creation are generally improved, thereby improving the user experience.
[0010] Optionally, the matching condition of the film-like video is that at least one material is a video shot in a film mode.
[0011] In the above embodiment, when the material is a video shot in movie mode, it means that the user himself wants the video to present a movie style. Therefore, matching the video shot in movie mode with a movie-type video template not only has a good film effect, but also better meets the actual needs of the user.
[0012] Optionally, the matching condition of the film-like video is that the frame type of at least one material is a same-direction frame.
[0013] In the above embodiment, when the frame type of the material is the same frame, it is convenient to process the material when a film needs to be generated from multiple materials, and the film-like visual effect of the film formed by the materials of the same frame is also better.
[0014] Optionally, the matching condition of the film-like video is: the frame type of at least one material is a horizontal frame;
[0015] In the above embodiment, since the horizontal frame material itself has a more cinematic feel, therefore, when the frame type of the material is horizontal, the horizontal frame material is matched with a movie-type video template, and the resulting film has a better cinematic feel and a better film effect.
[0016] Optionally, the matching condition of the film-like video is that at least one material is a high dynamic range image HDR video or a logarithmic LOG video shot in a film mode.
[0017] In the above embodiment, when the material is an HDR video or LOG video shot in movie mode, it means that the user has performed special processing on the video through the device itself and wants the video to present a movie style. Therefore, matching the HDR video or LOG video shot in movie mode with a movie-type video template not only has a good film effect, but also better meets the actual needs of users.
[0018] Optionally, the matching condition for the movie-like video is that at least one material is a storyboard video.
[0019] In the above embodiment, the storyboard video itself is a common video material in film or video production. Therefore, when the material is a storyboard video, the storyboard video is matched with a video template of the film type, and the resulting film effect is also good.
[0020] Optionally, before the above-mentioned step of matching at least one material with a movie-type video template in response to the user's film-forming operation on at least one selected material, when at least one material meets the matching conditions of a movie-like video, the method also includes: displaying a first interface, the first interface including a first control and a plurality of materials for selection, the first control being used to trigger the electronic device to form a film based on at least one material, the plurality of materials including at least one material.
[0021] The user selects at least one material from the multiple materials and performs an operation on the first control. The electronic device detects the user's selection of the at least one material and the operation on the first control, and matches the at least one material with a movie-type video template when it is determined that at least one material meets the matching condition of the movie-like video. Here, the user's operation of forming a film on the selected at least one material includes the user selecting at least one material and operating the first control.
[0022] In the above embodiment, an interface for making a film is provided to the user through a first interface including a first control and a plurality of materials for the user to select. The user can select at least one material and perform an operation on the first control, which can trigger the electronic device to make a film based on the at least one material. The operation is convenient and the user experience is good.
[0023] Optionally, a frame mark is marked on the material, and the frame mark is used to identify the frame type of the material, and the frame type includes at least one of a horizontal frame, a vertical frame, and a normal frame.
[0024] In the above embodiment, the material on the interface for material selection is marked with a frame identifier for identifying the frame type of the material. The user can quickly determine the frame type of the material based on the frame identifier of the material, which helps the user to purposefully select materials of certain specific frame types.
[0025] Optionally, the first interface is a material selection interface for movie mode videos, and the multiple materials are all videos shot in movie mode.
[0026] In the above embodiment, for a video shot in movie mode, the electronic device generates a file for associating the video in movie mode (e.g., a video file of "My Movie"). The user enters the material selection interface of the movie mode video through operation. When the matching condition is that at least one material is a video shot in movie mode, any material selected in the material selection interface can generate a first film with a strong sense of film, providing the user with an interface for conveniently selecting a video in movie mode, thereby improving the user experience. When the matching condition is that at least one material is a high dynamic range image HDR video or LOG video shot in movie mode, the probability of the user selecting a movie mode video shot in HDR mode or LOG mode is effectively increased, thereby increasing the probability of generating a film with a sense of film.
[0027] Optionally, the first interface is a material selection interface for HDR videos, and the multiple materials are all HDR videos shot in movie mode.
[0028] In the above embodiment, for HDR videos shot in movie mode, the electronic device will generate a file for associating HDR videos (e.g., a video file of "HDR video"). The user enters the material selection interface of HDR video through operation. When the matching condition is that at least one material is a video shot in movie mode or at least one material is an HDR video shot in movie mode, selecting any material in the material selection interface can generate a first film with a strong sense of film, providing the user with an interface that is convenient for selecting videos in movie mode, thereby improving the user experience. When the matching condition is that at least one material is a high dynamic range image HDR video or a LOG video shot in movie mode, the probability of the user selecting a movie mode video shot in HDR mode or LOG mode is effectively increased, thereby increasing the probability of generating a film with a sense of film.
[0029] Optionally, the first interface is a material selection interface for LOG videos, and the multiple materials are all LOG videos shot in movie mode.
[0030] In the above embodiment, for the LOG video shot in the movie mode, the electronic device will generate a file for associating the LOG video (for example, a video file of "LOG video"). The user enters the material selection interface of the LOG video through operation. When the matching condition is that at least one material is a video shot in the movie mode or at least one material is a video of LOG shot in the movie mode, selecting any material in the material selection interface can generate a first film with a strong sense of movie, thereby providing the user with an interface for easily selecting videos in the movie mode, thereby improving the user experience.
[0031] Optionally, at least one material is a first video; and the above-mentioned step of matching at least one material with a movie-type video template in response to the user's film-forming operation on at least one selected material, when at least one material meets the matching conditions of a movie-like video, includes: displaying a second interface, the second interface including multiple materials, and the multiple materials including the first video; in response to the user's operation of clicking on the first video, displaying a third interface, the third interface including the first video and a second control; in response to the user's operation on the second control, when the first video meets the matching conditions of a movie-like video, matching the first video with a movie-type video template.
[0032] In the above embodiment, the second interface is a large video image interface, and a second control is designed on the interface, which can quickly trigger the electronic device to process the video currently browsed by the user to generate a film, thereby improving the intelligence and efficiency of video processing and providing a good user experience.
[0033] Optionally, the preview interface includes template options; and the method also includes: in response to the user's operation on the template options, displaying a fourth interface, the fourth interface including a template list, the template list including options for video templates of recommended types, the video templates of the recommended types are all movie-type video templates, and the video templates of the recommended types include multiple movie-type video templates.
[0034] In the above embodiment, when at least one material selected by the electronic device for the user matches a movie-type video template, the recommended type video templates are all movie-type video templates, and movie-type video templates are recommended to the user through the recommended type options in the template. The user can add different video effects to the first film by selecting movie-type video templates of different themes in the recommended type, thereby achieving different movie-like effects, which is more convenient, further improves the intelligence of the film, and increases the diversity of the film.
[0035] Optionally, the method also includes: in response to a user selecting a second video template in a recommended type of video template, switching the video effect of the first film so that the video effect of the first film is the same as the video effect corresponding to the second video template, and the second video template is different from the first video template.
[0036] Optionally, the preview interface includes an editing option; and the method further includes:
[0037] In response to the user's operation on the editing option, displaying a fifth interface, the fifth interface including a text option;
[0038] In response to the user's operation on the text option, the sixth interface is displayed, which includes a text editing interface. The text editing interface includes template options. The templates include multiple types of text templates. The multiple types of text templates include movie-type text templates. Movie-type text templates include multiple text templates.
[0039] In the above embodiment, the function of editing the finished film is provided to the user through the editing option, and the text editing interface provided by the editing function provides the user with multiple text templates of movie types, so that the user can add different movie-like subtitles to the first finished film by selecting different text templates of movie types, thereby achieving different movie-like effects, which is more convenient, further improves the intelligence and editability of the finished film, and increases the diversity of the finished film.
[0040] Optionally, the preview interface includes a fragment option; and the method further includes:
[0041] In response to the user's operation on the segment option, displaying a seventh interface including a plurality of segments of the first film and a color adjustment option;
[0042] In response to the user selecting a clip and operating the color adjustment option, the eighth interface is displayed, the eighth interface includes a color adjustment interface, the color adjustment interface includes filter options, the filters include multiple types of filters, the multiple types of filters include movie-type filters, and the movie-type filters include multiple filters.
[0043] In the above embodiment, the fragment option provides the user with the function of processing each fragment of the film, and the color adjustment interface provided by the fragment function provides the user with multiple movie-type filters, so that the user can add different movie filters to each fragment of the first film by selecting different filters of the movie type, and realize different movie filters in the same film, thereby improving the diversity of the film and further improving the intelligence of the film.
[0044] Optionally, the aspect ratio of the first film is a preset aspect ratio, and the preset aspect ratio is a first horizontal aspect ratio or a first vertical aspect ratio.
[0045] For example, the first horizontal aspect ratio is a 16:9 aspect ratio, and the first vertical aspect ratio is a 9:16 aspect ratio. Both aspect ratios are conventional aspect ratios of videos, and the user's visual experience is good.
[0046] Optionally, the aspect ratio of the first film is a first horizontal aspect ratio; and before displaying the preview interface, the following steps are performed for each material: when the aspect ratio of the material satisfies the aspect ratio range, both sides of the material in the height direction are cropped so that the aspect ratio of the cropped material is the aspect ratio of the movie frame, and the aspect ratio of the movie frame is greater than the first horizontal aspect ratio; when the aspect ratio of the material does not satisfy the aspect ratio range, the edges of the material in the height direction or the edges of the material in the width direction are kept to occupy the frame of the first horizontal aspect ratio; wherein the aspect ratio range is greater than or equal to the first horizontal aspect ratio and less than the aspect ratio of the movie frame.
[0047] In the above embodiment, for horizontal frame materials, the aspect ratios of conventional movie frames and video horizontal frames are not necessarily the same, for example, the aspect ratio of conventional movie frames is 21:9, and the aspect ratio of video horizontal frames is 16:9. When the aspect ratio of the material is greater than or equal to the first horizontal aspect ratio and less than the aspect ratio of the movie frame, both sides of the material in the height direction are cropped so that the aspect ratio of the cropped material is the aspect ratio of the movie frame, which can meet the horizontal aspect ratio of the video and enable users to better experience the film-like atmosphere of the film.
[0048] Optionally, the movie type video template is a black background.
[0049] When the aspect ratio of the cropped material is the aspect ratio of the movie frame (for example, 21:9), a black background will be displayed on both sides of the height direction of the cropped material, forming a black masking area. This can make the finished film more cinematic.
[0050] Optionally, the method further includes: when at least one material does not meet the matching condition of the movie-like video, randomly matching at least one material with a video template of any type.
[0051] In a second aspect, an electronic device is provided, and the electronic device is used to execute the method provided in the first aspect. Specifically, the electronic device may include a module for executing any possible implementation manner of the first aspect.
[0052] In a third aspect, an electronic device is provided, comprising a processor. The processor is coupled to a memory and can be used to execute instructions in the memory to implement the method in any possible implementation of the first aspect. Optionally, the electronic device also includes a memory. Optionally, the device also includes a communication interface, and the processor is coupled to the communication interface.
[0053] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a device, the device implements the method in any possible implementation manner of the first aspect.
[0054] According to a fifth aspect, a computer program product comprising instructions is provided, wherein when the instructions are executed by a computer, the device implements the method in any possible implementation manner of the first aspect.
[0055] In a sixth aspect, a chip is provided, comprising: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method in any possible implementation of the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 It is a schematic diagram of a set of GUIs for presenting video templates in an electronic device provided in an embodiment of the present application.
[0057] Figure 2 It is a schematic diagram of a set of GUIs for an electronic device provided in an embodiment of the present application to shoot a video in movie mode.
[0058] Figure 3 It is a schematic diagram of the GUI of the photo album provided in an embodiment of the present application.
[0059] Figure 4It is a schematic diagram of the GUI of the photo provided in the embodiment of the present application.
[0060] Figure 5 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.
[0061] Figure 6 It is a software structure block diagram of the electronic device 300 provided in an embodiment of the present application.
[0062] Figure 7 It is a schematic diagram of a set of GUIs for the process of creating videos using a mobile phone provided in an embodiment of the present application.
[0063] Figure 8 This is a schematic diagram of another set of GUIs for the process of creating videos on a mobile phone provided in an embodiment of the present application.
[0064] Fig. 9 This is a schematic diagram of another set of GUIs for the process of creating videos on a mobile phone provided in an embodiment of the present application.
[0065] Fig.10 This is a schematic diagram of another set of GUIs for the process of creating videos on a mobile phone provided in an embodiment of the present application.
[0066] Fig.11 This is a schematic diagram of another set of GUIs for the process of creating videos on a mobile phone provided in an embodiment of the present application.
[0067] Fig.12 This is a schematic diagram of another set of GUIs for the process of creating videos on a mobile phone provided in an embodiment of the present application.
[0068] Fig.13 This is a schematic diagram of another set of GUIs for the process of creating videos on a mobile phone provided in an embodiment of the present application.
[0069] Fig.14 This is a schematic diagram of another set of GUIs for the process of creating videos on a mobile phone provided in an embodiment of the present application.
[0070] Fig.15 It is a schematic diagram of a vertical frame displayed on the preview interface provided in an embodiment of the present application.
[0071] Fig.16 It is a schematic diagram of a horizontal frame displayed on a preview interface provided in an embodiment of the present application.
[0072] Figures 17 to 20 These are schematic diagrams of 16:9 horizontal frames provided in the embodiments of the present application.
[0073] Fig.21 It is a schematic diagram of the GUI of the preview interface of the slice provided in the embodiment of the present application.
[0074] Fig. 22 This is another schematic diagram of the GUI of the slice preview interface provided in an embodiment of the present application.
[0075] Fig.23 This is another schematic diagram of the GUI of the slice preview interface provided in an embodiment of the present application.
[0076] Fig.24 This is a schematic diagram of another set of GUIs for the process of creating videos on a mobile phone provided in an embodiment of the present application.
[0077] Fig.25 It is a set of GUIs for entering the editing entrance of "One-click Movie" in the gallery provided by the embodiment of the present application.
[0078] Fig.26 It is a schematic flowchart of the method for creating a video provided in an embodiment of the present application.
[0079] Fig. 27 It is an exemplary block diagram of an apparatus for creating a video provided in an embodiment of the present application.
[0080] Fig.28 It is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0081] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0082] Before introducing the embodiments of the present application, some terms or concepts involved in the embodiments of the present application are first explained. It should be understood that the present application does not specifically limit the naming of the following terms. The following terms may have other names. The renamed terms still meet the following related term explanations.
[0083] User interface (UI)
[0084] UI is a medium interface for interaction and information exchange between applications or operating systems and users. It realizes the conversion between the internal form of information and the form acceptable to users. The user interface is source code written in specific computer languages such as Java and extensible markup language (XML). The interface source code is parsed and rendered on the electronic device, and finally presented as content that users can recognize, such as pictures, text, buttons and other controls. Controls, also known as widgets, are the basic elements of the user interface. Typical controls include toolbars, menu bars, text boxes, buttons, scroll bars, pictures and text. The properties and contents of controls in the interface are defined by tags or nodes, such as XML through, <textview> 、 <imgview> 、 <videoview>The nodes are used to define the controls contained in the interface. A node corresponds to a control or attribute in the interface. After parsing and rendering, the node is presented as user-visible content.
[0085] The most common form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operation that is displayed in a graphical manner. It can be an icon, window, control or other interface element displayed on the display screen of an electronic device, where a control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets and other visual interface elements.
[0086] Video Templates
[0087] A video template can be understood as a video effect template, i.e., a template used to achieve various special effects for a video. For example, a video template includes style and music. The style here can be a filter, i.e., the video is toned by applying a filter. A filter is a type of video special effect, used to achieve various special effects for a video. Optionally, the style here can also be video effects such as fast forward and slow forward. Optionally, the style can also be a transition effect, a photo frame, a sticker, a special effect (such as twinkling stars), and the like.
[0088] The electronic device is configured with multiple types of video templates, each type of video template includes at least one video template, different types of video templates correspond to different video effects, and different video templates of the same type correspond to different video effects. For example, the electronic device can be configured with video templates of the types of movies, food, travel, and popular. Taking the movie type as an example, the video templates of the movie type include templates with various theme names such as "Our Good Times" and "Return to the Mountains". In some scenarios, the various video templates in the electronic device can be displayed on the electronic device for the user to select a suitable template for the video, so that the generated video effect is the same as the video effect of the template.
[0089] Figure 1 is a schematic diagram of a set of GUIs presenting video templates in an electronic device (such as a mobile phone) provided in an embodiment of the present application. Figure 1 In (a), the electronic device displays a large picture interface, and the user browses the video large picture through the large picture interface. The large picture interface includes a video 111 and a control 112. The control 112 is used to trigger the mobile phone to process the video using the video template. For example, the control 112 is Figure 1 The user clicks the control 112, and the following is displayed: Figure 1 The preview interface shown in (b) in FIG. The preview interface includes a video 111 and a template list 113. The template list 113 includes multiple template options. The multiple template options include options for multiple types of video templates. One template option corresponds to a type of video template. For example, the multiple template options include template options of recommendation, popular, food, movie, travel and other types. Each type of video template has multiple theme video templates. Taking the popular type of video template as an example, the user clicks on the popular type of template option 114. The electronic device responds to the user's operation of clicking on the popular type of template option 114 and displays video templates of multiple themes in the popular type of video template below the multiple template options, such as video templates of themes such as "Beautiful Moments", "Year-end Summary", "Fragmented vlog", "On the Road", and "Fragments of Life". It can be understood that scrolling the template list 113 horizontally can display more video templates. Users select different video templates, and films with different video effects can be generated based on the video 111. For example, the user selects the "Beautiful Moments" video template. The electronic device responds to the user's selection and the film effect formed is consistent with the video effect corresponding to the "Beautiful Moments" video template, such as Figure 1 As shown in (c), the finished film has effects such as a dark gray filter and "Beautiful Moment" stickers.
[0090] Each video template corresponds to a template information, which is used to indicate the video effect and description information of the video template. Exemplarily, the template information of the video template can be saved in the public resource path in json format, and each video template configured by the electronic device corresponds to an ID, which can uniquely indicate the video template, and the template information of the video template can be determined by the ID of the video template.
[0091] Movie Mode
[0092] Movie mode is a shooting mode related to movie themes. In this mode, the image displayed by the electronic device can give the user a sensory effect of watching a movie. In movie mode, controls for multiple functions can be provided, and the user can trigger the corresponding functions through the controls. For example, the multiple functions may include any combination of a look up table (LUT) function, a high-gynamic range (HDR) function, a logarithm (LOG) function, a slow motion shooting function, a timed shooting function, etc.
[0093] For the LUT function, the electronic device can provide multiple LUT templates related to movie themes, and users can use these LUT templates to obtain images or videos with adjusted tones, the tones of which are similar or identical to the tones of the movie. These LUT templates can change the color values of the preview image so that the display effect of the preview image is similar to that of the movie.
[0094] HDR refers to the rendering technology of the screen and is a video format for shooting videos. Compared with ordinary images, the video obtained by turning on the HDR function can provide more dynamic range and image details, and can better reflect the visual effects in the real environment. In an embodiment of the present application, the video obtained by turning on the HDR function can be described as a video in HDR format, referred to as HDR video. In addition, the HDR function can also be expressed as 4K HDR mode, and the 4K HDR mode can also be expressed as high dynamic lighting rendering mode and high resolution mode.
[0095] LOG is another video format. The video obtained by turning on the LOG function (abbreviated as LOG video) and the finished film are all low-saturation, low-contrast color original films. For example, the LOG video appears as a gray film. In the embodiment of the present application, the video obtained by turning on the LOG function can be described as a video in LOG format, referred to as LOG video. In addition, the LOG function can also be expressed as a LOG mode.
[0096] Figure 2 is a schematic diagram of a set of GUIs for an electronic device provided in an embodiment of the present application to shoot a video in movie mode. Figure 2 In (a), the electronic device can detect a user's touch operation on the camera application, and in response to the operation, the electronic device displays a Figure 2 The photo taking interface shown in (b) in FIG.
[0097] refer to Figure 2 In (b), the photo taking interface may include: a preview interface 127, a shooting mode list 129, and a shutter control 126. The preview interface 127 displays the image captured by the camera in real time. In addition, the preview interface 127 includes multiple function options, including a slow motion option 121, a LOG option 122, an HDR option 123, a LUT option 124, and a flash option 125. The multiple function options can detect the user's touch operation and, in response to the operation, turn on or off the corresponding shooting function, such as a slow motion function, an HDR function, a flash function, and a LUT function. One or more shooting mode options may be displayed in the shooting mode list 129, and the one or more shooting mode options may include: a portrait mode option, a video mode option, a photo mode option, a movie mode option, a professional option, and the like. The user manually clicks on the movie mode option, and the electronic device detects the user's operation on the movie mode option and turns on the movie mode. When the movie mode is turned on, the electronic device displays a prompt message 128 "horizontally shooting is more cinematic". The user rotates the electronic device horizontally, and when the electronic device detects that the phone has been rotated horizontally, the following is displayed. Figure 2 The shooting interface shown in (c) in the figure. Figure 2 In (c), the user clicks the shutter control 126 to start shooting in movie mode.
[0098] In one example, Figure 2 In (b) or (c) of FIG. 1 , the LOG function in the movie mode can be turned on to shoot a movie mode video in the LOG mode, so that the movie mode video shot has the LOG function. Figure 2 In (b) or (c) of FIG. 1 , the HDR function can be turned on in the movie mode to shoot the movie mode video in the HDR mode, so that the movie mode video shot has the HDR function. Figure 2 In (b) or (c), the LOG function and the HDR function in the movie mode can be turned on to shoot the movie mode video in the LOG mode and the HDR mode, so that the movie mode video shot has the LOG function and the HDR function.
[0099] It should be understood that Figure 2 The various functions in the movie mode shown are only for illustrative purposes. For example, any one of the above-mentioned LOG function and HDR function may be provided in the movie mode, or the LOG function and HDR function may not be provided in the movie mode.
[0100] For videos shot in the movie mode, illustratively, a movie mode video album may be automatically generated in the electronic device to facilitate users to search for videos shot in the movie mode. Figure 3 is a schematic diagram of the GUI of the photo album provided in the embodiment of the present application, refer to Figure 3 The album GUI includes multiple types of files, including video files of "My Movies" 131. The videos in "My Movies" 131 are all videos in movie mode.
[0101] For videos shot in LOG mode, for example, the electronic device may automatically generate a video file in LOG mode, so that the user can find the video shot in LOG mode. Figure 3 The album GUI includes video files of “LOG video” 132, and the videos in “LOG video” 132 are all videos in LOG mode.
[0102] For videos shot in HDR mode, for example, the electronic device may automatically generate a video file in HDR mode, so that the user can find the video shot in HDR mode. Figure 3 The GUI of the album includes video files of “HDR Video” 133, and the videos in “HDR Video” 133 are all videos in HDR mode.
[0103] To facilitate identification of different types of videos, different identifiers may be provided for different types. Figure 4 is a schematic diagram of a photo GUI provided in an embodiment of the present application. Figure 4 The photo GUI includes the pictures or videos that have been taken, and the videos include labels for identifying the categories of the videos. For example, the lower left corners of videos 141 and 142 include labels for identifying HDR videos, and the lower left corner of video 143 includes a label for identifying LOG videos. Users can easily distinguish different types of videos based on these labels.
[0104] In some embodiments, LOG mode and / or HDR mode may be functional modes specific to movie mode. Based on this, the user can not only know that the video format of the video is HDR and / or LOG through "HDR video", "LOG video", an identifier for identifying HDR, and an identifier for identifying LOG, but also know that the video is a movie mode video, that is, that the video is a movie mode video shot in HDR and / or LOG mode.
[0105] It should be understood that the method for creating a video in the embodiment of the present application can be applied to various electronic devices that support video creation. For example, the electronic device can be a mobile phone, a smart screen, a tablet computer, a wearable device, a car device, an augmented reality (AR) device, a virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, etc.
[0106] Figure 5 FIG. 3 is a schematic diagram showing the structure of an electronic device 300 provided in an embodiment of the present application. Figure 5 The electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display screen 394, and a subscriber identification module (SIM) card interface 395. The sensor module 380 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0107] It should be noted that Figure 5 The structure shown does not constitute a specific limitation on the electronic device 300. In other embodiments of the present application, the electronic device 300 may include Figure 5 The electronic device 300 may include more or fewer components than those shown. Figure 5 A combination of some of the components shown, or the electronic device 300 may include Figure 5 Subassemblies of some of the components shown. Figure 5 The components shown may be implemented in hardware, software, or a combination of software and hardware.
[0108] The processor 310 may include one or more processing units. For example, the processor 310 may include at least one of the following processing units: an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and a neural-network processing unit (NPU). Among them, different processing units may be independent devices or integrated devices. In some embodiments, the processor 310 may execute any method for creating a video proposed in the embodiments of the present application. For example, the processor 310 automatically identifies and matches a video template of a movie type according to the type of material selected by the user, and recommends to the user a finished film generated based on the video template of the movie type, so that the video effect of the finished film is the same as the video effect corresponding to the video template of the movie type. For details about any method for generating a created video proposed in the embodiments of the present application executed by the processor 310, please refer to Fig.26 The relevant content will not be repeated here.
[0109] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0110] The processor 310 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may store instructions or data that the processor 310 has just used or cyclically used. If the processor 310 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 310, and thus improves the efficiency of the system.
[0111] Figure 5 The connection relationship between the modules shown is only a schematic illustration and does not constitute a limitation on the connection relationship between the modules of the electronic device 300. Optionally, the modules of the electronic device 300 may also adopt a combination of multiple connection modes in the above embodiments.
[0112] The electronic device 300 can realize the display function through the GPU, the display screen 394 and the application processor. The GPU is a microprocessor for image processing, which connects the display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs, which execute program instructions to generate or change display information.
[0113] Display screen 394 can be used to display images or videos. Display screen 394 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light emitting diode (FLED), a mini light emitting diode (Mini LED), a micro light emitting diode (Micro LED), a micro OLED (Micro OLED) or a quantum dot light emitting diode (QLED). In some embodiments, the electronic device 300 may include 1 or N display screens 394, where N is a positive integer greater than 1. In some embodiments, when a user views an image or video, display screen 394 can be used to display these images or videos. In other embodiments, display screen 394 can be used to display a film generated by an electronic device based on a template of a movie type, and the film has a movie-like style.
[0114] The electronic device 300 can realize the shooting function through the ISP, the camera 393, the video codec, the GPU, the display screen 394 and the application processor.
[0115] The camera 393 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard red green blue (RGB), YUV or other format. In some embodiments, the electronic device 300 may include 1 or N cameras 393, where N is a positive integer greater than 1. In an embodiment of the present application, the processor 310 can automatically match a movie-type video template for the video shot by the camera 393 in movie mode, and recommend a finished film generated based on the movie-type video template to the user.
[0116] The electronic device 300 can implement audio functions, such as music playback and recording, through the audio module 370, the speaker 370A, the receiver 370B, the microphone 370C, the headphone jack 370D, and the application processor.
[0117] Figure 6 3 is a software structure diagram of the electronic device 300 provided in the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, the hardware abstraction layer, and the kernel layer.
[0118] The application layer may include a series of application packages. For example, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0119] The application framework layer provides an application programming interface (API) and a programming framework for the applications of the application layer. The application framework layer includes some predefined functions. Exemplarily, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.
[0120] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.
[0121] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0122] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0123] The system library can include multiple functional modules, such as surface manager, media libraries, audio and video processing libraries, etc.
[0124] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0125] The hardware abstraction layer is an abstract structure between the kernel layer and the system library. The hardware abstraction layer can be a package of hardware drivers, providing a unified interface for the calls of upper-layer applications. Exemplarily, the hardware abstraction layer can include: audio module, video module, hardware configuration module, etc.
[0126] The kernel layer is a layer between hardware and software, including various drivers. Exemplarily, the kernel layer may include display drivers, camera drivers, audio drivers, sensor drivers, etc. It should be understood that the embodiments of the present application are only illustrated by the Android system as an example. In other operating systems (such as Windows systems, IOS systems, etc.), as long as the functions implemented by each functional module are similar to the embodiments of the present application, the solutions of the present application can also be implemented.
[0127] It should be noted that the method for creating a video in the embodiment of the present application can be implemented in multiple software architecture layers of an electronic device. For example, an application program (e.g., a gallery, etc.) related to a video or picture in the application layer of an electronic device can trigger a display screen image or video; for another example, a display driver in the kernel layer can control the display screen to power on, display an image or video, etc. based on instructions from the application layer. The software level for implementing the method for creating a video in the present application is not specifically limited in the embodiment of the present application.
[0128] It should be noted that although the embodiments of the present application are described using the Android system as an example, its basic principles are also applicable to electronic devices based on operating systems such as iOS, Windows, and Hongmeng.
[0129] The embodiment of the present application provides a method for creating a video, which can be applied to electronic devices such as mobile phones and tablets that support video creation. In this method, the electronic device can automatically identify and match the video template of the movie type according to the material selected by the user, and recommend the finished film generated based on the video template of the movie type to the user, so that the video effect of the finished film is the same as the video effect corresponding to the video template of the movie type, that is, the finished film has a movie-like style, or the finished film is a movie-like video, wherein the material selected by the user meets the matching conditions of the movie-like video. In this way, based on the material selected by the user, the video template of the movie type can be more accurately and intelligently matched, so that the video effect of the finished film formed based on the material is more in line with the movie-like video, and the video effect is better; and the video effect of the finished film is close to the actual needs of the user, reducing the probability that the user may need to try multiple times to select a more matching movie-type video template by himself. In summary, not only the video effect of the finished film is improved, but also the actual needs of the user can be met, and the intelligence and efficiency of video creation are improved overall, thereby improving the user experience.
[0130] In an embodiment of the present application, the matching condition of the movie-like video may be any of the following conditions, wherein the material may be an image or a video.
[0131] Condition 1: The material selected by the user is a video shot in movie mode. For a description of videos shot in movie mode, please refer to the above description of Figures 2 to 4 The relevant description will not be repeated here.
[0132] It can be understood that when the material is a video shot in movie mode, it means that the user himself wants the video to present a cinematic style. Therefore, matching the video shot in movie mode with a movie-type video template not only has a good film effect, but also better meets the actual needs of users.
[0133] Condition 2: The frame type of the material selected by the user is the same frame type. For example, the frame types of the materials are all horizontal, vertical or square. The frame ratio of the horizontal frame can be 16:9, 21:9, 4:3 and other ratios, the frame ratio of the vertical frame can be 9:16, 9:21, 3:4 and other ratios, and the frame ratio of the square frame is 1:1. It can be understood that the material here can be an image or a video. The frame ratio indicates the aspect ratio of the material.
[0134] It can be understood that when the frame type of the material is the same-directional frame, it is convenient to process the material when a film needs to be generated from multiple materials, and the film-like visual effect formed by the materials of the same-directional frame is also better.
[0135] Condition 3: The frame type of the material selected by the user is a horizontal frame. It can be understood that the material here can be an image or a video.
[0136] It is understandable that, since the horizontal frame material itself has a more cinematic feel, therefore, when the frame type of the material is horizontal, matching the horizontal frame material with a movie-type video template will result in a better cinematic feel and a better film effect.
[0137] Condition 4: The material selected by the user is an HDR video or a LOG video shot in movie mode. Here, the HDR video is a video obtained by turning on the HDR function, which can also be described as a video in HDR format. The LOG video is a video obtained by turning on the LOG function, which can also be described as a video in LOG format. For details about HDR video and LOG video, please refer to the relevant description above and will not be repeated here.
[0138] It can be understood that when the material is an HDR video or LOG video shot in movie mode, it means that the user has made special processing on the video through the device itself and wants the video to present a movie style. Therefore, matching the HDR video or LOG video shot in movie mode with a movie-type video template not only has a good film effect, but also better meets the actual needs of users.
[0139] Condition 5: The material is a storyboard video.
[0140] It can be understood that storyboard video itself is a common video material in film or video production. Therefore, when the material is a storyboard video, matching the storyboard video with a video template of the film type will also produce a good film effect.
[0141] In the embodiment of the present application, in any scenario, any of the above conditions can be used to determine whether the material selected by the user meets the matching condition of the movie-like video, and the embodiment of the present application does not make any limitation. However, in order to better improve the user experience, different conditions can be used to match the movie-type video template in different scenarios, which is described in detail below.
[0142] In the following, the method of the embodiment of the present application is described in detail with reference to the accompanying drawings and taking the electronic device as a mobile phone as an example. Among them, the method of the embodiment of the present application can be applied to the scene of creating a video. The material to be processed selected by the user can be a video or image taken by a mobile phone, or an image or video downloaded from the Internet or stored in the cloud.
[0143] Figure 7 It is a schematic diagram of a set of GUIs for the process of creating videos using a mobile phone provided in an embodiment of the present application.
[0144] The user clicks the gallery icon. When the mobile phone detects that the user clicks the gallery icon on the desktop, the gallery application can be opened and the following information can be displayed: Figure 7 GUI shown in (a) in .
[0145] refer to Figure 7 The GUI in (a) is the main interface of the "Photo" category in the gallery application. The main interface displays materials (images or videos) in the "Photo" category. The main interface can also be called a photo grid interface. The user long presses any material (such as material 721). In response to the user's long press operation, the mobile phone can display the following Figure 7 The GUI shown in (b1) in FIG.
[0146] refer to Figure 7 The GUI in (b1) in the figure can be understood as a material selection interface, including multiple materials and control 73 for the user to select. Among them, the materials displayed in the material selection interface are all thumbnails. Control 73 is used to trigger the mobile phone to make a film based on the material selected by the user. For example, control 73 can be a control such as "One-click Blockbuster" shown in the figure. The user can perform an operation on control 73. For example, the operation can be a click operation, a sliding operation, a long press operation, etc. on control 73.
[0147] exist Figure 7 In (b1), the user selects at least one material (for example, material 721, material 722, and material 723) and performs an operation on control 73. In response to the user's selection of the above-mentioned at least one material and the user's operation on control 73, the mobile phone matches the video template according to the at least one material. When at least one material meets the matching conditions of the film-like video, the at least one material is automatically matched with a video template of the film type, and a video template of the film type (referred to as the first video template) is used for the at least one material. In other words, the video effect corresponding to the first video template of the film type is added to the at least one material to generate a first film, and the video effect of the first film obtained is the same as the video effect corresponding to the first video template of the film type. When at least one material includes multiple materials, a video is generated based on the at least one material, and the first video template of the film type is used for the video to generate a first film. When at least one material includes one material (image or video), the first video template of the film type can be directly used for the one material to generate the first film. When at least one material does not meet the matching conditions of the film-like video, the at least one material is randomly matched with a video template of any type. The video template of any type can be as follows Figure 1 Video templates shown include, for example, food type, travel type, party type, movie type, etc.
[0148] It is understood that the mobile phone can use any of the above matching conditions to match the video template to at least one material selected by the user without any limitation. Figure 7 In the grid-type multi-select material selection interface shown in (b1), the user may select multiple materials to make a film, and multiple materials need to meet the matching conditions. Therefore, in this case, for example, condition 1 or condition 2 can be used as the matching condition for the movie-like video. The matching conditions are relatively loose, which is conducive to the generation of movie-like videos.
[0149] exist Figure 7 In (b1), the user selects material 721, material 722, and material 723, and performs an operation on control 73. In response to the user's selection of the above three materials and the user's operation on control 73, the mobile phone matches the video template according to the three materials selected by the user. When the three materials all meet the matching conditions of the movie-like video, the mobile phone automatically matches the movie-type video template for the three materials, generates video 1 based on the three materials, uses the first movie-type video template for the video 1, or adds the video effect corresponding to the first movie-type video template for the video 1, generates a finished film with a movie-like feel, and displays it as shown in FIG. Figure 7 GUI shown in (c) in FIG.
[0150] refer to Figure 7 The GUI in (c) is a preview interface 76, which plays a film P1 (an example of a first film). The video effect of the film P1 is the same as the video effect corresponding to the first video template of the movie type, so that the film P1 has a movie-like effect.
[0151] In another embodiment, continue to refer to the figure user long press Figure 7 In response to a long press operation by the user, the mobile phone may display the following: Figure 7 GUI shown in (b2) in the reference Figure 7 The GUI of (b2) in FIG. 1 can be understood as a material selection interface, including multiple materials and multiple function options for the user to select, and the multiple function options include the "create" option 74. The user selects material 721, material 722, and material 723, and clicks the "create" function option 74. In response to the user's operation on the "create" function option 74, the following is displayed: Figure 7 The GUI shown in (b3) in the reference Figure 7 The GUI of (b3) in the figure includes a menu bar corresponding to the "Create" function, the menu bar includes options of one-click blockbuster, free creation and splicing functions, the user performs an operation on option 75 of the "One-click blockbuster" function, and the operation can be a click or a long press of option 75 of the "One-click blockbuster" function. The mobile phone responds to the user's selection of the above three materials and the user's operation on option 75 of the "One-click blockbuster" function, and matches the video template according to the three materials selected by the user. When the three materials all meet the matching conditions of the movie-like video, the mobile phone automatically matches the movie-type video template for the three materials, generates a video 1 based on the three materials, uses the first video template of the movie type for the video 1, or adds the video effect corresponding to the first video template of the movie type to the video 1, generates a first finished film with a movie-like feel, and displays as shown. Figure 7 GUI shown in (c) in FIG.
[0152] Figure 8 is a schematic diagram of another set of GUIs for the process of creating a video on a mobile phone provided in an embodiment of the present application. Figure 7 The difference of the GUI shown is that, in the material selection interface, each material is marked with a frame identifier for identifying the frame type of the material, and the frame type includes at least one of a horizontal frame, a vertical frame, and a square frame. In this way, the user can quickly determine the frame type of the material based on the frame identifier of the material, which helps the user to purposefully select materials of certain specific frame types.
[0153] exist Figure 7 In the GUI shown in (a) of FIG. 1 , the user long presses any material (e.g., material 721), and in response to the user's long press operation, the mobile phone may display the following Figure 8 GUI shown in (a) in .
[0154] refer to Figure 8 The GUI in (a) of FIG. 8 can be a material selection interface, including multiple materials and controls 83 for the user to select. Each material is marked with a frame mark, so that the user can quickly determine the frame type of the material based on the frame mark of the material, which helps the user to purposefully select materials of certain frame types. Figure 8 In (a), for example, the upper left corner of material 824 is marked with a square frame mark, indicating that the frame type of the material is a square frame, and the frame ratio of the positive frame is 1:1; for another example, the upper left corner of material 825 is marked with a vertical frame mark, indicating that the frame type of the material is a vertical frame, and the frame ratio of the vertical frame can be 9:16, 9:21, 3:4 and other ratios; for another example, the upper left corner of material 724 is marked with a horizontal frame mark, indicating that the frame type of the material is a horizontal frame, and the frame ratio of the horizontal frame can be 16:9, 21:9, 4:3 and other ratios.
[0155] The user selects horizontally sized materials (for example, material 821, material 822, and material 823), and performs an operation on control 83. In response to the user selecting the above three materials and the user's operation on control 83, the mobile phone matches the video template according to the three materials selected by the user. When the above three materials all meet the matching conditions of the movie-like video, the mobile phone automatically matches the movie-type video template for the three materials, generates video 1 based on the three materials, uses the first movie-type video template for video 1, or adds the video effect corresponding to the first movie-type video template for video 1, generates a first film with a movie-like feel, and displays it as shown. Figure 8 GUI shown in (b) in .
[0156] If the matching conditions are the above conditions 2 and 3, and the above three materials meet condition 2 or condition 3, the mobile phone automatically matches a video template of the movie type for the three materials.
[0157] If the matching condition is condition 1 or condition 4 above, and the above three materials are all horizontal-frame materials, and if the above three materials are all videos shot in movie mode, since the horizontal-frame materials themselves are more cinematic, and the three materials shot in movie mode are more in line with the actual needs of users, the first film finally generated has a strong cinematic feel and is more in line with user needs.
[0158] refer to Figure 8 The GUI in (b) is a preview interface 84, which plays a film P1 (an example of a first film). The video effect of the film P1 is the same as the video effect corresponding to the first video template of the movie type, so that the film P1 has a movie-like effect.
[0159] Fig. 9 is a schematic diagram of another set of GUIs for the process of creating a video on a mobile phone provided in an embodiment of the present application. Figure 8 The GUI shown differs in that Fig. 9 In (a), the user selects materials with vertical frames (for example, material 921, material 922, and material 923), and performs an operation on control 93. In response to the user's selection of the above three materials and the user's operation on control 93, the mobile phone matches the video template according to the three materials selected by the user. When the above three materials all meet the matching conditions of the movie-like video, the mobile phone automatically matches the movie-type video template for the three materials, generates video 1 based on the three materials, uses the first movie-type video template for the video 1, or adds the video effect corresponding to the first movie-type video template for the video 1, generates a first film with a movie-like feel, and displays it as shown. Fig. 9 The GUI shown in (b) includes a sheet P2 (another example of the first sheet).
[0160] If the matching condition is condition 3 above, and the above three materials meet condition 3, the mobile phone automatically matches a video template of the movie type for the three materials.
[0161] If the matching condition is condition 1 or condition 4 above, and the above three materials are all materials with vertical frames, and if the above three materials are all videos shot in movie mode, since the frame types of the three materials are all in the same direction, it is convenient to process the materials when it is necessary to generate a film from multiple materials, and the film-like visual effect formed by the materials with the same direction frame shot in movie mode is also very good.
[0162] Figures 10 to 13 3 sets of GUIs for the process of creating videos on a mobile phone provided in the embodiment of the present application are schematic diagrams. Figures 7 to 9 The difference between the two is the way to enter the pixel selection interface. Figures 10 to 13 In the gallery, enter the material selection interface through the "One-click Blockbuster" editing entrance.
[0163] refer to Fig.10 The GUI in (a) is the main interface of the "Create" category in the gallery application. The main interface displays multiple editing entrances, including the editing entrance 101 of "One-click Blockbuster". The user clicks the editing entrance 101 of "One-click Blockbuster", and the mobile phone detects the user's operation on the editing entrance 101 of "One-click Blockbuster" and displays the following Fig.10 GUI shown in (b) in .
[0164] refer to Fig.10 The GUI in (b) is a material selection interface, including multiple materials for the user to select and a control 102, and the control 102 is used to switch between different material selection interfaces. The user clicks the control 102, and the mobile phone detects the user's operation of clicking the control 102 and displays the following Fig.10 The GUI shown in (c1), (c2) or (c3).
[0165] refer to Fig.10 The GUI of (c1) in the figure is another material selection interface, including multiple types of files in the album, each type of file including at least one material. The multiple types of files include, for example, "My Movies" 1031, "LOG Videos" 1032, "HDR Videos" 1033, "WeChat", "Screen Recording" and other types of files. Among them, the videos in "My Movies" 1031 are all videos shot in movie mode, the videos in "LOG Videos" 1032 are all videos shot in movie mode in LOG mode, and the videos in "HDR Videos" 1033 are all videos shot in movie mode in HDR mode. The user clicks on a file in "My Movies" 1031, and a screen like this is displayed. Fig.10 The GUI shown in (d1) in FIG.
[0166] refer to Fig.10 The GUI of (d1) in the figure displays materials in a file of "My Movies". The user selects three materials and performs an operation on a control 104 that displays, for example, "One-click Blockbuster". In response to the user selecting the three materials and the user operating the control 104, the mobile phone matches the video template according to the three materials selected by the user. When the three materials meet the matching conditions of the movie-like video, the mobile phone automatically matches the movie-type video template for the three materials, generates a video 1 based on the three materials, uses the first movie-type video template for the video 1, or adds the video effect corresponding to the first movie-type video template for the video 1, generates a first finished film with a movie-like feel, and displays the video as shown in the figure. Fig.10 GUI shown in (e) in .
[0167] If the matching condition is condition 1 above, the user can enter the interface showing multiple types of files in the album through operation. If a video has been shot in movie mode before, a "My Movie" file will be automatically generated. The user can directly select any material in the "My Movie" file to generate a film with a strong sense of film, providing the user with an interface that is easy to select a video in movie mode, improving the user experience. If the matching condition is condition 4 above, it also effectively increases the probability of users selecting a video in movie mode shot in HDR mode or LOG mode, thereby increasing the probability of generating a film with a sense of film.
[0168] refer to Fig.10 The GUI of (c2) in Fig.10 The GUI of (c2) is the same as that of (c2), except that when the user clicks on the file of "LOG video" 1032, the following is displayed: Fig.10 The GUI shown in (d2) in the reference Fig.10 The GUI of (d2) in the figure displays the materials in the file of "LOG video". The user selects three materials and performs an operation on the control 104 that displays "One-click blockbuster". In response to the user's selection of the above three materials and the user's operation on the control 104, the mobile phone matches the video template according to the three materials selected by the user. When the above three materials all meet the matching conditions of the movie-like video, the mobile phone automatically matches the movie-type video template for the three materials, generates a first film with a movie-like feel, and displays the following. Fig.10 GUI shown in (e) in .
[0169] refer to Fig.10 The GUI of (c3) in Fig.10 The GUI of (c3) is the same as that of (c4) in FIG. 1, except that when the user clicks on the file of "HDR video" 1033, the following is displayed: Fig.10 The GUI shown in (d3) in the reference Fig.10 The GUI of (d3) in the figure displays materials in a file of "HDR video". The user selects three materials and performs an operation on a control 104 that displays, for example, "One-click blockbuster". In response to the user selecting the three materials and the user operating the control 104, the mobile phone matches the video template according to the three materials selected by the user. If the three materials all meet the matching conditions of the movie-like video, the mobile phone automatically matches the movie-type video template for the three materials, generates a first film with a movie-like feel, and displays the following. Fig.10 GUI shown in (e) in .
[0170] If the matching condition is condition 4 above, the user can enter the interface displaying multiple types of files in the album through operation. In the case of a movie mode video previously shot in LOG mode or HDR mode, a "LOG video" or "HDR video" file will be automatically generated. The user can directly select any material in the "LOG video" or "HDR video" file to generate a film with a strong sense of movie, providing the user with an interface for convenient selection of movie mode videos, thereby improving the user experience.
[0171] refer to Fig.10 The GUI of (e) is a preview interface 105, which plays a film P1 (an example of the first film). The video effect of the film P1 is the same as the video effect corresponding to the video template of the movie type, so that the film P1 has a movie-like effect.
[0172] Fig.11 It is a set of GUIs for entering the editing entrance of "One-click Blockbuster" in the gallery provided in the embodiment of the present application.
[0173] refer to Fig.11 The GUI in (a) is the main interface of the "Create" category in the gallery application. The main interface displays multiple editing entries, including the "Cut" editing entry 111. The user clicks the "Cut" editing entry 111, and the mobile phone detects the user's operation on the "Cut" editing entry 111 and displays the following Fig.11 The GUI shown in (b) in the reference Fig.11 The GUI of (b) is the main interface of the editing, including the editing entry 112 of "One-click Blockbuster". When the user clicks the editing entry 112 of "One-click Blockbuster", the mobile phone detects the user's operation on the editing entry 112 of "One-click Blockbuster" and may display the following Fig.10 The GUI shown in (c1), (c2) or (c3).
[0174] Figure 12 to Figure 14 Schematic diagrams of several other GUIs for creating videos provided in the embodiments of the present application. Figures 7 to 11 The difference is that Figures 7 to 11 The diagram shows the process of creating a video by selecting at least one material (image or video) in the material selection interface of the grid. Figure 12 to Figure 14 The diagram shows the process of processing a currently browsed video in the video large picture interface to create a video.
[0175] It is understandable that for example Figure 12 to Figure 14 In the embodiment shown in which a currently browsed video is processed in a large video image interface to create a video, a user selects a video, and only the type of the video needs to be considered when matching the video template. Therefore, in this case, any one of the above matching conditions can be used to match the video template of the video selected by the user. For a relatively strict condition such as condition 4, it is also easy to implement.
[0176] Fig.12 It is a schematic diagram of another set of GUIs for creating videos provided in an embodiment of the present application.
[0177] refer to Fig.12 The GUI of (a) in FIG. 1 is the main interface of the "Album" category in the gallery application. The main interface includes multiple types of files in the album, and each type of file includes at least one material. The multiple types of files include a file of "My Movie" 121. The user clicks on the file of "My Movie" 121. In response to the user's operation of clicking on the file of "My Movie" 121, the following is displayed: Fig.12 GUI shown in (b) in .
[0178] refer to Fig.12 In the GUI of (b), the GUI displays a video in a file of "My Movies". The user clicks on the video 122. In response to the user clicking on the video 122, the following is displayed: Fig.12 GUI shown in (c) in FIG.
[0179] refer to Fig.12 The GUI of (c) in the figure can be understood as the details interface 123 of the original video, which includes the video 122 to be processed and a control 124 that displays, for example, "One-click blockbuster". The user performs an operation on the control 124. In response to the user's operation on the control 124, the mobile phone matches the video template according to the video 122 selected by the user. When the video 122 meets the matching conditions of the movie-like video, the mobile phone automatically matches the video template of the movie type for the video 122, uses the first video template of the movie type for the video 122, or adds the video effect corresponding to the first video template of the movie type to the video 122, generates a first finished film with a movie-like feel, and displays it as shown in the figure. Fig.12 GUI shown in (d).
[0180] refer to Fig.12 The GUI of (d) is a preview interface 125, which plays a film P1 (an example of the first film). The video effect of the film P1 is the same as the video effect corresponding to the video template of the movie type, so that the film P1 has a movie-like effect.
[0181] It can be understood that if the matching condition is condition 1 above, the user can enter the interface showing multiple types of files in the album through operation. If a video has been shot in movie mode before, a "My Movie" file will be automatically generated. The user can directly select any material in the "My Movie" file to generate a film with a strong sense of film, providing the user with an interface that is convenient for selecting a video in movie mode, improving the user experience. If the matching condition is condition 4 above, it also effectively increases the probability of users selecting a video in movie mode shot in HDR mode or LOG mode, thereby increasing the probability of generating a film with a sense of film.
[0182] Fig.13 It is a schematic diagram of another set of GUIs for creating videos provided in an embodiment of the present application.
[0183] refer to Fig.13 The GUI of (a) in FIG. 1 is the main interface of the "album" category in the gallery application. The main interface includes multiple types of files in the album, and each type of file includes at least one material. The multiple types of files include a file of "LOG video" 131. The user clicks on the file of "LOG video" 131. In response to the user's operation of clicking on the file of "LOG video" 131, the following is displayed: Fig.13 GUI shown in (b) in .
[0184] refer to Fig.13 The GUI of (b) in FIG. 1 shows videos in a file of "LOG videos", and each video includes an identifier for identifying the LOG video. A user clicks on one of the LOG videos 132, and in response to the user clicking on the LOG video 132, a similar Fig.12 GUI of (c) and GUI of (d).
[0185] Fig.14 It is a schematic diagram of another set of GUIs for creating videos provided in an embodiment of the present application.
[0186] refer to Fig.14 The GUI of (a) in FIG. 1 is the main interface of the "Album" category in the gallery application. The main interface includes multiple types of files in the album, and each type of file includes at least one material. The multiple types of files include a file of "HDR video" 141. The user clicks on the file of "HDR video" 141. In response to the user's operation of clicking on the file of "HDR video" 141, the following is displayed: Fig.14 GUI shown in (b) in .
[0187] refer to Fig.14 142, the GUI of (b) displays the videos in the file of "HDR video", and each video includes an identifier for identifying the HDR video. The user clicks on one of the HDR videos 142, and in response to the user clicking on the HDR video 142, a similar Fig.12 GUI of (c) and GUI of (d).
[0188] It can be understood that if the matching condition is condition 4 above, the user can enter into an interface displaying multiple types of files in the album through operation, and in the case of a movie mode video previously shot in LOG mode or HDR mode, a "LOG video" or "HDR video" file will be automatically generated. The user can directly select any material in the "LOG video" or "HDR video" file to generate a finished film with a strong sense of film, providing the user with an interface for convenient selection of movie mode videos, thereby improving the user experience.
[0189] Similarly, in the embodiment where the video includes an identifier for identifying an HDR video or a LOG video, in the above Figure 4 In the GUI of the photo shown, the user can select HDR video 141, HDR video 142 or LOG video 143. In response to the user's operation of selecting a video, the following will be displayed: Fig.12 In the interface shown in (c), after the mobile phone detects that the user clicks on a control 124 such as "One-click Blockbuster", the mobile phone automatically matches a video template of the movie type for the video selected by the user to generate a finished film with a movie feel.
[0190] Before displaying the first film, the electronic device may use a preset aspect ratio to display the first film with a movie feel, so that the overall size of the picture visually seen by the user is relatively uniform, providing a better visual experience.
[0191] In some embodiments, the preset aspect ratio may be a first horizontal aspect ratio or a first vertical aspect ratio, for example, the first horizontal aspect ratio is a 16:9 aspect ratio, and the first vertical aspect ratio is a 9:16 aspect ratio. Both aspect ratios are conventional aspect ratios of videos, and the user's visual experience is good.
[0192] Exemplarily, in implementation, for at least one material selected by the user, the preset aspect ratio may be determined to be the first horizontal aspect ratio or the first vertical aspect ratio based on the ratio of the horizontal aspect ratio to the vertical aspect ratio in the at least one material. For example, the user selects 3 materials, the aspect type of 2 materials is the horizontal aspect ratio, and the aspect type of 1 material is the vertical aspect ratio, and the horizontal aspect ratio accounts for a large proportion, therefore, the preset aspect ratio determined is the first horizontal aspect ratio.
[0193] It should be understood that the preset aspect ratios in the above examples are only for illustrative purposes, and the positive aspect ratio or aspect ratios of other ratios are all acceptable, and no limitation is made here.
[0194] As mentioned above, it is understandable that the horizontal frame is more cinematic, so in the implementation process, Figure 8 As shown, through the frame mark (horizontal, vertical or normal frame mark) marked on the material to identify the frame type of the material, the user is guided to select the horizontal frame material through the horizontal frame mark as much as possible.
[0195] For horizontal frame materials, the aspect ratio of conventional movie frames and video horizontal frames is not necessarily the same. For example, the aspect ratio of conventional movie frames is 21:9, and the aspect ratio of video horizontal frames is 16:9. While satisfying the horizontal frame of the video, it can also allow users to better experience the film-like atmosphere of the film. For example, the two side picture areas in the height direction of the material within a certain frame range can be cropped so that the aspect ratio of the cropped material is the aspect ratio of the movie frame (for example, 21:9). It can be understood that when the aspect ratio of the material is too large or too small, cropping it will affect the actual content of the picture.
[0196] In addition, in order to have a more cinematic feel, for example, a movie-type video template uses a black background. When the aspect ratio of the cropped material is the aspect ratio of the movie aspect ratio (for example, 21:9), black masking areas will be displayed on both sides of the height direction of the cropped material, such as Fig.16 As shown in (b) in .
[0197] For materials with vertical frames, no processing is required, and the entire vertical frame will display the actual picture.
[0198] Fig.15 is a schematic diagram of a vertical frame displayed on a preview interface provided in an embodiment of the present application. Fig.15 , the vertical frame 151 occupies most of the preview interface.
[0199] Fig.16 is a schematic diagram of a horizontal frame displayed on a preview interface provided in an embodiment of the present application. For example, Fig.16 The 16:9 horizontal aspect ratio is shown in Fig.16 In (a), the entire area of the horizontal frame 161 is the display area of the picture. Fig.16 In (b), the horizontal frame 161 includes an area 1611 and two areas 1612. The area 1611 is the display area of the actual picture. For example, the area 1611 is a movie frame with an aspect ratio of 21:9. 1612 is a black masking area. The actual picture of the first film is displayed in the area 1611. Fig.16 In (c), the horizontal frame 161 includes area 1611 and two areas 1612. Area 1611 is the display area of the actual picture, and 1612 is the black masking area. The first piece of actual picture is displayed in area 1611. Here, the frame ratio of area 1611 is smaller.
[0200] for Fig.16 In the cases (b) and (c) in FIG. 1 , it should be understood that the aspect ratio of the first film is still, for example, 16:9, but the aspect ratio of the actual picture in the first film is no longer 16:9, but the aspect ratio corresponding to the area 1611 in the figure, where Fig.16 The actual picture ratio of (b) is a movie picture ratio of, for example, 21:9.
[0201] As mentioned above, in order to satisfy the horizontal aspect ratio of the video and enable users to better experience the film-like atmosphere of the film, the image areas on both sides of the height direction of the material within a certain aspect ratio can be cropped. The following is an explanation of the cropping rules for the material.
[0202] In the embodiment of the present application, when the aspect ratio of the material meets the aspect ratio range, the two sides of the material in the height direction are cropped, so that the aspect ratio of the cropped material is the aspect ratio of the movie frame (for example, 21:9); when the aspect ratio of the material does not meet the aspect ratio range, the material is not cropped, and the side in the height direction or the side in the width direction of the material is kept to occupy the horizontal frame. The aspect ratio range is greater than or equal to the first horizontal aspect ratio and less than the aspect ratio of the movie frame.
[0203] Below, the first horizontal aspect ratio is 16:9, and the movie aspect ratio is 21:9 as an example. Figures 17 to 20 , explain the above clipping rules. Figures 17 to 20 These are schematic diagrams of 16:9 horizontal frames provided in the embodiments of the present application.
[0204] refer to Fig.17 , when the aspect ratio of the material is greater than or equal to 16:9 and less than 21:9, for example Fig.17 The aspect ratio of the material shown in (a) is 16:9, and both sides of the height direction of the material are cropped, such as Fig.17 As shown in (b) in the figure, the aspect ratio of the cropped material is 21:9. Fig.17 As shown in (c) in .
[0205] refer to Fig.18 , when the aspect ratio of the material is less than 16:9, for example Fig.18 The material shown is a 4:3 aspect ratio. The material is not cropped, and the height side of the material is kept to fill the horizontal frame. In this way, the area that does not fill the 16:9 horizontal frame in the length direction will display the black background of the video template, forming a black masking area. It can be understood that this is equivalent to adjusting the material in proportion to the height side of the material to fill the 16:9 horizontal frame.
[0206] refer to Fig.19 and Fig. 20 , when the aspect ratio of the material is greater than or equal to 21:9, the material will not be cropped, and the length of the material will be kept to fill the 16:9 horizontal frame. In this way, the area that does not fill the 16:9 horizontal frame in the width direction will display the black background of the video template, forming a black masking area. Fig.19 The aspect ratio of the material shown is 21:9, which is exactly the aspect ratio of the movie frame. There is no need to adjust the size of the material. Fig. 20 For materials with an aspect ratio greater than 21:9, the length dimension is too large. Adjust the material in proportion so that the length dimension of the material fills the 16:9 horizontal aspect ratio.
[0207] Fig.21 It is a schematic diagram of the GUI of the preview interface of the slice provided in the embodiment of the present application.
[0208] refer to Fig.21 In the GUI of (a), the preview interface includes a finished film display area 211 and multiple function options, and the multiple function options include a template option 212. Assume that based on at least one material selected by the user, a video template of the movie type is matched to the at least one material, and a first finished film with a movie feel is generated, and the finished film display area 211 displays the first finished film. The user clicks the template option 212, and in response to the user's operation, the mobile phone displays the following Fig.21 GUI shown in (b) in .
[0209] refer to Fig.21 In the GUI of (b), the preview interface includes a film display area 211 and a template list 215. The template list 215 includes multiple template options, and the multiple template options include options of multiple types of video templates. One template option corresponds to a type of video template. For example, the multiple template options include template options of video templates of the types of recommendation, popular, food, movies, travel, etc. Each type of video template has video templates of multiple themes. Among them, the video templates of the recommended type are all video templates of the movie type, and the template option 214 of the movie type is located behind the template option 213 of the recommended type. The user clicks the template option 213 of the recommended type, and video templates of multiple themes of the movie type are displayed. Among the video templates of the multiple themes of the movie type, the user can select video templates of different themes of the movie type to add different video effects to the first film and achieve different movie effects.
[0210] Fig. 22 It is another schematic diagram of the GUI of the preview interface provided by the embodiment of the present application, and mainly describes the improvement of the text function in the editing function.
[0211] refer to Fig. 22 In the GUI of (a), the user clicks the edit option 222, and in response to the user's operation, the mobile phone displays the following Fig. 22 GUI shown in (b) in .
[0212] refer to Fig. 22 In the GUI of (b), the preview interface includes an editing interface, and the editing interface includes a text option 223. The user clicks the text option 223, and in response to the user's operation, the mobile phone displays the following Fig. 22 GUI shown in (c) in FIG.
[0213] refer to Fig. 22 In the GUI of (c), the preview interface includes a text editing interface 225, and the text editing interface 225 includes options for multiple functions, and the multiple functions include templates, fonts, styles, flower characters and animation functions. The templates include multiple types of text templates, and the multiple types of text templates include movie-type text templates. The user selects the option 224 of the movie-type text template, and multiple movie-type text templates are displayed. The user can select different movie-type text templates to add different movie-feeling subtitles to the first film to achieve different movie-feeling effects.
[0214] Fig.23 This is another schematic diagram of the GUI of the preview interface of the film provided in the embodiment of the present application, which mainly provides the color adjustment function in the clip function.
[0215] refer to Fig.23 In the GUI of (a), the user clicks on the fragment option 232. In response to the user's operation, the mobile phone displays the following Fig.23 GUI shown in (b) in .
[0216] refer to Fig.23 In the GUI of (b), the preview interface includes a segment interface 236, which includes a plurality of segments and a color adjustment option 233. The user selects a segment and clicks the color adjustment option 233. In response to the user's operation, the mobile phone displays the following Fig.23 GUI shown in (c) in FIG.
[0217] refer to Fig.23 In the GUI of (c), the preview interface includes a color adjustment interface 237, which includes a filter option 234 and an adjustment option. When the filter option 234 is clicked, multiple types of filters are displayed, including a movie-type filter. When the user clicks the movie-type filter option 235, multiple movie-type filters are displayed. In this way, the user can select different movie-type filters to add different movie filters to the first film to achieve different movie-like effects.
[0218] Fig.24 This is another set of GUI schematic diagrams of the process of creating videos on a mobile phone provided in an embodiment of the present application. The difference from the above is that an editing entry of "One-click Movie" is added to the gallery, through which a video template of a movie type can be directly matched to generate a movie-like film.
[0219] refer to Fig.24 The GUI of (a) in FIG. 1 is the main interface of the "Create" category in the gallery application. The main interface displays multiple editing entries, including the editing entry 240 of "One-click Movie". The user clicks the editing entry 240 of "One-click Movie", and the mobile phone detects the user's operation on the editing entry 240 of "One-click Movie", and displays the following Fig.24 GUI shown in (b) in .
[0220] refer to Fig.24 The GUI in (b) can be understood as an introduction interface of the one-key movie function, including text and control 214. The user clicks control 214, and the following is displayed: Fig.24 GUI shown in (c) in FIG.
[0221] refer to Fig.24 The GUI in (c) is a material selection interface, including multiple materials for the user to select and a control 242, and the control 242 is used to trigger the creation of a film-like film. The user selects three materials and clicks the control 242. The mobile phone detects the user's selection of three materials and the click of the control 242, generates a film-like film, and displays the following. Fig.24 GUI shown in (d).
[0222] Fig.25 It is a set of GUIs for entering the editing entrance of "One-click Movie" in the gallery provided by the embodiment of the present application.
[0223] refer to Fig.25 The GUI of (a) in FIG. 1 is the main interface of the "Create" category in the gallery application. The main interface displays multiple editing entries, including the editing entry 251 of "Cut". The user clicks the editing entry 251 of "Cut", and the mobile phone detects the user's operation on the editing entry 251 of "Cut", and displays the following Fig.25 The GUI shown in (b) in the reference Fig.25 The GUI of (b) is the main interface of the editing, including the editing entry 252 of "One-click Movie". When the user clicks the editing entry 252 of "One-click Movie", the mobile phone detects the user's operation on the editing entry 252 of "One-click Movie" and displays the following information: Fig.24 GUI shown in (c) in FIG.
[0224] Fig.26 It is a schematic flowchart of a method 2600 for creating a video provided in an embodiment of the present application.
[0225] In step S2610, the electronic device responds to the user's filming operation on at least one selected material, and matches a movie-type video template for at least one material, if at least one material meets the matching condition of a movie-like video, and the material is an image or a video.
[0226] In step S2620, a first video template of a movie type is used for at least one material to generate a first finished film, and a video effect of the first finished film is the same as a video effect corresponding to the first video template of the movie type.
[0227] The user selects at least one material and performs a film-making operation on the at least one material. In response to the user's operation, the electronic device determines that the at least one material meets the matching conditions of the movie-like video, matches the video template of the movie type for the at least one material, uses the first video template of the movie type for the at least one material, or adds the video effect corresponding to the first video template of the movie type to the at least one material, so that the generated first film-made video effect is the same as the video effect corresponding to the first video template of the movie type.
[0228] When at least one material includes multiple materials, a video can be generated based on the at least one material, and a first video template of a movie type can be used on the video to generate a first finished film. When at least one material includes one material (image or video), a first video template of a movie type can be directly used on the one material to generate a first finished film.
[0229] The above-mentioned movie-type video template represents a type of video template, and the first movie-type video template represents a video template of the movie-type. In implementation, the electronic device can use any one of the movie-type video templates as the first video template for the first finished film.
[0230] In some embodiments, the matching condition of the cinematic video is any one of the following:
[0231] At least one of the clips is a video shot in movie mode;
[0232] At least one of the clips has a one-dimensional frame type.
[0233] At least one material has a landscape aspect ratio.
[0234] At least one of the clips is a high dynamic range (HDR) video or a LOG video shot in movie mode;
[0235] At least one of the assets is a storyboard video.
[0236] For the specific description of the above conditions, please refer to the relevant description above and will not be repeated here.
[0237] In the embodiment of the present application, materials can be selected and the filming operation of the materials can be triggered through the grid multi-select interface.
[0238] In some embodiments, before step S2610, method 2600 further includes:
[0239] The electronic device displays a first interface, which includes a first control and a plurality of materials for selection. The first control is used to trigger the electronic device to produce a film based on at least one material, and the plurality of materials include at least one material.
[0240] In the implementation, the user selects at least one material from multiple materials and performs an operation on the first control, and the electronic device detects the user's selection of at least one material and the operation on the first control, and executes step S2610. Here, the user's operation of forming a film on the selected at least one material includes the user selecting at least one material and operating the first control.
[0241] The first interface can be understood as a material selection interface.
[0242] In one example, the first interface may be Figure 7 In the GUI of (b1), the first control may be, for example, a "one-click blockbuster" control 73.
[0243] In another example, the first interface may be Figure 7 In the GUI of (b3), the first control may be, for example, a "one-click blockbuster" control 75.
[0244] In another example, the first interface may be Figure 8 In the GUI of (a), the first control may be, for example, a "one-click blockbuster" control 83.
[0245] In another example, the first interface may be Fig.10 Among (d1), (d2) and (d3), the first control may be, for example, a “one-click blockbuster” control 104.
[0246] For example, the first interface is a material selection interface for movie mode videos, and the multiple materials are all videos shot in movie mode, such as Fig.10 As shown in (d1) in .
[0247] Exemplarily, the first interface is a material selection interface for HDR videos, and the multiple materials are all HDR videos shot in movie mode, such as Fig.10 As shown in (d2) in .
[0248] Exemplarily, the first interface is a material selection interface for LOG videos, and the multiple materials are all LOG videos shot in movie mode, such as Fig.10 As shown in (d3).
[0249] In the above embodiment, an interface for making a film is provided to the user through a first interface including a first control and a plurality of materials for the user to select. The user can select at least one material and perform an operation on the first control, which can trigger the electronic device to make a film based on the at least one material. The operation is convenient and the user experience is good.
[0250] In some embodiments, the material is marked with a frame mark, which is used to identify the frame type of the material, and the frame type includes at least one of a horizontal frame, a vertical frame, and a normal frame. For a specific description of the frame mark, please refer to the relevant description above, and no further description is given.
[0251] In an embodiment of the present application, the electronic device can also trigger a film-making operation for a currently browsed video in the large video image interface to create a video.
[0252] In some embodiments, step S2610 includes:
[0253] The electronic device displays a second interface, the second interface includes a plurality of materials, and the plurality of materials includes the first video;
[0254] In response to the user clicking on the first video, the electronic device displays a third interface including the first video and a second control;
[0255] In response to the user's operation on the second control, when the first video meets the matching condition of the movie-type video, the electronic device matches the video template of the movie type for the first video.
[0256] For example, the second interface can be Fig.12 (b) GUI, multiple materials are Fig.12 The first video is video 122; or the second interface can be Fig.13 (b) GUI, multiple materials are Fig.13 The first video is video 132; or the second interface can be Fig.14 (b) GUI, multiple materials are Fig.14 The first video in (b) is video 142. The third interface is Fig.12 In the GUI of (c), the second control is control 124.
[0257] For another example, the second interface can be Figure 4 The first video is HDR video 141, HDR video 142 or LOG video 143; the third interface is Fig.12 In the GUI of (c), the second control is control 124. In the above embodiment, the second interface is a large video image interface, and a second control is designed on the interface, which can quickly trigger the electronic device to process the video currently browsed by the user to generate a film, thereby improving the intelligence and efficiency of video processing and providing a good user experience.
[0258] In step S2630, the electronic device displays a preview interface, and the preview interface plays the first film. For example, the preview interface can be Figure 7 GUI in (c).
[0259] In the method for creating a video provided by the embodiment of the present application, the electronic device can automatically identify the material, after the user selects at least one material and performs the filming operation on at least one material, in response to the user's filming operation, identify the material selected by the user, and match the video template of the movie type for at least one material when the at least one material selected by the user meets the matching conditions of the movie-like video, and use the first video template of the movie type for at least one material, and recommend the generated first film to the user through the preview interface, and the video effect of the first film is the same as the video effect corresponding to the first video template of the movie type, that is, the film has a movie-like style, or the first film is a movie-like video. In this way, based on the material selected by the user, the video template of the movie type can be more accurately and intelligently matched, so that the video effect of the film formed based on the material is more in line with the movie-like video, and the video effect is better; and the video effect of the film is close to the actual needs of the user, reducing the probability that the user may need to try multiple times to select a more matching video template of the movie type. In summary, not only the video effect of the film is improved, but also the actual needs of the user can be met, and the intelligence and efficiency of video creation are generally improved, thereby improving the user experience.
[0260] In some embodiments, the preview interface includes a template option; and the method 2600 further includes:
[0261] In response to the user's operation on the template option, the electronic device displays a fourth interface, wherein the fourth interface includes a template list, the template list includes options of recommended video templates, the recommended video templates are all movie-type video templates, and the recommended video templates include multiple movie-type video templates.
[0262] For example, in Fig.21 In the template options are Fig.21 In the template option 212 of (a), the fourth interface is Fig.21 In (b) of the GUI, the template list is Fig.21 In the template list 215 of (b), the option of the recommended type of video template is option 21.
[0263] In the above embodiment, when at least one material selected by the electronic device for the user matches a movie-type video template, the recommended type video templates are all movie-type video templates, and movie-type video templates are recommended to the user through the recommended type options in the template. The user can add different video effects to the first film by selecting movie-type video templates of different themes in the recommended type, thereby achieving different movie-like effects, which is more convenient, further improves the intelligence of the film, and increases the diversity of the film.
[0264] Based on the fourth interface, exemplarily, the electronic device switches the video effect of the first film in response to the user selecting the second video template in the recommended type of video template, so that the video effect of the first film is the same as the video effect corresponding to the second video template, and the second video template is different from the first video template.
[0265] It should be understood that the second video template is a movie-type video template.
[0266] In some embodiments, the preview interface includes an edit option; and, the method 2600 further includes:
[0267] The electronic device displays a fifth interface in response to the user's operation on the editing option, where the fifth interface includes a text option;
[0268] In response to the user's operation on the text option, the sixth interface is displayed, which includes a text editing interface. The text editing interface includes template options. The templates include multiple types of text templates. The multiple types of text templates include movie-type text templates. Movie-type text templates include multiple text templates.
[0269] For example, in Fig. 22 , the editing options are Fig. 22 The fifth interface is the editing option 222 of (a) in Fig. 22 In the GUI of (b), the text options are Fig. 22 In (b) of the text option 223, the sixth interface is Fig. 22 The GUI of (c) in the figure has a text editing interface of Fig. 22 In the text editing interface 225 of (c), the option for the movie-type text template is option 224.
[0270] In the above embodiment, the function of editing the finished film is provided to the user through the editing option, and the text editing interface provided by the editing function provides the user with multiple text templates of movie types, so that the user can add different movie-like subtitles to the first finished film by selecting different text templates of movie types, thereby achieving different movie-like effects, which is more convenient, further improves the intelligence and editability of the finished film, and increases the diversity of the finished film.
[0271] In some embodiments, the preview interface includes a snippet option; and method 2600 further includes:
[0272] The electronic device displays a seventh interface in response to the user's operation on the segment option, where the seventh interface includes a plurality of segments of the first film and a color adjustment option;
[0273] In response to the user selecting a clip and operating the color adjustment option, the eighth interface is displayed, the eighth interface includes a color adjustment interface, the color adjustment interface includes filter options, the filters include multiple types of filters, the multiple types of filters include movie-type filters, and the movie-type filters include multiple filters.
[0274] For example, in Fig.23 In the , the fragment options are Fig.23 The seventh interface is the fragment option 232 of (a) in Fig.23 In (b) of the GUI, the color adjustment options are Fig.23 The eighth interface is the color adjustment option 233 of (b) Fig.23 The GUI in (c) has a color adjustment interface. Fig.23 In the color adjustment interface 237 of (c), the filter options are Fig.23 In option 234 of (c), the option for the movie type filter is option 235.
[0275] In the above embodiment, the fragment option provides the user with the function of processing each fragment of the film, and the color adjustment interface provided by the fragment function provides the user with multiple movie-type filters, so that the user can add different movie filters to each fragment of the first film by selecting different filters of the movie type, and realize different movie filters in the same film, thereby improving the diversity of the film and further improving the intelligence of the film.
[0276] In some embodiments, the aspect ratio of the first film is a preset aspect ratio, and the preset aspect ratio is a first horizontal aspect ratio or a first vertical aspect ratio.
[0277] In one example, the aspect ratio of the first film is a first horizontal aspect ratio; and before displaying the preview interface, the following steps are performed on each material:
[0278] When the aspect ratio of the material meets the aspect ratio range, the electronic device crops both sides of the material in the height direction so that the aspect ratio of the cropped material is the aspect ratio of the movie frame, and the aspect ratio of the movie frame is larger than the first horizontal aspect ratio; when the aspect ratio of the material does not meet the aspect ratio range, the electronic device keeps the sides of the material in the height direction or the sides of the material in the width direction occupying the frame of the first horizontal aspect ratio; the aspect ratio range is greater than or equal to the first horizontal aspect ratio and less than the aspect ratio of the movie frame.
[0279] Here, keeping the height edge of the material or the width edge of the material occupying the frame of the first horizontal aspect ratio means keeping the height edge of the material occupying the height edge of the frame of the first horizontal aspect ratio, or keeping the width edge of the material occupying the width edge of the frame of the first horizontal aspect ratio.
[0280] Exemplarily, a movie-type video template has a black background.
[0281] For a detailed description of the first film and the aspect ratio of the material, please refer to the above description and will not be repeated here.
[0282] In the above embodiment, when at least one material does not meet the matching condition of the movie-like video, a video template of any type is randomly matched to the at least one material. The video template of any type can be as follows: Figure 1 Video templates shown include, for example, food type, travel type, party type, movie type, etc.
[0283] It should be understood that the size of the sequence number of each process in the above embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0284] Above, combined Figures 7 to 26 , the method for creating a video provided by the embodiment of the present application is described in detail, and the following will be combined with Figure 27 to Figure 28 , describing an apparatus and electronic device for creating a video provided according to an embodiment of the present application.
[0285] Fig. 27 2700 is an exemplary block diagram of a device 2700 for creating a video provided in an embodiment of the present application. The device 2700 may be an electronic device or a chip in an electronic device. The device 2700 is used to execute each process and step corresponding to the electronic device in the above method 2600. The device 2700 includes: a processing unit 2710, and the processing unit 2710 is used to execute the following steps:
[0286] In response to a user's operation of forming a film of at least one selected material, if at least one material meets a matching condition of a film-like video, a video template of a film type is matched for at least one material, the material being an image or a video;
[0287] Using a first video template of a movie type for at least one material, generating a first finished film, wherein a video effect of the first finished film is the same as a video effect corresponding to the first video template of the movie type;
[0288] The control display screen displays a preview interface, and the preview interface plays a first completed film.
[0289] Optionally, the matching condition of the movie-like video is any one of the following:
[0290] At least one of the clips is a video shot in movie mode;
[0291] At least one of the clips has a one-dimensional frame type.
[0292] At least one material has a landscape aspect ratio.
[0293] At least one of the clips is a High Dynamic Range (HDR) video or a Logarithmic (LOG) video shot in Cinema mode;
[0294] At least one of the assets is a storyboard video.
[0295] Optionally, the processing unit 2710 is further configured to:
[0296] The display screen is controlled to display a first interface, the first interface includes a first control and a plurality of materials for selection, the first control is used to trigger the electronic device to produce a film based on at least one material, and the plurality of materials include at least one material.
[0297] Optionally, a frame mark is marked on the material, and the frame mark is used to identify the frame type of the material, and the frame type includes at least one of a horizontal frame, a vertical frame, and a normal frame.
[0298] Optionally, the first interface is a material selection interface for movie mode videos, and the multiple materials are videos shot in movie mode; or, the first interface is a material selection interface for HDR videos, and the multiple materials are HDR videos shot in movie mode; or, the first interface is a material selection interface for LOG videos, and the multiple materials are LOG videos shot in movie mode.
[0299] Optionally, at least one material is a first video; and the processing unit 2710 is further configured to:
[0300] Controlling the display screen to display a second interface, the second interface including a plurality of materials, the plurality of materials including the first video;
[0301] In response to the user clicking on the first video, controlling the display screen to display a third interface, where the third interface includes the first video and the second control;
[0302] In response to the user's operation on the second control, when the first video meets the matching condition of the movie-type video, a video template of the movie type is matched for the first video.
[0303] Optionally, the preview interface includes a template option; and the processing unit 2710 is further configured to:
[0304] In response to the user's operation on the template option, the control display screen displays the fourth interface, and the fourth interface includes a template list. The template list includes options of recommended type video templates. The recommended type video templates are all movie type video templates. The recommended type video templates include multiple movie type video templates.
[0305] Optionally, the processing unit 2710 is further configured to:
[0306] In response to the user selecting the second video template in the recommended type of video template, the video effect of the first film is switched so that the video effect of the first film is the same as the video effect corresponding to the second video template, and the second video template is different from the first video template.
[0307] Optionally, the preview interface includes an editing option; and the processing unit 2710 is further configured to:
[0308] In response to the user's operation on the editing option, controlling the display screen to display a fifth interface, the fifth interface including a text option;
[0309] In response to the user's operation on the text option, the control display screen displays the sixth interface, the sixth interface includes a text editing interface, the text editing interface includes template options, the templates include multiple types of text templates, the multiple types of text templates include movie-type text templates, and movie-type text templates include multiple text templates.
[0310] Optionally, the preview interface includes a fragment option; and the processing unit 2710 is further configured to:
[0311] In response to the user's operation on the fragment option, controlling the display screen to display a seventh interface, the seventh interface including a plurality of fragments of the first film and a color adjustment option;
[0312] In response to the user selecting a clip and operating a color adjustment option, the control display screen displays an eighth interface, the eighth interface includes a color adjustment interface, the color adjustment interface includes filter options, the filters include multiple types of filters, the multiple types of filters include movie-type filters, and the movie-type filters include multiple filters.
[0313] Optionally, the aspect ratio of the first film is a preset aspect ratio, and the preset aspect ratio is a first horizontal aspect ratio or a first vertical aspect ratio.
[0314] Optionally, the aspect ratio of the first film is a first horizontal aspect ratio; and the processing unit 2710 is further configured to:
[0315] When the aspect ratio of the material meets the aspect ratio range, the material is cropped on both sides in the height direction, so that the aspect ratio of the cropped material is the aspect ratio of the movie aspect ratio, and the aspect ratio of the movie aspect ratio is greater than the first horizontal aspect ratio;
[0316] When the aspect ratio of the material does not meet the aspect ratio range, the side of the material in the height direction or the side of the material in the width direction is kept to occupy the frame of the first horizontal aspect ratio;
[0317] The aspect ratio range is greater than or equal to the first horizontal aspect ratio and less than the aspect ratio of the movie aspect ratio.
[0318] Optionally, the movie type video template is a black background.
[0319] Optionally, the processing unit 2710 is further configured to: when at least one material does not meet the matching condition of the movie-like video, randomly match at least one material with a video template of any type.
[0320] It should be understood that the processing unit 2710 can be used to execute each step performed by the electronic device in the method 2600. For specific descriptions, please refer to the relevant descriptions above and will not be repeated here.
[0321] In the embodiments of the present application, Fig. 27 The device may also be a chip or a chip system, such as a system on chip (SoC).
[0322] Fig.28 2 is a schematic structural diagram of an electronic device 2800 provided in an embodiment of the present application. The electronic device 2800 is used to execute the corresponding steps and / or processes in the above method embodiment. Fig.28 The electronic device 2800 shown may correspond to Figure 5 An electronic device 300 is shown.
[0323] The electronic device 2800 includes a processor 2810, a transceiver 2820, and a memory 2830. The processor 2810, the transceiver 2820, and the memory 2830 communicate with each other through an internal connection path, and the processor 2810 can implement the functions of the processor 2810 in various possible implementations of the electronic device 2800. The memory 2830 is used to store instructions, and the processor 2810 is used to execute the instructions stored in the memory 2830, or in other words, the processor 2810 can call these stored instructions to implement the functions of the processor 2810 in the electronic device 2800.
[0324] Optionally, the memory 2830 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type. The processor 2810 may be used to execute instructions stored in the memory, and when the processor 2810 executes instructions stored in the memory, the processor 2810 is used to execute the various steps and / or processes of the above-mentioned method embodiment corresponding to the network device or the terminal device.
[0325] The electronic device 2800 is used to execute the various processes and steps corresponding to the electronic device in the above-mentioned method 2600, and the steps executed by the processor 2810 can correspond to the various steps executed by the processing unit 2710 in the device 2700. The specific description refers to the above description and will not be repeated here.
[0326] It should be understood that in the embodiments of the present application, the processor of the above-mentioned device may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0327] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software units in a processor for execution. The software unit can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor executes the instructions in the memory, and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.
[0328] The embodiment of the present application provides a computer program product, when the computer program product is run on a terminal device, the terminal device executes the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above method-related embodiments, and will not be repeated here.
[0329] The embodiment of the present application provides a readable storage medium, the readable storage medium contains instructions, when the instructions are executed in a terminal device, the terminal device executes the technical solution of the above embodiment. The implementation principle and technical effect are similar, and will not be repeated here.
[0330] The embodiment of the present application provides a chip, the chip is used to execute instructions, when the chip is running, the technical solution in the above embodiment is executed. The implementation principle and technical effect are similar, and will not be repeated here.
[0331] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0332] It should be understood that the "embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0333] It should also be understood that in the present application, "when", "if" and "if" all mean that the UE or base station will take corresponding actions under certain objective circumstances, and do not limit the time, nor do they require the UE or base station to make judgments when implementing them, nor do they mean that there are other limitations.
[0334] A person skilled in the art may understand that the various numerical numbers such as first and second involved in the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application, and also indicate the order of precedence.
[0335] In this application, elements expressed in the singular are intended to mean "one or more" rather than "one and only one", unless otherwise specified. In this application, "at least one" is intended to mean "one or more", and "more than one" is intended to mean "two or more", unless otherwise specified.
[0336] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. A can be singular or plural, and B can be singular or plural.
[0337] In this document, the term "at least one of..." or "at least one of..." means all or any combination of the listed items. For example, "at least one of A, B and C" may mean: A exists alone, B exists alone, C exists alone, A and B exist at the same time, B and C exist at the same time, and A, B and C exist at the same time, where A may be singular or plural, B may be singular or plural, and C may be singular or plural.
[0338] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0339] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0340] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0341] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0342] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0343] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0344] The same or similar parts between the various embodiments in this application can refer to each other. In the various embodiments in this application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The above-described implementation methods of this application do not constitute a limitation on the scope of protection of this application.
[0345] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims. In short, the above is only a preferred embodiment of the technical solution of the present application, and is not used to limit the protection scope of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.< / videoview> < / imgview> < / textview>
Claims
1. A method for creating a video, applied to an electronic device, characterized in that: include: In response to a user's operation of forming a film of at least one selected material, if the at least one material satisfies a matching condition of a movie-like video, matching a video template of a movie type for the at least one material, the material being an image or a video; Using the first video template of the movie type for the at least one material, generating a first finished film, wherein the video effect of the first finished film is the same as the video effect corresponding to the first video template of the movie type; displaying a preview interface, wherein the first finished film is played on the preview interface; the preview interface includes template options; In response to the user's operation on the template option, a fourth interface is displayed, the fourth interface including a template list, the template list including options of video templates of recommended types, the video templates of the recommended types are all video templates of the movie type, and the video templates of the recommended types include multiple video templates of the movie type.
2. The method according to claim 1, characterized in that The matching condition of the movie-like video is any one of the following: The at least one material is a video shot in a movie mode; The frame type of the at least one material is a same-direction frame; The frame type of the at least one material is a horizontal frame; The at least one material is a high dynamic range image (HDR) video or a logarithmic LOG video shot in a movie mode; The at least one material is a storyboard video.
3. The method according to claim 1 or 2, characterized in that: In response to the user's operation of forming a film of at least one selected material, before matching the at least one material with a video template of a movie type when the at least one material meets the matching condition of a movie-like video, the method further includes: A first interface is displayed, wherein the first interface includes a first control and a plurality of materials for selection, wherein the first control is used to trigger the electronic device to produce a film based on the at least one material, and the plurality of materials includes the at least one material.
4. The method according to claim 3, characterized in that The material is marked with a frame mark, and the frame mark is used to identify the frame type of the material. The frame type includes at least one of a horizontal frame, a vertical frame, and a normal frame.
5. The method according to claim 3, characterized in that: The first interface is a material selection interface for movie mode videos, and the multiple materials are all videos shot in movie mode; or, The first interface is a material selection interface for HDR videos, and the multiple materials are all HDR videos shot in movie mode; or, The first interface is a material selection interface for LOG videos, and the multiple materials are all LOG videos shot in movie mode.
6. The method according to claim 1 or 2, characterized in that: The at least one material is a first video; and in response to the user's operation of forming a film of the at least one material selected, matching the at least one material with a video template of a movie type when the at least one material meets the matching condition of a movie-like video, comprising: Displaying a second interface, where the second interface includes a plurality of materials, and the plurality of materials includes the first video; In response to a user clicking on the first video, displaying a third interface, wherein the third interface includes the first video and a second control; In response to the user's operation on the second control, when the first video meets the matching condition of the movie-type video, the first video is matched with a video template of the movie type.
7. The method according to claim 1, characterized in that The method further comprises: In response to a user selecting a second video template in the recommended type of video template, the video effect of the first film is switched so that the video effect of the first film is the same as the video effect corresponding to the second video template, and the second video template is different from the first video template.
8. The method according to any one of claims 1, 2, 4, 5 and 7, characterized in that The preview interface includes an editing option; and the method further includes: In response to a user operation on the editing option, displaying a fifth interface, wherein the fifth interface includes a text option; In response to the user's operation on the text option, the sixth interface is displayed, the sixth interface includes a text editing interface, the text editing interface includes template options, the template includes multiple types of text templates, the multiple types of text templates include movie-type text templates, and the movie-type text templates include multiple text templates.
9. The method according to any one of claims 1, 2, 4, 5 and 7, characterized in that The preview interface includes a fragment option; and the method further includes: In response to a user operation on the segment option, displaying a seventh interface, the seventh interface including a plurality of segments of the first film and a color adjustment option; In response to the user selecting a fragment and operating the color adjustment option, an eighth interface is displayed, wherein the eighth interface includes a color adjustment interface, the color adjustment interface includes filter options, the filters include multiple types of filters, the multiple types of filters include movie-type filters, and the movie-type filters include multiple filters.
10. The method according to any one of claims 1, 2, 4, 5 and 7, characterized in that The aspect ratio of the first film is a preset aspect ratio, and the preset aspect ratio is a first horizontal aspect ratio or a first vertical aspect ratio.
11. The method according to claim 10, characterized in that The aspect ratio of the first film is the first horizontal aspect ratio; and before displaying the preview interface, performing the following steps on each material: When the aspect ratio of the material meets the aspect ratio range, the two sides of the material in the height direction are cropped so that the aspect ratio of the material after cropping is the aspect ratio of the film aspect ratio, and the aspect ratio of the film aspect ratio is greater than the first horizontal aspect ratio; When the aspect ratio of the material does not satisfy the aspect ratio range, keeping the edge of the material in the height direction or the edge of the material in the width direction to occupy the frame of the first horizontal aspect ratio; The aspect ratio range is greater than or equal to the first horizontal aspect ratio and less than the aspect ratio of the movie aspect ratio.
12. The method according to any one of claims 1, 2, 4, 5, 7 and 11, characterized in that The video template of the movie type has a black background.
13. The method according to any one of claims 1, 2, 4, 5, 7 and 11, characterized in that The method further comprises: In the case that the at least one material does not satisfy the matching condition of the movie-like video, any type of video template is randomly matched to the at least one material.
14. An electronic device, characterized in that: include: Memory, for storing computer instructions; A processor, configured to call the computer instructions stored in the memory to execute the method according to any one of claims 1 to 13.
15. A computer-readable storage medium, characterized in that: Used to store computer instructions, wherein the computer instructions are used to implement the method according to any one of claims 1 to 13.
16. A chip, characterized in that: The chip comprises: Memory: used to store instructions; A processor, configured to call and execute the instructions from the memory so that an electronic device equipped with the chip system executes the method as claimed in any one of claims 1 to 13.
Citation Information
Patent Citations
Video automatic generation method and system for resource matching based on materials
CN111541946A