Video processing method, device, electronic device and computer readable storage medium
By introducing sound image materials and timeline editing functions into short video applications, and combining image materials and sound materials, the problem of single sticker gameplay is solved, and the fun and diversity of videos are improved.
Patent Information
- Application Number
- CN202110130737.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-29
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-01-29
AI Technical Summary
The sticker gameplay in short video applications is relatively simple and lacks diversity and interest.
Provides a video processing method that allows users to select and edit sound image materials, combine image materials and sound materials, adjust their display time in the video through the timeline, and add multimedia elements of stickers and custom sound effects functions.
The content of stickers is enriched so that they are not only image elements, but also have sounds, which increases the fun and variety of gameplay of the video.
Smart Images

Figure CN112764636B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computers, and in particular to a video processing method, device, electronic device, and computer-readable storage medium. Background Art
[0002] In the related technology, video content can be shot through video production tools (such as short video applications) and the video content can be processed to a certain extent. Among them, adding stickers to the video is a common processing method. The stickers here refer to image elements that can be displayed on the upper layer of the video content. After adding stickers to the video, you can also adjust the position or size of the stickers displayed in the video, thereby adding fun to the video. However, the current gameplay of stickers in the video only includes adding stickers, deleting stickers, and adjusting the position and size of stickers, so the gameplay is still relatively simple. Summary of the invention
[0003] The present disclosure provides a video processing method, device, electronic device and computer-readable storage medium to at least solve the problem that the sticker gameplay in short video applications in the related art is relatively single. The technical solution of the present disclosure is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, a video processing method is provided, comprising: receiving a first operation instruction that triggers generation of a designated control, displaying a list of image materials with sound, the list of image materials with sound including at least one image material with sound, wherein the image material with sound includes an image material and a sound material associated with the image material; in response to a selection operation in the list of image materials with sound, determining a target image material with sound from at least one image material with sound; displaying the image material in the target image material with sound on the video content to be processed, and playing the sound material in the target image material with sound.
[0005] As an optional embodiment, the identifier of the target audio image material in the audio image material list is displayed as an editing control.
[0006] As an optional embodiment, a second operation instruction generated by triggering the editing control is received, and a sound editing interface of the target audio image material is displayed; and the sound material in the target audio image material is edited and processed in the sound editing interface.
[0007] As an optional embodiment, the sound editing interface includes: a sound selection control and a recording control. The steps of editing the sound material in the target sound image material in the sound editing interface include: when the sound selection control is triggered, a preset list of sounds to be selected is displayed, and a target sound is determined from the list of sounds to be selected according to a selection operation, and the target sound is used to replace the sound material in the target sound image material; when the recording control is triggered, a recording interface is displayed, and a recorded sound is obtained by recording in the recording interface, and the recorded sound is used to replace the sound material in the target sound image material.
[0008] As an optional embodiment, in response to a selection operation in the list of sound image materials, after determining the target sound image material from at least one sound image material, the above method also includes: displaying a time editing interface of the target sound image material, wherein the time editing interface includes: a timeline of the video content and a time window on the timeline, and the time window is used to adjust the start and end time of the target sound image material displayed on the video content.
[0009] As an optional embodiment, the time window includes a start control on the left and an end control on the right, and the above method also includes: receiving a first move operation on the start control on the timeline, and adjusting the start time of the target audio image material on the timeline according to the first move operation; receiving a second move operation on the end control on the timeline, and adjusting the end time of the target audio image material on the timeline according to the second move operation.
[0010] As an optional embodiment, a waveform graph representing the sound material is displayed in the time window, and when the end control is moved to a position where the distance from the end of the waveform graph is less than a preset distance, the end control is automatically adsorbed to the end of the waveform graph.
[0011] As an optional embodiment, the start and end time of the sound material in the sound image material is the same as the start and end time of the image material in the sound image material; or the start time of the sound material in the sound image material is the same as the start time of the image material in the sound image material, and the end time of the sound material in the sound image material is the end time of the sound material.
[0012] As an optional embodiment, after displaying the image material in the target sound image material on the video content to be processed and playing the sound material in the target sound image material, the above method also includes: receiving a deletion operation for the target sound image material; deleting the image material and sound material of the target sound image material from the video content.
[0013] As an optional embodiment, in the case where the video content includes sound information, the method further includes: when playing the sound material in the target audio image material, reducing the volume of the sound information of the video content.
[0014] According to a second aspect of an embodiment of the present disclosure, a video processing device is provided, comprising: a receiving unit, configured to receive a first operation instruction generated by triggering a designated control, and display a list of image materials with sound, the list of image materials with sound including at least one image material with sound, wherein the image material with sound includes an image material and a sound material associated with the image material; a determining unit, configured to determine a target image material with sound from at least one image material with sound in response to a selection operation in the list of image materials with sound; and a display unit, configured to display the image material in the target image material with sound on the video content to be processed, and to play the sound material in the target image material with sound.
[0015] As an optional embodiment, the above-mentioned device further includes: an editing control display unit configured to display the identifier of the target audio image material in the audio image material list as an editing control.
[0016] As an optional embodiment, the above-mentioned device also includes: an editing interface display unit, configured to receive a second operation instruction generated by triggering the editing control, and displaying a sound editing interface of the target sound image material; a material determination unit, configured to edit and process the sound material in the target sound image material in the sound editing interface.
[0017] As an optional embodiment, the sound editing interface includes: a sound selection control and a recording control, and the material determination unit includes: a sound selection unit, which is configured to display a preset list of sounds to be selected when the sound selection control is triggered, and determine a target sound from the list of sounds to be selected according to a selection operation, wherein the target sound is used to replace the sound material in the target sound image material; a sound recording unit, which is configured to display a recording interface when the recording control is triggered, and obtain a recorded sound through recording in the recording interface, wherein the recorded sound is used to replace the sound material in the target sound image material.
[0018] As an optional embodiment, the above-mentioned device also includes: a time editing unit, which is configured to display a time editing interface of the target sound image material after determining the target sound image material from at least one sound image material in response to a selection operation in the sound image material list, wherein the time editing interface includes: a timeline of the video content and a time window on the timeline, and the time window is used to adjust the start and end time of the target sound image material displayed on the video content.
[0019] As an optional embodiment, the time window includes a start control on the left and an end control on the right, and the above-mentioned device also includes: a first adjustment unit, configured to receive a first move operation of the start control on the timeline, and adjust the start time of the target audio image material on the timeline according to the first move operation; a second adjustment unit, configured to receive a second move operation of the end control on the timeline, and adjust the end time of the target audio image material on the timeline according to the second move operation.
[0020] As an optional embodiment, a waveform graph representing the sound material is displayed in the time window, and when the end control is moved to a position where the distance from the end of the waveform graph is less than a preset distance, the end control is automatically adsorbed to the end of the waveform graph.
[0021] As an optional embodiment, the start and end time of the sound material in the sound image material is the same as the start and end time of the image material in the sound image material; or the start time of the sound material in the sound image material is the same as the start time of the image material in the sound image material, and the end time of the sound material in the sound image material is the end time of the sound material.
[0022] As an optional embodiment, the above-mentioned device also includes: a deletion operation receiving unit, which is configured to receive a deletion operation on the target sound image material after displaying the image material in the target sound image material on the video content to be processed and playing the sound material in the target sound image material; and a deletion unit, which is configured to delete the image material and sound material of the target sound image material from the video content.
[0023] As an optional embodiment, the above-mentioned device further includes: a volume adjustment unit configured to reduce the volume of the sound information of the video content when the sound material in the target sound image material is played when the video content includes sound information.
[0024] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the video processing method as described above.
[0025] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the video processing method as described above.
[0026] According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, comprising a computer program / instructions, which implement the video processing method described above in the claims when the computer program / instructions are executed by a processor.
[0027] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: the above-mentioned embodiments of the present application receive the first operation instruction generated by triggering the specified control, display a list of audio image materials, the list of audio image materials includes at least one audio image material, wherein the audio image material includes an image material and a sound material associated with the image material; in response to a selection operation in the list of audio image materials, determine a target audio image material from at least one audio image material; display the image material in the target audio image material on the video content to be processed, and play the sound material in the target audio image material. The above-mentioned scheme combines sound effects with stickers (image materials), so that users can add sound effects while selecting stickers, so that stickers are changed from image elements without sound to multimedia elements containing sound, so that the content of stickers is enriched, and new ways of playing with stickers are added, which solves the problem that the gameplay of stickers in short video applications in the related technology is relatively single, and improves the fun of the video.
[0028] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0030] Figure 1 The figure is a flowchart of a video processing method according to an exemplary embodiment.
[0031] Figure 2 The figure is a schematic diagram showing a method of selecting a sound map material according to an exemplary embodiment.
[0032] Figure 3 The figure is a schematic diagram showing a method of selecting a sound map material according to an exemplary embodiment.
[0033] Figure 4 The figure is a schematic diagram showing a list of sounds to be selected according to an exemplary embodiment.
[0034] Figure 5 The figure is a schematic diagram showing a method of obtaining sound material by recording according to an exemplary embodiment.
[0035] Figure 6 The figure is a schematic diagram showing a recording process according to an exemplary embodiment.
[0036] Figure 7 is a schematic diagram of a time window according to an exemplary embodiment.
[0037] Figure 8The figure is a block diagram of a video processing device according to an exemplary embodiment.
[0038] Fig. 9 is a block diagram of an electronic device 800 for executing the above video processing method according to an exemplary embodiment. DETAILED DESCRIPTION
[0039] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0041] Example 1
[0042] Figure 1 is a flowchart of a video processing method according to an exemplary embodiment. Figure 1 As shown, the video processing method can be used in a short video application, and includes the following steps.
[0043] In step S11, a first operation instruction that triggers the generation of a designated control is received, and a list of audio image materials is displayed, the list of audio image materials includes at least one audio image material, wherein the audio image material includes an image material and a sound material associated with the image material.
[0044] Specifically, the designated control may be an audio map control. When the audio map control is triggered, an audio image material list including a plurality of audio image materials is displayed on the current interface.
[0045] Image material refers to preset image content that can be superimposed on a video, and the position and size of the image material displayed on the video can be adjusted. Sound material can be sound effect information, such as specially recorded sound effect information, or sound effect information captured from a film or TV program. The image material with sound in this embodiment includes image material and sound material, and the image material and the sound material are associated, that is, when the image material with sound is added to a video, both the image material and the sound material in the image material with sound will be added to the video.
[0046] Figure 2 is a schematic diagram of selecting a sound map material according to an exemplary embodiment. In an optional embodiment, Figure 2 For example, after shooting a short video, the short video application provides a sound sticker control ( Figure 2 When the user touches the sound sticker control, a sound sticker window is displayed below the video to display thumbnails of multiple sound image materials in the sound sticker window.
[0047] In step S13, in response to a selection operation in the audio image material list, a target audio image material is determined from at least one audio image material.
[0048] On a mobile terminal, users can select any audio and video material by touching it. Figure 2 In the example, the user selects the second image material with sound in the first row.
[0049] In step S14, the image material in the target image material with sound is displayed on the video content to be processed, and the sound material in the target image material with sound is played, wherein the image material in the target image material with sound is displayed on the video content to be processed, and the sound material in the target image material with sound is played.
[0050] When any image material with sound is selected, the image material is displayed on the video content and the sound material is played, thereby achieving the purpose of browsing the image material with sound. Figure 2 As shown, the selected target audio and video material is displayed on the video.
[0051] It should be noted that, when the target audio image material is displayed on the video, the image material in the target audio image material can be adjusted, for example, the position, size and direction of the image material on the video can be adjusted. It should also be noted that if the sound material in the target audio image material needs to be played again, the thumbnail of the target audio image material can be clicked again, or the thumbnail of the target audio image material can be long pressed, and the sound material can be played again.
[0052] The above embodiment of the present application receives a first operation instruction generated by triggering a designated control, displays a list of audio image materials, and the list of audio image materials includes at least one audio image material, wherein the audio image material includes an image material and a sound material associated with the image material; in response to a selection operation in the list of audio image materials, determines a target audio image material from at least one audio image material; displays the image material in the target audio image material on the video content to be processed, and plays the sound material in the target audio image material. The above scheme combines sound effects with stickers (image materials), so that users can add sound effects while selecting stickers, and change stickers from image elements without sound to multimedia elements containing sound, thereby enriching the content of stickers and adding new ways to play with stickers, solving the problem of relatively single ways to play with stickers in short video applications in related technologies and improving the fun of videos.
[0053] As an optional embodiment, the method further includes: displaying an identifier of the target audio image material in the audio image material list as an editing control.
[0054] Specifically, the editing control is a control for editing the sound of the target audio image material. In the audio editing interface, the sound material in the target audio image material used in the current video content can be edited. Editing the sound material can include: changing the sound material, adjusting the playback speed of the sound material, and performing voice change processing on the sound material.
[0055] As an optional embodiment, the method further includes: receiving a second operation instruction generated by triggering the editing control, displaying a sound editing interface of the target audio image material; and editing the sound material in the target audio image material in the sound editing interface.
[0056] Figure 3 is a schematic diagram of selecting a sound map material according to an exemplary embodiment. In an optional embodiment, Figure 3 As shown, after selecting the second audio image material in the first row, the thumbnail of the audio image material changes to an editing control, and after clicking the editing control, you can enter the sound editing interface.
[0057] It should be noted that changes to the sound material in the above sound editing interface are only effective in the current video content, that is, the sound material associated with the target audio image material by default does not change.
[0058] Through the above scheme, in addition to realizing stickers with sound, the editing of sticker sound effects is also realized, which greatly enriches the user's choices.
[0059] As an optional embodiment, the sound editing interface includes: a sound selection control and a recording control. The steps of editing the sound material in the target sound image material in the sound editing interface include: when the sound selection control is triggered, a preset list of sounds to be selected is displayed, and a target sound is determined from the list of sounds to be selected according to a selection operation, and the target sound is used to replace the sound material in the target sound image material; when the recording control is triggered, a recording interface is displayed, and a recorded sound is obtained by recording in the recording interface, and the recorded sound is used to replace the sound material in the target sound image material.
[0060] The above scheme provides two ways to edit sound materials, which are explained below respectively.
[0061] In the first method, a sound list to be selected is provided to the user, and the list includes sound information that is allowed to be selected. Figure 4 is a schematic diagram of a list of sounds to be selected according to an exemplary embodiment. In an optional embodiment, Figure 4 As shown, when the user selects "sound effect library", a list of sounds to be selected is displayed, which includes sound effects that are allowed to be selected, and the user can select one of them as the sound element in the current target audio image element.
[0062] In the second method, the user is provided with the function of recording as sound material. Figure 5 is a schematic diagram of recording and obtaining sound material according to an exemplary embodiment. In an optional embodiment, Figure 5 As shown, when the user selects "Record", the interface switches to the recording interface, provides a recording control and displays the maximum recording time. The user can long press the recording control to record. During the recording process, the interface can be as follows Figure 6 After the recording is completed, the recording can be used as the sound element in the current target audio image element.
[0063] It should be noted that in the second method, the recording interface appears after clicking. The recording duration corresponding to each audio and video material is limited, but it can be different. Users can freely choose to add sound effects by using the sound effects in the sound effect library or recording their own. They can also restore the original sound effects by clicking the "Restore Default" button, and finally confirm the operation by clicking the "check" button on the panel.
[0064] Through the above solution, while implementing stickers with sound, the purpose of binding custom stickers with sound effects is also achieved, which greatly enriches the user's choices.
[0065] As an optional embodiment, in response to a selection operation in the list of sound image materials, after determining the target sound image material from at least one sound image material, the above method also includes: displaying a time editing interface of the target sound image material, wherein the time editing interface includes: a timeline of the video content and a time window on the timeline, and the time window is used to adjust the start and end time of the target sound image material displayed on the video content.
[0066] Specifically, in the above scheme, the time window is displayed on the time axis to indicate the start and end time of displaying the target audio image material in the video, and the time between the start time and the end time indicated by the start and end time is the time when the target audio image material is displayed in the video. The time when the target audio image material is displayed in the video content can be adjusted by adjusting the time window.
[0067] Figure 7 is a schematic diagram of a time window according to an exemplary embodiment. In an optional embodiment, Figure 7 As shown, a time axis and a time window on the time axis are displayed below the video browsing area. The time axis can be composed of images of the video at a specified time point (not shown in the figure), and a sound wave mark is displayed on the time window to indicate that the currently adjusted image material is an audio image material. The vertical line on the time window is used to indicate the position played in the current browsing area.
[0068] The above solution provides the time axis of the video and the time window of the target audio and video material, so that the display of the target audio and video material in the video is controllable, thereby providing users with more choices and improving the diversity of the video.
[0069] As an optional embodiment, the time window includes a start control on the left and an end control on the right, and the above method also includes: receiving a first move operation on the start control on the timeline, and adjusting the start time of the target audio image material on the timeline according to the first move operation; receiving a second move operation on the end control on the timeline, and adjusting the end time of the target audio image material on the timeline according to the second move operation.
[0070] In an optional embodiment, still combined with Figure 7 As shown, there are two handles on the left and right sides of the time window, which are the start control and the end control mentioned above. By adjusting the position of the start control on the time axis, the start time of the target audio image material displayed in the video content can be adjusted. By adjusting the position of the end control on the time axis, the end time of the target audio image material displayed in the video content can be adjusted. It should be noted that since the start time of the target audio image material displayed in the video cannot be later than the end time, the start control must be on the left side of the end control.
[0071] The above scheme provides a scheme for adjusting the initiation time and termination time of the target audio image material in the video by adjusting the time window, thereby making the display of stickers in the video more diverse.
[0072] As an optional embodiment, a waveform graph representing the sound material is displayed in the time window, and when the end control is moved to a position where the distance from the end of the waveform graph is less than a preset distance, the end control is automatically adsorbed to the end of the waveform graph.
[0073] In the above scheme, a waveform for representing the sound material is displayed in the time window, and the starting position and ending position of the waveform represent the starting and ending time of the sound material. The starting position of the waveform is the same as the position of the starting control by default, and the ending position of the waveform is used to represent the ending time of playing the sound material once. When the ending control is moved to a position where the distance from the end of the waveform is less than the preset distance, it means that the position of the ending control is close to the end of the waveform. Due to the accuracy of the mobile terminal device and the user's operation accuracy, it is usually difficult to move the ending control completely to the end of the waveform. Therefore, in the above case, the ending control is controlled to be automatically adsorbed to the end of the waveform.
[0074] After the control end control is automatically adsorbed to the end of the waveform, the display time of the image material is the same as the playback time of the sound material, that is, the two start and end at the same time.
[0075] In the above solution, when the termination control is moved close to the end of the waveform, it is automatically adsorbed to the end of the waveform, thereby compensating for the operational inconvenience caused by device accuracy or operation accuracy.
[0076] As an optional embodiment, the start and end time of the sound material in the sound image material is the same as the start and end time of the image material in the sound image material; or the start time of the sound material in the sound image material is the same as the start time of the image material in the sound image material, and the end time of the sound material in the sound image material is the end time of the sound material.
[0077] The above scheme provides two ways of playing sound materials, which are described below respectively.
[0078] In the first method, the start and end time of the sound material is the same as the start and end time of the image material, that is, the two start and end at the same time. In the case that the duration of the sound material is shorter than the duration of the image material, the sound material can be played continuously during the display of the image material by repeating the playback method. In the case that the duration of the sound material is longer than the duration of the image material, the sound material can be played by intercepting the duration.
[0079] In the second method, the sound material and the image material start at the same time, but the end time of the sound material is determined according to the duration of its own sound, that is, no matter whether the duration of the sound material is greater than or less than the duration of the image material, it will stop when it is finished playing.
[0080] As an optional embodiment, after displaying the image material in the target sound image material on the video content to be processed and playing the sound material in the target sound image material, the method also includes: receiving a deletion operation for the target sound image material; deleting the image material and sound material of the target sound image material from the video content.
[0081] In the above solution, the target audio image material added to the video can be deleted. When a deletion operation is received, the image material and the sound material in the target audio image material are deleted at the same time.
[0082] As an optional embodiment, in the case where the video content includes sound information, the method further includes: when playing the sound material in the target audio image material, reducing the volume of the sound information of the video content.
[0083] In the above solution, the video includes existing sound information, so when the target image material with sound is played, the sound information included in the video itself can be processed to reduce the volume, thereby highlighting the sound material in the target image material with sound.
[0084] Example 2
[0085] Figure 8 is a block diagram of a video processing device according to an exemplary embodiment. Figure 8 The device includes a receiving unit 81, a determining module 82 and a display unit 83.
[0086] The receiving unit 81 is configured to receive a first operation instruction generated by triggering a designated control, and display a list of audio image materials, the list of audio image materials including at least one audio image material, wherein the audio image material includes an image material and a sound material associated with the image material.
[0087] The determination module 82 is configured to determine a target audio image material from at least one audio image material in response to a selection operation in the audio image material list.
[0088] The display unit 83 is configured to display the image material in the target image material with sound on the video content to be processed, and play the sound material in the target image material with sound.
[0089] As an optional embodiment, the above-mentioned device further includes: an editing control display unit configured to display the identifier of the target audio image material in the audio image material list as an editing control.
[0090] As an optional embodiment, the above-mentioned device also includes: an editing interface display unit, configured to receive a second operation instruction generated by triggering the editing control, and displaying a sound editing interface of the target sound image material; a material determination unit, configured to edit and process the sound material in the target sound image material in the sound editing interface.
[0091] As an optional embodiment, the sound editing interface includes: a sound selection control and a recording control, and the material determination unit includes: a sound selection unit, which is configured to display a preset list of sounds to be selected when the sound selection control is triggered, and determine a target sound from the list of sounds to be selected according to a selection operation, wherein the target sound is used to replace the sound material in the target sound image material; a sound recording unit, which is configured to display a recording interface when the recording control is triggered, and obtain a recorded sound through recording in the recording interface, wherein the recorded sound is used to replace the sound material in the target sound image material.
[0092] As an optional embodiment, the above-mentioned device also includes: a time editing unit, which is configured to display a time editing interface of the target sound image material after determining the target sound image material from at least one sound image material in response to a selection operation in the sound image material list, wherein the time editing interface includes: a timeline of the video content and a time window on the timeline, and the time window is used to adjust the start and end time of the target sound image material displayed on the video content.
[0093] As an optional embodiment, the time window includes a start control on the left and an end control on the right, and the above-mentioned device also includes: a first adjustment unit, configured to receive a first move operation of the start control on the timeline, and adjust the start time of the target audio image material on the timeline according to the first move operation; a second adjustment unit, configured to receive a second move operation of the end control on the timeline, and adjust the end time of the target audio image material on the timeline according to the second move operation.
[0094] As an optional embodiment, a waveform graph representing the sound material is displayed in the time window, and when the end control is moved to a position where the distance from the end of the waveform graph is less than a preset distance, the end control is automatically adsorbed to the end of the waveform graph.
[0095] As an optional embodiment, the start and end time of the sound material in the sound image material is the same as the start and end time of the image material in the sound image material; or the start time of the sound material in the sound image material is the same as the start time of the image material in the sound image material, and the end time of the sound material in the sound image material is the end time of the sound material.
[0096] As an optional embodiment, the above-mentioned device also includes: a deletion operation receiving unit, which is configured to receive a deletion operation on the target sound image material after displaying the image material in the target sound image material on the video content to be processed and playing the sound material in the target sound image material; and a deletion unit, which is configured to delete the image material and sound material of the target sound image material from the video content.
[0097] As an optional embodiment, the above-mentioned device further includes: a volume adjustment unit configured to reduce the volume of the sound information of the video content when the sound material in the target sound image material is played when the video content includes sound information.
[0098] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0099] Example 3
[0100] The present application also provides an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the video processing method as described in Example 1
[0101] Fig. 9 8 is a block diagram of an electronic device 800 for executing the above-mentioned video processing method according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0102] Reference Fig. 9 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0103] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0104] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0105] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.
[0106] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0107] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0108] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0109] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0110] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0111] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0112] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the above instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. Alternatively, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0113] Example 4
[0114] The present application also provides a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the video processing method described in Example 1.
[0115] Example 5
[0116] The present application also provides a computer program product, including a computer program / instruction, which implements the video processing method described in Example 1 when executed by a processor.
[0117] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0118] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A video processing method, characterized in that: include: Receive a first operation instruction that triggers the generation of a designated control, and display a list of image materials with sound, wherein the list of image materials with sound includes at least one image material with sound, wherein the image material with sound includes an image material and a sound material associated with the image material, the image material is a preset image content superimposed on a video, and the sound material is sound effect information; In response to a selection operation in the audio image material list, determining a target audio image material from the at least one audio image material; Displaying the image material in the target image material with sound on the video content to be processed, and playing the sound material in the target image material with sound; The method further comprises: displaying the identifier of the target sound image material in the sound image material list as an editing control, wherein the editing control is a control for performing sound editing on the target sound image material.
2. The video processing method according to claim 1, characterized in that: The method further comprises: receiving a second operation instruction generated by triggering the editing control, and displaying a sound editing interface of the target audio image material; The sound material in the target audio image material is edited in the sound editing interface.
3. The video processing method according to claim 2, characterized in that: The sound editing interface includes: a sound selection control and a recording control, and the step of editing the sound material in the target audio image material in the sound editing interface includes: In the case where the sound selection control is triggered, a preset list of sounds to be selected is displayed, and a target sound is determined from the list of sounds to be selected according to a selection operation, wherein the target sound is used to replace the sound material in the target audio image material; When the recording control is triggered, a recording interface is displayed, and recorded sound is obtained through recording in the recording interface, and the recorded sound is used to replace the sound material in the target audio image material.
4. The video processing method according to claim 1, characterized in that: In response to a selection operation in the audio image material list, after determining a target audio image material from the at least one audio image material, the method further includes: A time editing interface of the target audio-visual material is displayed, wherein the time editing interface includes: a time axis of the video content and a time window on the time axis, and the time window is used to adjust the start and end time of the target audio-visual material displayed on the video content.
5. The video processing method according to claim 4, characterized in that: The time window includes a start control on the left and an end control on the right, and the method further includes: receiving a first movement operation of the start control on the time axis, and adjusting the start time of the target audio and video material on the time axis according to the first movement operation; A second movement operation of the termination control on the time axis is received, and a termination time of the target audio-visual material on the time axis is adjusted according to the second movement operation.
6. The video processing method according to claim 5, characterized in that: A waveform graph representing the sound material is displayed in the time window. When the end control is moved to a position where the distance from the tail of the waveform graph is less than a preset distance, the end control is automatically adsorbed to the tail of the waveform graph.
7. The video processing method according to claim 1, characterized in that: The start and end time of the sound material in the audio image material is the same as the start and end time of the image material in the audio image material; or The start time of the sound material in the image material with sound is the same as the start time of the image material in the image material with sound, and the end time of the sound material in the image material with sound is the end time of the sound material.
8. The video processing method according to claim 1, characterized in that: After displaying the image material in the target image material with sound on the video content to be processed and playing the sound material in the target image material with sound, the method further includes: receiving a deletion operation on the target audio-visual material; The image material and the sound material of the target sound image material are deleted from the video content.
9. The video processing method according to claim 1, characterized in that: In the case where the video content includes sound information, the method further includes: When playing the sound material in the target sound-accompanied image material, the volume of the sound information of the video content is reduced.
10. A video processing device, characterized in that: include: A receiving unit is configured to receive a first operation instruction generated by triggering a designated control, and display a list of image materials with sound, wherein the list of image materials with sound includes at least one image material with sound, wherein the image material with sound includes an image material and a sound material associated with the image material, wherein the image material is a preset image content superimposed on a video, and the sound material is sound effect information; A determination unit, configured to determine a target audio image material from the at least one audio image material in response to a selection operation in the audio image material list; A display unit, configured to display the image material in the target image material with sound on the video content to be processed, and play the sound material in the target image material with sound; The device further includes: an editing control display unit configured to display the identifier of the target sound image material in the sound image material list as an editing control, wherein the editing control is a control for performing sound editing on the target sound image material.
11. The video processing device according to claim 10, characterized in that: The device also includes: An editing interface display unit, configured to receive a second operation instruction generated by triggering the editing control, and display a sound editing interface of the target audio image material; The material determining unit is configured to edit the sound material in the target audio image material in the sound editing interface.
12. The video processing device according to claim 11, characterized in that: The sound editing interface includes: a sound selection control and a recording control, and the material determination unit includes: a sound selection unit configured to display a preset list of sounds to be selected when the sound selection control is triggered, and determine a target sound from the list of sounds to be selected according to a selection operation, wherein the target sound is used to replace the sound material in the target audio image material; The sound recording unit is configured to display a recording interface when the recording control is triggered, and obtain recorded sound through recording on the recording interface, wherein the recorded sound is used to replace the sound material in the target audio image material.
13. The video processing device according to claim 10, characterized in that: The device also includes: The time editing unit is configured to display a time editing interface of the target sound image material after determining the target sound image material from the at least one sound image material in response to a selection operation in the sound image material list, wherein the time editing interface includes: a timeline of the video content and a time window on the timeline, and the time window is used to adjust the start and end time of the target sound image material displayed on the video content.
14. The video processing device according to claim 13, characterized in that: The time window includes a start control on the left and an end control on the right, and the device also includes: A first adjustment unit is configured to receive a first movement operation of the start control on the time axis, and adjust the start time of the target audio and video material on the time axis according to the first movement operation; The second adjustment unit is configured to receive a second movement operation on the termination control on the time axis, and adjust the termination time of the target audio and video material on the time axis according to the second movement operation.
15. The video processing device according to claim 14, characterized in that: A waveform graph representing the sound material is displayed in the time window. When the end control is moved to a position where the distance from the tail of the waveform graph is less than a preset distance, the end control is automatically adsorbed to the tail of the waveform graph.
16. The video processing device according to claim 10, characterized in that: The start and end time of the sound material in the audio image material is the same as the start and end time of the image material in the audio image material; or The start time of the sound material in the image material with sound is the same as the start time of the image material in the image material with sound, and the end time of the sound material in the image material with sound is the end time of the sound material.
17. The video processing device according to claim 10, characterized in that: The device also includes: a deletion operation receiving unit configured to receive a deletion operation on the target image material with sound after displaying the image material in the target image material with sound on the video content to be processed and playing the sound material in the target image material with sound; The deleting unit is configured to delete the image material and the sound material of the target image material with sound from the video content.
18. The video processing device according to claim 10, characterized in that: The device also includes: The volume adjustment unit is configured to reduce the volume of the sound information of the video content when playing the sound material in the target audio image material when the video content includes sound information.
19. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the video processing method according to any one of claims 1 to 9.
20. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the video processing method according to any one of claims 1 to 9.
21. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the video processing method according to any one of claims 1 to 9 is implemented.
