CN112987999B - Video editing method and device, computer readable storage medium and electronic equipment - Google Patents

Video editing method and device, computer readable storage medium and electronic equipment Download PDF

Info

Publication number
CN112987999B
CN112987999B CN202110396213.0A CN202110396213A CN112987999B CN 112987999 B CN112987999 B CN 112987999B CN 202110396213 A CN202110396213 A CN 202110396213A CN 112987999 B CN112987999 B CN 112987999B
Authority
CN
China
Prior art keywords
audio
video
alternative
processed
target interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110396213.0A
Other languages
Chinese (zh)
Other versions
CN112987999A (en
Inventor
朱一闻
周倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Netease Cloud Music Technology Co Ltd
Original Assignee
Hangzhou Netease Cloud Music Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Netease Cloud Music Technology Co Ltd filed Critical Hangzhou Netease Cloud Music Technology Co Ltd
Priority to CN202110396213.0A priority Critical patent/CN112987999B/en
Publication of CN112987999A publication Critical patent/CN112987999A/en
Application granted granted Critical
Publication of CN112987999B publication Critical patent/CN112987999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals

Abstract

The embodiment of the disclosure provides a video editing method and device, a computer readable storage medium and electronic equipment, and relates to the technical field of computers. The method comprises the following steps: displaying a candidate audio list corresponding to the video to be processed on a target interface; and responding to the trial listening selection operation aiming at any audio in the candidate audio list, playing the audio selected for trial listening and synchronously playing the video to be processed in the target interface. According to the method and the device, during the video editing process, the previewing of the video picture can be supported while the song is played, so that different songs are added into the video to be processed, and the video editing effect is previewed.

Description

Video editing method and device, computer readable storage medium and electronic equipment
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a video editing method, a video editing apparatus, a computer-readable storage medium, and an electronic device.
Background
This section is intended to provide a background or context to the embodiments of the disclosure that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
When the video editing software carries out video editing, the video editing software can enter a music library through a video editing page, and a suitable piece of music is selected from the music library to be matched with a video to be edited. The video editing software supports operations of searching, listening in a test, pausing, selecting songs and the like in a music library; in addition, deletion or reselection after music selection is also supported.
Disclosure of Invention
The existing video clip software only supports song playing and cannot preview videos while playing songs, so that a user repeatedly selects songs to a video editing interface for previewing and returns to a music library to pick music again. In addition, the existing video clip software also lacks the function of auditioning the song record, and the user can not quickly switch and compare the playing effect in the auditioning song.
Therefore, the present disclosure provides an improved video editing method, so that in the process of editing a video, a video picture can be previewed while a song is played, the video editing effect can be previewed, and the operation of repeatedly returning to a music library page to select a song to be added to the video editing page for previewing is avoided.
In this context, embodiments of the present disclosure are intended to provide a video editing method, a video editing apparatus, a computer-readable storage medium, and an electronic device.
In a first aspect of embodiments of the present disclosure, there is provided a video editing method, including: displaying a candidate audio list corresponding to the video to be processed on a target interface; and responding to the trial listening selection operation aiming at any audio in the candidate audio list, playing the audio selected for trial listening and synchronously playing the video to be processed in the target interface.
In an embodiment of the present disclosure, after the audio selected for trial listening is played and the video to be processed is played synchronously, the method further includes: presenting a selected control in an information frame corresponding to the audio selected for trial listening; and responding to the preset operation aiming at the selected control, and combining the audio selected for trial listening and the video to be processed to generate a final video.
In one embodiment of the present disclosure, displaying a candidate audio list corresponding to a video to be processed on a target interface includes: receiving video editing operation aiming at a video to be processed, and providing an audio adding control on a target interface; and responding to the first touch operation aiming at the audio adding control, and displaying the video to be processed and the candidate audio list on the target interface.
In one embodiment of the present disclosure, playing the audio selected for listening on trial and synchronously playing the video to be processed in the target interface includes: and responding to the play control operation aiming at the audio selected for auditioning or the video to be processed, and synchronously controlling the play states of the video to be processed and the audio selected for auditioning according to the play control operation.
In one embodiment of the present disclosure, in response to a play control operation for an audio selected for trial listening or a video to be processed, synchronously controlling a play state of the video to be processed and the audio selected for trial listening according to the play control operation includes: responding to the playing operation of the audio selected for trial listening, displaying the video to be processed in a video preview area of the target interface, and synchronously playing the video to be processed and the audio selected for trial listening; in response to the pause operation aiming at the audio selected for trial listening or the video to be processed, pausing the playing of the video to be processed and the audio selected for trial listening; displaying an audition audio information frame corresponding to the audio selected for audition on a target interface, and presenting a playing progress bar of the audio selected for audition through the audition audio information frame; responding to preset operation aiming at the playing progress bar, controlling the playing progress of the audio selected for audition, and synchronously controlling the playing progress of the video to be processed; and switching the audio selected for trial listening and replaying the video to be processed in response to the audio switching operation aiming at the candidate audio list.
In one embodiment of the present disclosure, the method further includes: responding to a second touch operation aiming at the video preview area, displaying a video to be processed in a full screen mode based on a target interface, and hiding a candidate audio list; and generating an audio operation floating layer corresponding to the video to be processed so as to switch the current display page of the target interface to the video editing page through the audio operation floating layer.
In one embodiment of the present disclosure, the method further includes: receiving a size adjustment operation aiming at a video preview area, and adjusting the area size of the video preview area according to the size adjustment operation; receiving area adjustment operation aiming at the video preview area, and adjusting the area display position of the video preview area on a target interface according to the area adjustment operation; and receiving a closing operation aiming at the video preview area, and removing the video preview area.
In one embodiment of the present disclosure, the method further includes: determining the number of alternative audios in an alternative audio list corresponding to a video to be processed; if the number of the candidate audios is smaller than the maximum number of the candidates, determining the candidate audios as the candidate audios in response to the alternative adding operation of the operation control for the candidate audios; adding the alternative audio to an alternative audio list of the video to be processed, and generating and playing an addition prompt animation of the alternative audio; and updating the alternative quantity identification and the alternative audio identification of the alternative audio list, and switching the display text of the operation control.
In one embodiment of the present disclosure, the method further includes: if the number of the alternative audios is not zero, in response to the cancellation of the alternative operation of the operation control aiming at the alternative audios, removing the alternative audios from the alternative audio list, and switching the display text of the operation control; determining the number of alternative audios after the alternative cancellation operation; if the number of the alternative audios after the alternative cancellation operation is zero, removing the alternative audio list and the alternative number identification; and if the number of the alternative audios after the alternative canceling operation is not zero, updating the alternative audio list and the alternative number identification.
In one embodiment of the present disclosure, the method further includes: responding to preset operation aiming at the alternative audio identification, and displaying the video to be processed on the full screen of the target interface; and generating an alternative audio floating layer on the target interface so as to switch the audio selected for trial listening through the alternative audio floating layer and replay the video to be processed.
In one embodiment of the present disclosure, the method further includes: responding to preset operation aiming at the audio alternative control in the video editing page, and generating an alternative audio floating layer on a target interface; if the number of the alternative audios is larger than a first number threshold value, displaying the audio information identification of each alternative audio on the alternative audio floating layer; and responding to preset operation aiming at the audio information identification, and switching and displaying the audio information identification of a plurality of alternative audios on the alternative audio floating layer.
In a second aspect of the disclosed embodiments, there is provided a video editing apparatus comprising: the list display module is used for displaying a candidate audio list corresponding to the video to be processed on a target interface; and the video editing module is used for responding to the audition selection operation aiming at any audio in the candidate audio list, playing the selected audition audio and synchronously playing the video to be processed in the target interface.
In one embodiment of the present disclosure, the video editing apparatus further includes a video generation module configured to: presenting a selected control in an information frame corresponding to the audio selected for trial listening; and responding to the preset operation aiming at the selected control, and combining the audio selected for trial listening and the video to be processed to generate a final video.
In one embodiment of the present disclosure, the list display module includes a list display unit configured to: receiving video editing operation aiming at a video to be processed, and providing an audio adding control on a target interface; and responding to the first touch operation aiming at the audio adding control, and displaying the video to be processed and the candidate audio list on the target interface.
In one embodiment of the present disclosure, the video editing module includes a video editing unit configured to, in response to a play control operation for the audio selected for trial listening or the video to be processed, synchronously control a play state of the video to be processed and the audio selected for trial listening according to the play control operation.
In one embodiment of the present disclosure, the video editing unit includes a video editing subunit configured to: responding to the playing operation of the audio selected for trial listening, displaying the video to be processed in a video preview area of a target interface, and synchronously playing the video to be processed and the audio selected for trial listening; in response to the pause operation aiming at the audio selected for trial listening or the video to be processed, pausing and playing the video to be processed and the audio selected for trial listening; displaying an audition audio information frame corresponding to the audio selected for audition on a target interface, and presenting a playing progress bar of the audio selected for audition through the audition audio information frame; responding to preset operation aiming at the playing progress bar, controlling the playing progress of the audio selected for audition, and synchronously controlling the playing progress of the video to be processed; and switching the audio selected for trial listening and replaying the video to be processed in response to the audio switching operation aiming at the candidate audio list.
In one embodiment of the present disclosure, the video editing apparatus further comprises a floating layer generating module configured to: responding to a second touch operation aiming at the video preview area, displaying a video to be processed in a full screen mode based on a target interface, and hiding a candidate audio list; and generating an audio operation floating layer corresponding to the video to be processed so as to switch the current display page of the target interface to the video editing page through the audio operation floating layer.
In one embodiment of the present disclosure, the video editing apparatus further includes a region operation module configured to: receiving a size adjustment operation aiming at a video preview area, and adjusting the area size of the video preview area according to the size adjustment operation; receiving a region adjusting operation aiming at the video preview region, and adjusting the region display position of the video preview region on a target interface according to the region adjusting operation; and receiving a closing operation aiming at the video preview area, and removing the video preview area.
In one embodiment of the present disclosure, the video editing apparatus further includes a first alternative operation module configured to: determining the number of alternative audios in an alternative audio list corresponding to a video to be processed; if the number of the candidate audios is smaller than the maximum candidate number, responding to the alternative adding operation of the operation control aiming at the candidate audios, and determining the candidate audios as the candidate audios; adding the alternative audio to an alternative audio list of the video to be processed, and generating and playing an addition prompt animation of the alternative audio; and updating the alternative quantity identification and the alternative audio identification of the alternative audio list, and switching the display text of the operation control.
In one embodiment of the present disclosure, the video editing apparatus further includes a second alternative operation module configured to: if the number of the alternative audios is not zero, in response to the cancellation of the alternative operation of the operation control aiming at the alternative audios, removing the alternative audios from the alternative audio list, and switching the display text of the operation control; determining the number of alternative audios after the alternative cancellation operation; if the number of the alternative audios after the alternative cancellation operation is zero, removing the alternative audio list and the alternative number identification; and if the number of the alternative audios after the alternative canceling operation is not zero, updating the alternative audio list and the alternative number identification.
In one embodiment of the present disclosure, the video editing apparatus further includes an audio switching module configured to: responding to preset operation aiming at the alternative audio identification, and displaying the video to be processed on the target interface in a full screen mode; and generating an alternative audio floating layer on the target interface, switching the audio selected for audition through the alternative audio floating layer, and replaying the video to be processed.
In one embodiment of the present disclosure, the video editing apparatus further comprises an identification switching module configured to: responding to preset operation aiming at the audio alternative control in the video editing page, and generating an alternative audio floating layer on a target interface; if the number of the alternative audios is larger than a first number threshold value, displaying the audio information identification of each alternative audio on the alternative audio floating layer; and responding to preset operation aiming at the audio information identification, and switching and displaying the audio information identification of a plurality of alternative audios on the alternative audio floating layer.
In a third aspect of the disclosed embodiments, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a video editing method as described above.
In a fourth aspect of embodiments of the present disclosure, there is provided an electronic device comprising: a processor; and a memory having computer readable instructions stored thereon which, when executed by the processor, implement the video editing method as described above.
According to the technical scheme of the embodiment of the disclosure, a candidate audio list corresponding to a video to be processed is displayed on a target interface; and responding to the trial listening selection operation aiming at any audio in the candidate audio list, playing the audio selected for trial listening and synchronously playing the video to be processed in the target interface. According to the video editing method, when video editing is carried out, the candidate audio list and the video to be processed can be displayed in the target interface at the same time, a user can preview a video picture while auditioning the audio, repeated switching between the video preview page and the audio list page is avoided, user operation is simplified, and video editing efficiency is improved.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 schematically shows a schematic block diagram of a system architecture of an exemplary application scenario, in accordance with some embodiments of the present disclosure;
fig. 2 schematically illustrates a flow diagram of a video editing method according to some embodiments of the present disclosure;
FIG. 3 schematically illustrates a schematic diagram of playing audio while supporting video previews, according to some embodiments of the present disclosure;
FIG. 4 schematically illustrates a schematic diagram of playing audio while supporting video preview according to another embodiment of the present disclosure;
FIG. 5 schematically illustrates a schematic diagram of user operation of a video preview area, according to some embodiments of the present disclosure;
fig. 6 schematically illustrates a schematic diagram of adding candidate audio to an alternative audio list, according to some embodiments of the present disclosure;
fig. 7 schematically shows a schematic diagram of adding candidate audio to an alternative audio list according to another embodiment of the present disclosure;
fig. 8 schematically illustrates a schematic block diagram of a video editing apparatus, in accordance with some embodiments of the present disclosure;
FIG. 9 schematically shows a schematic diagram of a storage medium according to an example embodiment of the present disclosure; and
fig. 10 schematically shows a block diagram of an electronic device according to an exemplary embodiment of the invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present disclosure will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the present disclosure, and are not intended to limit the scope of the present disclosure in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to an embodiment of the present disclosure, a video editing method, a video editing apparatus, a medium, and an electronic device are provided.
In this context, it should be understood that the terms referred to, such as Application program (App) client, may be an Application based on the operating system of the mobile phone, and when a user opens a certain interface in the App client, the client sends a request to the server, and the server returns data and presents the data in the user interface. The user performs input operation on an interface of the App client, the client sends data to the server, and the server can store the data. The video editing software can be software for carrying out nonlinear editing on a video source, and belongs to the field of multimedia production software. The video editing software can cut and combine video sources by remixing added materials such as pictures, background music, special effects and scenes with videos, and generate new videos with different expressive forces through secondary coding. The music library can be a functional page for selecting music in video clip software and supports the user to select the corresponding video score; and functions of recommending, classifying and retrieving, playing, pausing and the like of music are supported. The primary panel may be the bottom primary function navigation in the video clip software, such as: audio, special effects, text, etc. The secondary panel may be a secondary function navigation at the bottom in the video editing software, which is a sub-navigation of the primary navigation, and clicks from the primary navigation, such as a music library, a recording, a voice-over, etc. under the audio function. Moreover, any number of elements in the drawings are by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure.
Summary of The Invention
When video editing is carried out, a user can enter a music library through a video editing page, and a suitable music and a video to be edited are selected from the music library to match with the video. The video editing software supports searching, listening trial, pausing and song selection in a music library; it also supports deletion or reselection after selection of music.
In the video editing software, in the video editing process, a corresponding trial listening song is selected for a video, only song playing is supported, the video cannot be previewed while the song is played, and therefore a user can repeatedly select the song to preview on a video editing interface and then return to a music library to pick the song again. In addition, the existing video clip software also lacks the function of auditioning the song record, and the user can not record the auditioning song and quickly switch and compare the playing effect in the auditioning song.
Based on the content, the basic idea of the disclosure is to display a candidate audio list corresponding to a video to be processed on a target interface; and responding to the trial listening selection operation aiming at any audio in the candidate audio list, playing the audio selected for trial listening and synchronously playing the video to be processed in the target interface. The method and the device can simultaneously display the candidate audio list and the videos to be processed in the target interface, support previewing the video pictures while auditioning the audio, avoid the situation that a user repeatedly adds different audios to the videos to be processed for previewing, and improve the video processing efficiency.
Having described the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.
Application scene overview
Referring first to fig. 1, fig. 1 shows a schematic block diagram of a system architecture of an exemplary application scenario to which a video editing method and apparatus of an embodiment of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, and the like.
The video editing method provided by the embodiment of the present disclosure is generally executed by the server 105, and accordingly, the video editing apparatus is generally disposed in the server 105. However, it is easily understood by those skilled in the art that the video editing method provided in the present disclosure may also be executed by the terminal devices 101, 102, and 103, and accordingly, the video editing apparatus may also be disposed in the terminal devices 101, 102, and 103, which is not particularly limited in the present exemplary embodiment. For example, in an exemplary embodiment, the staff member uploads the video to be processed to the server 105 through the terminal devices 101, 102, 103, the server transmits the audio library and the video to be processed to the terminal devices 101, 102, 103 and the like through the video editing method provided by the embodiment of the present disclosure, and the audio library and the video to be processed are displayed to the user through the terminal devices 101, 102, 103, so that the user performs a video editing operation on the video to be processed through the terminal devices 101, 102, 103.
It should be understood that the application scenario illustrated in fig. 1 is only one example in which embodiments of the present disclosure may be implemented. The application scope of the embodiments of the present disclosure is not limited in any way by the application scenario.
Exemplary method
A video editing method according to an exemplary embodiment of the present disclosure is described below with reference to fig. 2 in conjunction with the application scenario of fig. 1. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present disclosure, and the embodiments of the present disclosure are not limited in this respect. Rather, embodiments of the present disclosure may be applied to any scenario where applicable.
The present disclosure first provides a video editing method, where an execution subject of the method may be a terminal device or a server, and the present disclosure is not limited to this specifically, and in this exemplary embodiment, the method executed by the server is taken as an example for description.
Referring to fig. 2, the video editing method may include the following steps S210 to S220:
and step S210, displaying a candidate audio list corresponding to the video to be processed on a target interface.
In one embodiment of the present disclosure, the target interface may be an interface provided to a user for video editing operations. The video to be processed may be a video to be edited. The candidate audio list may be a list of all audio components provided to the user at the video edit for matching the video to be processed. The candidate audio list may include a plurality of candidate audio, which may be songs, pre-recorded audio files, etc.
In the process of video editing, a user can select a video to be processed first, and if music is required to be added to the video to be processed, preset operation can be performed through a virtual control for adding audio on a target interface, so that a candidate audio list corresponding to the video to be processed is displayed through the target interface.
Step S220, in response to the trial listening selection operation on any audio in the candidate audio list, playing the selected audio for trial listening and synchronously playing the video to be processed in the target interface.
In one embodiment of the present disclosure, the trial listening selection operation may be an operation of arbitrarily selecting one audio through a candidate audio list for trial listening. The audio selected for trial listening may be the audio selected by the trial listening selection operation.
When the trial listening selection operation of a user on a certain audio through the candidate audio list is detected, the audio selected for trial listening is started to be played in response to the trial listening selection operation on the audio, and the video to be processed is synchronously played in the target interface while the audio is being audited, that is, the video to be processed and the audio selected for trial listening are synchronously played in the target interface.
According to the video editing method provided by the exemplary embodiment, according to the technical scheme of the embodiment of the present disclosure, a candidate audio list corresponding to a video to be processed is displayed on a target interface; and responding to the trial listening selection operation aiming at any audio in the candidate audio list, playing the audio selected for trial listening and synchronously playing the video to be processed in the target interface. According to the video editing method, when video editing is carried out, the candidate audio list and the video to be processed can be displayed in the target interface at the same time, a user can preview a video picture while listening to the audio in a trial mode, the user is prevented from repeatedly switching between the video preview page and the audio list page, user operation is simplified, and video editing efficiency is improved.
Next, steps S210 to S220 of the present exemplary embodiment will be described in more detail.
In one embodiment of the disclosure, a selected control is presented in an information frame corresponding to the audio selected for trial listening; and responding to the preset operation aiming at the selected control, and combining the audio selected for trial listening and the video to be processed to generate a final video.
The information box corresponding to the audio selected for trial listening may be an area in the target interface for presenting information such as audio-related audio attributes and operation controls. The selected control can be a virtual operation control used for adding the audio selected for trial listening to the video to be processed. The preset operation may be a preset touch operation for the selected control. For example, the preset operation may include a click operation, a long press operation, a heavy press operation, a slide operation, and the like. The final video may be a video finally formed after audio or other video materials are added to the video to be processed after the video editing operation is performed on the video to be processed.
When a user performs trial listening selection operation on any audio through the candidate audio list, the target interface displays an information frame corresponding to the selected trial listening audio while playing the audio, wherein a selected control for adding the audio to a video to be processed can be provided in the information frame corresponding to the audio, the user can add the selected trial listening audio to the video to be processed by performing preset operation on the selected control, and the selected trial listening audio and the video to be processed are combined to generate a final video; or combining the audio and other video materials selected for trial listening with the video to be processed to generate the final video.
In one embodiment of the disclosure, a video editing operation for a video to be processed is received, and an audio adding control is provided on a target interface; and responding to the first touch operation aiming at the audio adding control, and displaying the video to be processed and the candidate audio list on the target interface.
The video editing operation may be a non-linear editing operation performed by a user for the video to be processed. For example, the video editing operation may be an operation of adding audio, text, image, and other video material to the video to be processed. The audio addition control may be a virtual control provided through the target interface for adding an audio file to the pending video. The first touch operation may be a preset operation performed by a user for the audio adding control.
Before a user wants to edit a video to be processed, the video to be processed may be opened on a target interface, and related controls for editing the video to be processed are displayed on the target interface, for example, the controls include a virtual control for editing the video to be processed, and a material addition control for adding various video materials to the video to be processed is also included, referring to fig. 3, fig. 3 schematically illustrates a schematic diagram for supporting video preview while playing audio according to some embodiments of the present disclosure. In fig. 3, when a user video edits a to-be-processed video, virtual controls for adding video material such as audio, text, filters, special effects, canvas, and stickers to the to-be-processed video can be provided to the user through the target interface 310. If the user wants to add audio to the video to be processed, a click operation may be performed on an audio adding control (i.e., a virtual control identified with "audio" text), and then a "music library" virtual control in the target interface 320 is correspondingly clicked to trigger a candidate audio list (i.e., a music library) corresponding to the video to be processed to be displayed in the target interface, where the music library includes all candidate audio to which the video to be processed may be added. After clicking the "music library" virtual control, the target interface 330 displays the candidate audio list while still displaying the to-be-processed video in the target interface, for example, the to-be-processed video may be displayed at any position above or below the candidate audio list. The candidate audio list (i.e. music library) may contain different kinds of audio, for example, the music library may contain audio or songs in different categories such as "recommend for me", "i like", "my song list", "import music", etc. The user may select a candidate audio from the candidate audio list of the target interface 330 by clicking on the candidate audio, and the candidate audio is determined as the selected audio for trial listening, and start playing the selected audio for trial listening, as shown in the target interface 340, where the selected audio for trial listening may be displayed differently from other candidate audio in the candidate audio list.
In addition, referring to fig. 4, fig. 4 schematically illustrates a schematic diagram of playing audio while supporting video preview according to another embodiment of the present disclosure. In fig. 4, after the user clicks the audio adding control (i.e., the control identified by the "audio") in the target interface 410, the user clicks the "music library" virtual control in the target interface 420, and the candidate audio list is displayed in the target interface 430 in a full screen manner, that is, the candidate audio list may be added to the list composed of the songs in the video to be processed. After the user performs the selection and listening trial operation on any candidate audio in the candidate audio list, the selected audio for listening trial is played, as shown in the target interface 440, the selected audio for listening trial can be displayed differently from other candidate audio in the candidate audio list, meanwhile, a video preview floating layer is generated in the candidate audio list, which is used as the video preview area 442, and the video to be processed is played synchronously in the video preview area 442, so as to view the playing effect of the selected audio for listening trial in the video to be processed.
In one embodiment of the present disclosure, in response to a play control operation for an audio selected for trial listening or a to-be-processed video, the play states of the to-be-processed video and the audio selected for trial listening are synchronously controlled in accordance with the play control operation.
The playing control operation may be a control operation performed by the user for the playing state of the audio selected for trial listening or the video to be processed. The playing state may be the states of starting playing, pausing playing, ending playing, fast-forward playing and fast-backward playing of the video to be processed or the audio selected for trial listening.
When adding audio to a video to be processed, a user may want to quickly preview the matching degree between the audio selected for trial listening and the video to be processed, and therefore, the user may use to preview the playing effect by adjusting the playing state of the video to be processed or the audio selected for trial listening. When a user carries out play control operation aiming at the video to be processed or the audio selected for trial listening, the play control operation of the user is responded, and the play states of the video to be processed and the audio selected for trial listening are synchronously controlled according to the play control operation, so that the video to be processed and the audio selected for trial listening can be synchronously played.
In one embodiment of the disclosure, in response to a playing operation for the audio selected for trial listening, displaying a video to be processed in a video preview area of a target interface, and synchronously playing the video to be processed and the audio selected for trial listening; in response to the pause operation aiming at the audio selected for trial listening or the video to be processed, pausing and playing the video to be processed and the audio selected for trial listening; displaying a trial listening audio information frame corresponding to the audio selected for trial listening on a target interface, and presenting a playing progress bar of the audio selected for trial listening through the trial listening audio information frame; responding to the preset operation aiming at the playing progress bar, controlling the playing progress of the audio selected for audition, and synchronously controlling the playing progress of the video to be processed; and switching the audio selected for trial listening and replaying the video to be processed in response to the audio switching operation aiming at the candidate audio list.
The audio trial listening information box may be an information box for displaying the related attribute information of the audio selected for trial listening and the operation control. The play progress bar may be used to display the play completion of the audio selected for listening on trial, for example, the play progress bar may be used to identify the play duration of the remaining unplayed portion. The playing progress may be the current playing completion of the audio. The audio switching operation may be an operation of switching the audio currently selected for trial listening.
Specifically, when a playing operation of the user for the audio selected for trial listening is received, a video preview area is determined in the target interface in response to the playing operation, and the video to be processed, which is displayed on the bottom page before, is displayed in the video preview area, so that the user can conveniently view the playing effect of the audio selected for trial listening in the video to be processed. Because the video to be processed and the audio selected for trial listening are played synchronously, when the pause operation aiming at any one of the video to be processed or the audio selected for trial listening is received, the video to be processed and the audio selected for trial listening are paused at the same time; if the user continues playing any one of the two, the video to be processed and the audio selected for trial listening continue to be played simultaneously. For example, when the user pauses playing the video to be processed, the audio selected for trial listening may be paused at the same time; when the user clicks the playing control of the audio selected for trial listening and plays the audio again, the video to be processed is played again at the same time.
In the process of auditioning the audio, the auditioning audio information frame of the audio selected for auditioning is displayed in the target interface, and a playing progress bar of the audio selected for auditioning can be presented in the auditioning audio information frame. When the user wants to adjust the playing progress of the audio selected for trial listening, the user can adjust the playing progress bar in the audio trial listening information frame. With continued reference to fig. 4, the user may adjust the progress of the playing of the audio selected for trial listening by adjusting the play progress bar in the selected trial listening audio information box 441. For example, the user may drag the playing progress bar from point a to point B, changing the current playing progress of the audio selected for listening on trial; in addition, the user can also directly click the target playing position to locate the currently played audio at the target playing position. The user adjusts the playing progress of the audio selected for audition, and simultaneously, the playing progress of the video to be processed changes synchronously. When a user audits the audio selected for audition currently, if the user wants to switch the currently played audio, the user can directly perform audio switching operation through the candidate audio list to switch the audio to be added to the video to be processed. And when the user carries out audio switching operation once, the video to be processed is played again correspondingly.
In one embodiment of the disclosure, in response to a second touch operation for the video preview area, displaying a video to be processed in a full screen mode based on a target interface, and hiding a candidate audio list; and generating an audio operation floating layer corresponding to the video to be processed so as to switch the current display page of the target interface to the video editing page through the audio operation floating layer.
The second touch operation may be a touch operation for the video preview area, for example, the second touch operation may be a click operation, a long press operation, a heavy press operation, and the like. The audio manipulation float may be a page float for manipulating the audio selected for trial listening. The currently displayed page may be the page content currently displayed by the target interface.
With continued reference to fig. 4, upon receiving a second touch operation by the user with respect to the video preview area 442, for example, upon receiving a click operation by the user with respect to the video preview area 442, the video preview area will be enlarged, as shown in the target interface with full screen display of the video to be processed, and with hiding of the candidate audio list in the target interface, specifically with reference to the target interface 450. Meanwhile, an audio operation floating layer 451 is generated on the target interface, the audio operation floating layer 451 can display relevant information of the audio selected for trial listening, a selection control of the audio is further included in the audio operation floating layer, and a user can add the audio selected for trial listening to the video to be processed by clicking the selection control marked with the 'use' word; and switching the current display page of the target interface to a video editing page so that the user can perform other editing operations on the video to be processed through the video editing page.
In one embodiment of the disclosure, a resizing operation for a video preview area is received, and the area size of the video preview area is adjusted according to the resizing operation; receiving a region adjusting operation aiming at the video preview region, and adjusting the region display position of the video preview region on a target interface according to the region adjusting operation; and receiving a closing operation aiming at the video preview area, and removing the video preview area.
Wherein the resizing operation may be an enlarging and reducing operation performed with respect to the display size of the video preview area. The region size may be a corresponding display size of the video preview region in the target interface. The region adjusting operation may be an operation of adjusting a display position of the video preview region in the target interface. The region display position may be a display position of the video preview region in the target interface.
When a user previews a video to be processed through a video preview area in a target interface, the video preview area can be adjusted according to preview requirements. The user can adjust the area size of the video preview area, and when the user's operation of adjusting the size of the video preview area is received, the area size of the video preview area is adjusted in response to the operation of adjusting the size. For example, the user may zoom the video preview area directly through a zoom gesture applied to the video preview area. In addition, zoom-in and zoom-out controls may also be provided through the target interface at locations around the video preview area, such as above, below, left, and right, so that the user increases the display size of the video preview area through the zoom-in control and decreases the display size of the video preview area through the zoom-out control.
Further, when the video to be processed is played through the video preview area, the area display position of the video preview area in the target interface can be adjusted. Referring to fig. 5, fig. 5 schematically illustrates a schematic diagram of a user operation on a video preview area according to some embodiments of the present disclosure. For example, in the target interface 510, the user can adjust his display position in the target interface by dragging the video preview region 511; in addition, an operation gesture of the region adjustment operation may be preset, and when the operation gesture for the region adjustment operation is monitored, the display position of the video preview region is adjusted to a target display position in the target interface (for example, the position where the dashed box 513 is located). When the user wants to remove the video preview area from the target interface, the user can click on the close control 512 of the video preview area, remove the video preview area 511 from the target interface 510, and after removing the video preview area 511 from the target interface 510, the display content of the target interface 511 is shown as the interface 520.
In one embodiment of the disclosure, the number of alternative audios in an alternative audio list corresponding to a video to be processed is determined; if the number of the candidate audios is smaller than the maximum candidate number, responding to the alternative adding operation of the operation control aiming at the candidate audios, and determining the candidate audios as the candidate audios; adding the alternative audio to an alternative audio list of the video to be processed, and generating and playing an addition prompt animation of the alternative audio; and updating the alternative quantity identification and the alternative audio identification of the alternative audio list, and switching the display text of the operation control.
Wherein the list of alternative audios may be a list consisting of all audios selected by the user. The alternative audio can be the alternative audio selected by the user from the candidate audio library according to personal preference, use habit and the like, so that the audio matched with the video to be processed can be quickly selected when the video editing operation is subsequently performed. The number of alternative audios may be the number of alternative audios that have been determined. The maximum number of alternatives may be the maximum number of alternative audio that the user may add, e.g., the maximum number of alternatives may be 5, 7, 9, 15, etc. The operation control of the candidate audio may be an operation control used when the candidate audio is added as the candidate audio and other operations are performed on the candidate audio. The add alternative operation may be an operation of selecting one audio from the candidate audio list and taking it as the alternative audio of the user. The add cue animation may be a cue animation that is played when alternative audio is added to the list of alternative audio. The alternative number identification may be an identification for representing the number of alternative audios.
When a user audits a certain candidate audio through the candidate audio list, if the candidate audio is to be added into the candidate audio list, relevant operation can be carried out through the operation control of the candidate audio so as to add the candidate audio as the candidate audio. In the present disclosure, the number of alternative audios is defined, and before the user adds the candidate audio as the alternative audio, the number of alternative audios included in the alternative audio list may be determined, and the number of alternative audios may be compared with the maximum alternative number. And if the number of the alternative audios is less than the maximum alternative number, the alternative audios can be added into the alternative audio list, and the alternative audios are determined as the alternative audios in response to the addition alternative operation of the user on the operation control of the alternative audios. And in response to the operation control of the user aiming at the + alternative words of the candidate audio, determining the candidate audio as the alternative audio and adding the alternative audio into the alternative audio list corresponding to the video to be processed.
In the process of adding alternative audio to the list of alternative audio, an add cue animation of the alternative audio may be generated. Referring to fig. 6, fig. 6 schematically illustrates a schematic diagram of adding candidate audio to an alternative audio list, according to some embodiments of the present disclosure. When the user clicks the operation control 611 of "+ alternative" in the audio information box of the alternative audio through the target interface 610, the addition prompt animation of the alternative audio is generated, and the generated addition prompt animation is played to a position near the video preview area. When adding alternative audio to a video to be processed, it may be determined whether an alternative audio already exists in the alternative audio list, and if no alternative audio exists in the alternative audio list, in the process of adding a prompt animation, an alternative number identifier and an alternative audio identifier of the alternative audio list may be generated at a specified position of a video preview area of the target interface 620, for example, after a user clicks an operation control of "+ alternative", an alternative audio identifier (such as an album cover thumbnail 621) and an alternative number identifier (such as a numeric identifier 622) of the alternative audio appear at the specified position of the video preview area, and are used to identify the alternative audio associated with the video to be processed and the existing alternative audio number, for example, an album cover thumbnail of the newly added alternative audio is displayed at the specified position of the video preview area, and the alternative number identifier 622 is displayed as 2; the number "2" may indicate that two songs are currently in the alternative audio list, both of the two songs belong to alternative audios of the to-be-processed video, and the user may directly and quickly switch the audio matched with the to-be-processed video through the alternative audio list, so as to view a preview effect that the two different alternative audios are added to the to-be-processed video.
If the alternative audio exists in the alternative audio list, in the playing process of the addition prompting animation, the alternative number identifier and the alternative audio identifier of the alternative audio list are updated at a specified position in the video preview area, for example, after a user clicks an operation control of "+ alternative", a jacket album thumbnail corresponding to the newly added alternative audio can be displayed at a specified position in the video preview area, and if the alternative number identifier of the current alternative audio is 1, the alternative number identifier is updated to 2. When a certain candidate audio becomes an alternative audio, the display text in the operation control corresponding to the switched candidate audio is, for example, before the alternative is added, the display text in the operation control is "+ alternative", and after the alternative is added, the display text in the operation control is "alternative", that is, the operation control 611 becomes the operation control 623. When the display text in the operation control is "alternative", if a click operation of the user on the operation control 623 is received again, this alternative audio may be removed from the alternative audio list, and the alternative audio becomes the alternative audio again, and at the same time, the display text in the operation control changes from "alternative already" to "+ alternative".
In addition, alternative audio may also be added by the following scheme, and referring to fig. 7, fig. 7 schematically shows a schematic diagram of adding candidate audio to an alternative audio list according to another embodiment of the present disclosure. The candidate audio list is displayed in a full screen mode through the target interface 710, at this time, the video preview area 712 is displayed in the target interface 710 in a page floating layer mode, and the user can perform touch operation on the operation control 711 of the candidate audio, that is, the "+ alternative" virtual control 711, to add the candidate audio to the alternative audio list as the alternative audio. When candidate audio is added as alternative audio, the displayed text of the operation control 711 changes, and is updated to the operation control 721 marked as "alternative" text in the target interface 720, and at the same time, the alternative number identifier 723 is generated or updated at the upper right (or other position) of the video preview area 722. When the user clicks the video preview area 722, the video preview area is displayed in an enlarged manner in the target interface 730, and meanwhile, the alternative music floating layer 731 is generated, an information frame of the audio selected for trial listening can be displayed in the alternative music floating layer 731, the information frame includes a selection control 732 of the audio selected for trial listening, and when the user clicks the selection control 732, the audio selected for trial listening can be added to the video to be processed.
In one embodiment of the disclosure, if the number of the alternative audios is not zero, in response to cancellation of an alternative operation of the operation control for the alternative audios, the alternative audios are removed from the alternative audio list, and the display text of the operation control is switched; determining the number of alternative audios after the alternative operation is cancelled; if the number of the alternative audios after the alternative cancellation operation is zero, removing the alternative audio list and the alternative number identification; and if the number of the alternative audios after the alternative canceling operation is not zero, updating the alternative audio list and the alternative number identification. Wherein, the cancellation of the alternative operation may be an operation of removing the alternative audio from the alternative audio list.
If the alternative audio list contains alternative audio, that is, the number of alternative audio is not zero, when the user wants to remove a certain alternative audio from the alternative audio list, the cancellation of the alternative operation can be performed based on the operation control of the alternative audio. When a certain audio is an alternative audio, the displayed text in the operation control of the audio is "alternative", if the audio is desired to be removed from the alternative audio list, the operation control corresponding to the audio can be clicked again, the alternative operation is cancelled for the alternative audio, the alternative audio is removed from the alternative audio list, a prompt message of "alternative cancelled" is displayed in the target interface, and the displayed text of the audio operation control is switched to "+ alternative".
In addition, after the cancel alternative operation is performed, the display modes of the alternative audio list and the alternative number identifier can be determined according to the alternative audio number in the alternative audio list. After canceling the alternative operation, determining the number of alternative audios in the alternative audio list, and if the number of alternative audios after canceling the alternative operation is not zero, directly removing the alternative audio list and the alternative number identifier from the target interface; and if the number of the alternative audios after the alternative canceling operation is zero, updating the alternative audio list and the alternative number identification in the target interface. For example, removing one alternative audio from the list of alternative audios, the number of alternatives is identified by 1, if two alternative audios are removed from the list of alternative audios, the number of alternatives is identified by 2, and so on. And if all the alternative audios in the alternative audio list are deleted, the alternative area for displaying the alternative audio list disappears, the video to be processed is displayed in the target interface in a full screen mode, and an operation floating layer of the audio selected for trial listening is generated in the target interface and is used for adding the audio selected for trial listening to the video to be processed. With reference to fig. 7, after the user removes all the alternative audios in the alternative audio list, the target interface 740 displays the to-be-processed video 741 in a full screen mode, and generates a page floating layer of an information frame 742 for displaying the audio selected for trial listening, where the information frame 742 includes a selection control 743, so that the user adds the audio selected for trial listening to the to-be-processed video through the selection control 743.
In one embodiment of the disclosure, in response to a preset operation for the alternative audio identifier, displaying a video to be processed on a target interface in a full screen manner; and generating an alternative audio floating layer on the target interface so as to switch the audio selected for trial listening through the alternative audio floating layer and replay the video to be processed.
The alternative audio identifier may be an identifier corresponding to the alternative audio, for example, the alternative audio identifier may be an album art thumbnail corresponding to the alternative audio. The preset operation for the alternative audio identifier may be a click operation, a long press operation, a re-press operation, and the like for the alternative audio identifier. The alternative audio float may be a page float for displaying the alternative audio list.
With continued reference to fig. 6, when the user performs a click operation on the alternative audio identifier 621, in response to a preset operation on the alternative audio identifier, the video to be processed is displayed in a full screen manner on the target interface 630. After the videos to be processed are displayed in a full screen manner, the alternative audio floating layer 631 may be generated in the target interface, and all the alternative audios corresponding to the videos to be processed are displayed in the alternative audio floating layer 631, for example, the alternative audios may be displayed in a horizontal row or a vertical row in the alternative audio floating layer. And synchronously playing the video to be processed and the audio selected for trial listening while displaying the alternative audio floating layer. A selected control corresponding to the alternative audio can be provided in the alternative audio floating layer, so that a user can add a certain alternative audio to the video to be processed through the selected control. For example, the user may select "alternative music 4" from the alternative audio list to add to the video to be processed, after the user uses the alternative music 4 as the audio selected for trial listening, a selection control 632 corresponding to the alternative music 4 is provided in the target interface 630, and the user may add the alternative music 4 to the video to be processed by clicking the selection control 632.
In addition, the user can also switch the audio selected for trial listening among a plurality of different alternative audios of the alternative audio floating layer so as to preview the playing effect of the different audio selected for trial listening added to the video to be processed. And, the user will replay the video to be processed each time the audio is switched. After comparing the playing effects of the multiple candidate audios, the user can add the audio selected for trial listening to the video to be processed by selecting the control so as to synthesize the two into a final video.
In one embodiment of the disclosure, in response to a preset operation for an audio candidate control in a video editing page, generating a candidate audio floating layer on a target interface; if the number of the alternative audios is larger than a first number threshold value, displaying audio information identifications of the alternative audios on an alternative audio floating layer; and responding to preset operation aiming at the audio information identification, and switching and displaying the audio information identification of a plurality of alternative audios on the alternative audio floating layer.
The audio alternative control can be an operation control provided in the video editing page and used for triggering the display of the alternative audio list by a user. The first quantity threshold may be a predetermined value, for example, the first quantity threshold may be 3, 5, 7, 9, 15, etc. The audio information identification may be an identification for identifying attribute information corresponding to each alternative audio. For example, the alternative audio may be a song, and the audio information identifies the song title, artist information, etc., which may include the alternative audio.
With continued reference to fig. 6, the user may switch the currently displayed page in the target interface to the video editing page by clicking a selected control of a certain audio, and enter an audio secondary panel, that is, a control page including an audio addition control. For example, after the user adds a certain alternative audio to the video to be processed by selecting the control 632, the currently displayed content 630 of the target interface can be switched to the video editing page 640. The audio secondary panel further includes an operation control for triggering display of the alternative audio floating layer in the target interface, such as an "alternative" operation control 641 in the audio secondary panel; here, the alternative number indicator 642 (i.e., the number "4") displayed at the upper right of the alternative operation control 641 may indicate that 4 alternative audios currently exist in the alternative audio list. The user can trigger and display the alternative audio floating layer 651 in the target interface 650 by clicking the "alternative" operation control 641 in the audio secondary panel, so that the user can quickly switch the audio selected for trial listening in a video editing scene, and the video editing efficiency is improved.
If the current alternative audio quantity is larger than a first quantity threshold (for example, the current alternative audio quantity can be set to be 3), the alternative audio is displayed in the alternative audio floating layer in an audio information identification mode, and when the alternative audio quantity is larger than the first quantity threshold, sliding of the audio information identification displayed in the alternative audio floating layer can be supported. With continued reference to fig. 6 and 7, the user may also delete an alternative audio from the list of alternative audios by deleting the alternative audio in the alternative audio float layer 631 or the alternative audio float layer 731 by a long press operation, or by clicking an alternative/cancel alternative control for the alternative audio. The user may also exchange the display order of different audios in the alternative audio list, for example, the display order of different alternative audios in the alternative audio list may be adjusted by combining a long-press operation and a drag operation. In addition, the user may also slide the alternative audio in the alternative audio float layer 631 or the alternative audio float layer 731 to adjust the alternative audio currently displayed in the target interface.
Exemplary devices
Having described the method of the exemplary embodiment of the present disclosure, next, a video editing apparatus of the exemplary embodiment of the present disclosure is explained with reference to fig. 8.
In fig. 8, the video editing apparatus 800 may include a list display module 810 and a video editing module 820. Wherein:
the list display module 810 is configured to display a candidate audio list corresponding to the video to be processed on the target interface; and the video editing module 820 is configured to play the audio selected for trial listening and synchronously play the video to be processed in the target interface in response to a trial listening selection operation on any audio in the candidate audio list.
In one embodiment of the present disclosure, the video editing apparatus further includes a video generation module configured to: presenting a selected control in an information frame corresponding to the audio selected for trial listening; and responding to the preset operation aiming at the selected control, and combining the audio selected for trial listening and the video to be processed to generate a final video.
In one embodiment of the present disclosure, the list display module includes a list display unit configured to: receiving video editing operation aiming at a video to be processed, and providing an audio adding control on a target interface; and responding to the first touch operation aiming at the audio adding control, and displaying the video to be processed and the candidate audio list on the target interface.
In one embodiment of the present disclosure, the video editing module includes a video editing unit configured to, in response to a play control operation for the audio selected for trial listening or the video to be processed, synchronously control a play state of the video to be processed and the audio selected for trial listening according to the play control operation.
In one embodiment of the present disclosure, the video editing unit includes a video editing subunit configured to: responding to the playing operation of the audio selected for trial listening, displaying the video to be processed in a video preview area of the target interface, and synchronously playing the video to be processed and the audio selected for trial listening; in response to the pause operation aiming at the audio selected for trial listening or the video to be processed, pausing the playing of the video to be processed and the audio selected for trial listening; displaying a trial listening audio information frame corresponding to the audio selected for trial listening on a target interface, and presenting a playing progress bar of the audio selected for trial listening through the trial listening audio information frame; responding to the preset operation aiming at the playing progress bar, controlling the playing progress of the audio selected for audition, and synchronously controlling the playing progress of the video to be processed; and responding to the audio switching operation aiming at the candidate audio list, switching the audio selected for trial listening and playing the video to be processed again.
In one embodiment of the present disclosure, the video editing apparatus further comprises a floating layer generation module configured to: responding to a second touch operation aiming at the video preview area, displaying a video to be processed in a full screen mode based on a target interface, and hiding a candidate audio list; and generating an audio operation floating layer corresponding to the video to be processed so as to switch the current display page of the target interface to the video editing page through the audio operation floating layer.
In one embodiment of the present disclosure, the video editing apparatus further includes a region operation module configured to: receiving a size adjustment operation aiming at a video preview area, and adjusting the area size of the video preview area according to the size adjustment operation; receiving area adjustment operation aiming at the video preview area, and adjusting the area display position of the video preview area on a target interface according to the area adjustment operation; and receiving a closing operation aiming at the video preview area, and removing the video preview area.
In one embodiment of the present disclosure, the video editing apparatus further includes a first alternative operation module configured to: determining the number of alternative audios in an alternative audio list corresponding to a video to be processed; if the number of the candidate audios is smaller than the maximum candidate number, responding to the alternative adding operation of the operation control aiming at the candidate audios, and determining the candidate audios as the candidate audios; adding the alternative audio to an alternative audio list of the video to be processed, and generating and playing an addition prompt animation of the alternative audio; and updating the alternative quantity identification and the alternative audio identification of the alternative audio list, and switching the display text of the operation control.
In one embodiment of the present disclosure, the video editing apparatus further includes a second alternative operation module configured to: if the number of the alternative audios is not zero, in response to the cancellation of the alternative operation of the operation control aiming at the alternative audios, removing the alternative audios from the alternative audio list, and switching the display text of the operation control; determining the number of alternative audios after the alternative operation is cancelled; if the number of the alternative audios after the alternative cancellation operation is zero, removing the alternative audio list and the alternative number identification; and if the number of the alternative audios after the alternative canceling operation is not zero, updating the alternative audio list and the alternative number identification.
In one embodiment of the present disclosure, the video editing apparatus further includes an audio switching module configured to: responding to preset operation aiming at the alternative audio identification, and displaying the video to be processed on the full screen of the target interface; and generating an alternative audio floating layer on the target interface so as to switch the audio selected for trial listening through the alternative audio floating layer and replay the video to be processed.
In one embodiment of the present disclosure, the video editing apparatus further includes an identification switching module configured to: responding to preset operation aiming at the audio alternative control in the video editing page, and generating an alternative audio floating layer on a target interface; if the number of the alternative audios is larger than a first number threshold value, displaying the audio information identification of each alternative audio on the alternative audio floating layer; and responding to preset operation aiming at the audio information identification, and switching and displaying the audio information identification of a plurality of alternative audios on the alternative audio floating layer.
Since each functional module of the video editing apparatus in the exemplary embodiment of the present disclosure corresponds to the step of the exemplary embodiment of the video editing method, for details that are not disclosed in the embodiment of the present disclosure, please refer to the embodiment of the video editing method in the present disclosure, and details are not repeated here.
It should be noted that although in the above detailed description several modules or units of the video editing apparatus are mentioned, this division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In a third aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the video editing method as described in the first aspect above.
Exemplary Medium
Having described the apparatuses of the exemplary embodiments of the present disclosure, next, a storage medium of the exemplary embodiments of the present disclosure will be described with reference to fig. 9.
In some embodiments, aspects of the present disclosure may also be implemented as a medium having stored thereon program code for implementing steps in a video editing method according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above of this specification when executed by a processor of a device.
For example, when the processor of the apparatus executes the program code, step S210 as described in fig. 2 may be implemented, where a candidate audio list corresponding to a video to be processed is displayed on a target interface; step S220, in response to the trial listening selection operation on any audio in the candidate audio list, playing the selected audio for trial listening and synchronously playing the video to be processed in the target interface.
Referring to fig. 9, a program product 900 for implementing the above-described video editing method or implementing the above-described video editing method according to an embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. The readable signal medium may also be any readable medium other than a readable storage medium.
Program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN).
Exemplary computing device
Having described the video editing method, video editing apparatus, and storage medium of the exemplary embodiments of the present disclosure, next, an electronic device of the exemplary embodiments of the present disclosure will be described with reference to fig. 10.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, an electronic device according to the present disclosure may include at least one processing unit, and at least one memory unit. Wherein the storage unit stores program code that, when executed by the processing unit, causes the processing unit to perform the steps in the video editing method according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above in this specification. For example, the processing unit may execute step S210 shown in fig. 2, and display a candidate audio list corresponding to the video to be processed on the target interface; step S220, in response to the trial listening selection operation on any audio in the candidate audio list, playing the selected audio for trial listening and synchronously playing the video to be processed in the target interface.
An electronic device 1000 according to an example embodiment of the present disclosure is described below with reference to fig. 10. The electronic device 1000 shown in fig. 10 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 10, the electronic device 1000 is embodied in the form of a general purpose computing device. The components of the electronic device 1000 may include, but are not limited to: the system comprises at least one processing unit 1001, at least one storage unit 1002, a bus 1003 connecting different system components (comprising the storage unit 1002 and the processing unit 1001), and a display unit 1007.
Bus 1003 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
The storage unit 1002 may include readable media in the form of volatile memory, such as Random Access Memory (RAM) 1021 and/or cache memory 1022, and may further include Read Only Memory (ROM) 1023.
Storage unit 1002 may also include a program/utility 1025 having a set (at least one) of program modules 1024, such program modules 1024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The electronic device 1000 may also communicate with one or more external devices 1004 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1000, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interfaces 1005. Also, the electronic device 1000 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 1006. As shown, the network adapter 1006 communicates with the other modules of the electronic device 1000 over a bus 1003. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the video editing apparatus are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module, in accordance with embodiments of the present disclosure. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Further, while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the present disclosure have been described with reference to several particular embodiments, it is to be understood that the present disclosure is not limited to the particular embodiments disclosed, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (20)

