Video editing method and electronic equipment
By setting preset ratios and providing volume adjustment modes in the automatic editing video, the problem of excessive background music covering the original soundtrack of the video is solved, improving user experience and volume stability.
Patent Information
- Application Number
- CN202410015198.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-04
- Publication Date
- 2025-07-11
AI Technical Summary
During the automatic video editing process, the background music volume is too high, resulting in the problem of overwriting the video original soundtrack, affecting the user experience.
Automatically set the video sound and music volume in the clipped video with preset ratios, ensuring that the video sound is not covered by background music, and providing custom and intelligent adjustment modes to adjust the volume.
Improves user experience, ensures smooth volume, avoids abrupt sound, and provides flexible volume adjustment options to meet different user needs.
Smart Images

Figure CN120302118A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of intelligent terminals, and particularly to a volume adjustment method and an electronic device. Background Art
[0002] With the continuous development of network technology and electronic devices, more and more users choose to use electronic devices (such as mobile phones, tablets, etc.) to record and share their lives, such as taking pictures and shooting videos. To bring a better shooting and creation experience to users, most electronic devices support users to edit local videos.
[0003] Video editing methods can generally be divided into manual editing and automatic editing. In the automatic editing scenario, users can obtain a clipped video finished product corresponding to the selected materials through a "one-key editing" operation. Among them, the video editing application stitches the materials selected by the user according to a template, and adds video editing elements such as background music, filters, and special effects to obtain a video editing finished product. However, in the finished product obtained by automatic editing, there may be a problem that the volume of the background music is too large, resulting in the video original sound of the materials being covered by the background music. Summary of the Invention
[0004] To solve the above technical problems, this application provides a video editing method and an electronic device, which can automatically set the video original sound volume and music volume of the video with video original sound in the clipped video finished product according to a preset ratio, so as to avoid the video original sound in the clipped video finished product being covered by the background music and improve the user experience.
[0005] In a first aspect, an embodiment of this application provides a video editing method, which can be applied to an electronic device. The method includes: displaying a first interface, where the first interface includes multimedia materials selected by the user; the multimedia materials include at least video materials; in response to a first operation, generating a first clipped video finished product corresponding to the multimedia materials; the first clipped video finished product includes at least one first video segment, the video original sound volume of each first video segment is a first value, the music volume of each first video segment is a second value, and the ratio of the first value to the second value is a preset ratio; displaying a second interface; the second interface includes the first clipped video finished product.
[0006] Among them, the first interface is the interface shown in Figure 5 (1) below, and the first operation is the operation of the user on the one-key blockbuster generation control 1013, such as the user clicking on the one-key blockbuster generation control 1013. The second interface is the interface shown in Figure 5 (2) below. The first value can be the volume of the video original sound in the multimedia materials.
[0007] In this way, the electronic device automatically sets the volume of the video original sound and the music volume in the first clipped video finished product with the video original sound part according to a preset ratio, thereby preventing the video original sound in the first clipped video finished product from being covered by the background music and improving the user experience.
[0008] According to the first aspect, the first clipped video finished product further includes at least one second video segment. There is no video original sound in each second video segment, and the music volume of each second video segment is a first value.
[0009] In this way, it is possible to ensure that the volume is stable during the playback of the first clipped video finished product, and the user will not feel that the sound is abrupt, that is, the sound is suddenly loud or suddenly small.
[0010] According to the first aspect, or any implementation manner of the above first aspect, the second interface further includes a first control. The first control is used to set the volume of the video original sound. The method further includes: in response to a second operation on the first control, displaying a third interface; the third interface includes a second control, and the second control is used to indicate custom setting of the volume of the video original sound; in response to a third operation on the second control, displaying a fourth interface; the fourth interface includes a second clipped video finished product; wherein, in the second clipped video finished product, the volume of the video original sound of each first video segment is a custom volume.
[0011] Among them, the first control is like Figure 5 the mode switching entry 1021 shown in (2) below. The second operation is like clicking on the mode switching entry 1021. The third interface is like Figure 5 the interface shown in (3) below. The second control is like the custom control 1024 in the mode selection window 1022. The third operation is like the operation of clicking on the custom control 1024. The fourth interface is like Figure 8 the interface shown in (1) below. Or the third operation is like sequentially clicking on the custom control 1024 and the confirmation control 1028. The fourth interface is like Figure 8 (2) the interface shown below.
[0012] In this way, the user can custom-adjust the volume of the video original sound of different video segments in the clipped video finished product to prevent the video original sound in the clipped video finished product from being covered by the background music and improve the user experience.
[0013] According to the first aspect, or any implementation manner of the above first aspect, the third interface further includes a third control. The method further includes: displaying the third interface; in response to a fourth operation on the third control, displaying a fifth interface; the fifth interface includes a third clipped video finished product. In the third clipped video finished product, the volume of the video original sound of each first video segment is 0.
[0014] Among them, the third control is like Figure 5The closing control 1026 shown in (3), the fourth operation such as the operation of clicking the closing control 1026, and the fifth interface such as Figure 10 the interface shown in (1). Or, the fourth operation such as the operation of sequentially clicking the closing control 1026 and the confirmation control 1028, and the fifth interface such as Figure 10 (2) the interface shown.
[0015] In this way, the user can, through the fourth operation, not retain the video original sound in the clipped video finished product.
[0016] According to the first aspect, or any implementation manner of the above first aspect, the third interface further includes a fifth control, and the method further includes: displaying the third interface; in response to a fifth operation on the fifth control, displaying a sixth interface; the sixth interface includes a first volume setting option and at least one first video segment; at least one first video segment includes a first target video segment, and the first target video segment is in a selected state; in response to a sixth operation on the first volume setting option, adjusting the custom volume corresponding to the first target video segment to a third value corresponding to the first volume setting option.
[0017] Among them, the fifth control is such as the custom video original sound volume control 1025 in the mode selection window 1022, the fifth operation is such as the operation of clicking the custom video original sound volume control 1025, and the sixth interface is such as Figure 7 the interface shown in (2), and the first volume setting option is such as the volume bar 1042 in the custom setting window 1039. The sixth operation is such as swiping the volume bar 1042 to the left or right, or clicking on a certain position of the volume bar 1042. The third value is the value corresponding to the first volume setting option after the sixth operation.
[0018] In this way, the user can select different video segments to change their video original sound volumes to modify the user's custom settings, facilitating the subsequent adjustment of the video original sound volume of the clipped video finished product by the electronic device according to the custom settings when the user selects the custom adjustment mode.
[0019] According to the first aspect, or any implementation manner of the above first aspect, the sixth interface further includes a sixth control; after adjusting the custom volume corresponding to the first target video segment to a third value corresponding to the first volume setting option, the method further includes: in response to a seventh operation on the sixth control, adjusting the custom volume corresponding to each first video segment to the third value.
[0020] Among them, the sixth control is such as Figure 7 the apply-to-all control 1043 in the interface shown in (2), and the seventh operation is such as clicking the apply-to-all control 1043.
[0021] In this way, the user can modify the video original sound volume of each video segment in the custom settings to the value corresponding to the current first volume bar by applying all functions, which facilitates the user to quickly change the video original sound volume of each video segment in the custom settings, thereby improving the efficiency of the user to modify the custom settings.
[0022] According to the first aspect, or any one of the implementation manners of the first aspect above, the second interface further includes a seventh control, and the method further includes: displaying the second interface; in response to an eighth operation on the seventh control, displaying a seventh interface; the seventh interface includes an eighth control and at least one first video segment; at least one first video segment includes a second target video segment, and the second target video segment is in a selected state; in response to a ninth operation on the eighth control, displaying an eighth interface; the eighth interface includes a second volume setting option; in response to a tenth operation on the second volume setting option, setting the video original sound volume of the second target video segment in the first clipped video into a finished product to a fourth value corresponding to the second volume setting option, to obtain a fourth video clipped into a finished product.
[0023] Among them, the seventh control is the segment control 1029 in the interface shown in (1) of Figure 6a , and the eighth operation is, for example, clicking the segment control 1029. The seventh interface is the interface shown in (2) of Figure 6a , the eighth control is the volume control 1032 in the segment editing window 1030, and the ninth operation is, for example, clicking the volume control 1032. Before the ninth operation, in response to a selection operation on the video segment, the second target video segment can be determined from at least one first video segment. The eighth interface is the interface shown in (1) of Figure 6b , and the second volume setting option is the volume bar 1036 in the video original sound volume window 1033. The tenth operation is, for example, sliding the volume bar 1036 left or right, or clicking on a certain position of the volume bar 1036. The fourth value is the value corresponding to the second volume setting option after the tenth operation.
[0024] In this way, the user can also directly adjust the video original sound volume of different video segments, thereby improving the adjustment efficiency of the video original sound volume.
[0025] According to the first aspect, or any one of the implementation manners of the first aspect above, the eighth interface further includes a ninth control, and the method further includes: displaying the eighth interface; in response to an eleventh operation on the second volume setting option and a twelfth operation on the ninth control, setting the video original sound volume of each first video segment in the first clipped video into a finished product to a fifth value corresponding to the second volume setting option, to obtain a fifth video clipped into a finished product.
[0026] Among them, the ninth control is applied to all controls 1037 in the video original sound volume window 1033, the eleventh operation is to slide the volume bar 1036 left or right, or click on a certain position of the volume bar 1036. The twelfth operation is to click on the apply-to-all control 1037, and the fifth value is the value corresponding to the second volume setting option after the eleventh operation.
[0027] In this way, the user can also directly modify the video original sound volume of each video segment to the value corresponding to the current second volume bar by clicking on the apply-to-all control, without having to adjust the video original sound volume of each video segment one by one, thereby improving the adjustment efficiency of the video original sound volume.
[0028] According to the first aspect, or any one of the implementation manners of the above first aspect, the eighth interface further includes a tenth control; the eighth interface is displayed; in response to a thirteenth operation on the tenth control, the video original sound volume of each first video segment is reset to the first value.
[0029] Among them, the tenth control is the intelligent adjustment of original sound control 1038 in the video original sound volume window 1033, and the thirteenth operation is to click on the intelligent adjustment of original sound control 1038.
[0030] In this way, the user can apply the intelligent adjustment of original sound control to complete the switching between the intelligent adjustment mode and the custom adjustment mode, thereby improving the convenience and flexibility of mode switching.
[0031] According to the first aspect, or any one of the implementation manners of the above first aspect, the eighth interface further includes an eleventh control, and the method further includes: displaying the eighth interface; in response to a fourteenth operation on the eleventh control and a fifteenth operation on the second volume setting option, adjusting the video original sound volume of the second target video segment in the first clipped video into a finished product from the sixth value to the seventh value; and adjusting the music volume of the second target video segment in the first clipped video into a finished product from the eighth value to the ninth value to obtain the sixth clipped video into a finished product; the ratio of the sixth value to the seventh value is the same as the ratio of the eighth value to the ninth value.
[0032] Among them, the eighth interface is as Figure 16 the interface shown in (2) below, the eleventh control is the equal ratio adjustment control 1063, the fourteenth operation is to click on the equal ratio adjustment control 1063, and the fifteenth operation is to change the value corresponding to the second volume setting option. The sixth value is the video original sound volume of the second target segment before the fifteenth operation, the seventh value is the value corresponding to the second volume setting option after the fifteenth operation. The eighth value is the music volume of the second target segment before the fifteenth operation, and the ninth value is the value after the adjustment of the music volume of the second target segment.
[0033] In this way, the music volume can be automatically adjusted to the corresponding value according to the ratio of the user's adjustment of the original video volume, so as to solve the problem of poor listening experience of the edited video during the process of the user adjusting the original video volume.
[0034] According to the first aspect, or any implementation manner of the above first aspect, display a second interface; in response to the sixteenth operation, display a ninth interface; the ninth interface includes a video segment selection box and a third volume setting option; in response to the seventeenth operation on the video segment selection box, determine the third target video segment selected by the video segment selection box; in the case where there is original video sound in the third target video segment, in response to the eighteenth operation on the third volume setting option, set the music volume of each first video segment to the tenth value corresponding to the third volume setting option, and obtain a seventh edited video; in the case where the target video segment is a second video segment, in response to the nineteenth operation on the third volume setting option, adjust the music volume of each second video segment from the eleventh value to the twelfth value, and adjust the music volume of each first video segment from the thirteenth value to the fourteenth value, and obtain an eighth edited video; wherein, the ratio of the eleventh value to the twelfth value is the same as the ratio of the thirteenth value to the fourteenth value.
[0035] Among them, the sixteenth operation can be an operation on a control, such as an operation on the twelfth control in the second interface, and the twelfth control is such as Figure 14a the editing control 1055 in the interface shown in (1) of Figure 14b such as in response to the operation of clicking the editing control 1055, display the interface shown in (1) of Figure 14b such as in response to the operation of clicking the editing control 1055, display the interface shown in (1) of Figure 14a such as in response to the operation of clicking the editing control 1055, display the interface shown in (1) of Figure 14a such as in response to the operation of clicking music 1056, display the interface shown in (3) of Figure 14a such as in response to the operation of clicking editing 1057, display the ninth interface (the interface shown in (1) of Figure 14b such as in response to the operation of clicking the editing control 1055, display the interface shown in (1) of
[0036] The video segment selection box is such as the selection box 1061 shown in (1) of Figure 14b such as in response to the seventeenth operation, slide the selection box 1061 left or right, or change the size of the selection box 1061. The third volume setting option is such as the volume bar 1062, and the eighteenth operation or the nineteenth operation is such as sliding the third volume bar left or right, or clicking on a certain position of the third volume bar.
[0037] The tenth value is the value corresponding to the third volume setting option after the eighteenth operation, the eleventh value is the music volume of the second video clip before the music volume adjustment, the twelfth value is the value corresponding to the third volume setting option after the nineteenth operation, the thirteenth value is the music volume of the first video clip before the music volume adjustment, and the fourteenth value is the music volume of the first video clip after the music volume adjustment.
[0038] In this way, during the process of adjusting the music volume, the original video volume in the edited video can be adjusted synchronously, avoiding the problem of abrupt sound.
[0039] In a second aspect, an embodiment of the present application provides an electronic device. The electronic device includes: one or more processors; a memory; and one or more computer programs, where one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, the electronic device executes the video editing method in the first aspect and any one of the first aspects.
[0040] The second aspect and any implementation manner of the second aspect respectively correspond to the first aspect and any implementation manner of the first aspect. The technical effects corresponding to the second aspect and any implementation manner of the second aspect can be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect above, which will not be elaborated here.
[0041] In a third aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device executes the video editing method in the first aspect and any one of the first aspects.
[0042] The third aspect and any implementation manner of the third aspect respectively correspond to the first aspect and any implementation manner of the first aspect. The technical effects corresponding to the third aspect and any implementation manner of the third aspect can be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect above, which will not be elaborated here.
[0043] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is run, the computer executes the video editing method as in the first aspect or any one of the first aspects.
[0044] The fourth aspect and any implementation manner of the fourth aspect respectively correspond to the first aspect and any implementation manner of the first aspect. The technical effects corresponding to the fourth aspect and any implementation manner of the fourth aspect can be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect above, which will not be elaborated here.
[0045] In a fifth aspect, the present application provides a chip, which includes a processing circuit and transceiver pins. Among them, the transceiver pins and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the video editing method according to the first aspect or any one of the first aspect to control the receiving pins to receive signals and control the sending pins to send signals.
[0046] The fifth aspect and any implementation manner of the fifth aspect respectively correspond to the first aspect and any implementation manner of the first aspect. For the technical effects corresponding to the fifth aspect and any implementation manner of the fifth aspect, reference can be made to the technical effects corresponding to the first aspect and any implementation manner of the first aspect described above, and details are not elaborated here. Description of the Drawings
[0047] Figure 1 and Figure 2 Exemplarily shows the application scenarios of the present application;
[0048] Figure 3 Is a schematic diagram of the hardware structure of the exemplary electronic device;
[0049] Figure 4 Is a schematic diagram of the software structure of the exemplary electronic device;
[0050] Figure 5 Is a schematic diagram of the application scenario involved in the exemplary video editing method;
[0051] Figure 6a Is a schematic diagram of the application scenario involved in the exemplary video editing method;
[0052] Figure 6b Is a schematic diagram of the application scenario involved in the exemplary video editing method;
[0053] Figure 7 Is a schematic diagram of the application scenario involved in the exemplary video editing method;
[0054] Figure 8 Is a schematic diagram of the application scenario involved in the exemplary video editing method;
[0055] Figure 9a Is a schematic diagram of the application scenario involved in the exemplary video editing method;
[0056] Figure 9b Is a schematic diagram of the application scenario involved in the exemplary video editing method;
[0057] Figure 10 Is a schematic diagram of the application scenario involved in the exemplary video editing method;
[0058] Figure 11 Schematic diagram of an application scenario related to an exemplary video editing method;
[0059] Figure 12 Schematic diagram of an application scenario related to an exemplary video editing method;
[0060] Figure 13 Schematic diagram of an application scenario related to an exemplary video editing method;
[0061] Figure 14a Schematic diagram of an application scenario related to an exemplary video editing method;
[0062] Figure 14b Schematic diagram of an application scenario related to an exemplary video editing method;
[0063] Figure 15 Schematic diagram of an exemplary volume change;
[0064] Figure 16 Schematic diagram of an application scenario related to an exemplary video editing method;
[0065] Figure 17 Another schematic diagram of an exemplary volume change. Detailed implementation
[0066] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts fall within the scope of protection of the present application.
[0067] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone.
[0068] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first target object and the second target object are used to distinguish different target objects, rather than to describe a specific order of target objects.
[0069] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0070] In the description of the embodiments of the present application, unless otherwise specified, "a plurality of" means two or more. For example, a plurality of processing units means two or more processing units; a plurality of systems means two or more systems.
[0071] Figure 1 and Figure 2 Exemplarily shows the application scenarios of the present application. As Figure 1 in (1), the electronic device displays the creation interface 101 of some applications (such as the album application, the gallery application, or the camera application). In the creation interface 101, a number of optional video editing operations are provided for the user, such as intelligent video creation, one - key blockbuster 1011, editing, free creation, micro - film creation, and puzzle. As Figure 1 shown in (2), after the user clicks on the one - key blockbuster 1011 in the creation interface 101, the electronic device responds to the user's operation on the one - key blockbuster 1011 and displays the all - photos interface. The all - photos interface includes all the photos and videos stored locally on the electronic device, as well as the one - key editing prompt window 1012. As shown in the one - key editing prompt window 1012, automatic video creation can be performed after selecting materials. The user can select any number of photos and videos as materials in the all - photos interface for one - key blockbuster generation. If the electronic device detects the user's operation on the one - key blockbuster generation control 1013, it splices the selected materials by the corresponding template and adds video editing elements such as background music, filters, and special effects. The template can include a set of video editing elements such as background music, filters, and special effects. When the user has not selected any photos or videos, the one - key blockbuster generation control 1013 in the one - key editing prompt window 1012 is a gray button, that is, it is in a state where it cannot be clicked or has no response when clicked.
[0072] If the user has selected photos or videos, as Figure 1As shown in (3), when the user clicks on the first video selection control 1014, the electronic device responds to the user's operation of clicking on the first video selection control 1014 and displays the thumbnail of the first video in the one-key editing prompt window 1012. At this time, the one-key blockbuster generation control 1013 becomes a black button, that is, it is in a clickable or click-responsive state. The user can click on the first video deletion control 1015 in the one-key editing prompt window 1012, and the electronic device responds to the user's operation of clicking on the first video deletion control 1015 and cancels the display of the first video in the one-key editing prompt window 1012. The user can also continue to select multiple videos, such as Figure 1 As shown in (4), the user continues to click on the second video selection control 1016, the third video selection control 1017, and the fourth video selection control 1018 in sequence. The electronic device responds to this operation and displays the second video, the third video, and the fourth video in the one-key editing prompt window 1012.
[0073] such as Figure 2 As shown in (1), when the user selects the first video, the second video, the third video, and the fourth video, and clicks on the one-key blockbuster generation control 1013, the electronic device responds to the user's operation on the one-key blockbuster generation control 1013, analyzes the materials selected by the user, and displays the intelligent analysis of the materials and the progress of the intelligent analysis of the materials in the one-key editing prompt window 1012. Such as Figure 2 As shown in (2), when the progress of the intelligent analysis of the materials reaches 100%, the electronic device matches the corresponding template for the materials selected by the user and displays the intelligent matching of the template and the progress of the intelligent matching of the template in the one-key editing prompt window 1012. Such as Figure 2 As shown in (3), when the progress of the intelligent matching of the template reaches 100%, the electronic device displays the blockbuster editing interface 102, and in the blockbuster editing interface 102, it displays the edited video clip generated by the electronic device after adding background music, filters, and special effects to the materials selected by the user (the first video, the second video, the third video, and the fourth video). Among them, the edited video clip includes video segments with the original video sound, and the original video sound can include sounds such as human voices and ambient sounds. The ambient sounds are, for example, wind sounds, ocean wave sounds, car horn sounds, animal calls, etc.
[0074] In the large-scale editing interface 102, some edits can be made to the edited video clip. For example, the user can click on the template to select and change the template. In response to this operation, the mobile phone will, according to the template selected by the user, re-add background music, filters, and special effects to the selected materials for the user, and then generate a new edited video clip. The user can also click on the music to select and change the background music. In response to this operation, the mobile phone will change the background music of the edited video clip to the newly selected music by the user, and then generate a new edited video clip. The user can also click on the clip to select and change or delete some materials, or reorder the selected materials. In response to this operation, the mobile phone will re-add background music, filters, and special effects to the newly selected materials for the user, and then generate a new edited video clip. The user can also click on the edit to select and change special effects or filters, or add some text or stickers. In response to this operation, the mobile phone will perform corresponding editing on the first edited video clip to obtain a new edited video clip.
[0075] For an edited video clip with video original sound, the user can choose to retain the video original sound in the edited video clip or choose not to retain the video original sound in the edited video clip. In the case where the user can choose to retain the video original sound in the edited video clip, although there are many editing functions for the edited video clip provided in the large-scale editing interface 102, there is no editing option for adjusting the volume of the background music. Since the electronic device automatically adds background music, special effects, and filters to the selected materials for the user according to the corresponding template to generate the edited video clip, when editing the edited video clip, it is impossible to separately adjust the volume of the background music or the volume of the video original sound in the edited video clip. In this way, there may be a problem that the volume of the background music added by the mobile phone for the user's selected materials is too large, resulting in some video original sounds in the edited video clip being covered by the background music.
[0076] In view of this, the present application provides a video editing method and an electronic device. This method can be applied to the electronic device. The electronic device displays a first interface, which includes the multimedia materials selected by the user; in response to a first operation, a first edited video clip corresponding to the multimedia materials is generated. The first edited video clip includes a first video segment with video original sound, and the video original sound volume and music volume of the first video segment are set according to a preset ratio. The present application can intelligently set the volumes of the video original sound and the background sound in the first edited video clip, avoid the video original sound in the first edited video clip being covered by the background music, and improve the user experience.
[0077] Exemplarily, the electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) / virtual reality (VR) device, etc. The embodiments of the present application do not impose any special restrictions on the specific form of the electronic device.
[0078] Figure 3 FIG. shows a schematic structural diagram of the electronic device 100. It should be understood that Figure 3 The illustrated electronic device 100 is merely an example of an electronic device, and the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 3 The various components shown in may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0079] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric 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, etc.
[0080] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0081] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0082] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0083] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0084] It can be understood that the interface connection relationships between the modules illustrated in the embodiments of the present application are only illustrative descriptions and do not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0085] The charging management module 140 is used to receive a charging input from a charger. Among them, the charger may be a wireless charger or a wired charger. As Figure 2 shown, in some embodiments of wired charging, the charging management module 140 may receive the charging input of the wired charger 201 through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive a wireless charging input through the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 may also supply power to the electronic device through the power management module 141.
[0086] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 may also be used to monitor parameters such as the battery capacity, the number of battery charge cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 may also be disposed in the same device.
[0087] The wireless communication function of the electronic device 100 may be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.
[0088] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas may also be multiplexed to improve the utilization rate of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antenna may be used in combination with a tuning switch.
[0089] The mobile communication module 150 may provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, filter, amplify, and perform other processing on the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation.
[0090] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.
[0091] The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves through the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive the signals to be transmitted from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.
[0092] The electronic device 100 realizes the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
[0093] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel.
[0094] The electronic device 100 may realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1. The ISP is used to process the data fed back by the camera 193. In some embodiments, the ISP may be set in the camera 193.
[0095] The camera 193 is used to capture static images or videos. An 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 to be converted 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 format such as RGB or YUV. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0096] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 is selecting a frequency, the digital signal processor is used to perform Fourier transform and other operations on the frequency energy.
[0097] The video codec is used to compress or decompress digital videos. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0098] The NPU is a neural-network (NN) computing processor. By learning from the structure of biological neural networks, such as the transmission pattern between human brain neurons, it can quickly process the input information and can also continuously self-learn. Through the NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0099] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to achieve the data storage function. For example, files such as music and videos are saved in the external memory card.
[0100] The internal memory 121 can be used to store computer-executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.). In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0101] The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.
[0102] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.
[0103] The pressure sensor is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor can be disposed on the display screen 194. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor. In some embodiments, touch operations with the same touch position but different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, the instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
[0104] The touch sensor, also known as the "touch panel". The touch sensor can be disposed on the display screen 194, and the touch sensor and the display screen 194 form a touch screen, also known as the "touch screen". The touch sensor is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event.
[0105] The button 190 includes a power-on button, volume buttons, etc. The button 190 can be a mechanical button or a touch button.
[0106] The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and also for touch vibration feedback.
[0107] The indicator 192 can be an indicator light and can be used to indicate the charging state, battery level change, and can also be used to indicate messages, missed calls, notifications, etc.
[0108] The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation from the electronic device 100. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
[0109] Figure 4 It is a software structure block diagram of the electronic device 100 in the embodiments of this application.
[0110] The layered architecture of the electronic device 100 divides the software into several layers, and 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 four layers, from top to bottom: the application layer, the application framework layer, Android Runtime and system libraries, and the kernel layer.
[0111] The application layer can include a series of application packages.
[0112] Such as Figure 4 As shown, the application packages can include applications such as a camera, gallery, editing application, WLAN, Bluetooth, etc. The application packages can also include applications such as calls, calendar, maps, navigation, music, video, short messages, etc.
[0113] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.
[0114] Such as Figure 4 As shown, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.
[0115] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0116] The content provider is used to store and obtain data, and make this data accessible to applications. The data may include videos, images, audio, incoming and outgoing calls, browsing history and bookmarks, phone books, etc.
[0117] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
[0118] The phone manager is used to provide the communication functions of the electronic device 100. For example, the management of call states (including answering, hanging up, etc.).
[0119] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.
[0120] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is complete, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of background-running applications, and can also be a notification that appears on the screen in the form of a dialogue window. For example, prompt text information in the status bar, emit a prompt tone, the electronic device vibrates, the indicator light flashes, etc.
[0121] Android Runtime includes a core library and a virtual machine. Android Runtime is responsible for the scheduling and management of the Android system.
[0122] The core library contains two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library of Android.
[0123] The application layer and the application framework layer run in the 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 lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0124] The system library can include multiple functional modules. For example: surface manager, Media Libraries, 3D graphics processing library (e.g., OpenGL ES), 2D graphics engine (e.g., SGL), etc.
[0125] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
[0126] The media library supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0127] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.
[0128] The 2D graphics engine is the drawing engine for 2D drawing.
[0129] The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, an audio driver, a Wi-Fi driver, a sensor driver, etc. Among them, the hardware at least includes a processor, a display screen, a Wi-Fi module, a sensor, etc.
[0130] It can be understood that Figure 4 The layers in the shown software structure and the components included in each layer do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer layers than shown, and each layer may include more or fewer components, which are not limited in the present application.
[0131] It can be understood that in order for the electronic device to implement the video editing method in the embodiments of the present application, it includes the corresponding hardware and / or software modules for performing each function. Combining the algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the manner of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described function for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.
[0132] Taking the electronic device as a mobile phone as an example below, the video editing method provided in the embodiments of the present application will be described in detail with reference to the accompanying drawings.
[0133] In the present application, after the user selects the multimedia material and clicks the one-key blockbuster generation control 1013 (such as Figure 1 in (4)), the mobile phone responds to this operation, generates the first edited video finished product, and displays the second interface (such as Figure 5In the second interface (2). The second interface includes the first edited video clip. The video original sound volume and the music volume in the first edited video clip are set according to a preset ratio. For example, the first edited video clip includes a first video segment and a second video segment. The first video segment is a segment with video original sound, and the second video segment is a segment without video original sound. The video original sound volume and the music volume of the first video segment are the first value and the second value respectively, and the music volume of the second video segment is the first value. The first value can be the volume of the video original sound in the multimedia material. The ratio of the first value to the second value is the preset ratio. The preset ratio can be any value greater than 1, such as 1.5, 2, or 3, etc. For example, if the preset ratio is 2, the first value is 100, and the second value is 50, then the video original sound volume and the music volume of the first video segment are 100 and 50 respectively, and the music volume of the second video segment is 100. If the preset ratio is 2.5, the first value is 100, and the second value is 40, then the video original sound volume and the music volume of the first video segment are 100 and 40 respectively, and the music volume of the second video segment is 100.
[0134] The second interface may also include a mode switching entry, such as Figure 5 the mode switching entry 1021 in the interface shown in (2). The user can click the mode switching entry to select the adjustment mode of the video original sound volume. The adjustment modes include an intelligent adjustment mode, a custom adjustment mode, and a closed mode. Among them, the intelligent adjustment mode means that when the mobile phone generates an edited video clip, the video original sound volume and the music volume in the edited video clip are set according to a preset ratio; the custom adjustment mode means that when the mobile phone generates an edited video clip, the video original sound volume in the edited video clip is set according to the custom video original sound volume; the closed mode means that when the mobile phone generates an edited video clip, the video original sound volume in the edited video clip is set to 0 or muted.
[0135] When the mobile phone defaults to the intelligent adjustment mode, in response to the user's operation of clicking the one-key blockbuster generation control 1013, the mobile phone generates the first edited video clip corresponding to the selected material by taking the ratio of the video original sound volume and the music volume as the preset ratio, and displays or plays the first edited video clip. If the user changes the intelligent adjustment mode to the custom adjustment mode at the mode switching entry, the mobile phone responds to this operation and adjusts the video original sound volume of the first edited video clip according to the custom settings to obtain the second edited video clip, and displays or plays the second edited video clip. The custom settings can include the settings of the video original sound volume for all video segments in the first edited video clip. The user can modify the custom settings by clicking the custom video original sound volume control (see the following Figure 7 or Figure 11(Description). If the user changes the intelligent adjustment mode to the off mode at the mode switching entry, the mobile phone responds to this operation, sets the original volume of the video of the first edited video to 0 or mutes it, obtains the third edited video, and displays or plays the third edited video.
[0136] For mobile phones that support intelligent adjustment capabilities, after detecting the user's operation on the mode switching entry, three modes, namely the intelligent adjustment mode, the custom adjustment mode, and the off mode, can be displayed for the user to select. For mobile phones that do not support intelligent adjustment capabilities, after detecting the user's operation on the mode switching entry, two modes, namely the custom adjustment mode and the off mode, can be displayed for the user to select.
[0137] This application is described below Figures 5 to 10 Introduce the operation examples of mobile phones that support intelligent adjustment capabilities.
[0138] Exemplarily, as Figure 5 shown in (1) below, after the user selects the material and clicks the one-click blockbuster generation control 1013, the mobile phone responds to the user's operation on the one-click blockbuster generation control 1013, and the mobile phone displays the blockbuster editing interface 102. The blockbuster editing interface 102 includes the first edited video, as Figure 5 shown in (2) below. Compared with Figure 2 the blockbuster editing interface 102 shown in (3) below, Figure 5 the blockbuster editing interface 102 shown in (2) below adds a mode switching entry 1021. The mode switching entry 1021 allows the user to click to select the adjustment mode of the video original sound. When the user uses the one-click blockbuster function of the mobile phone to jump to the blockbuster editing interface 102 (such as the process shown in Figures 1 to 2 below), and when the mobile phone first recognizes that there is a video segment with video original sound in the first edited video, the icon of the mode switching entry 1021 is default displayed as the intelligent adjustment icon, and it will be prompted at the mode switching entry 1021 that the original sound has been intelligently adjusted for you, and click to change the settings. Only when the material selected by the user includes a video and the video has a video original sound, the mode switching entry 1021 will be displayed in the blockbuster editing interface 102; if all the materials selected by the user are pictures, the mode switching entry 1021 will not be displayed in the blockbuster editing interface 102, and the display effect is the same as that in Figure 2 (3) below.
[0139] Exemplarily, the user can click the mode switching entry 1021 to make the mobile phone display the mode selection window 1022 to change the adjustment mode of the video original volume, as Figure 5As shown in (3), after the mobile phone detects that the user clicks the mode switching entry 1021, it displays a mode selection window 1022. The mode selection window 1022 includes an intelligent adjustment control 1023, a custom control 1024, a custom video original sound volume control 1025, a close control 1026, a cancel control 1027, and an OK control 1028. When the user uses the one-key blockbuster function to make the mobile phone display the blockbuster editing interface 102, when the user clicks the mode switching entry 1021 for the first time, the mobile phone displays the mode selection window 1022 and by default marks the intelligent adjustment mode as selected. When the mobile phone displays the mode selection window 1022, the video displayed in the blockbuster editing interface 102 pauses playing. If the mobile phone detects the user's operation on the intelligent adjustment control 1023, custom control 1024, or close control 1026, the mobile phone responds to this operation and marks the intelligent adjustment mode, custom adjustment mode, or close mode as selected in the mode selection window 1022. If the mobile phone continues to detect the user's operation on the OK control 1028, the mobile phone responds to this operation and displays or plays the first edited video clip, the second edited video clip, or the third edited video clip. If the user does not want to change the adjustment mode of the video original sound volume this time, the user can click the cancel control 1027, and the mobile phone responds to the user's click on the cancel control 1027 and cancels the change to the adjustment mode of the video original sound volume this time. If the mobile phone detects the user's operation of clicking the intelligent adjustment control 1023, the mobile phone marks the intelligent adjustment mode as selected in the mode selection window 1022. If the mobile phone continues to detect the user's operation of clicking the OK control 1028, as Figure 5 As shown in (4), the mobile phone plays the first edited video clip and displays the icon of the mode switching entry 1021 as an intelligent adjustment icon, as Figure 5 at the position indicated by the arrow in (4).
[0140] It should be noted that the user has two ways to customize the video original sound volume of each video segment. One way is to first modify the custom settings (see the following Figure 7 or Figure 11 description), and then determine the adjustment mode of the video original sound volume as the custom adjustment mode, so that the mobile phone adjusts the video original sound volume of the first edited video clip according to the custom settings. The other way is to click the segment control in the blockbuster editing interface to bring up the segment editing window, and then select the video segment that you want to modify for video original sound volume editing. See the following introduction to Figure 6a and Figure 6b . The user can adjust the video original sound volume of all video segments to an appropriate value to retain the video original sound of all video segments; the user can also adjust the video original sound volume of some video segments to 0 to retain the video original sound of some video segments.
[0141] Exemplarily, the mobile phone displays as Figure 6aThe interface shown in (1), which includes a segment control 1029. As Figure 6a As shown in (2), in the intelligent adjustment mode, the mobile phone responds to the user's operation of clicking on the segment control 1029, and the mobile phone displays a segment editing window 1030. The segment editing window 1030 can display all the video segments with video original sound included in the first edited video. The user can select different video segments to edit their video original sound volume to adjust the video original sound volume of the corresponding video segment. As Figure 6b As shown in (1), after the user selects the video segment 1 and clicks on the volume control 1032, the mobile phone responds to the user's operation of clicking on the volume control 1032, and the displayed segment editing window 1030 jumps to the video original sound volume window 1033. Among them, the video original sound volume window 1033 includes a close control 1034, a save control 1035, a volume bar 1036, an apply to all control 1037, and an intelligent adjustment original sound control 1038. Since the current is the intelligent adjustment mode, when jumping to the video original sound volume window 1033, the volume bar 1036 is at the position (or value) corresponding to the intelligent adjustment mode. At this time, the intelligent adjustment original sound control 1038 is displayed in black (or dark color), and "intelligent adjustment" is in the active state. The user can slide the volume bar 1036 left or right. The mobile phone responds to the user's operation of sliding the volume bar 1036 left or right, and lowers or raises the video original sound volume of the video segment 1. When the user slides the volume bar 1036 left or right and places the volume bar 1036 at a position (or value) other than the position (or value) corresponding to the intelligent adjustment mode, the mobile phone also responds to this operation and displays the intelligent adjustment original sound control 1038 in gray (or light color). At this time, "intelligent adjustment" is in the inactive state. As Figure 6b As shown in (2). The user can click on the apply to all control 1037. The mobile phone responds to the user's operation of clicking on the apply to all control 1037, and applies the current setting of the video original sound volume of the video segment 1 to other video segments (video segment 2 and video segment 3). When the user clicks on the intelligent adjustment original sound control 1038 in the gray state again, the mobile phone responds to this operation, restores the volume bar 1036 to the position (or value) corresponding to the intelligent adjustment mode, adjusts the video original sound volume of the video segment 1 to the value corresponding to the intelligent adjustment mode, and restores the display of the intelligent adjustment original sound control 1038 to black (or dark color). As Figure 6b As shown in (3).
[0142] It should be noted that if the user, in the intelligent adjustment mode, adjusts the video original sound volume of any video segment to a custom position (or value) and saves it, when the user operates the mobile phone to return from Figure 6b the interface shown in (2) to the display Figure 6aWhen the interface shown in (1) appears, the mobile phone automatically displays the mode selection window 1022, and the custom mode is selected by default in the mode selection window 1022, as shown in Figure 6b shown in (4). For example, the mobile phone displays Figure 6b the interface shown in (2). When the user clicks the save control 1035, the mobile phone responds to the user's click on the save control 1035 and displays Figure 6a the interface shown in (2). When the user then clicks the return control 1031 in the clip editing window 1030, the mobile phone responds to the user's click on the return control 1031 and displays Figure 6b the interface shown in (4). Among them, the custom position or value is a position (or value) other than the position (or value) corresponding to the intelligent adjustment mode. In this case, the mobile phone can respond to the user's click on the cancel control 1027 or the confirm control 1028 and display, as shown in Figure 8 the interface shown in (2), which includes the edited video clip obtained by adjusting the original video volume in the first edited video clip according to the custom settings.
[0143] In a special case, if the user adjusts the original video volume of all video clips to 0 and saves it in the intelligent adjustment mode, when the user operates the mobile phone to return from Figure 6b the interface shown in (2) to display Figure 6a the interface shown in (1), the mobile phone automatically displays the mode selection window 1022, and the off mode is selected by default in the mode selection window 1022, as shown in Figure 10 shown in (1). For example, the mobile phone displays Figure 6b the interface shown in (2). When the user clicks the save control 1035, the mobile phone responds to the user's click on the save control 1035 and displays Figure 6a the interface shown in (2). When the user then clicks the return control 1031 in the clip editing window 1030, the mobile phone responds to the user's click on the return control 1031 and displays Figure 10 the interface shown in (1). In this case, the mobile phone can respond to the user's click on the cancel control 1027 or the confirm control 1028 and display, as shown in Figure 10 the interface shown in (2), which includes the edited video clip obtained by setting the original video volume in the first edited video clip to mute or 0.
[0144] It should be noted that when the user slides the volume bar 1036 left or right and places the volume bar 1036 at a position (or value) other than the position (or value) corresponding to the intelligent adjustment mode, and when the intelligent adjustment original sound control 1038 is displayed in gray (or light color), the user clicks the "Apply to All Controls" 1037 to apply the current video original sound volume setting for video segment 1 to video segments 2 and 3. When the user then clicks the intelligent adjustment original sound control 1038 in the gray state, the volume bar 1036 returns to the position (or value) corresponding to the intelligent adjustment mode, and the intelligent adjustment original sound control 1038 returns to being displayed in black (or dark color). In this way, only the video original sound volume of video segment 1 can be restored to the intelligent adjustment state, while the video original sound volumes of video segments 2 and 3 remain in the custom state.
[0145] Exemplarily, as Figure 7 shown in (1) below, the user can click the custom video original sound volume control 1025, and the mobile phone responds to the user's click on the custom video original sound volume control 1025 by displaying the custom settings window 1039. The user can modify the video original sound volume settings for each video segment in the custom settings in the custom settings window 1039. As Figure 7 shown in (2) below, the video original sound volume settings for each video segment in the custom settings window 139 are default to the state of the previously saved custom settings. When the mobile phone first displays the custom settings window 139 in response to the user's operation on the custom video original sound volume control 1025, the video original sound volume settings for each video segment in the custom settings window 139 are default to the values corresponding to the enabled video original sound volume, such as 80, 100, 110, etc. In the custom settings window 1039, the user can select different video segments and slide the volume bar 1042 below the video segment left or right, and the mobile phone responds to this operation by modifying the video original sound volume setting for the video segment selected by the user in the custom settings to the value corresponding to the volume bar 1042 or the displayed value. As Figure 7As shown in (3), the user slides the value of the volume bar 1042 from 100 to 150, and the mobile phone responds to this operation by modifying the original video volume setting of video clip 1 in the custom settings from 100 to 150. The user can also click the close control 1040, and the mobile phone responds to the user's click on the close control 1040, cancels the saving of the current custom settings, and returns to the mode selection window 1022. The user can also click the save control 1041, and the mobile phone responds to the user's click on the save control 1041, saves the current custom settings, and returns to the mode selection window 1022. The user can also click the apply to all control 1043, and the mobile phone responds to the user's click on the apply to all control 1043, and synchronously applies the original video volume setting of the currently selected video clip (video clip 1) to other video clips (video clip 2 and video clip 3) in the custom settings. After the user adjusts the original video volume setting of any one of the video clips in the custom settings window 139, the user clicks the save control 1041, and the mobile phone responds to the user's operation on the save control 1041, displays the mode selection window 1022, and marks the selected custom adjustment mode in the mode selection window 1022, such as Figure 7 shown in (1).
[0146] Exemplarily, as Figure 8 shown in (1), if the mobile phone detects the user's operation of clicking the custom control 1024, the mobile phone marks the selected custom adjustment mode in the mode selection window 1022. If the mobile phone continues to detect the user's operation of clicking the confirm control 1028, the mobile phone plays the second edited video clip and displays the icon of the mode switch entry 1021 as a custom icon, such as Figure 8 the position pointed by the arrow in (2).
[0147] Exemplarily, the mobile phone displays an interface as Figure 9a shown in (1). This interface includes the clip control 1029. It can be known from the fact that the mode switch entry 1021 is displayed as a custom icon that the current is in the custom adjustment mode. The user can click the clip control 1029, as Figure 9a shown in (2). After the mobile phone detects the user's operation of clicking the clip control 1029, it displays the clip editing window 1030. The user can click on different video clips to select the corresponding video clips. For example, when the mobile phone responds to the user's click on video clip 1, it marks the selected video clip 1 in the clip editing window 1030. The user can click the volume control 1032 after selecting a video clip to adjust the original video volume of the corresponding video clip. For example, when the user selects video clip 1 and clicks the volume control 1032, the mobile phone responds to the user's click on the volume control 1032 and displays the original video volume window 1033. As Figure 9bAs shown in (1), the volume bar 1036 is in a custom position (or volume), and the intelligent original sound adjustment control 1038 is shown in gray (or light color). The user can slide the volume bar 1036 to the left or right. After the mobile phone detects the operation of the user sliding the volume bar 1036 to the left or right, it will lower or raise the original sound volume of the selected video segment (video segment 1). The user can also click on the intelligent original sound adjustment control 1038 in the gray state. In response to the user's click on the intelligent original sound adjustment control 1038, the mobile phone will display the position (or value) corresponding to the intelligent adjustment mode of the volume bar 1036 in the original sound volume window 1033, and adjust the original sound volume of all video segments (video segment 1, video segment 2, and video segment 3) to the value corresponding to the intelligent adjustment mode, such as Figure 9b As shown in (2). In the custom adjustment mode, when the user selects any video segment and modifies its original sound volume to the value corresponding to the intelligent adjustment mode by clicking on the intelligent original sound adjustment control 1038, the mobile phone responds to this operation and defaults to synchronously setting the original sound volume of all video segments to the value corresponding to the intelligent adjustment mode.
[0148] It should be noted that if the user adjusts the original sound volume of all video segments to the position (or value) corresponding to the intelligent adjustment mode and saves it in the custom adjustment mode, when the user operates the mobile phone to return from the interface shown in Figure 9b (2) to the interface shown in Figure 9a (1), the mobile phone automatically displays the mode selection window 1022, and the intelligent adjustment mode is default marked as selected in the mode selection window 1022, such as Figure 9b As shown in (3). For example, when the mobile phone displays the interface shown in Figure 9b (2), the user clicks the save control 1035. In response to the user's click on the save control 1035, the mobile phone displays the interface shown in Figure 9a (2). Then the user clicks the return control 1031 in the clip editing window 1030. In response to the user's click on the return control 1031, the mobile phone displays the interface shown in Figure 9b (3). In this case, the mobile phone can respond to the user's click on the cancel control 1027 or the confirm control 1028 and display the interface shown in Figure 6a (1), which includes the edited video finished product obtained by setting the original sound volume and music volume of the second edited video finished product according to a preset ratio.
[0149] In a special case, if the user adjusts the original sound volume of all video segments to 0 and saves it in the custom adjustment mode, when the user operates the mobile phone to return from the interface shown in Figure 9b (2) to the interface shown in Figure 9aWhen the interface shown in (1) appears, the mobile phone automatically displays the mode selection window 1022, and the off mode is marked as selected by default in the mode selection window 1022, as Figure 10 shown in (1). For example, the mobile phone displays Figure 9b the interface shown in (2). When the user clicks the save control 1035, the mobile phone responds to the user's click on the save control 1035 and displays Figure 9a the interface shown in (2). When the user then clicks the return control 1031 in the clip editing window 1030, the mobile phone responds to the user's click on the return control 1031 and displays Figure 10 the interface shown in (1). In this case, the mobile phone can respond to the user's click on the cancel control 1027 or the confirm control 1028 and display an interface such as Figure 10 shown in (2), which includes a clipped video compilation obtained by setting the original audio volume of the video in the second clipped video compilation to mute or 0.
[0150] Exemplarily, as Figure 10 shown in (1), if the mobile phone detects that the user clicks the close control 1026, the mobile phone marks the off mode as selected in the mode selection window 1022. As Figure 10 shown in (2), if the mobile phone continues to detect the user's click on the confirm control 1028, the mobile phone plays the third clipped video compilation and displays the icon of the mode switch entry 1021 as a close icon, as Figure 10 indicated by the arrow in (2).
[0151] This application shows examples of mobile phone operations that do not support intelligent adjustment capabilities through the following Figures 11 to 13 Compared with mobile phones that support intelligent adjustment capabilities, mobile phones that do not support intelligent adjustment capabilities do not display the above intelligent adjustment mode and intelligent adjustment original sound control.
[0152] Exemplarily, as Figure 11 shown in (1), when the user uses the one - key blockbuster function of the mobile phone to jump to the blockbuster editing interface 102 (as Figures 1 to 2 shown in the process), and when the mobile phone first recognizes a segment that needs to retain the original video sound for the first time, the icon of the mode switch entry 1021 is defaultly displayed as a custom icon. The user can click the mode switch entry 1021, and the mobile phone responds to the user's click on the mode switch entry 1021 and displays the mode selection window 1044, as Figure 11As shown in (2), the mode selection window 1044 includes a custom control 1046, a custom video original sound volume control 1045, a close control 1047, a cancel control 1048, and an OK control 1049. If the mobile phone detects an operation where the user clicks the custom control 1046 or the close control 1047, it marks the custom adjustment mode or the close mode as selected in the mode selection window 1044. If the mobile phone then detects an operation where the user clicks the OK control 1049, it determines that the adjustment mode for the current video original sound volume is the custom adjustment mode or the close mode. If the mobile phone detects an operation where the user clicks the cancel control 1048, it cancels the current mode selection and closes the mode selection window 1044. If the mobile phone detects an operation where the user clicks the custom video original sound volume control 1045, it displays a custom settings window 1050 where the user can modify the custom settings. As Figure 11 As shown in (3), the custom settings window 1050 includes a close control 1051, an OK control 1052, a volume bar 1053, and an apply to all control 1054. The user can select different video segments and slide the volume bar 1053 left or right. In response to the user's operation of sliding the volume bar 1053 left or right, the mobile phone sets the video original sound volume setting of the video segments selected by the user in the custom settings to the corresponding value or the displayed value of the volume bar 1053. As Figure 11 As shown in (4), the user selects video segment 1 and slides the volume bar 1053 from 100 to 150. In response to this operation, the mobile phone modifies the video original sound volume setting of video segment 1 in the custom settings from 100 to 150. The user can also click the apply to all control 1054. In response to the user's click on the apply to all control 1054, the mobile phone synchronously applies the video original sound volume setting of the video segments selected by the user to other video segments in the custom settings. The user can also click the OK control 1052. In response to the user's click on the OK control 1052, the mobile phone saves the user's current custom settings. The user can also click the close control 1051. In response to the user's click on the close control 1051, the mobile phone cancels the saving of the user's current custom settings.
[0153] Exemplarily, as Figure 12 As shown in (1), if the mobile phone detects an operation where the user clicks the close control 1047, it marks the close mode as selected in the mode selection window 1044. As Figure 12 As shown in (2), if the mobile phone continues to detect an operation where the user clicks the OK control 1049, the mobile phone plays the third clip video finished product and displays the icon of the mode switch entry 1021 as a close icon, as Figure 12 at the position indicated by the arrow in (2).
[0154] Exemplarily, the mobile phone displays as Figure 13The interface shown in (1), which includes a segment control 1029. As it can be seen from the custom icon displayed by the mode switching entry 1021, the current mode is the custom adjustment mode. The user can click on the segment control 1029, such as Figure 13 As shown in (2), after the mobile phone detects the user's operation of clicking on the segment control 1029, a segment editing window 1030 is displayed. The user can click on different video segments to select the corresponding video segments. For example, when the mobile phone responds to the user's click on video segment 1, the selected video segment 1 is marked in the segment editing window 1030. After the user selects a video segment, they can click on the volume control 1032 to adjust the original video volume of the corresponding video segment. For example, when the user selects video segment 1 and clicks on the volume control 1032, the mobile phone responds to the user's click on the volume control 1032 and displays an original video volume window 1033. As Figure 13 Shown in (3), the volume bar 1036 is at a custom position (or volume). The user can slide the volume bar 1036 to the left or right. After the mobile phone detects the user's operation of sliding the volume bar 1036 to the left or right, the original video volume of the selected video segment (video segment 1) is lowered or raised. The user can click on the apply to all control 1037. After the mobile phone responds to the user's click on the apply to all control 1037, the current setting of the original video volume for video segment 1 is applied to other video segments (video segment 2 and video segment 3).
[0155] It should be noted that in a special case, if the user, in the custom adjustment mode, sets the original video volume of all video segments to 0 and saves it, when the user operates the mobile phone to Figure 13 return from the interface shown in (3) to the interface shown in Figure 13 (1), the mobile phone automatically displays a mode selection window 1022, and the closed mode is default marked as selected in the mode selection window 1044, as Figure 12 shown in (1). For example, when the mobile phone displays the interface shown in Figure 13 (3), the user clicks on the save control 1035. After the mobile phone responds to the user's click on the save control 1035, it displays the interface shown in Figure 13 (2). Then the user clicks on the return control 1031 in the segment editing window 1030. After the mobile phone responds to the user's click on the return control 1031, it displays the interface shown in Figure 12 (1).
[0156] This application introduces the adjustment rules for the music volume and the original video volume in the edited video finished product through the following Figure 14a 、 Figure 14b 、 Figure 15 、 Figure 16 and Figure 17 .
[0157] Exemplarily, the mobile phone displays an interface as shown in Figure 14a (1) below. This interface includes an editing control 1055. If the mobile phone detects that the user clicks on the editing control 1055, the mobile phone displays multiple editing items including: stickers, clips, filters, music 1056, and text, as shown in Figure 14a (2) below. If the mobile phone detects that the user clicks on the music 1056, the mobile phone displays multiple music editing items including: replace, delete, edit 1057, and split, as shown in Figure 14a (3) below. If the mobile phone detects that the user clicks on the edit 1057, the mobile phone displays a music volume editing window 1058, as shown in Figure 14b (1) below. This music volume editing window 1058 includes: a cancel control 1059, an OK control 1060, a selection box 1061, and a volume bar 1062. If the mobile phone detects that the user clicks on the cancel control 1059, the mobile phone cancels saving the user's current edit. If the mobile phone detects that the user clicks on the OK control 1060, the mobile phone saves the user's current edit. The user can also change the selected video content by changing the size of the selection box 1061 or moving the selection box left or right. The mobile phone responds to the user's operation on the selection box 1061 and marks the corresponding selected video content in the music volume editing window 1058. As shown in Figure 14b (2) below, when the user moves the selection box 1061 to the left, the mobile phone responds to this operation and marks the video content with a time of 00:25 - 00:35 as selected in the music volume editing window 1058. As shown in Figure 14b (3) below, the user can also change the music volume of the selected video content by swiping the volume bar 1062 left or right. The mobile phone responds to the user's operation of swiping the volume bar 1062 left or right and lowers or raises the music volume of the video content selected by the user. As shown in Figure 14b (4) below, when the user swipes the volume bar 1062 to the left, the mobile phone responds to this operation and adjusts the music volume of the selected video content from 100 to 80.
[0158] Exemplarily, as shown in Figure 15 (1) below, before starting the intelligent adjustment mode, the music volume of the edited video clips is all 100. After starting the intelligent adjustment mode, the music volume of the part with video original sound in the edited video clips is 50, and the music volume of the part without video original sound is 100. If the user adjusts the music volume of the part without video original sound, the mobile phone automatically adjusts the music volume of the part with video original sound proportionally. As shown in Figure 15 (2) below, when the user adjusts the music volume of the part without video original sound from 100 to 80, the mobile phone automatically adjusts the music volume of the part with video original sound from 50 to 40. If the user adjusts the music volume of the part with video original sound, the music volume of the part with video original sound will remain unchanged.Figure 15 As shown in (3), after the user adjusts the music volume with the video original sound part from 50 to 60, the music volume without the video original sound part remains unchanged at 100. Among them, the way to adjust the music volume with the video original sound part or without the video original sound part can be, for example, Figure 14b As shown in (1), the user can select the part with the video original sound or without the video original sound by changing the size of the selection box 1061 or moving the selection box left and right. After selecting the corresponding content, the music volume with the video original sound part or without the video original sound part can be adjusted by sliding the volume control 1062 left and right.
[0159] Exemplarily, for example, Figure 16 As shown in (1), the user can adjust the size of the video original sound volume of the selected video segment by sliding the volume bar 1053 left or right. To coordinate the video original sound volume and the music volume, the present application proposes two solutions. The first solution is that when the user adjusts the video original sound volume, the mobile phone automatically adjusts the music volume in equal proportion; the second solution is that when the user adjusts the video original sound volume, the music volume remains unchanged. In the custom setting window 1050 of the present application, a clickable equal proportion adjustment control 1063 is set, and the equal proportion adjustment control 1063 is default in the closed state. When the equal proportion adjustment control 1063 is in the closed state, if the mobile phone detects the user's operation on the equal proportion adjustment control 1063, the mobile phone will turn on the equal proportion adjustment function, such as Figure 16 As shown in (2), if the mobile phone continues to detect that the user adjusts the video original sound volume, it will automatically adjust the music volume in equal proportion. When the equal proportion adjustment control 1063 is in the open state, if the mobile phone detects the user's operation on the equal proportion adjustment control 1063, the mobile phone will turn off the equal proportion adjustment function, such as Figure 16 As shown in (3), if the mobile phone continues to detect that the user adjusts the video original sound volume, the music volume remains unchanged. Among them, Figure 16 For the origin of the interface shown in (1), reference can be made to the description of Figure 7 or Figure 11 The user can also refer to the ways shown in, for example, Figure 6a 、 Figure 6b 、 Figure 9a and Figure 9b to adjust the video original sound volume, which will not be introduced in detail here. The equal proportion adjustment control 1063 can also be set in the Figure 7 custom setting window 139 shown in (2), Figure 6b the video original sound volume window 1033 shown in (1) or Figure 9b the video original sound volume window 1033 shown in (1).
[0160] For example, Figure 17As shown in (1), before the user adjusts the original video sound, the music volume of all video content is 100. When the equal-proportion adjustment function is turned off, as Figure 17 shown in (2), the user adjusts the original video sound volume from 100 to 50, and the music volume remains unchanged. When the equal-proportion adjustment function is turned on, as Figure 17 shown in (3), the user adjusts the original video sound volume from 100 to 50, and the mobile phone automatically adjusts the music volume proportionally from 100 to 50. The method of Solution 1 may make the music volume seem very abrupt. If the user feels that the music volume is too high, they can choose to adjust the music volume to an appropriate value on the music volume adjustment panel. The method of Solution 2 can solve the problem of excessive background music volume. If the user still feels that the music volume is inappropriate, they can also choose to adjust the music volume to an appropriate value on the music volume adjustment panel. The method of adjusting the music volume on the music volume adjustment panel can be referred to for the descriptions of Figure 14b (3) and (4).
[0161] It should be noted that the original video sound volume in this application is equivalent to the original video sound volume, and the music volume is equivalent to the background music volume, and they can be substituted for each other. In addition, the interface diagrams shown in the embodiments of this application are all examples, and the interface may also include more or fewer icons, buttons, controls, options, etc. than those in the figures, which will not be specifically described here.
[0162] In addition, after adjusting a certain volume bar, such as volume bar 1036, volume bar 1042, volume bar 1053, and volume bar 1062, the mobile phone can display the edited video clip generated after adjusting the volume bar to give the user a preview of the effect of the edited video clip after adjusting the volume.
[0163] This embodiment also provides a computer storage medium, in which computer instructions are stored. When the computer instructions run on an electronic device, the electronic device is enabled to execute the above relevant method steps to implement the video editing method in the above embodiment.
[0164] This embodiment also provides a computer program product. When the computer program product runs on a computer, the computer is enabled to execute the above relevant steps to implement the video editing method in the above embodiment.
[0165] In addition, the embodiments of this application also provide a device, which may specifically be a chip, component, or module. The device may include a processor and a memory connected to each other; wherein, the memory is used to store computer execution instructions. When the device runs, the processor can execute the computer execution instructions stored in the memory to enable the chip to execute the video editing method in each of the above method embodiments.
[0166] Among them, the electronic device (such as a mobile phone, etc.), computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here.
[0167] From the descriptions of the above embodiments, those skilled in the art can understand that, for the convenience and simplicity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0168] In several embodiments provided in this application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.
[0169] As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A video editing method, characterized in that, Applied to an electronic device, the method includes: Display a first interface, which includes multimedia materials selected by the user; the multimedia materials include at least video materials; In response to a first operation, generate a first edited video clip corresponding to the multimedia materials; the first edited video clip includes at least one first video segment, the original video volume of each first video segment is a first value, the music volume of each first video segment is a second value, and the ratio of the first value to the second value is a preset ratio; Display a second interface; the second interface includes the first edited video clip.
2. The method according to claim 1, wherein The first edited video clip further includes at least one second video segment, there is no original video sound in each second video segment, and the music volume of each second video segment is the first value.
3. The method according to claim 1, characterized in that The second interface further includes a first control, the first control is used to set the volume of the original video sound, and the method further includes: In response to a second operation on the first control, display a third interface; the third interface includes a second control, and the second control is used to indicate custom setting of the volume of the original video sound; In response to a third operation on the second control, display a fourth interface; the fourth interface includes a second edited video clip; wherein, in the second edited video clip, the original video volume of each first video segment is a custom volume.
4. The method according to claim 3, characterized in that The third interface further includes a third control, and the method further includes: Display the third interface; In response to a fourth operation on the third control, display a fifth interface; the fifth interface includes a third edited video clip, and in the third edited video clip, the original video volume of each first video segment is 0.
5. The method according to claim 3, characterized in that The third interface further includes a fifth control, and the method further includes: Display the third interface; In response to a fifth operation on the fifth control, display a sixth interface; the sixth interface includes a first volume setting option and at least one of the first video segments; the at least one first video segment includes a first target video segment, and the first target video segment is in a selected state; In response to a sixth operation on the first volume setting option, adjust the custom volume corresponding to the first target video segment to a third value corresponding to the first volume setting option.
6. The method according to claim 5, wherein The sixth interface further includes a sixth control; After adjusting the custom volume corresponding to the first target video segment to a third value corresponding to the first volume setting option, the method further includes: In response to a seventh operation on the sixth control, adjust the custom volume corresponding to each first video segment to the third value.
7. The method according to claim 1, wherein The second interface further includes a seventh control, and the method further includes: Display the second interface; In response to an eighth operation on the seventh control, display a seventh interface; the seventh interface includes an eighth control and at least one of the first video segments; the at least one first video segment includes a second target video segment, and the second target video segment is in a selected state; In response to a ninth operation on the eighth control, display an eighth interface; the eighth interface includes a second volume setting option; In response to a tenth operation on the second volume setting option, set the original video volume of the second target video segment in the first clipped video into a fourth value corresponding to the second volume setting option, to obtain a fourth video clipped into a complete piece.
8. The method according to claim 7, wherein The eighth interface further includes a ninth control, and the method further includes: Display the eighth interface; In response to an eleventh operation on the second volume setting option and a twelfth operation on the ninth control, set the original video volume of each of the first video segments in the first clipped video into a fifth value corresponding to the second volume setting option, to obtain a fifth clipped video into a complete piece.
9. The method according to claim 7, wherein The eighth interface further includes a tenth control; Display the eighth interface; In response to a thirteenth operation on the tenth control, reset the original video volume of each of the first video segments to the first value.
10. The method according to claim 7, characterized in that The eighth interface further includes an eleventh control, and the method further includes: Display the eighth interface; In response to a fourteenth operation on the eleventh control and a fifteenth operation on the second volume setting option, adjust the original video volume of the second target video segment in the first clipped video from a sixth value to a seventh value; And adjust the music volume of the second target video segment in the first clipped video from an eighth value to a ninth value, to obtain a sixth video clipped into a complete piece; the ratio of the sixth value to the seventh value is the same as the ratio of the eighth value to the ninth value.
11. The method according to claim 2, characterized in that The method further includes: Display the second interface; In response to a sixteenth operation, display a ninth interface; the ninth interface includes a video segment selection box and a third volume setting option; In response to a seventeenth operation on the video segment selection box, determine a third target video segment selected by the video segment selection box; In the case where there is original video sound in the third target video segment, in response to an eighteenth operation on the third volume setting option, set the music volume of each of the first video segments to a tenth value corresponding to the third volume setting option, to obtain a seventh video clipped into a complete piece; In the case where the target video segment is the second video segment, in response to a nineteenth operation on the third volume setting option, adjust the music volume of each of the second video segments from an eleventh value to a twelfth value, and adjust the music volume of each of the first video segments from a thirteenth value to a fourteenth value, to obtain an eighth video clipped into a complete piece; wherein, the ratio of the eleventh value to the twelfth value is the same as the ratio of the thirteenth value to the fourteenth value.
12. An electronic device, characterized in that, Includes: One or more processors; A memory; And one or more computer programs, wherein the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, cause the electronic device to execute the video clipping method according to any one of claims 1-11.
13. A computer-readable storage medium, comprising a computer program, characterized in that, When the computer program runs on an electronic device, the electronic device is caused to execute the video clip method according to any one of claims 1-11.