Audio processing method, device, electronic device and storage medium
By automatically revising the original audio on the video editing page and displaying the revising status, the problem of poor quality of user creation works is solved, and the audio quality and user experience are improved.
Patent Information
- Application Number
- CN202111145023.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-28
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2041-09-28
AI Technical Summary
When users use video applications to create, the quality of the works they create is poor, resulting in a small number of users publishing works.
When the user enters the video editing page, the original audio is automatically modified, and the target control in the first state is displayed on the video editing page, indicating that the sound modification is being performed.
Through intelligent sound editing processing, the quality of the original audio is improved, the audio playback effect is obtained, and the user's interactive experience and editing efficiency are improved.
Smart Images

Figure CN113891151B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information technology, and in particular to an audio processing method, device, electronic device and storage medium. Background Art
[0002] With the rapid development of terminal technology and network technology, current video applications usually have functions such as publishing works. Users can create through video applications, such as recording audio and video.
[0003] However, relevant statistics show that there are more users who create works based on video applications, but fewer users who publish works. The reason may be that the quality of works created by users based on video applications is poor.
[0004] Therefore, how to improve the quality of users' creations is the main problem that needs to be solved. Summary of the invention
[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide an audio processing method, device, electronic device and storage medium, which improve the quality of the original audio and obtain better audio playback effects.
[0006] In a first aspect, an embodiment of the present disclosure provides an audio processing method, the method comprising:
[0007] In response to a triggering operation of entering a video editing page for a target video for the first time, displaying the video editing page;
[0008] Wherein, if the original audio in the target video meets the preset condition, the original audio is subjected to audio trimming while the video editing page is displayed, and a target control in a first state is displayed on the video editing page, wherein the target control in the first state is used to indicate that the original audio is being subjected to audio trimming;
[0009] When the original audio is being trimmed, in response to a trigger operation acting on an editing control, an editing operation corresponding to the editing control is performed on the target video, and at least one editing control is displayed on the video editing page.
[0010] In a second aspect, an embodiment of the present disclosure further provides an audio processing device, the device comprising:
[0011] A first display module, configured to display a video editing page in response to a trigger operation of first entering a video editing page for a target video;
[0012] A processing module, configured to perform audio trimming processing on the original audio in the target video while displaying the video editing page if the original audio in the target video meets a preset condition;
[0013] The first display module is further used to display a target control in a first state on the video editing page, and the target control in the first state is used to indicate that the original audio is being trimmed;
[0014] The editing module is used to perform an editing operation corresponding to the editing control on the target video when performing audio trimming processing on the original audio, in response to a trigger operation acting on the editing control, and at least one editing control is displayed on the video editing page.
[0015] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0016] one or more processors;
[0017] A storage device for storing one or more programs;
[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the audio processing method as described above.
[0019] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which implements the audio processing method as described above when executed by a processor.
[0020] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the audio processing method as described above is implemented.
[0021] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has at least the following advantages: the audio processing method provided by the embodiments of the present disclosure, when entering the video editing page, automatically performs audio trimming on the original audio in the video, and displays a target control in a first state on the video editing page, wherein the target control in the first state is used to indicate that the original audio is being audio trimmed, thereby realizing intelligent audio trimming of the original audio, improving the quality of the original audio, and obtaining a better audio playback effect, and prompting the user through the target control in the first state that the original audio is currently being audio trimmed, thereby enabling the user to obtain a better interactive experience; and in the process of audio trimming the original audio, it does not affect the user's other editing operations on the target video, thereby further enhancing the user experience and improving editing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0023] Figure 1 is a flowchart of an audio processing method in an embodiment of the present disclosure;
[0024] Figure 2 is a schematic diagram of a video recording page in an embodiment of the present disclosure;
[0025] Figure 3 is a schematic diagram of a video editing page in an embodiment of the present disclosure;
[0026] Figure 4 is a schematic diagram of a video editing page in an embodiment of the present disclosure;
[0027] Figure 5 is a schematic diagram of a video editing page in an embodiment of the present disclosure;
[0028] Figure 6 is a structural schematic diagram of a video processing device in an embodiment of the present disclosure;
[0029] Figure 7 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0030] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0031] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0032] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0033] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0034] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0035] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0036] Figure 1 This is a flowchart of an audio processing method in an embodiment of the present disclosure. This embodiment can be applied to the scene of video recording in a video client, typically in a karaoke recording scene, to improve the user's singing effect and beautify the user's singing audio. The method can be executed by an audio processing device, which can be implemented in software and / or hardware. The device can be configured in an electronic device, such as a terminal, specifically including but not limited to a smartphone, a PDA, a tablet computer, a wearable device with a display screen, a desktop computer, a laptop computer, an all-in-one machine, a smart home device, etc.
[0037] like Figure 1 As shown, the method may specifically include the following steps:
[0038] Step 110: In response to a trigger operation of entering a video editing page for a target video for the first time, display the video editing page.
[0039] The target video may be recorded by the user in real time, for example, the user records or shoots the target video through the shooting page of the video application, and then jumps to the video editing page for the target video based on the shooting page of the video application. This process is the first time to enter the video editing page for the target video. The target video may also be a video selected from the user's photo album, which may be a video previously recorded or downloaded by the user.
[0040] Specifically, the target video may be a video recorded in a karaoke scene that includes the user's singing audio. In the karaoke scene, the user can select a song as a preset reference audio through the video application, and the lyrics of the preset reference audio will be displayed on the recording page of the video application. When the camera of the video application is turned on, the user's portrait can also be displayed on the recording page. If the camera of the video application is turned off (the user can customize the camera's turning on and off), the recording page can also display a preset screen, such as the MV screen that comes with the song.
[0041] In some embodiments, the target prompt information is also displayed on the recording page of the karaoke scene, and the target prompt information is determined based on the attribute characteristics of the song selected by the user and the user's recording behavior. Specifically, if there is a sound-adjusting resource (for example, a MIDI file) corresponding to the song selected by the user in the video application or in the server associated with the video application, in other words, if the song selected by the user supports intelligent sound-adjusting, the target prompt information 1 can be "The current song can support intelligent sound-adjusting, please wear wired headphones throughout the process". The target prompt information is used to prompt the user to wear wired headphones throughout the recording. The audio effect recorded by wearing wired headphones is better and the quality is better. It can provide higher-quality original resources for intelligent sound-adjusting and also provide a guarantee for users to record better audio. If there is no sound-adjusting resource (for example, a MIDI file) corresponding to the song selected by the user in the video application or in the server associated with the video application, in other words, if the song selected by the user does not support intelligent sound-adjusting, and it is detected that the user is not wearing a wired headset, but a wireless headset is used, but the performance of the headset is not good, then the target prompt information 2 can be "Due to the performance of the headset, the microphone will be started for recording". If there is no audio editing resource (for example, a MIDI file) corresponding to the song selected by the user in the video application or in a server associated with the video application, in other words, if the song selected by the user does not support intelligent audio editing, and the user does not use headphones but uses a microphone for recording, then the target prompt information 3 can be "It is better to wear headphones."
[0042] In some implementations, regardless of whether the song selected by the user supports intelligent tuning, the target prompt information 1, target prompt information 2, and target prompt information 3 are displayed in turn. By displaying the target prompt information on the recording page, the user's recording behavior can be correctly guided, and the user can be guided to record a better singing audio, which can improve the user's experience.
[0043] In general, on the recording page of the target video, target prompt information is displayed based on the attribute characteristics of the preset reference audio (i.e., the audio of the song selected by the user) and / or the user's recording behavior; wherein the audio in the target video is recorded based on the preset reference audio. Figure 2In a karaoke scene shown, an interface diagram of a video recording page is shown, which displays the lyrics of the song selected by the user, a preset portrait (the background image below the lyrics), and the target prompt information 210. When the user triggers the recording control 220, recording starts. By triggering the camera control 230, the state of the camera can be switched, such as turning the camera on or off. It should be noted that due to the limited display area, if the target prompt information 210 has a large number of words, it can be displayed in a scrolling manner in the form of a "marquee". Optionally, the target prompt information 210 is only displayed before recording. When the user triggers the recording control 220 to start recording, the display of the target prompt information 210 is cancelled; the user can also manually turn off the display of the target prompt information 210 by triggering the close control "×" 211.
[0044] Step 120: If the original audio in the target video meets a preset condition, the original audio is trimmed while the video editing page is displayed, and a target control in a first state is displayed on the video editing page, wherein the target control in the first state is used to indicate that the original audio is being trimmed.
[0045] Among them, the preset condition can be that there are audio-adjusting resources corresponding to the song selected by the user in the video application or in the server associated with the video application, and the user wears wired headphones throughout the recording process. It can also be said that there are corresponding audio-adjusting resources for the original audio in the target video, and the original audio is recorded by wearing wired headphones throughout the process. If the original audio in the target video meets the preset conditions, the original audio is audio-adjusted while entering the video editing page, and the user does not need to trigger the relevant audio-adjusting controls before the original video is audio-adjusted, which realizes the automatic processing of the original audio and can improve the processing efficiency of the original audio and the user experience. In order to enable the user to understand the audio-adjusting processing performed on the original audio, the target control in the first state is displayed on the video editing page. The target control in the first state is used to indicate that the original audio is being audio-adjusted, so that the user can be informed of the relevant processing performed on the original audio in a timely manner.
[0046] For example, see Figure 3 A schematic diagram of a video editing page is shown, in which a target control 310 in a first state is displayed, and the target control 310 is used to prompt the user that the original audio in the target video is currently being trimmed.
[0047] Step 130: When the original audio is being trimmed, in response to a trigger operation acting on an editing control, an editing operation corresponding to the editing control is performed on the target video, and at least one editing control is displayed on the video editing page.
[0048] For example, see Figure 3 The schematic diagram of a video editing page shown in FIG. 1 further displays at least one editing control on the video editing page, such as a "text" control 320, a "sticker" control 330, a "filter" control 340, a "special effect" control 350, or a "quality enhancement" control 360. When the original audio is being trimmed, if the user triggers the "text" control 320, the editing page for adding text is displayed; if the user triggers the "filter" control 340, the target video is filtered. That is, in the process of trimming the original audio, other editing operations of the user on the target video are not affected, for example, the user can add filters, text, stickers, or enhance the quality of the target video. In other words, during the process of automatically correcting the original audio, the user can manually perform other editing operations on the target video according to his or her needs, such as adding text, stickers or filters; in this way, when the audio correction processing of the original audio is completed, other editing operations manually performed by the user are also basically completed. Compared with waiting for the audio correction processing to be completed and then manually performing other editing operations, the former can further improve the editing efficiency of the target video, save user time, and thus achieve the purpose of improving user experience.
[0049] In some implementations, the original audio is played while the video editing page is displayed; when it is detected that the audio trimming process is completed, the audio after the audio trimming process continues to be played from the playback progress of the original audio when the audio trimming process is completed. For example, the audio trimming process takes 3 seconds, and when the audio trimming process is completed, the playback progress of the original audio reaches 3 seconds, and the audio after the audio trimming process continues to be played from 3 seconds, instead of starting from the beginning of the original audio, that is, starting from 0 seconds when the playback progress is 0 seconds.
[0050] In some embodiments, reference is made to Figure 4 A schematic diagram of a video editing page is shown, wherein a target control 410 in a second state is displayed, and the target control in the second state is used to indicate that the audio trimming process for the original audio is completed. In general, when the audio trimming process is detected to be completed, the state of the target control is controlled to switch to the second state, and the target control in the second state is used to indicate that the audio trimming process for the original audio is completed.
[0051] In some embodiments, when the user triggers the target control 410, the state of the target control 410 is switched to the third state, such as Figure 5The target control 510 in the third state is shown, and the target control 510 in the third state is used to prompt that the original audio is not to be processed. From the state of the target control 510 is switched to the third state, the original audio continues to be played from the current playback progress on the video editing page, and the audio after the audio is no longer played. In general, in response to the operation of switching the state of the target control from the second state to the third state, the original audio continues to be played from the current playback progress; wherein, when the target control is in the second state, the audio after the audio processing is played on the video editing page. For example, enter the video editing page to start playing the original audio, and automatically perform audio processing on the original audio. The state of the target control is in the first state. Assuming that at the 3rd second, the audio processing is completed, the state of the target control is switched from the first state to the second state. At this time, the playback progress of the original audio reaches the 3rd second, and the playback progress starts to play the audio after the audio is adjusted from the 4th second. If the user switches the state of the target control from the second state to the third state at the 6th second, the playback progress continues to play the original audio from the 7th second.
[0052] In some embodiments, in response to an action on a release control (such as Figure 4 Release control 420 in Figure 5 The target video that includes the audio after the audio is adjusted is released if the target control is in the second state, and the target video that includes the audio after the audio is adjusted is released if the target control is in the third state. That is, when releasing the target video, the user can choose to release the audio after the audio is adjusted or the original audio before the audio is adjusted. By providing users with a variety of options, the personalized needs of different users can be met respectively. For example, some users think that they sing better and do not like the sound effects after the audio is adjusted. In this case, the user can switch the state of the target control to the third state before releasing the target video; and some users think that they are tone-deaf and do not sing well, and prefer the sound effects after the audio is adjusted. In this case, such users can switch the state of the target control to the second state before releasing the target video.
[0053] In some embodiments, in response to the operation of returning to the video editing page after exiting the video editing page, the video editing page including the target control is displayed, wherein, if the original audio has not changed, the state of the target control is controlled to remain consistent with the state of the target control when the video editing page was exited. That is, if the user exits the video editing page but does not change the original audio, the state of the target control at the time of exit is maintained when the video editing page is re-entered, and the original audio is not re-trimmed. For example, when the user exits the video editing page, the state of the target control is the first state "trimming audio". If the user exits the video editing page but does not change the original audio, the original audio continues to be trimmed when the video editing page is returned again, and the state of the target control remains in the first state "trimming audio"; if the original audio changes, the original audio that has changed is automatically trimmed when the video editing page is returned again, and the state of the target control is the first state "trimming audio". If the state of the target control is the second state "audio adjustment completed" when the user exits the video editing page, if the user exits the video editing page but does not change the original audio, then when the user returns to the video editing page again, the original audio is not adjusted again, but the audio that has been adjusted before is directly called, and the state of the target control remains in the second state "audio adjustment completed"; if the original audio is changed, then when the user returns to the video editing page again, the changed original audio is automatically adjusted, and the state of the target control is the first state "audio adjustment in progress". If the state of the target control is the third state "no audio trimming" when the user exits the video editing page, if the user exits the video editing page but does not change the original audio, then when returning to the video editing page again, the state of the target control remains in the third state "no audio trimming", if the user switches the state of the target control to the second state "audio trimming", the original audio is not re-trimmed, but the audio that has been trimmed before is directly called; if the original audio changes, then when returning to the video editing page again, the state of the target control remains in the third state "no audio trimming", if the user switches the state of the target control to the second state "audio trimming", the changed original audio is automatically trimmed, and the state of the target control is controlled to be the first state "audio trimming".
[0054] Specifically, whether the original audio has changed can be determined based on the target page entered after the user exits the video editing page. For example, if the user enters the video recording page after exiting the video editing page, when the user returns to the video editing page based on the video recording page, it can be considered that the original audio has changed; if the user enters the video publishing page after exiting the video editing page, when the user returns to the video editing page from the video publishing page, it can be considered that the original audio has not changed.
[0055] The audio processing method provided by the embodiment of the present disclosure automatically performs audio trimming on the original audio in the video when the video editing page is entered for the first time, and displays a target control in a first state on the video editing page. The target control in the first state is used to indicate that the original audio is being audio trimmed, thereby realizing intelligent audio trimming of the original audio, which can improve the quality of the original audio and obtain a better audio playback effect. The target control in the first state prompts the user that the original audio is currently being audio trimmed, which can enable the user to obtain a better interactive experience. In the process of audio trimming the original audio, other editing operations of the user on the target video are not affected, which can further enhance the user experience and improve the editing efficiency.
[0056] Figure 6 The audio processing device provided in the embodiment of the present disclosure can be configured in a client, and the audio processing device 60 specifically includes: a first display module 610 , a processing module 620 and an editing module 630 .
[0057] Among them, the first display module 610 is used to display the video editing page in response to the trigger operation of entering the video editing page for the target video for the first time; the processing module 620 is used to, if the original audio in the target video meets the preset conditions, perform audio trimming processing on the original audio while displaying the video editing page; the first display module 610 is also used to display a target control in a first state on the video editing page, and the target control in the first state is used to indicate that the original audio is being trimmed; the editing module 630 is used to perform an editing operation corresponding to the editing control on the target video when the original audio is trimmed, in response to the trigger operation acting on the editing control, and at least one editing control is displayed on the video editing page.
[0058] Optionally, it also includes: a playback module, used to play the original audio while displaying the video editing page; when it is detected that the audio editing process is completed, continue to play the audio after the audio editing from the playback progress of the original audio when the audio editing process is completed.
[0059] Optionally, it also includes: a control module, which is used to control the state of the target control to switch to a second state when it is detected that the audio trimming process is completed, and the target control in the second state is used to indicate that the audio trimming process for the original audio is completed.
[0060] Optionally, the playback module is also used to: in response to the operation of switching the state of the target control from the second state to the third state, continue playing the original audio from the current playback progress; wherein, when the target control is in the second state, the audio that has undergone the audio editing processing is played on the video editing page.
[0061] Optionally, it also includes: a publishing module, which is used to respond to a trigger operation acting on a publishing control, if the target control is in the second state, publish the target video including the audio that has been processed with audio editing, if the target control is in the third state, publish the target video including the original audio.
[0062] Optionally, the first display module is also used to: in response to exiting the video editing page and entering a preset page, based on an operation of returning to the video editing page from the preset page, display the video editing page, and control the state of the target control to remain consistent with the state of the target control when exiting the video editing page.
[0063] Optionally, it also includes: a second display module, used to display target prompt information on the recording page of the target video based on the attribute characteristics of the preset reference audio and / or the user's recording behavior; wherein the audio in the target video is recorded based on the preset reference audio.
[0064] The audio processing device provided in the embodiment of the present disclosure can execute the steps executed by the client in the audio processing method provided in the embodiment of the method of the present disclosure, and the execution steps and beneficial effects are no longer repeated here.
[0065] Figure 7 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 7 , which shows a schematic diagram of the structure of an electronic device 500 suitable for implementing the embodiment of the present disclosure. The electronic device 500 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), wearable electronic devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0066] like Figure 7As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 to a random access memory (RAM) 503 to implement the audio processing method of the embodiment described in the present disclosure. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0067] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0068] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the audio processing method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0069] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0070] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0071] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0072] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: displays a video editing page in response to a trigger operation of entering a video editing page for a target video for the first time; wherein, if the original audio in the target video meets a preset condition, the original audio is trimmed while the video editing page is displayed, and a target control in a first state is displayed on the video editing page, wherein the target control in the first state is used to indicate that the original audio is being trimmed; when the original audio is being trimmed, an editing operation corresponding to the editing control is performed on the target video in response to a trigger operation acting on the editing control, and at least one editing control is displayed on the video editing page.
[0073] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.
[0074] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0075] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0076] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0077] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0078] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0079] According to one or more embodiments of the present disclosure, the present disclosure provides an audio processing method, comprising: in response to a trigger operation of entering a video editing page for a target video for the first time, displaying a video editing page; wherein, if the original audio in the target video meets a preset condition, performing audio trimming processing on the original audio while displaying the video editing page, and displaying a target control in a first state on the video editing page, wherein the target control in the first state is used to indicate that the original audio is being audio trimmed; while the original audio is being audio trimmed, in response to a trigger operation acting on an editing control, performing an editing operation corresponding to the editing control on the target video, and displaying at least one editing control on the video editing page.
[0080] According to one or more embodiments of the present disclosure, in the audio processing method provided by the present disclosure, optionally, it also includes: playing the original audio while displaying the video editing page; when it is detected that the audio trimming process is completed, continuing to play the trimmed audio from the playback progress of the original audio when the audio trimming process is completed.
[0081] According to one or more embodiments of the present disclosure, the present disclosure provides an audio processing method, which optionally further includes: when it is detected that the audio trimming processing is completed, controlling the state of the target control to switch to a second state, and the target control in the second state is used to indicate that the audio trimming processing for the original audio is completed.
[0082] According to one or more embodiments of the present disclosure, the present disclosure provides an audio processing method, which optionally further includes: in response to an operation of switching the state of the target control from the second state to the third state, continuing to play the original audio from the current playback progress;
[0083] Wherein, when the target control is in the second state, the audio after the audio modification processing is played on the video editing page.
[0084] According to one or more embodiments of the present disclosure, the present disclosure provides an audio processing method, which optionally further includes: in response to a trigger operation acting on a publishing control, if the target control is in the second state, publishing a target video including the audio that has been processed with audio editing; if the target control is in the third state, publishing a target video including the original audio.
[0085] According to one or more embodiments of the present disclosure, the present disclosure provides an audio processing method, which optionally further includes: in response to exiting the video editing page, after entering a preset page, based on an operation of returning to the video editing page from the preset page, displaying the video editing page, and controlling the state of the target control to remain consistent with the state of the target control when exiting the video editing page.
[0086] According to one or more embodiments of the present disclosure, the present disclosure provides an audio processing method, which optionally further includes: on the recording page of the target video, displaying target prompt information based on the attribute characteristics of a preset reference audio and / or the user's recording behavior; wherein the audio in the target video is recorded based on the preset reference audio.
[0087] According to one or more embodiments of the present disclosure, the present disclosure provides an audio processing device, including:
[0088] A first display module, configured to display a video editing page in response to a trigger operation of first entering a video editing page for a target video;
[0089] A processing module, configured to perform audio trimming processing on the original audio in the target video while displaying the video editing page if the original audio in the target video meets a preset condition;
[0090] The first display module is further used to display a target control in a first state on the video editing page, and the target control in the first state is used to indicate that the original audio is being trimmed;
[0091] The editing module is used to perform an editing operation corresponding to the editing control on the target video when performing audio trimming processing on the original audio, in response to a trigger operation acting on the editing control, and at least one editing control is displayed on the video editing page.
[0092] According to one or more embodiments of the present disclosure, in the audio processing device provided by the present disclosure, optionally, it also includes: a playback module, used to play the original audio while displaying the video editing page; when it is detected that the audio trimming process is completed, continue to play the trimmed audio from the playback progress of the original audio when the audio trimming process is completed.
[0093] According to one or more embodiments of the present disclosure, in the audio processing device provided by the present disclosure, optionally, it also includes: a control module, which is used to control the state of the target control to switch to a second state when it is detected that the audio trimming processing is completed, and the target control in the second state is used to indicate that the audio trimming processing for the original audio is completed.
[0094] According to one or more embodiments of the present disclosure, in the audio processing device provided by the present disclosure, optionally, the playback module is also used to: in response to the operation of switching the state of the target control from the second state to the third state, continue playing the original audio from the current playback progress; wherein, when the target control is in the second state, the audio after the audio modification processing is played on the video editing page.
[0095] According to one or more embodiments of the present disclosure, in the audio processing device provided by the present disclosure, optionally, it also includes: a publishing module, which is used to respond to a trigger operation acting on a publishing control, if the target control is in the second state, publish the target video including the audio that has been processed with audio editing, if the target control is in the third state, publish the target video including the original audio.
[0096] According to one or more embodiments of the present disclosure, in the audio processing device provided by the present disclosure, optionally, the first display module is also used for: in response to exiting the video editing page, after entering a preset page, based on an operation of returning to the video editing page from the preset page, displaying the video editing page, and controlling the state of the target control to remain consistent with the state of the target control when exiting the video editing page.
[0097] According to one or more embodiments of the present disclosure, in the audio processing device provided by the present disclosure, optionally, it also includes: a second display module, used to display target prompt information on the recording page of the target video based on the attribute characteristics of the preset reference audio and / or the user's recording behavior; wherein the audio in the target video is recorded based on the preset reference audio.
[0098] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:
[0099] one or more processors;
[0100] A memory for storing one or more programs;
[0101] When the one or more programs are executed by the one or more processors, the one or more processors implement any audio processing method provided in the present disclosure.
[0102] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the program implements any of the audio processing methods provided by the present disclosure.
[0103] The embodiments of the present disclosure further provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, the audio processing method described above is implemented.
[0104] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0105] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0106] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. An audio processing method, characterized in that: The method comprises: In response to a trigger operation of entering a video editing page for a target video for the first time, displaying the video editing page, wherein the target video is a video recorded in a karaoke scene and includes a user singing audio, and displaying target prompt information on the recording page of the karaoke scene, wherein the target prompt information is determined based on the attribute characteristics of the song selected by the user and the user's recording behavior; If the original audio in the target video meets a preset condition, the original audio is automatically processed for audio adjustment while the video editing page is displayed, and a target control in a first state is displayed on the video editing page, wherein the target control in the first state is used to indicate that the original audio is being processed for audio adjustment, and the audio adjustment is used to beautify the user's singing audio; When performing audio trimming processing on the original audio, in response to a trigger operation acting on an editing control, performing an editing operation corresponding to the editing control on the target video, and displaying at least one editing control on the video editing page; While displaying the video editing page, playing the original audio; When it is detected that the audio trimming process is completed, the audio after audio trimming continues to be played from the playback progress of the original audio when the audio trimming process is completed.
2. The method according to claim 1, characterized in that: The method further comprises: When it is detected that the audio trimming process is completed, the state of the target control is controlled to switch to a second state, and the target control in the second state is used to indicate that the audio trimming process for the original audio is completed.
3. The method according to claim 2, characterized in that The method further comprises: In response to the operation of switching the state of the target control from the second state to the third state, continue playing the original audio from the current playing progress; Wherein, when the target control is in the second state, the audio after audio modification is played on the video editing page.
4. The method according to claim 3, characterized in that: Also includes: In response to a trigger operation acting on a publishing control, if the target control is in the second state, the target video including the audio that has been processed with audio editing is published, and if the target control is in the third state, the target video including the original audio is published.
5. The method according to any one of claims 1 to 4, characterized in that: Also includes: In response to the operation of returning to the video editing page after exiting the video editing page, the video editing page including the target control is displayed, wherein if the original audio has not changed, the state of the target control is controlled to remain consistent with the state of the target control when exiting the video editing page.
6. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: On the recording page of the target video, target prompt information is displayed based on the attribute characteristics of the preset reference audio and / or the user's recording behavior; wherein the audio in the target video is recorded based on the preset reference audio.
7. An audio processing device, characterized in that: include: A first display module is used to display a video editing page in response to a trigger operation of entering a video editing page for a target video for the first time, wherein the target video is a video recorded in a karaoke scene and includes a user singing audio, and target prompt information is displayed on the recording page of the karaoke scene, wherein the target prompt information is determined based on the attribute characteristics of the song selected by the user and the user's recording behavior; A processing module, for automatically performing audio trimming processing on the original audio in the target video while displaying the video editing page if the original audio in the target video meets a preset condition, wherein the audio trimming processing is used to beautify the user's singing audio; The first display module is further used to display a target control in a first state on the video editing page, and the target control in the first state is used to indicate that the original audio is being trimmed; An editing module, configured to, when performing audio trimming processing on the original audio, perform an editing operation corresponding to the editing control on the target video in response to a triggering operation acting on the editing control, and display at least one editing control on the video editing page; The playback module is used to play the original audio while displaying the video editing page; when it is detected that the audio editing process is completed, the audio after audio editing continues to be played from the playback progress of the original audio when the audio editing process is completed.
8. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Hot segment recording method and device, electronic equipment and readable medium
CN110265067A
Multimedia data processing method, multimedia data generating method and related equipment
CN112073649A
Video processing method and device, electronic equipment and storage medium
CN113207025A