1. A video editing method, comprising:
displaying a candidate audio list corresponding to the video to be processed on a target interface;
responding to the audition selection operation aiming at any audio in the candidate audio list, playing the audio selected for audition and synchronously playing the video to be processed in the video preview area in the target interface;
responding to a second touch operation aiming at the video preview area, displaying the video to be processed in a full screen mode based on the target interface, and hiding the candidate audio list;
generating an audio operation floating layer corresponding to the video to be processed so as to switch a current display page of the target interface to a video editing page through the audio operation floating layer;
the playing the selected audio for trial listening and the synchronous playing of the video to be processed in the video preview area in the target interface comprises:
and responding to the play control operation aiming at the audio selected for audition or the video to be processed, and synchronously controlling the play states of the video to be processed and the audio selected for audition according to the play control operation.
2. The method of claim 1, further comprising, after playing the audio selected for trial listening and simultaneously playing the video to be processed:
presenting a selected control in an information frame corresponding to the selected audio to be audited;
and responding to the preset operation aiming at the selected control, and combining the audio selected for trial listening and the video to be processed to generate a final video.
3. The method according to claim 1, wherein the presenting a candidate audio list corresponding to the video to be processed on the target interface comprises:
receiving video editing operation aiming at the video to be processed, and providing an audio adding control on the target interface;
and responding to a first touch operation aiming at the audio adding control, and displaying the to-be-processed video and the candidate audio list on the target interface.
4. The method according to claim 1, wherein said synchronously controlling the playing states of the video to be processed and the audio selected for trial listening according to the playing control operation in response to the playing control operation for the audio selected for trial listening or the video to be processed comprises:
responding to the playing operation of the audio selected for trial listening, displaying the video to be processed in a video preview area of the target interface, and synchronously playing the video to be processed and the audio selected for trial listening;
in response to the pause operation aiming at the audio selected for audition or the video to be processed, pausing the playing of the video to be processed and the audio selected for audition;
displaying an audition audio information frame corresponding to the audio selected for audition on the target interface, and presenting a playing progress bar of the audio selected for audition through the audition audio information frame;
responding to preset operation aiming at the playing progress bar, controlling the playing progress of the audio selected for audition, and synchronously controlling the playing progress of the video to be processed;
and responding to the audio switching operation aiming at the candidate audio list, switching the audio selected for trial listening and replaying the video to be processed.
5. The method of claim 4, further comprising:
receiving a size adjustment operation aiming at the video preview area, and adjusting the area size of the video preview area according to the size adjustment operation;
receiving area adjustment operation aiming at the video preview area, and adjusting the area display position of the video preview area on the target interface according to the area adjustment operation;
and receiving a closing operation aiming at the video preview area, and removing the video preview area.
6. The method of claim 1, further comprising:
determining the number of alternative audios in an alternative audio list corresponding to the video to be processed;
if the number of the alternative audios is smaller than the maximum alternative number, responding to the alternative operation of adding the operation control aiming at the candidate audios, and determining the candidate audios as alternative audios;
adding the alternative audio to an alternative audio list of the video to be processed, and generating and playing an adding prompt animation of the alternative audio;
and updating the alternative quantity identification and the alternative audio identification of the alternative audio list, and switching the display text of the operation control.
7. The method of claim 6, further comprising:
if the number of the alternative audios is not zero, in response to cancellation of alternative operation of an operation control aiming at the alternative audios, removing the alternative audios from the alternative audio list, and switching display texts of the operation control;
determining the number of alternative audios after the alternative canceling operation;
if the number of the alternative audios after the alternative canceling operation is zero, removing the alternative audio list and the alternative number identification;
and if the number of the alternative audios after the alternative canceling operation is not zero, updating the alternative audio list and the alternative number identification.
8. The method of claim 6, further comprising:
responding to preset operation aiming at the alternative audio identification, and displaying the video to be processed on the target interface in a full screen mode;
and generating a standby audio floating layer on the target interface, so as to switch the audio selected for trial listening through the standby audio floating layer, and re-playing the video to be processed.
9. The method of claim 6, further comprising:
responding to preset operation aiming at audio alternative controls in a video editing page, and generating an alternative audio floating layer on the target interface;
if the number of the alternative audios is larger than a first number threshold value, displaying audio information identification of each alternative audio on the alternative audio floating layer;
and responding to preset operation aiming at the audio information identification, and switching and displaying the audio information identification of the multiple alternative audios on the alternative audio floating layer.
10. A video editing apparatus, comprising:
the list display module is used for displaying a candidate audio list corresponding to the video to be processed on a target interface;
the video editing module is used for responding to the audition selection operation aiming at any audio in the candidate audio list, playing the selected audited audio and synchronously playing the video to be processed in the video preview area in the target interface;
a float generation module configured to: responding to a second touch operation aiming at the video preview area, displaying the video to be processed in a full screen mode based on the target interface, and hiding the candidate audio list;
generating an audio operation floating layer corresponding to the video to be processed so as to switch a current display page of the target interface to a video editing page through the audio operation floating layer;
the video editing module comprises a video editing unit, and the video editing unit is used for responding to the play control operation aiming at the selected audio to be audited or the video to be processed and synchronously controlling the play states of the video to be processed and the audio to be audited according to the play control operation.
11. The apparatus of claim 10, wherein the video editing apparatus further comprises a video generation module configured to:
presenting a selected control in an information frame corresponding to the selected audio to be audited;
and responding to the preset operation aiming at the selected control, and combining the audio selected for trial listening and the video to be processed to generate a final video.
12. The apparatus of claim 10, wherein the list display module comprises a list display unit configured to:
receiving video editing operation aiming at the video to be processed, and providing an audio adding control on the target interface;
and responding to a first touch operation aiming at the audio adding control, and displaying the to-be-processed video and the candidate audio list on the target interface.
13. The apparatus of claim 10, wherein the video editing unit comprises a video editing subunit configured to:
responding to the playing operation of the audio selected for trial listening, displaying the video to be processed in a video preview area of the target interface, and synchronously playing the video to be processed and the audio selected for trial listening;
in response to the pause operation aiming at the audio selected for audition or the video to be processed, pausing the playing of the video to be processed and the audio selected for audition;
displaying a trial listening audio information frame corresponding to the audio selected for trial listening on the target interface, and presenting a playing progress bar of the audio selected for trial listening through the trial listening audio information frame;
responding to preset operation aiming at the playing progress bar, controlling the playing progress of the audio selected for audition, and synchronously controlling the playing progress of the video to be processed;
and responding to the audio switching operation aiming at the candidate audio list, switching the audio selected for trial listening and replaying the video to be processed.
14. The apparatus of claim 13, wherein the video editing apparatus further comprises a region operation module configured to:
receiving a size adjustment operation aiming at the video preview area, and adjusting the area size of the video preview area according to the size adjustment operation;
receiving area adjustment operation aiming at the video preview area, and adjusting the area display position of the video preview area on the target interface according to the area adjustment operation;
and receiving a closing operation aiming at the video preview area, and removing the video preview area.
15. The apparatus of claim 10, wherein the video editing apparatus further comprises a first alternative operation module configured to:
determining the number of alternative audios in an alternative audio list corresponding to the video to be processed;
if the number of the candidate audios is smaller than the maximum number of the candidates, determining the candidate audios as candidate audios in response to the addition of the candidate operation of the operation control for the candidate audios;
adding the alternative audio to an alternative audio list of the video to be processed, and generating and playing an adding prompt animation of the alternative audio;
and updating the alternative quantity identifiers and the alternative audio identifiers of the alternative audio list, and switching the display text of the operation control.
16. The apparatus of claim 15, wherein the video editing apparatus further comprises a second alternative operation module configured to:
if the number of the alternative audios is not zero, in response to cancellation alternative operation of an operation control aiming at the alternative audios, removing the alternative audios from the alternative audio list, and switching display texts of the operation control;
determining the number of alternative audios after the alternative canceling operation;
if the number of the alternative audios after the alternative canceling operation is zero, removing the alternative audio list and the alternative number identification;
and if the number of the alternative audios after the alternative canceling operation is not zero, updating the alternative audio list and the alternative number identification.
17. The apparatus of claim 15, wherein the video editing apparatus further comprises an audio switching module configured to:
responding to preset operation aiming at the alternative audio identification, and displaying the video to be processed on the target interface in a full screen mode;
and generating an alternative audio floating layer on the target interface, so as to switch the audio selected for audition through the alternative audio floating layer, and re-playing the video to be processed.
18. The apparatus of claim 15, wherein the video editing apparatus further comprises an identity switching module configured to:
responding to preset operation aiming at audio alternative controls in a video editing page, and generating an alternative audio floating layer on the target interface;
if the number of the alternative audios is larger than a first number threshold value, displaying audio information identification of each alternative audio on the alternative audio floating layer;
and responding to preset operation aiming at the audio information identification, and switching and displaying the audio information identification of the multiple alternative audios on the alternative audio floating layer.
19. An electronic device, comprising:
a processor; and
a memory having stored thereon computer readable instructions which, when executed by the processor, implement a video editing method as claimed in any one of claims 1 to 9.
20. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the video editing method according to any one of claims 1 to 9.
CN202110396213.0A 2021-04-13 2021-04-13 Video editing method and device, computer readable storage medium and electronic equipment Active CN112987999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110396213.0A CN112987999B (en) 2021-04-13 2021-04-13 Video editing method and device, computer readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110396213.0A CN112987999B (en) 2021-04-13 2021-04-13 Video editing method and device, computer readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112987999A CN112987999A (en) 2021-06-18
CN112987999B true CN112987999B (en) 2023-02-07

Family

ID=76338275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110396213.0A Active CN112987999B (en) 2021-04-13 2021-04-13 Video editing method and device, computer readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112987999B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113589982A (en) * 2021-07-29 2021-11-02 北京字跳网络技术有限公司 Resource playing method and device, electronic equipment and storage medium
CN113946254B (en) * 2021-11-01 2023-10-20 北京字跳网络技术有限公司 Content display method, device, equipment and medium
CN116634058B (en) * 2022-05-30 2023-12-22 荣耀终端有限公司 Editing method of media resources, electronic equipment and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170091831A1 (en) * 2015-09-25 2017-03-30 Bookgrabbr, Inc. Automated generation of content-limited previews for electronic media in a sharing platform
CN110971957B (en) * 2018-09-30 2022-04-15 阿里巴巴集团控股有限公司 Video editing method and device and mobile terminal
CN112449231B (en) * 2019-08-30 2023-02-03 腾讯科技(深圳)有限公司 Multimedia file material processing method and device, electronic equipment and storage medium
CN112445395B (en) * 2019-08-30 2023-06-30 腾讯科技(深圳)有限公司 Music piece selection method, device, equipment and storage medium
CN111061906A (en) * 2019-11-12 2020-04-24 北京达佳互联信息技术有限公司 Music information processing method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112987999A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN112987999B (en) Video editing method and device, computer readable storage medium and electronic equipment
US11636881B2 (en) User interface for video content
JP7387891B2 (en) Video file generation method, device, terminal, and storage medium
WO2020010814A1 (en) Method and apparatus for selecting background music for video capture, terminal device, and medium
US8819043B2 (en) Combining song and music video playback using playlists
EP2407876A2 (en) Data processing apparatus and method
US20120209841A1 (en) Bookmarking segments of content
JP2006107260A (en) Content management system, content management method, and computer program
JP2013077982A (en) Information processing apparatus, information processing method, and program
JP2006127367A (en) Information management method, information management program, and information management apparatus
CN112135182B (en) List processing method, list processing apparatus, storage medium, and electronic device
CN113282269B (en) Audio playing method, device, storage medium and computing equipment
US20070025197A1 (en) Information-processing apparatus, recording medium and information-processing method
JP2007060005A (en) Digital data reproducing device
EP1422597A1 (en) Information processing apparatus and method
CN113392260B (en) Interface display control method, device, medium and electronic equipment
KR102210091B1 (en) Enhanced information collection environments
WO2022179415A1 (en) Audiovisual work display method and apparatus, and device and medium
US20070025198A1 (en) Content data recording device and recording control method
CN110209870B (en) Music log generation method, device, medium and computing equipment
CN113553466A (en) Page display method, device, medium and computing equipment
CN112988018B (en) Multimedia file output method, device, equipment and computer readable storage medium
CN113556602B (en) Video playing method and device, storage medium and electronic equipment
KR102488623B1 (en) Method and system for suppoting content editing based on real time generation of synthesized sound for video content
JP4116513B2 (en) Video information indexing support apparatus, video information indexing support method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant